/* ============================================================
   PAGE ENTRAÎNEMENT — /entrainement/
   Template : page-entrainement.php
   Classes préfixées .ent- (aucune dépendance à l'ancien style-methode.css).
   Utilise les variables et classes globales de style.css
   (--green, --forest, --font-title, .container, .accent, .btn…).
============================================================ */

/* ── Titres et intro de section ── */
.ent-section h2,
.ent-cta h2 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  line-height: 1.12;
}

.ent-head {
  max-width: 780px;
  margin: 0 auto clamp(2rem, 4vw, 3.5rem);
  text-align: center;
}
.ent-head h2 { margin-bottom: 1.25rem; }
.ent-head p  { margin: 0; }

.ent-note {
  max-width: 720px;
  margin: clamp(2rem, 4vw, 3rem) auto 0;
  padding: 1.25rem 1.5rem;
  background: var(--green-dim);
  border-left: 3px solid var(--green);
  border-radius: var(--radius-sm);
  color: rgba(255,255,255,0.8);
}

/* ── HERO ── */
.ent-hero {
  padding-top: clamp(8rem, 14vw, 11rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
  text-align: center;
}
.ent-hero__title {
  font-size: clamp(2.4rem, 7vw, 4.5rem);
  margin-bottom: 1.25rem;
}
.ent-hero__lead {
  max-width: 680px;
  margin: 0 auto 2rem;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: rgba(255,255,255,0.8);
}
.ent-hero__facts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}
.ent-hero__facts li {
  padding: 0.6rem 1.1rem;
  border: 1px solid var(--green-border);
  border-radius: 50px;
  background: var(--green-dim);
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--white);
  white-space: nowrap;
}

/* ── 1. OBJECTIF : 3 cartes ── */
.ent-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.ent-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(154,251,64,0.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.ent-card__image {
  aspect-ratio: 4 / 3;
  background: var(--forest);
  overflow: hidden;
}
.ent-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ent-card__body { padding: 1.5rem; }
.ent-card__body h3 {
  font-size: 1.4rem;
  margin-bottom: 0.6rem;
  color: var(--green);
}
.ent-card__body p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
}

.ent-benefits {
  margin-top: clamp(2rem, 4vw, 3rem);
  text-align: center;
}
.ent-benefits__label {
  margin: 0 0 1rem;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white);
}
.ent-benefits__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.75rem;
}
.ent-benefits__list li {
  position: relative;
  padding-left: 1.6rem;
  color: rgba(255,255,255,0.85);
  font-size: 1rem;
}
.ent-benefits__list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

/* ── 2. DÉROULÉ : 5 temps ── */
.ent-steps {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}
.ent-steps::before {
  content: '';
  position: absolute;
  top: 1.4rem;
  bottom: 1.4rem;
  left: 1.4rem;
  width: 2px;
  margin-left: -1px;
  background: var(--green-border);
}
.ent-step {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
}
.ent-step__num {
  flex: 0 0 2.8rem;
  width: 2.8rem;
  height: 2.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--green);
  color: var(--black);
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.3rem;
  line-height: 1;
}
.ent-step__body { padding-top: 0.35rem; }
.ent-step__body h3 {
  font-size: 1.3rem;
  margin-bottom: 0.4rem;
}
.ent-step__body p { margin: 0; }

.ent-videos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: clamp(2rem, 4vw, 3rem);
}
.ent-video {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--black);
  border: 1px solid rgba(154,251,64,0.1);
}
.ent-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ── 3. JAMAIS SEUL(E) : image + texte ── */
.ent-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(1.5rem, 5vw, 4rem);
}
.ent-split + .ent-split { margin-top: clamp(2.5rem, 5vw, 4rem); }
.ent-split--reverse .ent-split__image { order: 2; }
.ent-split__image {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--forest);
}
.ent-split__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ent-split__body h3 {
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  margin-bottom: 0.9rem;
  color: var(--green);
}
.ent-split__body p { margin: 0; }

/* ── 4. ADAPTATION ── */
.ent-adapt,
.ent-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}
.ent-adapt__item,
.ent-duo__item {
  padding: 1.5rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(154,251,64,0.12);
  border-radius: var(--radius-lg);
}
.ent-adapt__q {
  margin: 0 0 0.4rem;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--white);
}
.ent-adapt__a {
  margin: 0;
  color: var(--green);
  font-weight: 500;
}

.ent-subtitle {
  margin: clamp(2.5rem, 5vw, 4rem) 0 1.5rem;
  text-align: center;
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
}
.ent-duo__item h4 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--green);
}
.ent-duo__item p { margin: 0; }

/* ── 5. CTA ── */
.ent-cta__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(1.5rem, 5vw, 4rem);
}
.ent-cta__image {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--forest);
}
.ent-cta__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ent-cta__body h2 { margin-bottom: 1rem; }
.ent-cta__body > p { margin: 0 0 1.75rem; }
.ent-cta__body .ent-cta__hyrox {
  margin: 1.75rem 0 0;
  font-size: 0.95rem;
}
.ent-cta__hyrox a {
  color: var(--green);
  font-weight: 500;
  white-space: nowrap;
}
.ent-cta__hyrox a:hover { text-decoration: underline; }

/* ── Tablette ── */
@media (max-width: 900px) {
  .ent-cards { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .ent-card__image { aspect-ratio: 16 / 9; }
}

/* ── Mobile ── */
@media (max-width: 768px) {
  .ent-head { text-align: left; }
  .ent-videos,
  .ent-split,
  .ent-adapt,
  .ent-duo,
  .ent-cta__grid { grid-template-columns: 1fr; }
  .ent-split--reverse .ent-split__image { order: 0; }
  .ent-benefits { text-align: left; }
  .ent-benefits__list { flex-direction: column; align-items: flex-start; gap: 0.6rem; }
  .ent-subtitle { text-align: left; }
  .ent-step { gap: 1rem; }
  .ent-cta__body .btn { width: 100%; }
}

@media (max-width: 480px) {
  .ent-hero__facts li { font-size: 0.85rem; padding: 0.5rem 0.9rem; }
  .ent-note { padding: 1rem 1.1rem; }
}