/* Pages d'entrée (créer mon espace, se connecter), aux couleurs du site faerno.fr (18/11/2026) : site.css d'abord,
   puis ces règles. Les identifiants et les classes lus par inscription.js et connexion.js ne changent pas. */
.entree-site {
  background: linear-gradient(var(--fond), var(--creme));
  min-height: 100vh;
}
.entree-site .entete .wrap {
  justify-content: space-between;
}
.retour {
  color: var(--foret);
  font-weight: 600;
  text-decoration: none;
}
.retour:hover {
  text-decoration: underline;
}
.entree-grille {
  display: grid;
  grid-template-columns: minmax(0, 520px) minmax(0, 400px);
  justify-content: center;
  align-items: start;
  gap: 48px;
  padding-top: 40px;
  padding-bottom: 64px;
}
.entree-grille.seule {
  grid-template-columns: minmax(0, 480px);
}
.entree-site form.carte {
  gap: 14px;
  box-shadow: var(--ombre);
}
.entree-site h1 {
  margin: 0;
  font-family: Lexend, sans-serif;
  font-weight: 600;
  font-size: 30px;
  color: var(--titre);
}
.entree-site form p {
  margin: 0;
  color: var(--doux);
  font-size: 16px;
}
#ins-champs,
#cx-champs {
  display: grid;
  gap: 14px;
}
.entree-site label {
  display: grid;
  gap: 6px;
  font-size: 15px;
  font-weight: 600;
  color: var(--titre);
}
.entree-site input,
.entree-site select {
  font: inherit;
  font-size: 16px; /* 16 px au moins : le téléphone ne zoome pas sur le champ */
  font-weight: 400;
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #cfdcd3;
  border-radius: 10px;
  background: #fff;
  color: var(--texte);
}
.entree-site input:focus,
.entree-site select:focus {
  outline: none;
  border-color: var(--foret);
  box-shadow: 0 0 0 3px var(--menthe);
}
.ins-luce {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--menthe);
}
.ins-luce img {
  flex: none;
}
.entree-site .ins-luce p {
  color: var(--titre);
}
.ins-ligne {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.entree-site .ins-trouve,
.entree-site .ins-adresse,
.entree-site .ins-note {
  font-size: 14px;
  margin-top: -6px;
  line-height: 1.45;
}
.ins-trouve:empty,
.ins-adresse:empty {
  display: none;
}
.entree-site label.ins-cgu {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  font-weight: 400;
  color: var(--doux);
}
.entree-site label.ins-cgu input {
  width: auto;
  margin-top: 3px;
  flex: none;
}
.entree-site form a {
  color: var(--foret);
  font-weight: 600;
}
/* Boutons du formulaire : ceux du site (anis plein, blanc bordé) */
.b-principal,
.b-second {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 10px;
  font: inherit;
  font-weight: 700;
  font-size: 17px;
  text-decoration: none;
  cursor: pointer;
  border: 0;
}
.entree-site .b-principal {
  background: var(--anis);
  color: var(--titre);
  box-shadow:
    inset 0 0 0 1px var(--anis-bord),
    0 6px 16px -8px rgb(122 170 60 / 0.8);
}
.entree-site .b-principal:hover {
  background: #cdf77c;
}
.entree-site .b-principal:disabled {
  opacity: 0.6;
  cursor: wait;
}
.entree-site .b-second {
  background: #fff;
  color: var(--foret);
  border: 1.5px solid #cfdcd3;
  font-weight: 600;
}
.entree-site .erreur {
  color: #b42318;
  font-weight: 600;
  font-size: 15px;
  min-height: 1em;
}
.entree-site .erreur:empty {
  display: none;
}
.entree-site .ins-bas {
  text-align: center;
  font-size: 15px;
}
/* Ce qui attend le nouvel inscrit, à côté du formulaire */
.atouts {
  position: sticky;
  top: 100px;
}
.atouts h2 {
  margin: 0 0 14px;
  font-family: Lexend, sans-serif;
  font-size: 22px;
  color: var(--titre);
}
.atouts ul {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: grid;
  gap: 14px;
}
.atouts li {
  position: relative;
  padding-left: 32px;
  color: var(--doux);
}
.atouts li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--anis)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%231d3a2e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / 14px no-repeat;
}
.atouts li b {
  color: var(--titre);
}
.atouts .temoignage {
  margin: 0;
  padding: 22px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--trait);
}
.atouts blockquote {
  margin: 0 0 10px;
}
.atouts blockquote p {
  margin: 0;
  color: var(--titre);
  font-size: 17px;
}
.atouts figcaption {
  font-size: 15px;
  color: var(--doux);
}
/* Connexion : adresse de l'espace et suite */
.cx-suite {
  display: grid;
  gap: 6px;
}
.cx-ok {
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--anis-pale);
  color: var(--titre);
}
.cx-adresse {
  font-size: 15px;
}
.cx-ligne {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  flex-wrap: wrap;
}
.cx-ligne input {
  flex: 1 1 140px;
  min-width: 0;
}
.cx-ligne span {
  color: var(--doux);
}
@media (max-width: 960px) {
  .entree-grille {
    grid-template-columns: minmax(0, 560px);
    gap: 32px;
    padding-top: 24px;
  }
  .atouts {
    position: static;
  }
}
@media (max-width: 480px) {
  .ins-ligne {
    grid-template-columns: 1fr;
  }
  .entree-site .entete .wrap {
    gap: 12px;
  }
}
.entree-site details.cx-adresse {
  border: 0;
  padding: 0;
}
.entree-site .cx-adresse summary {
  font-size: 15px;
  font-weight: 600;
  color: var(--foret);
  cursor: pointer;
  padding: 0;
}
