/* ============================================================================
   /acces — page d'accès scientifique (FR) et /access (EN)
   Hero centré, palette dark #060f18 + accent champagne or #c8a872
   ============================================================================ */

.acc-wrap {
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 80px 24px 100px;
  background: #060f18;
}

/* Aurora radiale très discrète */
.acc-aurora {
  position: absolute;
  inset: -15%;
  background:
    radial-gradient(55% 45% at 28% 22%, rgba(200,168,114,0.10), transparent 70%),
    radial-gradient(50% 45% at 72% 78%, rgba(124,200,222,0.06), transparent 70%),
    radial-gradient(35% 30% at 50% 50%, rgba(200,168,114,0.04), transparent 70%);
  filter: blur(50px);
  pointer-events: none;
  z-index: 0;
  animation: accAuroraShift 24s ease-in-out infinite alternate;
}

@keyframes accAuroraShift {
  0%   { transform: translate(0, 0); }
  100% { transform: translate(-2%, 1.5%); }
}

.acc-panel {
  position: relative;
  z-index: 1;
  max-width: 440px;
  width: 100%;
  padding: 52px 44px 44px;
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(200,168,114,0.18);
  border-radius: 2px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  text-align: center;
  box-shadow:
    0 20px 60px -20px rgba(0,0,0,0.55),
    0 1px 0 rgba(200,168,114,0.08) inset;
  animation: accPanelIn 0.8s cubic-bezier(.2,.7,.2,1);
}

/* Crossmarks aux 4 coins (ambiance document technique, cohérent arion + sarah) */
.acc-panel::before,
.acc-panel::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  border: 1px solid rgba(200,168,114,0.45);
  pointer-events: none;
}
.acc-panel::before {
  top: 8px; left: 8px;
  border-right: 0;
  border-bottom: 0;
}
.acc-panel::after {
  bottom: 8px; right: 8px;
  border-left: 0;
  border-top: 0;
}

.acc-corners {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.acc-corners::before,
.acc-corners::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  border: 1px solid rgba(200,168,114,0.45);
}
.acc-corners::before {
  top: 8px; right: 8px;
  border-left: 0;
  border-bottom: 0;
}
.acc-corners::after {
  bottom: 8px; left: 8px;
  border-right: 0;
  border-top: 0;
}

@keyframes accPanelIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.acc-mark {
  display: block;
  width: 42px;
  height: 42px;
  margin: 0 auto 22px;
  color: #c8a872;
}

/* Cadenas animé (symbole page d'accès) */
.acc-mark.acc-lock {
  width: 44px;
  height: 56px;
  overflow: visible;
  filter: drop-shadow(0 0 12px rgba(200,168,114,0.15));
}

.acc-lock-shackle {
  transform-origin: 28px 23px;
  animation: accLockCycle 5.5s cubic-bezier(.55,.08,.45,.92) infinite;
}

.acc-lock-body {
  transition: fill 0.5s ease;
}

@keyframes accLockCycle {
  0%, 38%    { transform: translateY(0) rotate(0deg); }
  48%, 82%   { transform: translateY(-2px) rotate(30deg); }
  92%, 100%  { transform: translateY(0) rotate(0deg); }
}

@media (prefers-reduced-motion: reduce) {
  .acc-lock-shackle { animation: none; }
}

.acc-kicker {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.24em;
  color: rgba(200,168,114,0.82);
  text-transform: uppercase;
  margin: 0 0 14px;
  font-family: ui-monospace, Menlo, monospace;
}

.acc-h1 {
  font-family: "Fraunces", Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(30px, 5vw, 40px);
  color: #c8a872;
  margin: 0 0 16px;
  letter-spacing: -0.012em;
  line-height: 1.1;
}

.acc-rule {
  width: 48px;
  height: 1px;
  background: rgba(200,168,114,0.5);
  margin: 0 auto 22px;
  border: 0;
}

.acc-sub {
  font-size: 13px;
  color: rgba(232,236,240,0.60);
  line-height: 1.6;
  margin: 0 0 28px;
}

.acc-sub a {
  color: #c8a872;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.acc-sub a:hover {
  color: #e0c48f;
}

.acc-error {
  background: rgba(200,168,114,0.18);
  border: 1px solid rgba(200,168,114,0.5);
  color: #f1a4a4;
  padding: 10px 14px;
  border-radius: 2px;
  font-size: 12.5px;
  margin: 0 0 20px;
  text-align: left;
}
.acc-error a {
  color: #f1a4a4;
  text-decoration: underline;
}

.acc-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: left;
  margin-bottom: 18px;
}

.acc-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.acc-label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: rgba(232,236,240,0.55);
  text-transform: uppercase;
  font-family: ui-monospace, Menlo, monospace;
}

.acc-input {
  background: rgba(0,0,0,0.28);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 2px;
  padding: 12px 14px;
  font-size: 14px;
  color: #e8ecf0;
  font-family: ui-monospace, Menlo, monospace;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.acc-input:focus {
  outline: none;
  border-color: rgba(200,168,114,0.55);
  background: rgba(0,0,0,0.38);
  box-shadow: 0 0 0 3px rgba(200,168,114,0.08);
}
.acc-input::placeholder {
  color: rgba(232,236,240,0.3);
}

.acc-btn {
  margin-top: 6px;
  background: #c8a872;
  color: #060f18;
  border: 0;
  padding: 14px 20px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 2px;
  transition: background 0.2s ease, transform 0.08s ease;
  font-family: inherit;
}
.acc-btn:hover   { background: #d9bb87; }
.acc-btn:active  { transform: translateY(1px); }
.acc-btn:focus-visible {
  outline: 2px solid #e0c48f;
  outline-offset: 3px;
}

.acc-forgot {
  display: inline-block;
  font-size: 11.5px;
  color: rgba(232,236,240,0.45);
  text-decoration: none;
  border-bottom: 1px dotted rgba(232,236,240,0.3);
  padding-bottom: 1px;
  margin-top: 6px;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.acc-forgot:hover {
  color: rgba(200,168,114,0.85);
  border-color: rgba(200,168,114,0.5);
}

@media (prefers-reduced-motion: reduce) {
  .acc-aurora,
  .acc-panel { animation: none; }
}

@media (max-width: 520px) {
  .acc-panel {
    padding: 44px 26px 36px;
  }
  .acc-h1 { font-size: 28px; }
}
