.insc-hero {
  background: var(--jaune);
  padding-top: 80px;
  position: relative;
  overflow: hidden;
}

.insc-hero-inner {
  display: grid;
  grid-template-rows: auto auto;
}

.insc-hero-texte {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 48px var(--marge) 0;
}

.insc-hero-img-slot {
  min-height: 340px;
  position: relative;
}

.insc-hero-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-bottom: 40px;
}

.insc-surtitre {
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rouge);
}

.insc-titre {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--noir);
}

.insc-liste {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-left: 4px;
}

.insc-liste li {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--noir);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.insc-liste li::before {
  content: '–';
  flex-shrink: 0;
  font-weight: 700;
  color: var(--rouge);
}

.insc-carousel-zone {
  position: relative;
  height: 220px;
  margin-top: 0;
  overflow: hidden;
}

.insc-slides-track {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  padding: 0 var(--marge);
  height: 100%;
  position: relative;
}

.insc-slide {
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.insc-slide img,
.insc-slide .img-ph {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.insc-slide .img-ph {
  background: rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.84rem;
  color: rgba(255,255,255,0.5);
  font-style: italic;
  text-align: center;
}

.insc-slide {
  width: 160px;
  height: 160px;
  opacity: 0.75;
  filter: brightness(0.8);
}

.insc-slide.active {
  opacity: 1;
  filter: brightness(1);
  width: 340px;
  height: 340px;
  position: absolute;
  bottom: 0;
  left: var(--marge);
  z-index: 10;
  border-radius: 10px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.25);
  cursor: default;
}

.insc-slide.active::after {
  content: none;
}

.insc-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 3px solid transparent;
  border-radius: 8px;
  transition: border-color 0.3s;
  z-index: 2;
  pointer-events: none;
}

.insc-slide.active::before {
  border-color: var(--blanc);
  border-radius: 10px;
}

.insc-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background: var(--rouge);
  border-radius: 0 2px 2px 0;
  width: 0%;
  transition: width linear;
  z-index: 20;
}

.insc-cotisation {
  background: var(--blanc);
  padding: 80px var(--marge);
  text-align: center;
}

.insc-section-titre {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.insc-section-intro {
  font-size: 1rem;
  color: var(--gris-texte);
  line-height: 1.7;
  max-width: 680px;
  margin: 0 auto 40px;
}

.cot-table-wrap {
  overflow-x: auto;
  border-radius: 10px;
  border: 1.5px solid var(--gris-moyen);
  margin-bottom: 24px;
}

.cot-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  text-align: left;
}

.cot-table th {
  /*background: var(--gris);*/
  padding: 12px 16px;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-bottom: 1.5px solid var(--gris-moyen);
  white-space: nowrap;
  text-align: center;
}

.cot-table td {
  padding: 12px 16px;
  /*border: #e7e7e7 1px solid;*/
  text-align: center;
  line-height: 1.5;
}

.col-grey-bg{
  background: #F4F4F4;
}

.col-rouge-bg{
  background: var(--rouge);
  color: white;
}

.cot-table tr{
border: #e7e7e7 1px solid;
}

.cot-table tr:last-child td { border-bottom: none; }

.cot-table .col-formule { font-weight: 600; text-align: start;}
.cot-table .prix { font-weight: 700; color: var(--rouge); }
.cot-table .prix-zero { font-weight: 700; color: var(--rouge); }
.cot-table .assurance { font-size: 0.8rem; color: var(--gris-texte); }
.cot-table tr.row-assurance td { font-size: 0.8rem; color: var(--gris-texte); }
.cot-table .echeance { font-size: 0.8rem; color: var(--gris-texte); white-space: nowrap; }

.cot-iban {
  font-size: 1.1rem;
  color: var(--gris-texte);
  margin-bottom: 8px;
}

.cot-iban strong { color: var(--noir); }

.cot-note {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--noir);
  margin-top: 8px;
}

.insc-accessible {
  background: var(--rouge);
  padding: 60px var(--marge);
}

.accessible-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
}

.accessible-btns {
  display: flex;
  gap: 16px;
  flex-shrink: 0;
}

.accessible-texte h2 {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--blanc);
  margin-bottom: 16px;
  line-height: 1.2;
}

.accessible-texte p {
  font-size: 1rem;
  color: rgba(255,255,255,0.88);
  line-height: 1.7;
  margin-bottom: 12px;
}

.accessible-texte p:last-child { margin-bottom: 0; }

.accessible-texte a {
  color: var(--blanc);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.accessible-texte strong {
  color: var(--blanc);
  font-weight: 700;
}

.insc-entrainement {
  background: var(--gris);
  padding: 80px var(--marge);
}

.insc-entrainement .insc-surtitre {
  margin-bottom: 4px;
}

.entrainement-titre {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.entrainement-intro {
  font-size: 1rem;
  color: var(--gris-texte);
  line-height: 1.7;
  max-width: 720px;
  margin-bottom: 40px;
}

.entrainement-grid {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px;
  align-items: start;
}

.horaires-jours {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.jour-bloc {
  background: var(--blanc);
  border-radius: 20px;
  border: 1.5px solid var(--gris-moyen);
  padding: 12px 14px;
  color: var(--noir);
  text-align: center;
}

.jour-nom {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 6px;
  border-bottom: 1px solid var(--gris-moyen);
  padding-bottom: 6px;
  color: var(--rouge);
}

.jour-creneau {
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 4px;
}

.jour-creneau strong {
  display: block;
  font-weight: 700;
}

.jour-note {
  font-size: 0.84rem;
  margin-top: 6px;
  line-height: 1.4;
  font-style: italic;
}

.calendrier-wrap {
  background: var(--blanc);
  border-radius: 10px;
  overflow: hidden;
  border: 1.5px solid var(--gris-moyen);
}

.calendrier-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

.calendrier-placeholder {
  width: 100%;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-style: italic;
  color: rgba(0,0,0,0.2);
  border: 2px dashed rgba(0,0,0,0.1);
  border-radius: 10px;
  flex-direction: column;
  gap: 8px;
}

.calendrier-btn-wrap {
  text-align: center;
  margin-top: 16px;
}

.insc-salle {
  padding: 80px var(--marge);
  background: var(--gris);
}

.insc-salle .loc-carte {
  width: 75%;
}

.insc-salle .loc-map-frame {
  height: 280px;
}

.insc-materiel {
  background: var(--blanc);
  padding: 80px var(--marge);
}

.materiel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.materiel-photo {
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.materiel-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.materiel-photo .img-ph {
  width: 100%;
  height: 100%;
  min-height: 240px;
  background: var(--gris);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(0,0,0,0.2);
  font-size: 0.8rem;
  font-style: italic;
  border: 2px dashed rgba(0,0,0,0.1);
  border-radius: 10px;
}

.materiel-texte {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.insc-salle{
  display: flex;
  justify-content: center;
}

.materiel-texte h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.materiel-texte p {
  font-size: 1rem;
  line-height: 1.75;
  color: #333;
}

.link-color {
  color: var(--rouge);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.materiel-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}

/* RESPONSIVE */

@media (max-width: 1100px) {
  .materiel-grid { grid-template-columns: 1fr; gap: 40px; }
  .entrainement-grid { grid-template-columns: 1fr; }
  .accessible-inner { flex-direction: column; gap: 30px; }
  .accessible-btns { flex-direction: row; }
  .insc-salle .loc-carte { width: 100%; }
  .horaires-jours { flex-direction: row; }
  .jour-bloc { width: 100%; }
}

@media (max-width: 900px) {
  .insc-cotisation,
  .insc-entrainement,
  .insc-salle,
  .insc-materiel,
  .insc-accessible { padding-left: 20px; padding-right: 20px; }
}

@media (max-width: 768px) {
  .insc-cotisation,
  .insc-entrainement,
  .insc-salle,
  .insc-materiel,
  .insc-accessible { padding-left: 16px; padding-right: 16px; }

  .accessible-inner { flex-direction: column; align-items: flex-start; gap: 24px; }
  .accessible-btns { flex-direction: row; flex-wrap: wrap; }

  .horaires-jours { flex-direction: column; }
  .jour-bloc { width: 100%; }

  .insc-salle .loc-carte { width: 100%; }
  .insc-salle .loc-map-frame { height: 220px; }

  .materiel-grid { grid-template-columns: 1fr; gap: 32px; }
  .entrainement-grid { grid-template-columns: 1fr; gap: 24px; }

  .cot-table-wrap {
    border: none;
    background: transparent;
    overflow: visible;
  }
  .echeance-mobile{
    padding: 20px 30% 0 30% !important;
  }

  .td-mobile-none{
    display: none!important;
  }
  .td-mobile{
    text-align: end!important;
    font-size: 0.82rem!important;
  }

  .responsive-delet{
    display: none!important;
  }

  .cot-table thead { display: none; }
  .cot-table,
  .cot-table tbody { display: block; width: 100%; }

  .cot-table tr {
    display: block;
    background: var(--blanc);
    border-radius: 12px;
    border: 1.5px solid var(--gris-moyen);
    margin-bottom: 12px;
    padding: 14px 16px;
  }

  .cot-table tr.row-assurance {
    background: var(--gris);
    border-radius: 8px;
    margin-top: -8px;
    margin-bottom: 16px;
  }

  .cot-table td {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 4px 0;
    border: none;
    font-size: 0.82rem;
    text-align: left;
  }

  .cot-table td::before {
    content: attr(data-label);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--gris-texte);
    flex-shrink: 0;
    margin-right: 8px;
  }

  .cot-table td[colspan]::before { display: none; }
  .cot-table td[colspan] { display: block; }
  .cot-table td:empty { display: none; }

  .cot-table .col-formule {
    display: block;
    font-weight: 700;
    font-size: 0.95rem;
    border-bottom: 1px solid var(--gris-moyen);
    padding-bottom: 8px;
    margin-bottom: 6px;
    text-align: left;
  }
  .cot-table .col-formule::before { display: none; }
}

.content-container {
  margin-top: 75px;
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}

.content {
  width: 50%;
  max-width: 600px;
  transform: translateX(50%);
}

.subtitle {
  color: #DC143C;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

h1 {
  font-size: 56px;
  font-weight: 800;
  color: #000;
  margin-bottom: 20px;
  line-height: 1.1;
}

.description {
  font-size: 16px;
  line-height: 1.6;
  color: #000;
  margin-bottom: 30px;
}

.buttons {
  display: flex;
  gap: 15px;
}

.carousel-wrapper {
  position: relative;
  background-color: white;
  padding: 2rem 0;
}

.carousel-container {
  height: 180px;
  overflow: visible;
  position: relative;
  background-color: white;
}

.carousel {
  display: flex;
  gap: 20px;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
  align-items: flex-end;
}

.carousel-item {
  flex-shrink: 0;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-item.small {
  width: 280px;
  opacity: 0.6;
  aspect-ratio: 3 / 2;
}

.carousel-item.active {
  width: 500px;
  opacity: 1;
  aspect-ratio: 1 / 1.3;
}

.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.carousel-nav {
  display: flex;
  gap: 15px;
  margin-top: 30px;
  justify-content: center;
}

@media (max-width: 1200px) {
  .carousel-item.active {
    width: normal;
    aspect-ratio: 1 / 1;
  }

  .cot-table th {
    padding: 12px 5px;
    white-space: initial;
  }

  .content-container {
    justify-content: start;
  }

  .carousel-item.small {
    width: 240px;
    height: 240px;
  }

  .carousel-container {
    height: 240px;
  }

  .carousel {
    align-items: normal;
    margin-left: 350px;
  }

  h1 {
    font-size: 48px;
  }
}

@media (max-width: 1200px) {
  .section {
    overflow: hidden;
  }

  .content-container {
    margin-top: 25px;
    padding: 0 20px;
    justify-content: flex-start;
    transform: none;
  }

  .content {
    width: 100%;
    max-width: 100%;
    transform: none;
  }

  h1 { font-size: 2.2rem; }

  .description { font-size: 0.95rem; }

  .buttons { flex-wrap: wrap; gap: 10px; }

  .carousel-wrapper {
    padding: 1rem 0 1.5rem;
    background: white;
  }

  .carousel-container {
    height: auto;
    overflow: hidden;
  }

  .carousel {
    display: flex;
    gap: 12px;
    padding: 12px 20px 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    align-items: center;
    margin-left: 0;
    transform: none !important;
    transition: none !important;
  }

  .carousel::-webkit-scrollbar { display: none; }

  .carousel-item,
  .carousel-item.active,
  .carousel-item.small {
    flex-shrink: 0;
    width: 72vw;
    max-width: 300px;
    height: auto;
    aspect-ratio: 3 / 2;
    opacity: 1;
    scroll-snap-align: center;
    border-radius: 12px;
    cursor: pointer;
    transition: outline 0.2s ease;
  }

  .carousel-item.active {
    outline: 3px solid var(--rouge);
    outline-offset: 2px;
  }
}

@media (max-width: 480px) {
  .content-container {
    padding: 0 16px;
  }

  h1 { font-size: 1.9rem; }

  .carousel-item,
  .carousel-item.active,
  .carousel-item.small {
    width: 80vw;
    max-width: 260px;
  }
}