/* Bresse Connect — connexion.css : style des pages publiques (connexion, mot de passe oublié, créer son mot de passe) */
:root { --brun: #4a1f14; --creme: #fff5e8; --orange: #c2410c; --ambre: #f39200; --ligne: #ecd5b8; --doux: #6b4a3e; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--creme); color: var(--brun); font-family: Inter, system-ui, sans-serif; font-size: 16px; }
a { color: #9a3412; } a:hover { color: var(--brun); }
.page { min-height: 100vh; display: flex; flex-wrap: wrap; }
.panneau { flex: 1 1 480px; min-width: 0; background: var(--brun); color: var(--creme); padding: 56px 64px; display: flex; flex-direction: column; gap: 40px; }
.marque { display: flex; align-items: center; gap: 14px; font-family: Poppins, sans-serif; font-weight: 700; font-size: 22px; line-height: 1.1; }
.panneau h1 { margin: 0; font-family: Poppins, sans-serif; font-weight: 700; font-size: 44px; line-height: 1.12; }
.panneau .intro { margin: 0; font-size: 18px; line-height: 1.55; color: #f1d9bd; max-width: 520px; }
.avantages { display: flex; flex-direction: column; gap: 18px; max-width: 520px; }
.avantage { display: flex; gap: 14px; align-items: flex-start; line-height: 1.5; color: #f1d9bd; }
.avantage strong { display: block; color: var(--creme); font-weight: 600; }
.pastille { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--ambre); display: flex; align-items: center; justify-content: center; }
.zone { flex: 1 1 440px; min-width: 0; display: flex; align-items: center; justify-content: center; padding: 48px 32px; }
.carte { width: 100%; max-width: 440px; background: #fff; border: 1px solid var(--ligne); border-radius: 20px; padding: 40px; display: flex; flex-direction: column; gap: 22px; box-shadow: 0 10px 30px rgba(74,31,20,.08); }
.carte h2 { margin: 0; font-family: Poppins, sans-serif; font-size: 28px; line-height: 1.2; }
.carte p { margin: 0; line-height: 1.55; color: var(--doux); }
.champ { display: flex; flex-direction: column; gap: 8px; }
.champ label { font-weight: 600; font-size: 15px; }
.champ input[type=email], .champ input[type=password], .champ input[type=text] { min-height: 52px; padding: 0 16px; border: 2px solid #d9bf9f; border-radius: 12px; font-size: 16px; font-family: inherit; color: var(--brun); width: 100%; }
.champ input:focus { outline: 3px solid #f3b35a; outline-offset: 1px; border-color: var(--brun); }
.aide { font-size: 14px; color: var(--doux); line-height: 1.45; }
.coche { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.coche input { width: 22px; height: 22px; accent-color: var(--orange); }
.bouton { min-height: 52px; padding: 0 22px; border: 0; border-radius: 12px; background: var(--orange); color: #fff; font-size: 17px; font-weight: 600; font-family: inherit; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
.bouton:hover { background: #9a3412; color: #fff; }
.bouton-contour { background: transparent; color: var(--brun); border: 2px solid var(--brun); }
.bouton-contour:hover { background: var(--brun); color: #fff; }
.erreur { background: #fde8e8; border: 1px solid #e9a3a3; color: #7a1010; padding: 12px 14px; border-radius: 12px; line-height: 1.45; }
.succes { background: #e8f3c9; border: 1px solid #b9d27a; color: #2f4a06; padding: 12px 14px; border-radius: 12px; line-height: 1.45; }
.bas { border-top: 1px solid var(--ligne); padding-top: 18px; font-size: 15px; line-height: 1.6; color: var(--doux); }
@media (max-width: 860px) {
  .panneau { flex-basis: auto; padding: 24px 24px 56px; gap: 18px; }
  .panneau h1 { font-size: 26px; }
  .panneau .intro, .avantages { display: none; }
  .marque { font-size: 18px; }
  .zone { flex-basis: auto; padding: 0 16px 32px; align-items: flex-start; }
  .carte { margin-top: -32px; padding: 24px 20px; }
  .carte h2 { font-size: 22px; }
}

/* Icône œil pour afficher / masquer le mot de passe */
.mdp-zone { position: relative; }
.mdp-zone input { padding-right: 56px !important; }
.mdp-oeil { position: absolute; top: 0; right: 0; width: 52px; height: 52px; border: 0; background: transparent; color: var(--brun); cursor: pointer; display: flex; align-items: center; justify-content: center; border-radius: 0 12px 12px 0; }
.mdp-oeil:hover { color: #c2410c; }
.mdp-oeil:focus-visible { outline: 3px solid #f3b35a; outline-offset: -3px; }
