/* Pages d'accueil de l'espace collaborateurs NOVEA (connexion, mot de passe) — ambiance novea-immobilier.fr */
:root {
  --jaune: #fec930;
  --jaune-fonce: #f2b705;
  --anthracite: #303030;
  --gris: #6a6a6a;
  --blanc: #fff;
}
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body.accueil {
  font-family: Quicksand, Arial, sans-serif;
  color: var(--blanc);
  background: #2a2a2a;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Photo de Lyon en fond, voile gris comme le bandeau du site, léger zoom lent */
.acc-fond {
  position: fixed; inset: 0; z-index: -1; overflow: hidden;
  background: #3a3a3a url("lyon-accueil-m.jpg") center 60% / cover no-repeat;
}
@media (min-width: 761px) { .acc-fond { background-image: url("lyon-accueil.jpg"); } }
.acc-fond::before {
  content: ""; position: absolute; inset: -2%;
  background: inherit;
  animation: acc-zoom 40s ease-in-out infinite alternate;
}
.acc-fond::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(25, 25, 25, .62) 0%, rgba(25, 25, 25, .28) 34%, rgba(25, 25, 25, .30) 62%, rgba(25, 25, 25, .72) 100%),
    rgba(60, 60, 60, .18);
}
@keyframes acc-zoom { from { transform: scale(1); } to { transform: scale(1.07); } }
@media (prefers-reduced-motion: reduce) { .acc-fond::before { animation: none; } }

/* En-tête : logo officiel blanc */
.acc-tete { text-align: center; padding: clamp(28px, 6vh, 64px) 16px 0; }
.acc-logo { display: inline-block; }
.acc-logo img { display: block; width: clamp(300px, 56vw, 680px); height: auto; filter: drop-shadow(0 2px 10px rgba(0, 0, 0, .25)); }
.acc-espace {
  margin: 18px 0 0; font-size: 14px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .4);
}

/* Encadré de connexion */
.acc-carte {
  width: calc(100% - 32px); max-width: 410px;
  margin: auto;
  padding: 30px 32px 26px;
  background: rgba(48, 48, 48, .9);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-radius: 10px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
  border-top: 4px solid var(--jaune);
  animation: acc-entree .6s ease-out both;
}
@keyframes acc-entree { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .acc-carte { animation: none; } }
.acc-salut { margin: 0; font-size: 15px; font-weight: 500; color: rgba(255, 255, 255, .7); }
.acc-carte h1 { margin: 2px 0 6px; font-size: 27px; font-weight: 700; line-height: 1.2; }
.acc-carte h1 span { color: var(--jaune); }
.acc-intro { margin: 0 0 20px; font-size: 15px; line-height: 1.5; color: rgba(255, 255, 255, .78); }

.acc-carte form { display: grid; gap: 14px; }
.acc-carte label { display: grid; gap: 6px; font-size: 13px; font-weight: 600; color: rgba(255, 255, 255, .85); letter-spacing: .02em; }
.acc-carte input[type=email], .acc-carte input[type=password], .acc-carte input[type=text] {
  width: 100%; font: 500 16px Quicksand, Arial, sans-serif; color: var(--anthracite);
  background: #fff; border: 2px solid transparent; border-radius: 5px; padding: 11px 13px;
  transition: border-color .15s, box-shadow .15s;
}
.acc-carte input:focus { outline: none; border-color: var(--jaune); box-shadow: 0 0 0 3px rgba(254, 201, 48, .3); }
.acc-mdp { position: relative; }
.acc-mdp input { padding-right: 76px; }
.acc-voir {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  font: 600 12px Quicksand, Arial, sans-serif; color: var(--gris); background: #f1f1f1; border: 0; border-radius: 4px; padding: 6px 9px; cursor: pointer;
}
.acc-voir:hover { color: var(--anthracite); }
.acc-btn {
  margin-top: 4px; width: 100%;
  font: 700 16px Quicksand, Arial, sans-serif; color: var(--anthracite);
  background: var(--jaune); border: 0; border-radius: 5px; padding: 13px 16px; cursor: pointer;
  transition: background .15s, transform .1s;
}
.acc-btn:hover { background: var(--jaune-fonce); }
.acc-btn:active { transform: translateY(1px); }
.acc-btn:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.acc-oubli { margin: 6px 0 0; text-align: center; font-size: 14px; }
.acc-carte a { color: rgba(255, 255, 255, .8); text-decoration: none; border-bottom: 1px solid rgba(254, 201, 48, .6); }
.acc-carte a:hover { color: var(--jaune); }

.acc-flash { margin: 0 0 16px; padding: 10px 13px; border-radius: 5px; font-size: 14px; font-weight: 600; line-height: 1.4; }
.acc-flash.err { background: rgba(214, 69, 65, .18); color: #ffb3ae; border-left: 3px solid #e2554f; }
.acc-flash.ok { background: rgba(80, 180, 110, .18); color: #a9e8bd; border-left: 3px solid #4fb36f; }

/* Pied de page : bandeau blanc biseauté comme sur le site */
.acc-pied {
  width: 100%; margin-top: 28px; text-align: center; color: var(--gris);
  background: #fff; padding: 46px 16px 18px;
  clip-path: polygon(0 0, 25% 34px, 100% 0, 100% 100%, 0 100%);
}
.acc-pied p { margin: 0; font-size: 17px; }
.acc-pied b { color: var(--anthracite); font-weight: 700; }
.acc-pied .acc-lien { margin-top: 6px; font-size: 13px; }
.acc-pied a { color: var(--gris); text-decoration: none; }
.acc-pied a:hover { color: var(--anthracite); text-decoration: underline; }

@media (max-width: 520px) {
  .acc-carte { padding: 24px 20px 20px; }
  .acc-carte h1 { font-size: 23px; }
  .acc-espace { font-size: 12px; margin-top: 12px; }
  .acc-logo img { width: calc(100vw - 48px); }
  .acc-pied { padding-top: 34px; clip-path: polygon(0 0, 25% 22px, 100% 0, 100% 100%, 0 100%); }
  .acc-pied p { font-size: 14px; }
}
.acc-sesame { color: #fec930; font-weight: 700; letter-spacing: .14em; margin-right: 8px; }
