.page-connexion {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--e24);
  background: var(--front-fond);
}

.connexion-carte {
  width: 100%;
  max-width: 420px;
  background: var(--front-surface);
  border: 1px solid var(--front-bordure);
  border-radius: var(--r16);
  padding: var(--e32);
}

.connexion-marque {
  text-align: center;
  margin-bottom: var(--e32);
}
.connexion-logo {
  font-size: 22px;
  font-weight: 600;
  color: var(--front-vert-700);
  letter-spacing: 0.5px;
}
.connexion-marque p {
  font-size: var(--t-legende);
  color: var(--front-texte-2);
  margin-top: 4px;
}

.connexion-carte h1 {
  font-size: var(--t-titre2);
  margin-bottom: var(--e8);
}
.connexion-intro {
  font-size: var(--t-petit);
  color: var(--front-texte-2);
  margin-bottom: var(--e24);
}

/* ------------------------------------------------ GABARIT FRONT */

.gabarit-front {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: var(--front-fond);
  color: var(--front-texte-1);
}

.front-entete {
  background: var(--front-surface);
  border-bottom: 1px solid var(--front-bordure);
}
.front-entete-interieur {
  max-width: 1280px;
  margin: 0 auto;
  padding: var(--e16) var(--e24);
  display: flex;
  align-items: center;
  gap: var(--e32);
}
.front-marque {
  flex-shrink: 0;
}
.front-marque .logo-svg {
  height: 40px;
  width: auto;
  display: block;
}

.front-nav {
  display: flex;
  align-items: center;
  gap: var(--e24);
  flex: 1;
  flex-wrap: wrap;
}
.front-lien {
  font-size: var(--t-corps);
  color: var(--front-texte-2);
  padding: var(--e4) 0;
  border-bottom: 2px solid transparent;
}
.front-lien:hover {
  color: var(--front-texte-1);
  text-decoration: none;
}
.front-lien-actif {
  color: var(--front-vert-700);
  font-weight: 600;
  border-bottom-color: var(--front-vert-500);
}

.front-actions {
  display: flex;
  align-items: center;
  gap: var(--e12);
  flex-shrink: 0;
}

.selecteur-langue {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px var(--e12);
  border: 1px solid var(--front-bordure);
  border-radius: var(--r8);
  background: var(--front-vert-50);
  font-family: var(--police);
  font-size: var(--t-petit);
  font-weight: 600;
  color: var(--front-texte-1);
  cursor: pointer;
}
.selecteur-langue-pastille {
  width: 10px;
  height: 10px;
  border-radius: var(--rond);
  border: 2px solid var(--front-vert-500);
}

.compte-front {
  display: flex;
  align-items: center;
  gap: var(--e8);
}

.front-contenu {
  flex: 1;
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: var(--e32) var(--e24) var(--e64);
}

.front-pied {
  background: var(--front-vert-700);
  color: #ffffff;
  margin-top: auto;
}
.front-pied-interieur {
  max-width: 1280px;
  margin: 0 auto;
  padding: var(--e48) var(--e24);
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--e32);
}
.pied-marque .logo-svg {
  height: 40px;
  width: auto;
  margin-bottom: var(--e12);
}
.pied-marque p {
  font-size: var(--t-petit);
  opacity: 0.85;
  line-height: 1.5;
}
.pied-colonne h3 {
  font-size: var(--t-petit);
  font-weight: 600;
  margin-bottom: var(--e12);
}
.pied-colonne a {
  display: block;
  font-size: var(--t-petit);
  color: #ffffff;
  opacity: 0.85;
  margin-bottom: var(--e8);
}
.pied-colonne a:hover {
  opacity: 1;
}

@media (max-width: 900px) {
  .front-entete-interieur {
    flex-wrap: wrap;
    gap: var(--e16);
  }
  .front-pied-interieur {
    grid-template-columns: 1fr 1fr;
  }
}

/* ------------------------------------------------ ACCUEIL */

.etiquette {
  display: inline-block;
  padding: 6px var(--e12);
  border-radius: var(--rond);
  background: var(--front-vert-100);
  color: var(--front-vert-700);
  font-size: var(--t-petit);
  font-weight: 600;
  margin-bottom: var(--e16);
}

.hero {
  display: grid;
  grid-template-columns: 1fr 520px;
  gap: var(--e48);
  align-items: center;
  background: var(--front-vert-50);
  border-radius: var(--r16);
  padding: var(--e48);
  margin-bottom: var(--e48);
}
.hero-texte h1 {
  font-size: 44px;
  line-height: 1.15;
  margin-bottom: var(--e16);
}
.hero-texte p {
  font-size: var(--t-corps);
  color: var(--front-texte-2);
  line-height: 1.6;
  margin-bottom: var(--e24);
  max-width: 52ch;
}
.hero-actions {
  display: flex;
  gap: var(--e12);
  flex-wrap: wrap;
}
.hero-visuel {
  height: 380px;
  border: 2px dashed var(--front-vert-500);
  border-radius: var(--r12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--front-vert-700);
  font-size: var(--t-petit);
}

.section-centree {
  text-align: center;
  margin-bottom: var(--e48);
}
.section-centree h2 {
  font-size: var(--t-titre1);
  margin-bottom: var(--e32);
}
.grille-etapes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--e24);
  text-align: left;
}
.etape {
  background: var(--front-surface);
  border: 1px solid var(--front-bordure);
  border-radius: var(--r12);
  padding: var(--e24);
}
.etape-numero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--rond);
  background: var(--front-vert-500);
  color: #ffffff;
  font-weight: 600;
  margin-bottom: var(--e12);
}
.etape h3 {
  font-size: var(--t-titre3);
  margin-bottom: var(--e8);
}
.etape p {
  font-size: var(--t-petit);
  color: var(--front-texte-2);
  line-height: 1.6;
}

.bandeau-chiffres {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--e24);
  background: var(--front-jaune-500);
  border-radius: var(--r12);
  padding: var(--e32) var(--e24);
  margin-bottom: var(--e48);
  text-align: center;
}
.chiffre-valeur {
  font-size: var(--t-titre1);
  font-weight: 600;
  color: var(--front-texte-1);
}
.chiffre-detail {
  font-size: var(--t-petit);
  color: var(--front-texte-1);
  opacity: 0.8;
}

.entete-section {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--e24);
  margin-bottom: var(--e24);
  flex-wrap: wrap;
}
.entete-section h2 {
  font-size: var(--t-titre1);
  margin-bottom: var(--e4);
}
.entete-section p {
  font-size: var(--t-petit);
  color: var(--front-texte-2);
}

.grille-services {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--e24);
}
.carte-service {
  background: var(--front-surface);
  border: 1px solid var(--front-bordure);
  border-radius: var(--r12);
  padding: var(--e16);
}
.carte-service-illustration {
  height: 100px;
  border-radius: var(--r8);
  background: var(--front-vert-100);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--front-vert-700);
  font-size: var(--t-legende);
  margin-bottom: var(--e12);
}
.carte-service h3 {
  font-size: var(--t-titre3);
  margin-bottom: var(--e8);
}
.carte-service p {
  font-size: var(--t-petit);
  color: var(--front-texte-2);
  line-height: 1.5;
  margin-bottom: var(--e12);
}
.carte-service-lien {
  font-size: var(--t-petit);
  color: var(--front-bleu-500);
  font-weight: 600;
}

@media (max-width: 1000px) {
  .hero {
    grid-template-columns: 1fr;
    padding: var(--e24);
  }
  .hero-visuel {
    height: 220px;
  }
  .grille-etapes,
  .bandeau-chiffres,
  .grille-services {
    grid-template-columns: 1fr 1fr;
  }
}

/* ------------------------------------------------ ECRANS FRONT */

.sous-titre-page {
  font-size: var(--t-corps);
  color: var(--front-texte-2);
  line-height: 1.6;
  max-width: 70ch;
  margin-bottom: var(--e24);
}

.deux-colonnes-front {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: var(--e24);
  align-items: start;
}

.bouton-large {
  width: 100%;
  justify-content: center;
  margin-top: var(--e12);
}

.carte-authentification {
  background: var(--front-surface);
  border: 1px solid var(--front-bordure);
  border-radius: var(--r16);
  padding: var(--e24);
}
.bascule {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--e4);
  background: var(--front-vert-50);
  border-radius: var(--rond);
  padding: var(--e4);
  margin-bottom: var(--e24);
}
.bascule-bouton {
  padding: var(--e8);
  border: none;
  border-radius: var(--rond);
  background: none;
  font-family: var(--police);
  font-size: var(--t-petit);
  color: var(--front-texte-2);
  cursor: pointer;
}
.bascule-active {
  background: var(--front-surface);
  color: var(--front-texte-1);
  font-weight: 600;
}

.adhesion-argumentaire h1 {
  font-size: 38px;
  line-height: 1.2;
  margin-bottom: var(--e24);
}
.liste-avantages {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--e16);
}
.avantage {
  display: flex;
  gap: var(--e12);
}
.avantage-puce {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: var(--rond);
  background: var(--front-vert-100);
  color: var(--front-vert-700);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}
.avantage strong {
  display: block;
  font-size: var(--t-corps);
}
.avantage span {
  font-size: var(--t-petit);
  color: var(--front-texte-2);
}

.bandeau-adhesion {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--e16);
  flex-wrap: wrap;
  background: var(--front-vert-100);
  border-radius: var(--r12);
  padding: var(--e16) var(--e24);
  margin-bottom: var(--e24);
}
.bandeau-adhesion-absente {
  background: var(--alerte-100);
}
.bandeau-adhesion p {
  font-size: var(--t-petit);
  color: var(--front-texte-2);
}

.grille-indicateurs-front {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--e16);
  margin-bottom: var(--e24);
}
.indicateur-front {
  background: var(--front-surface);
  border: 1px solid var(--front-bordure);
  border-radius: var(--r12);
  padding: var(--e16);
}
.indicateur-front-valeur {
  font-size: var(--t-titre1);
  font-weight: 600;
  color: var(--front-vert-700);
}
.indicateur-front-libelle {
  font-size: var(--t-petit);
  color: var(--front-texte-2);
}

.bloc-prochaine {
  background: var(--front-vert-700);
  color: #ffffff;
  border-radius: var(--r12);
  padding: var(--e24);
  margin-bottom: var(--e16);
}
.bloc-prochaine-vide {
  background: var(--front-surface);
  color: var(--front-texte-1);
  border: 1px solid var(--front-bordure);
}
.bloc-prochaine-libelle {
  font-size: var(--t-legende);
  opacity: 0.85;
}
.bloc-prochaine-date {
  font-size: var(--t-titre1);
  font-weight: 600;
  margin-bottom: var(--e8);
}

.grille-services-3 {
  grid-template-columns: repeat(3, 1fr);
}
.carte-service-large {
  display: flex;
  flex-direction: column;
}
.etiquette-categorie {
  display: inline-block;
  padding: 4px var(--e8);
  border-radius: var(--r4);
  background: var(--front-vert-100);
  color: var(--front-vert-700);
  font-size: var(--t-legende);
  font-weight: 600;
  margin-bottom: var(--e8);
  align-self: flex-start;
}
.pastille {
  display: inline-block;
  padding: 4px var(--e8);
  border-radius: var(--r4);
  font-size: var(--t-legende);
  font-weight: 600;
  margin-top: var(--e8);
  align-self: flex-start;
}
.pastille-succes {
  background: var(--succes-100);
  color: var(--succes-500);
}
.pastille-alerte {
  background: var(--alerte-100);
  color: var(--alerte-500);
}
.pastille-erreur {
  background: var(--erreur-100);
  color: var(--erreur-500);
}

.visuel-service {
  height: 260px;
  border: 2px dashed var(--front-vert-500);
  border-radius: var(--r12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--front-vert-700);
  font-size: var(--t-petit);
  margin-bottom: var(--e24);
}
.ligne-session {
  display: flex;
  align-items: center;
  gap: var(--e12);
  padding: var(--e12);
  border-radius: var(--r8);
  border-bottom: 1px solid var(--front-bordure);
}
.ligne-session:last-child {
  border-bottom: none;
}
.ligne-session-choisie {
  background: var(--front-vert-50);
  border: 1px solid var(--front-vert-500);
}
.ligne-session-texte {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.ligne-session-texte span {
  font-size: var(--t-legende);
  color: var(--front-texte-2);
}

.grille-competences {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--e12);
  margin-bottom: var(--e16);
}
.case-competence {
  display: flex;
  align-items: flex-start;
  gap: var(--e12);
  padding: var(--e12);
  border: 1px solid var(--front-bordure);
  border-radius: var(--r8);
  cursor: pointer;
}
.case-competence-choisie {
  border-color: var(--front-vert-500);
  background: var(--front-vert-50);
}
.case-competence strong {
  display: block;
  font-size: var(--t-corps);
}
.case-competence span {
  font-size: var(--t-legende);
  color: var(--front-texte-2);
}

.grille-dispo {
  display: grid;
  grid-template-columns: 110px repeat(7, 1fr);
  gap: var(--e4);
  margin-bottom: var(--e16);
}
.dispo-case {
  padding: var(--e8);
  border-radius: var(--r4);
  font-size: var(--t-legende);
  text-align: center;
}
.dispo-entete {
  font-weight: 600;
  color: var(--front-texte-2);
}
.dispo-bouton {
  border: 1px solid var(--front-bordure);
  background: var(--front-surface);
  font-family: var(--police);
  color: var(--front-texte-2);
  cursor: pointer;
}
.dispo-bouton-actif {
  background: var(--front-vert-500);
  border-color: var(--front-vert-500);
  color: #ffffff;
  font-weight: 600;
}

.liste-etapes {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--e16);
}
.etape-suite {
  display: flex;
  gap: var(--e12);
}
.etape-suite-numero {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: var(--rond);
  background: var(--front-vert-100);
  color: var(--front-vert-700);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--t-legende);
  font-weight: 600;
}
.etape-suite strong {
  display: block;
  font-size: var(--t-petit);
}
.etape-suite span {
  font-size: var(--t-legende);
  color: var(--front-texte-2);
}

.bandeau-mission {
  background: var(--front-vert-700);
  color: #ffffff;
  border-radius: var(--r12);
  padding: var(--e24);
  margin-bottom: var(--e24);
}
.bandeau-mission-vide {
  background: var(--front-surface);
  color: var(--front-texte-1);
  border: 1px solid var(--front-bordure);
}
.bandeau-mission-libelle {
  font-size: var(--t-legende);
  opacity: 0.85;
}
.bandeau-mission-titre {
  font-size: var(--t-titre1);
  font-weight: 600;
  margin-bottom: var(--e8);
}

.groupe-date {
  font-size: var(--t-petit);
  font-weight: 600;
  color: var(--front-vert-700);
  margin: var(--e16) 0 var(--e8);
}
.ligne-mission {
  display: flex;
  align-items: center;
  gap: var(--e16);
  background: var(--front-vert-50);
  border-radius: var(--r8);
  padding: var(--e12);
  margin-bottom: var(--e8);
}
.ligne-mission-heure {
  font-size: var(--t-petit);
  font-weight: 600;
  white-space: nowrap;
}
.ligne-mission-texte {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.ligne-mission-texte span {
  font-size: var(--t-legende);
  color: var(--front-texte-2);
}
.ligne-mission-duree {
  font-size: var(--t-petit);
  color: var(--front-texte-2);
}

.bandeau-heures {
  background: var(--front-jaune-500);
  border-radius: var(--r12);
  padding: var(--e24);
  margin-top: var(--e16);
}
.bandeau-heures-libelle {
  font-size: var(--t-legende);
}
.bandeau-heures-valeur {
  font-size: var(--t-titre1);
  font-weight: 600;
}

.confirmation {
  background: var(--front-surface);
  border: 1px solid var(--front-bordure);
  border-radius: var(--r16);
  padding: var(--e48);
  text-align: center;
  max-width: 620px;
  margin: var(--e48) auto;
}
.confirmation p {
  color: var(--front-texte-2);
  margin: var(--e12) 0 var(--e24);
}

@media (max-width: 1000px) {
  .deux-colonnes-front {
    grid-template-columns: 1fr;
  }
  .grille-indicateurs-front,
  .grille-services-3,
  .grille-competences {
    grid-template-columns: 1fr 1fr;
  }
  .grille-dispo {
    grid-template-columns: 80px repeat(7, 1fr);
  }
}

.selecteur-langue-choix {
  border: none;
  background: transparent;
  font-family: var(--police);
  font-size: var(--t-petit);
  font-weight: 600;
  color: var(--front-texte-1);
  cursor: pointer;
  outline: none;
  padding: 0;
}

.selecteur-langue-choix:focus-visible {
  outline: 2px solid var(--front-vert-500);
  outline-offset: 2px;
}

.formule-prix {
  font-size: var(--t-grand);
  font-weight: 700;
  color: var(--front-vert-500);
  margin: var(--e8) 0;
}

.formule-periode {
  font-size: var(--t-petit);
  font-weight: 500;
  color: var(--front-texte-2);
}

.carte-formule-actuelle {
  border-color: var(--front-vert-500);
  box-shadow: 0 0 0 1px var(--front-vert-500);
}
