/* ============================================================
   LOGIN.CSS — Styles spécifiques à la page d'accueil & login
   ============================================================ */
body.page-accueil {
  background-color: #08234D;
}
/* Layout de droite/gauche */
.layout-accueil {
  display: flex;
  width: 100%;
  height: calc(100vh - 64px); /* retire la hauteur réelle du header */
  align-items: stretch;
  margin-top: 24px; /* espace visuel entre header et contenu */
}

.accueil-gauche {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 40px;
}

.accueil-droite {
  width: 520px;
  flex-shrink: 0;

  display: flex;
  justify-content: center;
  align-items: center;
}

/* Logo */
.logo-hero-gauche {
  width: 200px;
  margin-bottom: 20px;
}
/* Lien "Créer un compte" */
.lien-creer-compte {
  display: block;
  margin-top: 14px;
  text-align: center;
  font-size: 14px;
  color: var(--c-texte-muted);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  transition: .2s ease;
}

.lien-creer-compte:hover {
  background: var(--c-surface-2);
  color: var(--c-texte);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
}

/* Lien "Mot de passe oublié ?" */
#link-forgot-password {
  display: block;
  margin-top: 8px;
  text-align: center;
  font-size: 14px;
  color: var(--c-primaire);
  text-decoration: underline;
}

#link-forgot-password:hover {
  color: var(--c-primaire-hover);
}


/* ============================================================
   LOGIN — Champ mot de passe avec icône œil intégrée
   ============================================================ */

.password-wrapper {
  position: relative;
  width: 100%;
}

.password-wrapper .input-mdp {
  padding-right: 44px; /* espace pour l’icône œil */
}

.toggle-password {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-texte-muted);
}

.toggle-password svg {
  width: 20px;
  height: 20px;
}

.toggle-password:hover {
  color: var(--c-texte);
}

/* ============================================================
   LANDING — Image de fond pleine hauteur (fond complet)
   ============================================================ */

html, body {
  height: 100%;
}

.layout-accueil {
  display: flex;
  width: 100%;
  height: 100vh;
  align-items: stretch;
}

.accueil-gauche {
  flex: 0 1 60%;
  display: flex;
  flex-direction: column;
justify-content: flex-start;
  align-items: center;   /* centre horizontalement */

  padding-left: 0;
  text-align: center;
}
/* Colonne droite : carte login verrouillée à droite */
.accueil-droite {
  flex: 0 1 40%;
  max-width: 520px;

  display: flex;
  justify-content: center;
  align-items: flex-start;

  padding-top: 80px;   /* espace sous le header */
}
/* ============================================================
   HERO MARKETING — Accueil
   ============================================================ */

.accueil-hero {
  max-width: 520px;
}

.accueil-title {
  font-family: var(--font-titres);
  font-size: 96px;
background: linear-gradient(
  135deg,
  var(--c-primaire),
  var(--c-accent)
);
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
text-align: center;
  font-weight: 700;
  letter-spacing: -1px;
  margin: 0 0 16px 0;
  
}

.accueil-citation {
  font-family: var(--font-corps);
font-size: 26px;
font-weight: 500;
line-height: 1.5;
color: var(--c-jaune-500);
margin: 0;
text-align: center;
max-width: 520px;
    line-height: 1.5;
}


/* ============================================================ LOGIN — Carte toujours lisible et détachée visuellement ============================================================ */ .accueil-droite { padding: 8px; /* respiration autour de la carte */ box-sizing: border-box; }
 .card-auth { width: 100%; max-width: 480px; /* clé : empêche la carte de remplir la colonne */ }
/* ============================================================
   LOGIN — Bouton principal renforcé (override local uniquement)
   ============================================================ */

.page-accueil #btn-login {
  width: 100%;
  padding: 14px 20px;           /* plus de présence */
  font-size: 16px;
  font-weight: 600;
  box-shadow: var(--shadow-md); /* effet carte, pas HTML */
    margin-top: 16px;

}

.page-accueil #btn-login:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-1px);
}

/* ============================================================
   LOGIN — Séparateur fort avant "Créer un compte"
   ============================================================ */

.login-divider-strong {
  width: 100%;
  height: 2px;
  background: var(--c-border-strong);
  margin: 18px 0;
  opacity: 0.6;
}

/* bouton créer un compte aligné avec OAuth */

.page-accueil .btn-secondaire {
  width: 100%;
  justify-content: center;
  margin-top: 6px;
}
/* ============================================================
   RESPONSIVE — Mobile
   ============================================================ */

@media (max-width: 900px) {

  .layout-accueil {
    flex-direction: column;
    height: auto;
  }

  .accueil-gauche {
    min-height: auto;
    padding: 80px 20px 40px;
  }

.accueil-droite {
  padding: 24px 8px 8px;
  box-sizing: border-box;
}
  .accueil-title {
    font-size: 64px;
  }

  .accueil-citation {
    font-size: 20px;
  }
}

