/* Pages d'authentification : formulaire à gauche, panneau abysse à droite (grand écran). */

.cadre-auth {
  min-height: 100dvh;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 960px) {
  .cadre-auth { grid-template-columns: minmax(0, 11fr) minmax(0, 9fr); }
}

.colonne-form {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  padding: 24px 16px;
  background: var(--surface);
}
@media (min-width: 640px) { .colonne-form { padding: 32px 48px; } }

.formulaire {
  flex: 1 0 auto;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  padding: 9vh 0 48px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.formulaire .tete { display: flex; flex-direction: column; gap: 8px; }
.formulaire h1 { font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.125rem); font-weight: 650; }
.formulaire .tete p { color: var(--encre-2); }
.formulaire form { display: flex; flex-direction: column; gap: 18px; }
.ligne-entre { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.ligne-entre a { font-size: 0.875rem; }

.separateur {
  display: flex; align-items: center; gap: 14px;
  color: var(--encre-2); font-size: 0.875rem;
}
.separateur::before, .separateur::after { content: ""; flex: 1; height: 1px; background: var(--trait); }

.bas-formulaire { color: var(--encre-2); font-size: 0.9375rem; }
.options-secondaires { display: flex; flex-direction: column; gap: 8px; font-size: 0.9375rem; }
.lien-bouton {
  padding: 0; border: 0; background: none; color: var(--primaire);
  font: inherit; text-decoration: underline; text-underline-offset: 0.2em; text-decoration-thickness: 1px;
  cursor: pointer; text-align: left;
}
.lien-bouton:hover { text-decoration-thickness: 2px; }

.pied-auth {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px;
  max-width: 400px; width: 100%; margin: 0 auto;
  font-size: 0.8125rem; color: var(--encre-2);
}
.pied-auth nav { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.pied-auth a { color: var(--encre-2); }
.bascule-theme {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 36px; padding: 6px 10px; border: 1px solid var(--trait); border-radius: 999px;
  background: transparent; color: var(--encre-2); font: inherit; font-size: 0.8125rem; cursor: pointer;
}
.bascule-theme:hover { border-color: var(--trait-fort); color: var(--encre); }
.bascule-theme svg { width: 16px; height: 16px; }

/* Panneau abysse : les courbes de vie des publications, comme des lignes de profondeur. */
.panneau-abysse {
  display: none;
  position: relative;
  overflow: hidden;
  background: var(--abysse);
  color: #e8eef7;
}
@media (min-width: 960px) {
  .panneau-abysse { display: flex; flex-direction: column; justify-content: flex-end; padding: 56px; }
}
.panneau-abysse svg.courbes { position: absolute; inset: 0; width: 100%; height: 100%; }
.courbes path { fill: none; stroke: var(--abysse-ligne); stroke-width: 1.25; vector-effect: non-scaling-stroke; }
.courbes .c1 { opacity: 0.1; } .courbes .c2 { opacity: 0.14; } .courbes .c3 { opacity: 0.2; }
.courbes .c4 { opacity: 0.28; } .courbes .c5 { opacity: 0.38; } .courbes .c6 { opacity: 0.5; }
.courbes .principale { opacity: 0.95; stroke-width: 2; }
.courbes .tendance { stroke: #cf93e3; stroke-dasharray: 6 6; opacity: 0.9; stroke-width: 2; }
.courbes circle { fill: #cf93e3; }
@media (prefers-reduced-motion: no-preference) {
  .courbes .principale { stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: trace 2.4s var(--sortie) 0.2s forwards; }
  .courbes .tendance, .courbes circle { opacity: 0; animation: apparait 0.8s var(--sortie) 2.2s forwards; }
}
@keyframes trace { to { stroke-dashoffset: 0; } }
@keyframes apparait { to { opacity: 0.9; } }
.panneau-abysse .phrase { position: relative; max-width: 26ch; font-size: 1.5rem; line-height: 1.3; font-weight: 550; letter-spacing: -0.015em; }
.panneau-abysse .reseaux { position: relative; margin-top: 16px; color: #9fb3cc; font-size: 0.9375rem; }
