:root {
  color-scheme: light;
  --ga-ink: #10221d;
  --ga-muted: #66736f;
  --ga-border: #dce5e1;
  --ga-soft: #f4f8f6;
  --ga-green: #0b7658;
  --ga-green-dark: #075b44;
  --ga-green-light: #dff2ea;
  --ga-danger: #b42318;
  --ga-panel: #092f27;
  --ga-panel-2: #0d4a3b;
  --ga-shadow: 0 28px 70px rgba(17, 47, 39, 0.14);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html, body { min-height: 100%; }
body {
  margin: 0;
  color: var(--ga-ink);
  background:
    radial-gradient(circle at 10% 10%, rgba(19, 139, 102, 0.09), transparent 32%),
    linear-gradient(135deg, #f7faf8 0%, #eef5f2 100%);
}
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.ga-auth-shell {
  width: min(1280px, calc(100% - 48px));
  min-height: calc(100vh - 48px);
  margin: 24px auto;
  display: grid;
  grid-template-columns: minmax(410px, 0.92fr) minmax(500px, 1.08fr);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--ga-shadow);
  backdrop-filter: blur(18px);
}

.ga-security-panel {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: 720px;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: 52px;
  color: white;
  background:
    radial-gradient(circle at 78% 12%, rgba(80, 218, 172, 0.28), transparent 28%),
    radial-gradient(circle at 15% 90%, rgba(57, 177, 139, 0.22), transparent 35%),
    linear-gradient(145deg, var(--ga-panel) 0%, var(--ga-panel-2) 100%);
}
.ga-security-panel::before,
.ga-security-panel::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.1);
}
.ga-security-panel::before { width: 430px; height: 430px; top: -220px; right: -180px; }
.ga-security-panel::after { width: 300px; height: 300px; bottom: -160px; left: -120px; }

.ga-security-content { max-width: 520px; }
.ga-secure-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  background: rgba(255,255,255,.09);
  color: #dcfff2;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .01em;
}
.ga-secure-badge svg { width: 18px; height: 18px; fill: currentColor; }
.ga-hero-copy { margin: 64px 0 52px; }
.ga-eyebrow {
  margin: 0 0 18px;
  color: #85e5c3;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.ga-hero-copy h1 {
  max-width: 500px;
  margin: 0;
  font-size: clamp(42px, 4.2vw, 64px);
  line-height: .98;
  letter-spacing: -.05em;
}
.ga-lead {
  max-width: 500px;
  margin: 24px 0 0;
  color: rgba(235, 255, 248, .78);
  font-size: 17px;
  line-height: 1.7;
}
.ga-capabilities { display: grid; gap: 15px; }
.ga-capabilities article {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 14px;
  align-items: center;
  padding: 15px 16px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 17px;
  background: rgba(255,255,255,.055);
}
.ga-feature-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 14px;
  background: rgba(109, 230, 188, .14);
  color: #86e9c6;
}
.ga-feature-icon svg { width: 23px; height: 23px; fill: currentColor; }
.ga-capabilities strong { display: block; margin-bottom: 4px; font-size: 14px; }
.ga-capabilities small { display: block; color: rgba(235,255,248,.66); font-size: 12px; line-height: 1.5; }
.ga-security-footer {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 42px;
  color: rgba(235,255,248,.64);
  font-size: 12px;
}
.ga-status-dot { width: 8px; height: 8px; border-radius: 50%; background: #5be0ad; box-shadow: 0 0 0 5px rgba(91,224,173,.12); }

.ga-login-zone {
  display: grid;
  align-content: center;
  justify-items: center;
  min-height: 720px;
  padding: 52px 64px;
  background: rgba(255,255,255,.74);
}
.ga-login-card {
  width: min(100%, 520px);
  padding: 42px;
  border: 1px solid var(--ga-border);
  border-radius: 24px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 18px 45px rgba(23, 61, 50, .09);
}
.ga-login-header { margin-bottom: 30px; text-align: center; }
.ga-login-mark {
  display: grid;
  width: 54px;
  height: 54px;
  margin: 0 auto 18px;
  place-items: center;
  border-radius: 17px;
  background: var(--ga-green-light);
  color: var(--ga-green);
}
.ga-login-mark svg { width: 28px; height: 28px; fill: currentColor; }
.ga-login-label {
  margin: 0 0 7px;
  color: var(--ga-green);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.ga-login-header h2 { margin: 0; font-size: 28px; line-height: 1.18; letter-spacing: -.035em; }
.ga-login-header > p:last-child { max-width: 390px; margin: 12px auto 0; color: var(--ga-muted); font-size: 14px; line-height: 1.55; }
.ga-login-form { display: grid; gap: 20px; }
.ga-field { display: grid; gap: 8px; }
.ga-field > span { font-size: 13px; font-weight: 750; }
.ga-input-wrap { position: relative; }
.ga-input-wrap > svg {
  position: absolute;
  top: 50%;
  left: 15px;
  width: 20px;
  height: 20px;
  fill: #8b9894;
  transform: translateY(-50%);
  pointer-events: none;
}
.ga-input-wrap input {
  width: 100%;
  height: 52px;
  padding: 0 48px 0 46px;
  border: 1px solid #ccd8d3;
  border-radius: 13px;
  outline: none;
  background: #fff;
  color: var(--ga-ink);
  font-size: 14px;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.ga-input-wrap input::placeholder { color: #9ca7a3; }
.ga-input-wrap input:focus { border-color: var(--ga-green); box-shadow: 0 0 0 4px rgba(11,118,88,.1); }
.ga-input-wrap input:disabled { background: #f1f5f3; color: #6f7b77; }
.ga-password-toggle {
  position: absolute;
  top: 50%;
  right: 8px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #7c8884;
  transform: translateY(-50%);
  cursor: pointer;
}
.ga-password-toggle:hover { background: var(--ga-soft); color: var(--ga-green); }
.ga-password-toggle svg { width: 20px; height: 20px; fill: currentColor; }
.ga-two-factor {
  padding: 18px;
  border: 1px solid #cfe5dc;
  border-radius: 16px;
  background: #f2faf7;
}
.ga-two-factor[hidden] { display: none; }
.ga-two-factor-head { display: grid; grid-template-columns: 38px 1fr; gap: 11px; align-items: start; margin-bottom: 16px; }
.ga-two-factor-icon { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 12px; background: #dff2ea; color: var(--ga-green); }
.ga-two-factor-icon svg { width: 21px; height: 21px; fill: currentColor; }
.ga-two-factor-head strong { display: block; font-size: 13px; }
.ga-two-factor-head p { margin: 3px 0 0; color: var(--ga-muted); font-size: 12px; line-height: 1.45; }
.ga-two-factor-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.ga-two-factor-actions button {
  padding: 8px 11px;
  border: 1px solid #c6dad2;
  border-radius: 9px;
  background: white;
  color: var(--ga-green-dark);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.ga-two-factor-actions button:hover { border-color: var(--ga-green); }
.ga-message { min-height: 20px; margin: -3px 0 0; color: var(--ga-danger); font-size: 13px; line-height: 1.45; }
.ga-message:empty { min-height: 0; }
.ga-message.is-success { color: var(--ga-green); }
.ga-submit {
  display: flex;
  width: 100%;
  height: 54px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 0;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--ga-green) 0%, var(--ga-green-dark) 100%);
  box-shadow: 0 12px 24px rgba(11,118,88,.22);
  color: white;
  font-weight: 800;
  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, opacity .16s ease;
}
.ga-submit:hover { transform: translateY(-1px); box-shadow: 0 15px 30px rgba(11,118,88,.27); }
.ga-submit:disabled { opacity: .65; cursor: wait; transform: none; }
.ga-submit svg { width: 20px; height: 20px; fill: currentColor; }
.ga-login-footer { display: flex; flex-wrap: wrap; justify-content: center; gap: 9px; margin-top: 27px; color: #97a29e; font-size: 12px; }
.ga-login-footer a { color: var(--ga-green-dark); font-weight: 700; text-decoration: none; }
.ga-login-footer a:hover { text-decoration: underline; }
.ga-confidentiality { display: flex; align-items: center; gap: 8px; margin: 20px 0 0; color: #73807c; font-size: 12px; text-align: center; }
.ga-confidentiality svg { width: 16px; height: 16px; flex: 0 0 auto; fill: currentColor; }


/* Phase 88 — animation d’entrée légère, sans mouvement continu. */
.ga-auth-shell {
  animation: ga-shell-enter 420ms cubic-bezier(.22, .61, .36, 1) both;
}
.ga-security-content,
.ga-security-footer {
  animation: ga-content-enter 440ms cubic-bezier(.22, .61, .36, 1) 55ms both;
}
.ga-login-card {
  animation: ga-card-enter 480ms cubic-bezier(.22, .61, .36, 1) 75ms both;
}
.ga-login-mark {
  animation: ga-mark-enter 500ms cubic-bezier(.2, .75, .3, 1) 130ms both;
}
.ga-two-factor:not([hidden]) {
  animation: ga-section-reveal 220ms ease-out both;
}

@keyframes ga-shell-enter {
  from { opacity: .01; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes ga-content-enter {
  from { opacity: .01; transform: translateX(-8px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes ga-card-enter {
  from { opacity: .01; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes ga-mark-enter {
  from { opacity: .01; transform: scale(.96); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes ga-section-reveal {
  from { opacity: .01; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 980px) {
  .ga-auth-shell { width: min(760px, calc(100% - 32px)); grid-template-columns: 1fr; }
  .ga-security-panel { min-height: auto; padding: 40px; }
  .ga-hero-copy { margin: 42px 0 34px; }
  .ga-hero-copy h1 { font-size: clamp(38px, 8vw, 54px); }
  .ga-capabilities { grid-template-columns: repeat(3, 1fr); }
  .ga-capabilities article { grid-template-columns: 1fr; align-content: start; }
  .ga-security-footer { margin-top: 28px; }
  .ga-login-zone { min-height: auto; padding: 48px 34px; }
}

@media (max-width: 680px) {
  .ga-auth-shell { width: 100%; min-height: 100vh; margin: 0; border: 0; border-radius: 0; }
  .ga-security-panel { padding: 32px 24px; }
  .ga-secure-badge { font-size: 11px; }
  .ga-hero-copy { margin: 34px 0 28px; }
  .ga-hero-copy h1 { font-size: 39px; }
  .ga-lead { font-size: 15px; }
  .ga-capabilities { grid-template-columns: 1fr; }
  .ga-capabilities article { grid-template-columns: 42px 1fr; }
  .ga-security-footer { display: none; }
  .ga-login-zone { padding: 30px 18px 38px; }
  .ga-login-card { padding: 28px 20px; border-radius: 20px; }
  .ga-login-header h2 { font-size: 24px; }
  .ga-login-footer { line-height: 1.7; }
  .ga-confidentiality { align-items: flex-start; padding: 0 14px; line-height: 1.5; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

.ga-login-footer{flex-wrap:wrap}.ga-login-footer a{text-underline-offset:2px}
