root {
  --primary-color: rgb(66, 125, 189);

}



body {
  font-family: 'jost', sans-serif;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  background-color: #FBF5F2;
}



* {
  scroll-behavior: smooth;

}

.cormorant-garamond {
  font-family: "Cormorant Garamond", serif;
  font-optical-sizing: auto;
  font-style: normal;
}

/* -------- MOBILE TOGGLE -------- */

.sidenav {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: min(80%, 320px);
  background: #FBF5F2;
  box-shadow: -2px 0 12px rgba(0, 0, 0, 0.15);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  z-index: 4;
  padding-top: 5rem;
}

.sidenav.is-open {
  transform: translateX(0);
}

.sidenav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 3;
}

.sidenav-overlay.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.mobile-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 30px;
  height: 24px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.mobile-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: currentColor;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* navigation */

nav button.cta {
  position: absolute;
  right: 100px;
  cursor: pointer;
  font-size: 1.6rem;
  padding: 10px 20px;
  color: white;
  background-color: #7FA9B0;
  font-weight: 300;
  border: solid 3px #618b94;
  border-radius: 4px;
}





/* hero section */

.hero-section {
  position: relative;
  margin-top: 120px;
}

.hero-section img {
  width: 100%;
  height: 100svh;
  object-fit: cover;
  min-height: 0;
  display: block;

}

.hero-section figure {
  position: relative;
}

.hero-section figure img.hero-logo {
  position: absolute;
  top: 164px;
  right: 120px;
  width: 200px;
  height: auto;
  z-index: 2;
}

.nav-logo {
  width: 40px;
  height: auto;
  z-index: 2;
}

.hero-section-vision {
  position: relative;
  height: 100svh;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  /* centre verticalement */
  justify-content: center;
  /* centre horizontalement */
  padding-top: 90px;
  /* compense la hauteur de la nav fixe (.glass) pour ne jamais passer dessous */
  box-sizing: border-box;
}

.bottom-section {
  position: relative;
  height: 60vh;
  width: 100%;
  overflow: hidden;
}

.bottom-section button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 10px 20px;
  font-size: 1.2rem;
  background-color: rgba(238, 167, 96, 0);
  color: white;
  border: solid 1px rgba(245, 245, 245, 0.431);
  border-radius: 35px;
  z-index: 3;
}

.bottom-section button.glass {
  width: unset;
  height: unset;
}

.hero-section-vision figure {
  margin: 0;
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-section-vision img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-section-vision::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.576);
  z-index: 2;
}

.bottom-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.432);
  z-index: 2;
}

.hero-section h1 {
  position: absolute;
  top: 12%;
  left: 10%;
  color: #7FA9B0;
  margin: 0;
  font-size: 5rem;
  font-weight: 300;
  letter-spacing: 1.3rem;
  line-height: 1.5;
  text-align: center;
}


.hero-section-vision .flex {
  position: relative;
  z-index: 3;
  color: #efefef;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-section-vision h1 {
  font-size: 8rem;
  font-family: 'Cormorant Garamond', serif;
  text-align: center;
}

.hero-section-vision p {
  font-size: 2rem;
  width: 90%;
  margin: 20px 20px;
  padding: 20px 20px;
  font-weight: 300;
}

.hero-section button {
  position: absolute;
  top: 90%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 20px 80px;
  font-size: 1.2rem;
  background-color: rgba(238, 167, 96, 0);
  color: white;
  border: solid 1px rgb(245, 245, 245);
  border-radius: 35px;
  cursor: pointer;
}

/* section 1 */

#notre-histoire {
  height: 100svh;
}

#notre-histoire h2 {
  margin-top: 50px;
  font-size: 3.5rem;
  font-weight: lighter;
  letter-spacing: 0.6rem;
  color: black;
  text-align: start;
  line-height: 1.3;
}

#notre-histoire div {
  padding: 100px;
}

#notre-histoire p,
#la-communaute p {
  font-size: 1.5rem;
  font-weight: 300;
}

#notre-histoire img {
  display: block;
  margin: 0 auto;
  object-fit: cover;
  min-height: 0;
  width: 100%;
  height: 100%;
}

#notre-histoire button {
  padding: 20px 20px;
  font-size: 1.6rem;
  border: none;
  cursor: pointer;
  background-color: transparent;
}

#notre-histoire a {
  text-decoration: none;
  color: inherit;
}


/* section 2 */

#nos-cours img {
  display: block;
  margin: 0 auto;
  object-fit: cover;
  min-height: 0;
  width: 100%;
  max-width: 80%;
  height: 100%;
}

#nos-cours h2 {
  font-size: 3.5rem;
  font-weight: lighter;
  letter-spacing: 0.6rem;
  color: black;
  text-align: start;
  line-height: 1.3;
}

#nos-cours span,
#la-communaute span {
  font-size: 1.2rem;
  font-weight: lighter;
  letter-spacing: 0.6rem;
  color: black;
  text-align: start;
  line-height: 1.3;
}

#nos-cours {
  padding: 100px;
  height: 100svh;
  background-color: #F6E6E0;
}

#nos-cours figcaption {
  font-size: 1.2rem;
  margin-top: 20px;

}

/* section se dire */
#se-dire {
  margin-top: 100px;
  height: 100svh;
  padding: 0;
  margin-bottom: 0;
}

#se-dire img {
  display: block;
  margin: 0 auto;
  object-fit: cover;
  min-height: 0;
  width: 600px;
  max-width: 600px;
  height: 90%;
}

#se-dire p {
  font-size: 3rem;
  font-weight: lighter;
  margin-left: 50px;
  letter-spacing: 0.6rem;
  color: black;
  text-align: start;
  width: 50%;
  line-height: 1.3;
}

#se-dire h2 {
  font-size: 2rem;
  font-weight: lighter;
  letter-spacing: 0.6rem;
  color: black;
  text-align: start;
  line-height: 1.3;
}

/* section 3 */

#chapitre {
  margin-top: 100px;
  height: 100svh;
  padding: 0;
  margin-bottom: 0;
}

#chapitre img {
  display: block;
  margin: 0 auto;
  object-fit: cover;
  min-height: 0;
  width: 100%;
  height: 90%;
}

#chapitre h2 {
  font-size: 3.5rem;
  font-weight: lighter;
  letter-spacing: 0.6rem;
  color: black;
  text-align: start;
  line-height: 1.3;
}

#chapitre span {
  padding: 20px;
  font-size: 1.2rem;
  font-weight: lighter;
  letter-spacing: 0.6rem;
  color: black;
  text-align: start;
  line-height: 1.3;
}

#chapitre h3 {
  padding: 20px;
  font-size: 2rem;
  font-weight: lighter;
  color: black;
  text-align: start;
}



/* section 3 */

#la-communaute {
  margin-top: 100px;
  height: 100svh;
  background-color: #EBF1F1;
}

#la-communaute .hide {
  padding: 10px;

}

#la-communaute .hide img {
  display: block;
  width: 100%;
  height: 90%;
}

#la-communaute .grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 0;
}

#la-communaute h2 {
  font-size: 3.5rem;
  font-weight: lighter;
  letter-spacing: 0.6rem;
  color: black;
  text-align: start;
  line-height: 1.3;
}

#la-communaute button {
  margin-top: 10px;
  padding: 10px 10px;
  font-size: 1.6rem;
  border: none;
  cursor: pointer;
  background-color: transparent;
}

#la-communaute button i {
  margin-left: 10px;
}

/* section 4  */

#equipe {
  margin-top: 100px;
  height: 100svh;
}

#equipe h2 {
  font-size: 3.5rem;
  font-weight: lighter;
  letter-spacing: 0.6rem;
  color: black;
  text-align: center;
  line-height: 1.3;
}

#equipe span {
  height: 170px;
  width: 170px;
  padding: 0;
  background-color: rgb(211, 146, 81);
  border-radius: 90px;
  justify-content: center;
  align-items: center;
  display: flex;
  overflow: hidden;
  /* important, voir point 2 */
}

#equipe figure {
  padding: 0px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

#equipe .flex {
  margin: 20px 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  width: 100%;
}

#equipe img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* cta */

#nous-rejoindre {
  height: 100svh;
  margin-top: 100px;
}

#nous-rejoindre img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#nous-rejoindre .center {
  justify-content: center;
  text-align: center;
}

#nous-rejoindre h2 {
  margin-top: 30px;
  font-size: 3.5rem;
  font-weight: lighter;
  letter-spacing: 0.6rem;
  color: black;
  text-align: start;
  line-height: 1.3;
}

#nous-rejoindre button {
  margin-top: 300px;
  padding: 20px 20px;
  font-size: 1.2rem;
  border-radius: 35px;
  border: none;
  cursor: pointer;
  background-color: #F6E6E0;
}


/* snackbar section */
.snackbar-container {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  pointer-events: none;
}

.snackbar {
  min-width: 280px;
  max-width: 90vw;
  padding: 16px 24px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  opacity: 0;
  transform: translateY(-20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: auto;
}

.snackbar.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.snackbar--error {
  background-color: #d97070;
}

.snackbar--success {
  background-color: #50a168;
}

/* section banner */

.banner {
  background-color: #F6E6E0;
  padding: 25px;

}


.banner-list {
  display: flex;
  justify-content: space-between;
  list-style: none;
  width: 100%;
  margin: 40px;
}

.banner-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.banner-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  font-weight: 300;
}

.banner-label {
  font-size: 1.875rem;
  color: rgb(62, 137, 150);
  font-weight: 300;
  opacity: 0.8;
}

/* section vision */


#technique h2 {
  font-size: 6rem;
  font-weight: 300;
  letter-spacing: 0.6rem;
  font-style: italic;
  color: black;
  text-align: center;
  line-height: 1.3;
  margin: 0;
}

#technique {
  width: 100%;
  height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
  overflow: hidden;
}

/* section erreur (404, etc.) */

.error-page {
  width: 100%;
  min-height: 100svh;
  padding-top: 90px;
  /* compense la nav fixe (.glass) */
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: #FBF5F2;
}

.error-page>div {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  max-width: 600px;
}

.error-page-code {
  font-size: 8rem;
  line-height: 1;
  color: #7FA9B0;
}

.error-page h1 {
  font-size: 2.5rem;
  font-weight: 300;
  margin: 10px 0 20px;
  color: black;
}

.error-page p {
  font-size: 1.1rem;
  font-weight: 300;
  color: #444;
  margin-bottom: 30px;
}

.error-page .btn {
  text-decoration: none;
  display: inline-block;
}

/* 
section footer */

footer {
  background-color: #7FA9B0;
  color: white;
  padding: 50px;
}

/* Le "NØVA" tout seul */
footer .grid.one-column:first-child span:first-child {
  font-size: 3rem;
  font-family: 'Cormorant Garamond', serif;
}


/* Titre "Navigation" */
footer .grid.one-column:nth-child(2) span:first-child {
  font-size: 1rem;
  letter-spacing: .3rem;
  color: #F6E6E0
}

/* Les liens de navigation (tous les span sauf le titre) */
footer .grid.one-column:nth-child(2) span:not(:first-child) {
  cursor: pointer;
  transition: color .2s;
}

footer .grid.one-column:nth-child(2) span:not(:first-child):hover {
  color: #F6E6E0;
}

/* Titre "Contact" */
footer .grid.one-column:nth-child(3) span:first-child {
  font-size: 1rem;
  letter-spacing: .3rem;
  color: #F6E6E0
}


/* Les liens a l'intérieur du contact */
footer .grid.one-column:nth-child(3) a {
  color: inherit;
  text-decoration: none;
}

footer .grid.one-column:nth-child(3) a:hover {
  text-decoration: underline;
}

/* Le hr séparateur */
footer hr {
  border-color: rgba(246, 230, 224, .2);
  margin: 20px 0;
}

/* La ligne du bas (copyright) */
footer .relative.flex.center p {
  color: #F6E6E0;
}

/* Responsive - empiler les colonnes en dessous d'une certaine largeur */
@media screen and (max-width: 768px) {
  footer.footer .relative.flex.space-between {
    flex-direction: column;
    gap: 30px;
  }
}


/* ==========================================================================
   NØVA — Formulaire d'adhésion
   ========================================================================== */

/* ==========================================================================
   Layout général
   ========================================================================== */

.adhesion {
  background-color: #F6E6E0;
  color: #6b6b6b;
  min-height: 110vh;
  height: auto;
  width: 100%;
  flex-direction: column;
}

.adhesion__head {
  max-width: 640px;
  margin: 0 auto 48px;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #c98a6d;
  margin-bottom: 12px;
}

.adhesion__title {
  font-size: 3rem;
  font-weight: 500;
  color: #4f6b72;
  margin: 0 0 20px;
}

.adhesion__lead {
  font-size: 1rem;
  line-height: 1.6;
  color: #6b6b6b;
  margin: 0;
  width: 90%;
}

.adhesion__lead strong {
  color: #4f6b72;
  font-weight: 700;
}

/* ==========================================================================
   Carte principale
   ========================================================================== */

.card {
  max-width: 100%;
  width: 70%;
  background-color: #ffffff;
  border-radius: 5px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  padding: 48px;
  /* la nav fixe (90px) ne doit pas masquer le haut de la carte après un changement d'étape */
  scroll-margin-top: 110px;
}

/* ==========================================================================
   Stepper
   ========================================================================== */

.stepper {
  display: flex;
  align-items: center;
  margin-bottom: 40px;
}

.stepper__item {
  display: flex;
  align-items: center;
  flex: 1;
}

.stepper__item:last-child {
  flex: 0 0 auto;
}

.stepper__label-group {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.stepper__dot {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #d8cbae;
  color: #8b8b8b;
  font-weight: 600;
  font-size: 0.95rem;
  background-color: #ffffff;
  transition: all 0.2s ease;
}

.stepper__text {
  font-size: 0.95rem;
  color: #8b8b8b;
  transition: all 0.2s ease;
}

.stepper__line {
  flex: 1;
  height: 1px;
  background-color: #e6dcc9;
  margin: 0 16px;
}

/* Étape active */
.stepper__item.is-active .stepper__dot {
  background-color: #7f9a9d;
  border-color: #7f9a9d;
  color: #ffffff;
}

.stepper__item.is-active .stepper__text {
  color: #2c2c2c;
  font-weight: 600;
}

/* Étape complétée */
.stepper__item.is-done .stepper__dot {
  background-color: #6d8689;
  border-color: #6d8689;
  color: #ffffff;
}

/* ==========================================================================
   Steps (contenu du formulaire)
   ========================================================================== */

.step {
  display: none;
}

.step.is-current {
  display: block;
}

.step__title {
  font-size: 1.6rem;
  font-weight: 500;
  color: #4f6b72;
  margin: 0 0 28px;
}

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

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field--full {
  grid-column: 1 / -1;
}

.field__label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8b8b8b;
}

.field-error {
  display: block;
  color: #d97070;
  font-size: 0.82rem;
  margin-top: 4px;
  min-height: 1em;
}

.input {
  width: 90%;
  padding: 14px 16px;
  font-size: 1rem;
  color: #2c2c2c;
  background-color: #fbf7f0;
  border: 1px solid #e6dcc9;
  border-radius: 10px;
  transition: all 0.2s ease;
}

.input::placeholder {
  color: #c9b8ab;
}

.input:focus {
  outline: none;
  border-color: #7f9a9d;
  box-shadow: 0 0 0 3px rgba(127, 154, 157, 0.15);
}

.input--error {
  border-color: #d97070;
}

.input--error:focus {
  box-shadow: 0 0 0 3px rgba(217, 112, 112, 0.15);
}

.cours-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cours-row .input {
  flex: 1;
}

.cours-select {
  flex: 1;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
  padding: 14px 16px;
  font-size: 1rem;
  color: #2c2c2c;
  background-color: #fbf7f0;
  border: 1px solid #e6dcc9;
  border-radius: 10px;
  transition: all 0.2s ease;
}

.cours-select:focus {
  outline: none;
  border-color: #7f9a9d;
  box-shadow: 0 0 0 3px rgba(127, 154, 157, 0.15);
}

.btn-icon {
  flex-shrink: 0;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 20%;
  border: 1px solid var(--color-border, #ccc);
  background: #fff;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-icon--remove {
  color: #b33;
}

.adresse-field {
  position: relative;
}

.adresse-suggestions {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 20;
  margin: 0.25rem 0 0;
  padding: 0.25rem 0;
  list-style: none;
  background: #fff;
  border: 1px solid var(--color-border, #ddd);
  border-radius: 0.5rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  max-height: 220px;
  overflow-y: auto;
}

.adresse-suggestions.is-open {
  display: block;
}

.adresse-suggestions__item {
  padding: 0.5rem 0.75rem;
  font-size: 0.9rem;
  cursor: pointer;
}

.adresse-suggestions__item:hover,
.adresse-suggestions__item.is-active {
  background: var(--color-accent-light, #f5eef2);
}

/* ==========================================================================
   Checkboxes (étape "Cours & santé")
   ========================================================================== */

.checks {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 28px;
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #6b6b6b;
  cursor: pointer;
}

.check input[type="checkbox"] {
  margin-top: 3px;
  width: 18px;
  height: 18px;
  accent-color: #7f9a9d;
  flex-shrink: 0;
  cursor: pointer;
}

.check.input--error {
  outline: 1px solid #c00;
  border-radius: 6px;
  padding: 4px;
}

.check strong {
  color: #2c2c2c;
}

.qs-sport {
  margin: 24px 0;
  border-radius: 8px;
  background: rgba(0, 0, 0, .03);
  overflow: hidden;
}

.qs-sport__toggle {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  color: inherit;
}

.qs-sport__toggle-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.qs-sport__toggle-sub {
  font-size: .8rem;
  opacity: .6;
  font-weight: 400;
}

.qs-sport__chevron {
  font-size: 1.2rem;
  transition: transform .25s ease;
  flex-shrink: 0;
}

.qs-sport__toggle[aria-expanded="true"] .qs-sport__chevron {
  transform: rotate(180deg);
}

.qs-sport__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
  padding: 0 20px;
}

.qs-sport__body.is-open {
  /* pas de plafond : sur petit écran le questionnaire dépasse 2000px et était tronqué */
  max-height: none;
  padding: 0 20px 20px;
}

.qs-sport__intro {
  font-size: .9rem;
  margin-bottom: 16px;
}

.qs-sport__section {
  font-weight: 600;
  text-transform: uppercase;
  font-size: .8rem;
  letter-spacing: .05rem;
  margin: 16px 0 8px;
  opacity: .7;
}

.qs-sport__question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0, 0, 0, .08);
}

.qs-sport__question span {
  font-size: .9rem;
  flex: 1;
}

.qs-sport__answers {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.qs-sport__answers label {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: .85rem;
  cursor: pointer;
}

.qs-sport__disclaimer {
  font-size: .75rem;
  opacity: .6;
  margin-top: 12px;
  font-style: italic;
}

.qs-sport__result {
  margin: 0 20px;
  padding: 12px;
  border-radius: 6px;
  font-size: .9rem;
  display: none;
}

.qs-sport__result.is-ok,
.qs-sport__result.is-warning {
  display: block;
  margin-bottom: 20px;
}

.qs-sport__result.is-ok {
  background: rgba(0, 150, 0, .1);
  color: #0a6b0a;
}

.qs-sport__result.is-warning {
  background: rgba(200, 0, 0, .08);
  color: #a10000;
}

.qs-sport__upload {
  display: none;
  margin: 0 20px 20px;
}

.qs-sport__upload.is-visible {
  display: block;
}

.qs-sport__check-all {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .85rem;
  cursor: pointer;
  margin-bottom: 16px;
  padding: 10px 12px;
  background: rgba(0, 0, 0, .04);
  border-radius: 6px;
  width: fit-content;
}

.consent-image {
  margin: 12px 0;
}

.consent-image .qs-sport__answers {
  gap: 20px;
  margin-top: 6px;
}

/* ==========================================================================
   Récapitulatif (étape 4)
   ========================================================================== */

.recap {
  margin-bottom: 24px;
  font-size: 0.95rem;
  line-height: 1.7;
  color: #6b6b6b;
}

.recap__total {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid #ccc;
}

.recap__total-final {
  font-size: 1.2rem;
  margin-top: 0.5rem;
}

/* ==========================================================================
   Notices
   ========================================================================== */

.notice {
  background-color: #fbf7f0;
  border: 1px solid #e6dcc9;
  border-radius: 10px;
  padding: 20px 24px;
}

.notice__title {
  font-weight: 700;
  color: #4f6b72;
  margin-bottom: 8px;
}

.notice p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
}

.notice--pink {
  border-color: #F6E6E0;
}

.notice--rose .notice__title {
  color: #c98a6d;
}

/* ==========================================================================
   Actions (boutons de navigation)
   ========================================================================== */

.actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid #e6dcc9;
}

.btn {
  padding: 14px 32px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn a {
  text-decoration: none;
  color: inherit;
}

.btn--primary {
  background-color: #7f9a9d;
  color: #ffffff;
}

.btn--primary:hover {
  background-color: #6d8689;
}

.btn--ghost {
  background-color: transparent;
  border-color: #d8cbae;
  color: #8b8b8b;
}

.btn--ghost:hover:not(:disabled) {
  border-color: #7f9a9d;
  color: #7f9a9d;
}

.btn--ghost:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn--submit {
  background-color: #7f9a9d;
  color: #ffffff;
}

.btn--submit:hover {
  background-color: #6d8689;
}

.btn--remove-adherent:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.is-hidden {
  display: none !important;
}


/* ==========================================================================
   Écran de confirmation (succès)
   ========================================================================== */

.success {
  display: none;
  text-align: center;
  padding: 20px 0;
}

.success.is-active {
  display: block;
}

.success__badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background-color: #7f9a9d;
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 700;
}

.success__title {
  font-size: 1.6rem;
  color: #4f6b72;
  margin: 0 0 12px;
}



.success__text {
  font-size: 0.95rem;
  color: #6b6b6b;
  margin: 0 0 28px;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 768px) {
  .adhesion__title {
    font-size: 2.2rem;
  }


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

  .stepper__text {
    display: none;
  }

  .stepper__line {
    margin: 0 8px;
  }

  .actions {
    flex-direction: column-reverse;
    gap: 12px;
  }

  .actions .btn {
    width: 100%;
  }

  .card {
    box-sizing: border-box;
    width: calc(100% - 32px);
    padding: 28px 20px;
    scroll-margin-top: 90px;
  }

  .qs-sport__body.is-open {
    padding: 0 12px 16px;
  }

  .qs-sport__question {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}




/* General classes for the app */

.glass {
  width: 100%;
  height: 90px;
  border-radius: 10px;
  backdrop-filter: url(#lg) blur(3px) contrast(1.1) brightness(1.05) saturate(1.2);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: inset 0 1px 0 #ffffff5c;

}


figure {
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 0;
  padding: 0;
}

.color-primary {
  color: rgb(62, 137, 150);
}

.color-gray {
  color: gray;
}

.color-black {
  color: black;
}

.naked-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.naked-list a {
  text-decoration: none;
  color: inherit;
}

.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

.space-between {
  justify-content: space-between;
}

.row-reverse {
  flex-direction: row-reverse;
}

.flex {
  display: flex;
}

.mobile {
  display: none;
}

.center {
  justify-content: start;
  align-items: center;
}


.grid {
  display: grid;
  gap: 10px;
}

.two-columns {
  grid-template-columns: 1fr 1fr;
  grid-template-rows: calc((100svh - 20px) / 3) calc((100svh - 20px) / 3) calc((100svh - 20px) / 3);
  height: 100svh;
  gap: 10px;
  box-sizing: border-box;
}

.one-column {
  grid-template-columns: 1fr;
}

.grid.two-columns>div:last-child {
  grid-column: 1 / -1;
}


.m-0 {
  margin: 0px;
}

.m-10 {
  margin: 10px;
}

.m-50 {
  margin: 50px;
}

.mr-10 {
  margin-right: 10px;
}

.mt-50 {
  margin-top: 50px;
}

.p-0 {
  padding: 0px;
}

.p-5 {
  padding: 5px;
}

.p-25 {
  padding: 25px;
}

.p-30 {
  padding: 30px;
}


.p-5 {
  padding: 5px;
}

.p-100 {
  padding: 100px;
}

.w-100 {
  width: 100%;
}

.uppercase {
  text-transform: uppercase;
}

.blur {
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}


.sticky {
  position: fixed;
  top: 0;
  z-index: 4;
}


/* responsive  */

@media (max-width: 1600px) {

  #se-dire p {
    font-size: 2rem;
    width: 90%;
    margin-left: 20px;
  }

  .hero-section h1 {
    margin-top: 80px;
    font-size: 2.5rem;
    letter-spacing: 0.5rem;
  }

  #notre-histoire h2,
  #nos-cours h2 {
    font-size: 2.5rem;
    letter-spacing: 0.5rem;
  }

  #notre-histoire p,
  #nos-cours p {
    font-size: 1rem;
    color: #000000;
    font-weight: normal;
  }

  #chapitre h3 {
    font-size: 1.5rem;
  }
}

@media (max-width: 1200px) {

  .hero-section figure img.hero-logo.hide {
    display: none;
  }

  #se-dire p {
    font-size: 2rem;
    width: 90%;
    margin-left: 20px;
  }

  .hide {
    display: none;
  }

  #notre-histoire img,
  #nos-cours img,
  #nous-rejoindre img {
    position: absolute;
    height: 100%;
    max-width: 1200px;
    z-index: -1;
    top: 0;
  }

  #notre-histoire,
  #nos-cours,
  #nous-rejoindre {
    display: block;
    position: relative;
    padding: 0;
    color: white;
    background-color: rgba(0, 0, 0, 0.5);
    min-height: 100svh;
  }

  #nos-cours span {
    padding: 10px;
    margin: 20px;
    color: white;
  }

  #notre-histoire h2,
  #nos-cours h2 {
    font-size: 2.6rem;
    padding: 20px;
    letter-spacing: 0.3rem;
    color: white;
  }

  #nous-rejoindre h2 {
    font-size: 2.6rem;
    padding: 20px;
    color: white;
  }

  #notre-histoire p {
    font-size: 1.1rem;
    margin: 0px;
    color: white;
  }

  #la-communaute p {
    font-size: 1.2rem;
    margin: 20px;
  }

  #la-communaute button {
    font-size: 1.2rem;
  }

  #notre-histoire button {
    font-size: 1rem;
    color: white;
  }

  #notre-histoire button i {
    color: white;
  }

  #nos-cours figure img {
    position: absolute;
    height: 100%;
    max-width: 1200px;
    z-index: -1;
    top: 0;
    transition: opacity 1s ease-in-out;
  }


  #nos-cours figcaption {
    margin: 20px;
  }

  #chapitre span {
    height: 180px;
  }

  #la-communaute div span {
    margin-top: 100px;
  }

  #chapitre div .flex {
    margin-top: 20px;
  }

  #la-communaute div p {
    margin-top: 20px;
  }

  #la-communaute h2 {
    margin-top: 0px;
  }

  .banner-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    margin: 10px;

  }

  #equipe {
    width: 100%;
    height: auto;
  }


}

@media screen and (min-width: 1200px) {

  .mobile-toggle {
    display: block;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    z-index: 2;
  }

}

@media screen and (max-width: 768px) {


  .glass {
    height: 70px;
  }

  .hero-section {
    margin-top: 0px;
  }


  .hero-section-vision {
    padding-top: 70px;
    /* la nav (.glass) passe à 70px sur ce breakpoint */
  }

  .hero-section-vision h1 {
    font-size: 4rem;
    font-family: 'Cormorant Garamond', serif;
    text-align: center;
  }

  .error-page {
    padding-top: 70px;
  }

  .error-page-code {
    font-size: 5rem;
  }

  .error-page h1 {
    font-size: 1.8rem;
  }

  .error-page p {
    font-size: 1rem;
  }

  .bottom-section {
    position: relative;
    height: 40vh;
    width: 100%;
    overflow: hidden;
  }

  .bottom-section button {
    padding: 10px 10px;
  }

  .mobile {
    display: block;
  }

  #technique h2 {
    font-size: 3rem;
    /* plus de margin-top : centré par le flexbox de #technique */
  }

  #se-dire p {
    font-size: 1.8rem;
    width: 90%;
    margin-left: 20px;
  }


  footer .space-between {
    flex-direction: column;
    gap: 30px;
  }

  /* Le "NØVA" tout seul */
  footer .grid.one-column:first-child span:first-child {
    font-size: 3rem;
    font-family: 'Cormorant Garamond', serif;
  }


  /* Le paragraphe de description */
  footer .grid.one-column:first-child p {
    font-size: .8rem;
  }



  /* Titre "Navigation" */
  footer .grid.one-column:nth-child(2) span:first-child {
    font-size: 1rem;
    letter-spacing: .1rem;
    color: #F6E6E0
  }

  /* Les liens de navigation (tous les span sauf le titre) */
  footer .grid.one-column:nth-child(2) span:not(:first-child) {
    cursor: pointer;
    transition: color .2s;
    font-size: .8rem;
  }

  footer .grid.one-column:nth-child(2) span:not(:first-child):hover {
    color: #F6E6E0;
  }

  /* Titre "Contact" */
  footer .grid.one-column:nth-child(3) span:first-child {
    font-size: 1rem;
    letter-spacing: .1rem;
    color: #F6E6E0
  }

  /* Bloc "Contact" (3e colonne) */
  footer .grid.one-column:nth-child(3) {
    font-size: .8rem;

  }

  /* Les liens a l'intérieur du contact */
  footer .grid.one-column:nth-child(3) a {
    color: inherit;
    text-decoration: none;
  }

  footer .grid.one-column:nth-child(3) a:hover {
    text-decoration: underline;
  }

  /* Le hr séparateur */
  footer hr {
    border-color: rgba(246, 230, 224, .2);
    margin: 20px 0;
  }

  /* La ligne du bas (copyright) */
  footer .relative.flex.center p {
    color: #F6E6E0;
    font-size: .8rem;
  }

}

/* ---------------------------------------------------------------
   Téléphones en mode PAYSAGE (hors 768px : un iPhone/Android en
   paysage fait souvent 750-950px de large, donc cette media query
   doit être indépendante de max-width et se baser sur max-height.
--------------------------------------------------------------- */
@media screen and (orientation: landscape) and (max-height: 500px) and (max-width: 1024px) {

  /* Filet de sécurité : aucune section ne doit déborder visuellement
     sur la section suivante si son contenu est trop grand */
  #notre-histoire,
  #nos-cours,
  #nous-rejoindre,
  #chapitre,
  #la-communaute,
  #se-dire,
  #technique,
  .error-page {
    overflow: hidden;
  }

  .error-page {
    padding-top: 100px;
  }

  .error-page-code {
    font-size: 3rem;
  }

  .error-page h1 {
    font-size: 1.4rem;
    margin: 5px 0 10px;
  }

  .error-page p {
    font-size: 0.9rem;
    margin-bottom: 15px;
  }

  #notre-histoire,
  #nos-cours,
  #nous-rejoindre {
    min-height: auto;
    height: 100svh;
    padding: 10px 0;
  }

  #notre-histoire div {
    padding: 20px;
    /* au lieu de 100px en base : ça a mangé 200px de hauteur */
  }

  #notre-histoire h2,
  #nos-cours h2,
  #nous-rejoindre h2 {
    font-size: 1.6rem;
    padding: 8px;
    margin-top: 10px;
  }

  #notre-histoire p {
    font-size: 0.9rem;
  }

  #notre-histoire button {
    padding: 8px 12px;
  }

  #notre-histoire img,
  #nos-cours img,
  #nous-rejoindre img,
  #nos-cours figure img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    /* évite l'étirement */
  }

  #nous-rejoindre button {
    margin-top: 20px;
    /* au lieu de 300px en base : cause principale du chevauchement */
  }

  #chapitre,
  #la-communaute,
  #se-dire {
    height: auto;
    min-height: 100svh;
    margin-top: 20px;
    padding: 10px 0;
  }

  #chapitre span {
    height: auto;
    padding: 5px;
  }

  #chapitre h2,
  #la-communaute h2 {
    font-size: 1.6rem;
    margin-top: 0;
  }

  #chapitre h3 {
    font-size: 1.2rem;
    padding: 8px;
  }

  #se-dire p {
    font-size: 1.2rem;
    width: 90%;
    margin-left: 20px;
  }

  #se-dire img {
    height: 80%;
    width: 300px;
    max-width: 300px;
  }

  .hero-section-vision {
    padding-top: 100px;
    /* marge de sécurité : en paysage la nav reste à 90px (largeur souvent >768px) */
  }

  .hero-section-vision h1 {
    font-size: 2rem;
    /* au lieu de 4rem en portrait / 8rem en base */
  }

  .hero-section-vision p {
    font-size: 1rem;
    margin: 10px;
    padding: 10px;
  }

  #technique h2 {
    font-size: 1.8rem;
    /* au lieu de 6rem en base : centré par flexbox, plus de margin-top magique */
  }

  .bottom-section {
    height: 60vh;
  }
}

/* ==================================================
   page galerie
   ================================================== */

.gallery-hero {
  padding: 160px 25px 60px;
  text-align: center;
  background-color: #FBF5F2;
}

.gallery-hero .eyebrow {
  display: block;
}

.gallery-hero h1 {
  font-size: 3.5rem;
  font-weight: lighter;
  letter-spacing: 0.4rem;
  color: black;
  line-height: 1.3;
}

.gallery-hero p {
  max-width: 600px;
  margin: 20px auto 0;
}

.gallery-section {
  padding: 60px 25px;
  background-color: #FBF5F2;
}

.gallery-section--alt {
  background-color: #EBF1F1;
}

.gallery-section__head {
  text-align: center;
  margin-bottom: 30px;
}

.gallery-section__text {
  max-width: 650px;
  margin: 30px auto 0;
  text-align: center;
  line-height: 1.6;
}

.gallery-schedule {
  justify-content: center;
  gap: 40px;
}

.schedule-frame {
  margin: 0;
  padding: 10px 25px 15px;
  border: 1px solid currentColor;
  border-radius: 6px;
}

.schedule-frame legend {
  padding: 0 10px;
  margin: 0 auto;
}

.gallery-section__head h2 {
  font-size: 2.6rem;
  font-weight: lighter;
  letter-spacing: 0.3rem;
  color: black;
  line-height: 1.3;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.gallery-item {
  margin: 0;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.05);
}

.gallery-item img {
  display: block;
  opacity: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: .5s ease;
  transition: transform 0.4s ease;
  backface-visibility: hidden;
}


.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item:has(figcaption) {
  aspect-ratio: auto;
  overflow: visible;
  background-color: transparent;
}

.gallery-media {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.05);
}

.gallery-caption {
  margin-top: 12px;
  font-size: 0.95rem;
  line-height: 1.4;
}

.middle {
  transition: .5s ease;
  opacity: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%)
}

.container {
  position: relative;
}

.container:hover img {
  opacity: 0.3;
}

.container:hover .middle {
  opacity: 1;
}

.text {
  background-color: #FBF5F2;
  color: var(--color-primary, #3e8996);
  font-size: 16px;
  padding: 16px 32px;
}


@media screen and (max-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}

@media screen and (max-width: 768px) {
  .gallery-hero {
    padding: 120px 20px 40px;
  }

  .gallery-hero h1 {
    font-size: 2.2rem;
  }

  .gallery-section {
    padding: 40px 20px;
  }

  .gallery-section__head h2 {
    font-size: 1.8rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}