/* ==========================================================================
   Générique / homepage template (template-generique.php)
   Stacked sections: hero, event, gallery, key figures, testimonials,
   speakers, partners, offers, CTA. Static UI ported from demo/generique.html.
   Scroll-reveal in js/generique.js.
   ========================================================================== */

/* ---- Scroll reveal (armed by JS; visible by default without JS) ----------- */
.hp-reveal.js-armed {
  opacity: 0;
  transform: translateY(24px);
}

.hp-reveal.is-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22, 0.7, 0.2, 1);
}

/* ---- 1. Hero ------------------------------------------------------------- */
.hp-hero {
  position: relative;
  overflow: hidden;
  min-height: clamp(440px, 58vh, 660px);
  background: #111;
  display: flex;
  align-items: flex-end;
}

.hp-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.hp-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(76deg, rgba(17, 17, 17, 0.95) 0%, rgba(17, 17, 17, 0.78) 46%, rgba(17, 17, 17, 0.28) 100%);
}

.hp-hero-inner {
  position: relative;
  width: 100%;
  max-width: 900px;
  padding: clamp(44px, 5.5vw, 92px) clamp(20px, 4vw, 30px) clamp(30px, 3.6vw, 56px);
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 2vw, 24px);
}

.hp-hero-eyebrow {
  font-size: 16px;
  font-weight: 500;
  text-transform: uppercase;
  color: #c3ff74;
}

.hp-hero-title {
  margin: 0;
  font-family: 'Syne', sans-serif;
  font-weight: 500;
  font-size: clamp(30px, 5.4vw, 76px);
  line-height: 0.92;
  letter-spacing: -2.6px;
  text-transform: uppercase;
  overflow-wrap: anywhere;
  color: #fff;
}

.hp-hero-rule {
  height: 8px;
  max-width: 180px;
  background: #c3ff74;
}

.hp-hero-lead {
  margin: 0;
  max-width: 560px;
  font-size: 18px;
  font-weight: 500;
  line-height: 150%;
  color: #dcdcdc;
}

/* CTA button — same look as the "Acheter mon billet" offer button. */
.hp-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  align-self: flex-start;
  margin-top: 4px;
  padding: 16px 24px;
  background: transparent;
  border: 1px solid #c3ff74;
  color: #c3ff74;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease;
}

.hp-hero-cta svg {
  flex: none;
}

.hp-hero-cta:hover {
  background: #c3ff74;
  color: #111;
}

/* ---- Shared section title (Syne, uppercase) ------------------------------ */
.hp-event-title,
.hp-gallery-title,
.hp-team-title,
.hp-partners-title {
  margin: 0;
  font-family: 'Syne', sans-serif;
  font-weight: 500;
  font-size: clamp(24px, 3vw, 40px);
  line-height: 1;
  letter-spacing: -1.2px;
  text-transform: uppercase;
  color: #fff;
}

/* ---- 2. L'événement ------------------------------------------------------ */
.hp-event {
  padding: clamp(48px, 6.5vw, 110px) clamp(20px, 4vw, 30px) clamp(32px, 4vw, 56px);
  background: #111;
}

.hp-event-inner {
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 3vw, 40px);
  border-top: 1px solid #575757;
  padding-top: 24px;
}

.hp-event-title {
  font-size: clamp(26px, 3.4vw, 44px);
  letter-spacing: -1px;
}

.hp-event-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.5fr);
  gap: clamp(20px, 3vw, 44px);
  align-items: start;
}

/* No side image → the body (e.g. an embedded form/iframe) spans full width. */
.hp-event-split--full {
  grid-template-columns: minmax(0, 1fr);
}

/* Embedded iframes (Airtable forms, maps, etc.) added in the WYSIWYG: fill the
   width and take a usable height (height="100%" collapses to 0 otherwise). */
.hp-event-body :is(p, div):has(> iframe) {
  margin: 0;
}

.hp-event-body iframe {
  display: block;
  width: 100%;
  min-height: 90vh;
  border: 0;
}

.hp-event-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hp-event-body p {
  margin: 0;
  font-size: 18px;
  font-weight: 500;
  line-height: 150%;
  color: #b0b0b0;
}

.hp-event-quote {
  margin: clamp(6px, 1vw, 14px) 0;
  border-left: 8px solid #ffb6ee;
  padding: clamp(4px, 0.6vw, 8px) 0 clamp(4px, 0.6vw, 8px) clamp(18px, 2vw, 28px);
  font-family: 'Syne', sans-serif;
  font-weight: 500;
  font-size: clamp(20px, 2.4vw, 32px);
  line-height: 1.14;
  letter-spacing: -1px;
  color: #fff;
}

/* Same look as the "Acheter mon billet" offer button (.hp-offer-btn); the
   extra specificity beats the shared rich-text link rule (underline). */
.hp-event-body a.hp-event-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  align-self: flex-start;
  margin-top: 4px;
  padding: 16px 24px;
  background: transparent;
  border: 1px solid #c3ff74;
  color: #c3ff74;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease;
}

.hp-event-body a.hp-event-cta svg {
  flex: none;
}

.hp-event-body a.hp-event-cta:hover {
  background: #c3ff74;
  color: #111;
  text-decoration: none;
}

.hp-event-figure {
  position: sticky;
  top: 100px;
  width: 100%;
  aspect-ratio: 4 / 5;
  border: 1px solid #575757;
  overflow: hidden;
}

.hp-event-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---- 3. En images (gallery) --------------------------------------------- */
.hp-gallery {
  background: #111;
  padding: clamp(36px, 4.5vw, 72px) clamp(20px, 4vw, 30px);
}

.hp-gallery-head,
.hp-team-head,
.hp-partners-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px 32px;
  border-top: 1px solid #575757;
  padding-top: 18px;
  margin-bottom: clamp(20px, 2.6vw, 36px);
}

.hp-gallery-edition,
.hp-partners-edition {
  font-size: 16px;
  font-weight: 500;
  text-transform: uppercase;
  color: #8a8a8a;
}

.hp-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 20px);
}

.hp-gallery-item {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #161616;
  border: 1px solid #575757;
  overflow: hidden;
}

.hp-gallery-item--lead {
  grid-column: span 2;
  grid-row: span 2;
  aspect-ratio: auto;
}

.hp-gallery-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---- 2b. Une programmation en quatre axes -------------------------------- */
.hp-axes {
  background: #111;
  padding: clamp(36px, 4.5vw, 72px) clamp(20px, 4vw, 30px);
}

.hp-axes-head {
  border-top: 1px solid #575757;
  padding-top: 18px;
  margin-bottom: clamp(20px, 2.6vw, 36px);
}

.hp-axes-title {
  margin: 0;
  font-family: 'Syne', sans-serif;
  font-weight: 500;
  font-size: clamp(24px, 3vw, 40px);
  line-height: 1;
  letter-spacing: -1.2px;
  text-transform: uppercase;
  color: #fff;
}

.hp-axes-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(30px, 3.6vw, 60px) clamp(32px, 4vw, 72px);
  align-items: start;
}

.hp-axis {
  display: flex;
  gap: clamp(16px, 1.8vw, 28px);
  align-items: flex-start;
  width: 100%;
}

.hp-axis-icon {
  flex: 0 0 auto;
  width: clamp(58px, 5.6vw, 80px);
  height: auto;
}

.hp-axis-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.hp-axis-title {
  margin: 0;
  font-family: 'Syne', sans-serif;
  font-weight: 500;
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.15;
  letter-spacing: -0.5px;
  color: #fff;
  text-decoration: underline;
  text-decoration-color: #c3ff74;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.hp-axis-text {
  margin: 0;
  font-size: 17px;
  font-weight: 500;
  line-height: 155%;
  color: #a8a8a8;
  text-wrap: pretty;
}

.hp-axis-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
  margin-top: 6px;
  padding: 11px 20px;
  border: 1px solid #c3ff74;
  color: #c3ff74;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease;
}

.hp-axis-btn svg {
  flex: none;
}

.hp-axis-btn:hover {
  background: #c3ff74;
  color: #111;
}

.hp-axes-cta-wrap {
  margin-top: clamp(28px, 3.4vw, 52px);
}

/* CTA button — same look as the "Acheter mon billet" offer button. */
.hp-axes-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  background: transparent;
  border: 1px solid #c3ff74;
  color: #c3ff74;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease;
}

.hp-axes-cta svg {
  flex: none;
}

.hp-axes-cta:hover {
  background: #c3ff74;
  color: #111;
}

/* ---- 2c. Vidéo + texte --------------------------------------------------- */
.hp-video {
  background: #111;
  padding: clamp(48px, 6.5vw, 110px) clamp(20px, 4vw, 30px);
}

.hp-video-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
}

.hp-video-text {
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 2vw, 26px);
}

.hp-video-title {
  margin: 0;
  font-family: 'Syne', sans-serif;
  font-weight: 500;
  font-size: clamp(30px, 4vw, 56px);
  line-height: 1.05;
  letter-spacing: -1.5px;
  color: #c3ff74;
}

.hp-video-body p {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 500;
  line-height: 155%;
  color: #b0b0b0;
}

.hp-video-body p:last-child {
  margin-bottom: 0;
}

.hp-video-body em,
.hp-video-body i {
  font-style: italic;
}

.hp-video-body strong,
.hp-video-body b {
  color: #fff;
}

.hp-video-body a {
  color: #c3ff74;
}

/* CTA button — same look as the "Acheter mon billet" offer button. */
.hp-video-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  align-self: flex-start;
  margin-top: 4px;
  padding: 16px 24px;
  background: transparent;
  border: 1px solid #c3ff74;
  color: #c3ff74;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease;
}

.hp-video-cta svg {
  flex: none;
}

.hp-video-cta:hover {
  background: #c3ff74;
  color: #111;
}

.hp-video-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid #575757;
  overflow: hidden;
  background: #161616;
}

.hp-video-media iframe,
.hp-video-media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}

@media (max-width: 860px) {
  .hp-video-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---- 2d. Intégration (iframe) -------------------------------------------- */
.hp-embed {
  background: #111;
  padding-block: clamp(36px, 4.5vw, 72px);
}

.hp-embed-head {
  padding-inline: clamp(20px, 4vw, 30px);
  border-top: 1px solid #575757;
  padding-top: 18px;
  margin-bottom: clamp(20px, 2.6vw, 36px);
}

.hp-embed-title {
  margin: 0;
  font-family: 'Syne', sans-serif;
  font-weight: 500;
  font-size: clamp(24px, 3vw, 40px);
  line-height: 1;
  letter-spacing: -1.2px;
  text-transform: uppercase;
  color: #fff;
}

/* Full-width iframe: no side padding, spans the whole content width. */
.hp-embed-frame {
  width: 100%;
}

.hp-embed-frame iframe {
  display: block;
  width: 100%;
  height: var(--h, 90vh);
  border: 0;
  background: #161616;
}

/* ---- 4. Chiffres clés ---------------------------------------------------- */
.hp-figures-section {
  background: #111;
  padding: 0 clamp(20px, 4vw, 60px) clamp(32px, 4vw, 56px);
}

.hp-figures {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 36px);
}

.hp-figure {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 8px solid var(--ac, #c3ff74);
  padding-top: clamp(14px, 1.8vw, 22px);
}

.hp-figure-num {
  font-weight: 500;
  font-size: clamp(30px, 4.6vw, 64px);
  line-height: 1;
  letter-spacing: -2.4px;
  color: #fff;
}

.hp-figure-lbl {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #8a8a8a;
}

/* ---- 5. Ils y étaient (testimonials) ------------------------------------ */
.hp-testi-section {
  background: #111;
  padding: clamp(44px, 5.5vw, 96px) clamp(20px, 4vw, 60px);
}

.hp-testi-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 40px;
  border-bottom: 8px solid #c3ff74;
  padding-bottom: clamp(16px, 2vw, 26px);
  margin-bottom: clamp(24px, 3vw, 40px);
}

.hp-testi-title,
.hp-offers-title {
  margin: 0;
  font-family: 'Syne', sans-serif;
  font-weight: 500;
  font-size: clamp(28px, 4.6vw, 70px);
  line-height: 0.92;
  letter-spacing: -2.8px;
  text-transform: uppercase;
  color: #fff;
}

.hp-testi-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 26px);
  align-items: stretch;
}

.hp-testi {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: #161616;
  border: 1px solid #575757;
  padding: clamp(22px, 2.6vw, 34px);
}

.hp-testi-bar {
  height: 8px;
  width: 56px;
  background: var(--ac, #c3ff74);
}

.hp-testi-quote {
  margin: 0;
  flex: 1;
  font-family: 'Syne', sans-serif;
  font-weight: 500;
  font-size: clamp(18px, 2vw, 25px);
  line-height: 1.2;
  letter-spacing: -0.7px;
  color: #fff;
}

.hp-testi-by {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  border-top: 1px solid #333;
  padding-top: 16px;
}

.hp-testi-photo {
  position: relative;
  width: 80px;
  height: 80px;
  overflow: hidden;
  background: #111;
}

.hp-testi-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hp-testi-photo--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #6a6a6a;
  border: 1px solid #333;
}

.hp-testi-id {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.hp-testi-name {
  font-size: 16px;
  font-weight: 500;
  color: #fff;
}

.hp-testi-role {
  font-size: 14px;
  font-weight: 500;
  line-height: 140%;
  color: #8a8a8a;
}

/* ---- 6. Les intervenants ------------------------------------------------- */
.hp-team-section {
  background: #161616;
  padding: clamp(36px, 4.5vw, 72px) clamp(20px, 4vw, 30px) clamp(40px, 5vw, 72px);
}

.hp-team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 26px);
}

.hp-team-card {
  display: flex;
  flex-direction: column;
  background: #161616;
  border: 1px solid #575757;
  overflow: hidden;
  text-decoration: none;
  transition: border-color 0.3s ease, transform 0.3s cubic-bezier(0.22, 0.7, 0.2, 1);
}

.hp-team-card:hover {
  transform: translateY(-4px);
  border-color: var(--ac, #c3ff74);
}

.hp-team-por {
  position: relative;
  aspect-ratio: 4 / 5;
  background: #111;
  overflow: hidden;
}

.hp-team-por img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.04); /* black & white until hovered, like the intervenants list */
  transition: filter 0.45s ease;
}

.hp-team-card:hover .hp-team-por img {
  filter: none;
}

.hp-team-badge-row {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  align-items: flex-end;
}

.hp-team-axe {
  background: var(--ac, #c3ff74);
  color: #111;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  padding: 8px 14px;
}

.hp-team-go {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ac, #c3ff74);
  color: #111;
  margin-bottom: 33px;
}

.hp-team-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: clamp(18px, 2vw, 26px);
  flex: 1;
}

.hp-team-name {
  margin: 0;
  font-family: 'Syne', sans-serif;
  font-weight: 500;
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.06;
  letter-spacing: -0.6px;
  color: #fff;
}

.hp-team-fn {
  margin: 0;
  flex: 1;
  font-size: 16px;
  font-weight: 500;
  line-height: 150%;
  color: #8a8a8a;
}

.hp-team-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid #333;
  padding-top: 14px;
}

.hp-team-pays {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #8a8a8a;
}

.hp-team-li {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #111;
  color: var(--ac, #c3ff74);
  border: 1px solid var(--ac, #c3ff74);
}

/* ---- 6b. Lauréat·e·s (carrousel Swiper) ---------------------------------- */
.hp-lau {
  background: #111;
  padding: clamp(64px, 8vw, 130px) clamp(24px, 6vw, 110px);
}

.hp-lau-head,
.hp-lau-swiper {
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
}

.hp-lau-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px 32px;
  margin-bottom: clamp(20px, 2.6vw, 36px);
}

.hp-lau-title {
  margin: 0;
  font-family: 'Syne', sans-serif;
  font-weight: 500;
  font-size: clamp(24px, 3vw, 40px);
  line-height: 1;
  letter-spacing: -1.2px;
  text-transform: uppercase;
  color: #fff;
}

.hp-lau-swiper {
  --swiper-pagination-color: #c3ff74;
  --swiper-pagination-bullet-inactive-color: #575757;
  --swiper-pagination-bullet-inactive-opacity: 1;
  --swiper-pagination-bottom: 0;
  padding-bottom: clamp(40px, 4vw, 56px);
}

.hp-lau-swiper .swiper-wrapper {
  height: auto;
}

.hp-lau-swiper .swiper-slide {
  height: auto;
}

.hp-lau-card {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 1.6vw, 20px);
  background: #161616;
  border: 1px solid #575757;
  padding: clamp(18px, 2vw, 26px);
}

.hp-lau-cat {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #8a8a8a;
}

.hp-lau-person {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.6vw, 22px);
}

.hp-lau-photo {
  flex: 0 0 auto;
  width: clamp(66px, 6.5vw, 92px);
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #c3ff74;
}

.hp-lau-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  -webkit-user-drag: none;
  user-drag: none;
}

.hp-lau-id {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.hp-lau-name {
  margin: 0;
  font-family: 'Syne', sans-serif;
  font-weight: 500;
  font-size: clamp(18px, 1.7vw, 22px);
  line-height: 1.12;
  letter-spacing: -0.5px;
  text-transform: uppercase;
  color: #fff;
}

.hp-lau-org {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #8a8a8a;
}

/* ---- 7. Nos partenaires -------------------------------------------------- */
.hp-partners-section {
  padding: clamp(36px, 4.5vw, 72px) clamp(20px, 4vw, 30px) clamp(48px, 6vw, 90px);
  background: #161616;
}

.hp-partners-head {
  border-top: none;
  padding-top: 0;
  margin-bottom: clamp(16px, 2vw, 28px);
}

.hp-partners-rule {
  height: 8px;
  background: #c3ff74;
  margin-bottom: clamp(20px, 2.6vw, 36px);
}

.hp-partners-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 20px);
}

.hp-logo {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 9;
  background: #fff;
  border: 1px dashed #b9b9b9;
  padding: clamp(10px, 1.2vw, 18px);
  overflow: hidden;
}

.hp-logo img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* ---- 8. Les offres (offers/pricing) ------------------------------------- */
.hp-offers-section {
  background: #111;
  padding: clamp(44px, 5.5vw, 96px) clamp(20px, 4vw, 60px);
}

.hp-offers-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 40px;
  border-bottom: 8px solid #c3ff74;
  padding-bottom: clamp(16px, 2vw, 26px);
  margin-bottom: clamp(24px, 3vw, 44px);
}

.hp-offers-sub {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: #575757;
}

.hp-offers-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 26px);
}

.hp-offer {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: clamp(24px, 2.8vw, 38px);
  background: #161616;
  border: 1px solid #575757;
  border-top: 8px solid var(--ac, #c3ff74);
  color: #fff;
}

.hp-offer--featured {
  background: #c3ff74;
  border-color: #c3ff74;
  border-top-color: #111;
  color: #111;
}

.hp-offer-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.hp-offer-id {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.hp-offer-name {
  font-family: 'Syne', sans-serif;
  font-weight: 500;
  font-size: clamp(21px, 2.2vw, 28px);
  line-height: 1.04;
  letter-spacing: -0.9px;
}

.hp-offer-format {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  opacity: 0.62;
}

.hp-offer-badge {
  background: #111;
  color: #c3ff74;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 5px 10px;
  white-space: nowrap;
}

.hp-offer-price {
  font-weight: 500;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 0.96;
  letter-spacing: -3px;
  color: var(--ac, #c3ff74);
}

.hp-offer--featured .hp-offer-price {
  color: #111;
}

.hp-offer-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.hp-offer-list li {
  font-size: 15px;
  font-weight: 500;
  line-height: 150%;
  opacity: 0.72;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  padding: 11px 0;
}

.hp-offer--featured .hp-offer-list li {
  border-top-color: rgba(17, 17, 17, 0.18);
}

.hp-offer-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  background: transparent;
  border: 1px solid var(--ac, #c3ff74);
  color: var(--ac, #c3ff74);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease;
}

.hp-offer-btn svg {
  flex: none;
}

.hp-offer--featured .hp-offer-btn {
  background: #111;
  border-color: #111;
  color: #c3ff74;
}

.hp-offer:not(.hp-offer--featured) .hp-offer-btn:hover {
  background: var(--ac, #c3ff74);
  color: #111;
}

/* ---- 9. Bandeau CTA ------------------------------------------------------ */
.hp-cta {
  padding: 0 clamp(20px, 4vw, 30px) clamp(48px, 6vw, 90px);
  background: #111;
}

.hp-cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px 40px;
  padding: clamp(28px, 3.5vw, 44px) clamp(24px, 3vw, 40px);
  background: #c3ff74;
}

.hp-cta-text {
  max-width: 760px;
  font-family: 'Syne', sans-serif;
  font-weight: 500;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.1;
  letter-spacing: -0.6px;
  text-transform: uppercase;
  color: #111;
}

.hp-cta-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  background: #111;
  color: #c3ff74;
  font-size: 18px;
  font-weight: 500;
  text-transform: uppercase;
  text-decoration: none;
}

.hp-cta-btn svg {
  flex: none;
}

/* ---- Responsive ---------------------------------------------------------- */
@media (max-width: 1024px) {
  .hp-team-grid,
  .hp-partners-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .hp-event-split {
    grid-template-columns: minmax(0, 1fr);
  }

  .hp-event-figure {
    position: static;
    aspect-ratio: 16 / 9;
  }

  .hp-figures {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hp-testi-grid,
  .hp-offers-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 760px) {
  .hp-axes-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hp-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hp-gallery-item--lead {
    grid-column: span 2;
    grid-row: auto;
    aspect-ratio: 16 / 9;
  }

  .hp-team-grid,
  .hp-partners-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .hp-figures,
  .hp-team-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
