/* ========================================================================== 
   FICHIER : _auth.css
   IMPORT : @import url('04-pages/auth.css');
   Rôle : Ajustements spécifiques pour pages d'authentification
   ========================================================================== */


html,
body,
div,
p {
 margin: 0;
 padding: 0;   
}

.logo {
    max-width: 200px;
    margin: 0 auto 2rem 0; /* Aligné à gauche avec une marge en bas */
    display: block;
}

.slogan{
    margin-top: 18rem;
    font-size: 2.2rem;
}

.animation {
    font-weight: bold;
    font-size: 2.2rem;
    color: var(--couleur-textes);
    border-right: 3px solid var(--couleur-textes); /* Curseur type machine à écrire */
    white-space: nowrap;
    overflow: hidden;
    display: inline-block;
    min-height: 1.2em; /* Pour éviter le saut de ligne lors de l'effacement */
}

/* Effet clignotant du curseur */
@keyframes clignote {
    50% { border-color: transparent; }
}
    
.animation strong {
    color: var(--couleur-textes);
}

/* --------------------------------------------------------------------------
   Grille asymétrique 60/40 pour section authentification
-------------------------------------------------------------------------- */
.s-specifique{
    margin: 0;
    padding:0;
}

.l-specifique{
    display: grid;
    grid-template-columns: 60% 40%;
    height: 100vh;
}

.l-specifique >div { /* > permet de cibler l'enfant direct (et pas les sous-enfants) */
    padding: 30px;
}
  
  /* --------------------------------------------------------------------------
     Partie gauche : logo + phrase d'accueil
  -------------------------------------------------------------------------- */
.auth-gauche {
    background-color: var(--couleur-accent-1);
    color: var(--couleur-blanc);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
}
  
  .logo-auth {
    max-width: 200px;
    margin-bottom: 2rem;
  }
  
  .phrase-auth {
    font-family: var(--police-2);
    font-size: 1.5rem;
    animation: fadeIn 3s ease-in-out infinite alternate;
  }
  
  /* Animation légère */
  @keyframes fadeIn {
    from { opacity: 0.7; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
  }
  
  /* --------------------------------------------------------------------------
     Formulaire et titres adaptés
  -------------------------------------------------------------------------- */
  h1 {
    text-align: center;
    margin-bottom: 2rem;
  }
  
  .form-groupe {
    margin-bottom: 1.5rem;
  }
  
  .form-groupe input[type="email"],
  .form-groupe input[type="password"] {
    width: 100%;
  }
  
  /* --------------------------------------------------------------------------
     Responsive : grille qui passe en colonne unique
  -------------------------------------------------------------------------- */
  @media (max-width: 900px) {
    .l-grid-auth {
      grid-template-columns: 1fr;
      height: auto;
    }
    
    .auth-gauche {
      height: 40vh;
      padding: 1rem;
    }
  }

  .bloc-footer {
    position: absolute;
    bottom: 1rem;
    left: 50%; /* Centrage horizontal */
    transform: translateX(-50%); /* Décalage de 50% de sa largeur */
    text-align: center;
    width: 100%; /* ou fixe si tu veux une largeur */
  }
  