/* GDN — Mot de passe oublié */
.header-login {
  display: none;
  padding: .55rem 1rem;
  font-size: .82rem;
}
@media (min-width: 1180px) {
  .header-login { display: inline-flex; }
}

body.is-forgot #main {
  background: #eef2f7;
}

/* —— Hero —— */
.fp-hero {
  position: relative;
  overflow: hidden;
  padding: 2.5rem 0 3rem;
  color: #fff;
}
.fp-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.fp-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
}
.fp-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(5,18,40,.96) 0%, rgba(5,18,40,.9) 42%, rgba(238,242,247,.92) 68%, #eef2f7 100%),
    linear-gradient(180deg, rgba(5,18,40,.2), rgba(5,18,40,.55));
}
@media (max-width: 979px) {
  .fp-hero-overlay {
    background:
      linear-gradient(180deg, rgba(5,18,40,.94) 0%, rgba(5,18,40,.88) 55%, #eef2f7 100%);
  }
}

.fp-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2rem;
  align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 980px) {
  .fp-hero-grid {
    grid-template-columns: 1.05fr .95fr;
    gap: 2.5rem;
    min-height: 560px;
  }
}

.fp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin: 0 0 .85rem;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #7dd3fc;
}
.fp-eyebrow span {
  width: 28px;
  height: 2px;
  background: #0066ff;
  border-radius: 2px;
}

.fp-intro h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1.12;
  max-width: 14ch;
}
.fp-intro h1 span { color: #38bdf8; }

.fp-lead {
  margin: .9rem 0 0;
  color: rgba(226,232,240,.9);
  font-size: 1.02rem;
  line-height: 1.55;
  max-width: 36rem;
}

.fp-features {
  list-style: none;
  margin: 1.6rem 0 0;
  padding: 0;
  display: grid;
  gap: .85rem;
}
.fp-features li {
  display: flex;
  gap: .85rem;
  align-items: flex-start;
}
.fp-feat-ico {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: rgba(0,102,255,.28);
  border: 1px solid rgba(125,211,252,.3);
  color: #bae6fd;
}
.fp-feat-ico svg { width: 18px; height: 18px; }
.fp-features strong {
  display: block;
  font-size: .92rem;
  line-height: 1.25;
}
.fp-features span {
  display: block;
  margin-top: .12rem;
  font-size: .8rem;
  color: rgba(226,232,240,.78);
}

.fp-visual {
  position: relative;
  margin-top: 1.75rem;
  max-width: 420px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(0,0,0,.35);
  border: 1px solid rgba(125,211,252,.2);
}
.fp-visual img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.fp-cloud {
  position: absolute;
  top: .75rem;
  right: .85rem;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(0,102,255,.55);
  border: 1px solid rgba(125,211,252,.45);
  color: #e0f2fe;
  box-shadow: 0 8px 24px rgba(0,102,255,.35);
}
.fp-cloud svg { width: 24px; height: 24px; }
@media (max-width: 979px) {
  .fp-visual { max-width: 100%; }
}

/* —— Form card —— */
.fp-panel { color: #0f172a; }
.fp-card {
  background: #fff;
  border-radius: 18px;
  padding: 1.75rem 1.6rem 1.5rem;
  box-shadow: 0 18px 48px rgba(15,23,42,.1);
  border: 1px solid rgba(15,23,42,.06);
}
@media (min-width: 640px) {
  .fp-card { padding: 2rem 2rem 1.75rem; }
}

.fp-card-head { text-align: center; margin-bottom: 1.35rem; }
.fp-card-ico {
  width: 56px;
  height: 56px;
  margin: 0 auto .9rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(0,102,255,.1);
  color: #0066ff;
}
.fp-card-ico svg { width: 26px; height: 26px; }
.fp-card-head h2 {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -.02em;
  color: #0b1b33;
}
.fp-card-head p {
  margin: .55rem 0 0;
  font-size: .9rem;
  line-height: 1.5;
  color: #64748b;
}

.fp-alert {
  padding: .75rem .9rem;
  border-radius: 10px;
  font-size: .86rem;
  margin-bottom: 1rem;
}
.fp-alert.ok {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}
.fp-alert.err {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.fp-form { display: grid; gap: 1rem; }
.fp-field { display: grid; gap: .4rem; }
.fp-field > span:first-child {
  font-size: .86rem;
  font-weight: 600;
  color: #1e293b;
}
.fp-field em { color: #ef4444; font-style: normal; }
.fp-input {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: 0 .95rem;
  min-height: 48px;
  border-radius: 10px;
  border: 1px solid #d7dee8;
  background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.fp-input:focus-within {
  border-color: #0066ff;
  box-shadow: 0 0 0 3px rgba(0,102,255,.12);
}
.fp-input svg {
  width: 18px;
  height: 18px;
  color: #94a3b8;
  flex-shrink: 0;
}
.fp-input input {
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  font: inherit;
  font-size: .95rem;
  color: #0f172a;
  min-width: 0;
  padding: .85rem 0;
}
.fp-input input::placeholder { color: #94a3b8; }

.fp-submit {
  width: 100%;
  justify-content: center;
  min-height: 48px;
  border-radius: 10px;
  font-weight: 700;
  gap: .55rem;
}
.fp-submit svg { width: 18px; height: 18px; }

.fp-or {
  display: flex;
  align-items: center;
  gap: .85rem;
  margin: 1.15rem 0;
  color: #94a3b8;
  font-size: .82rem;
  font-weight: 600;
}
.fp-or::before,
.fp-or::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #e2e8f0;
}
.fp-or span { text-transform: lowercase; }

.fp-back {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  min-height: 44px;
  border-radius: 10px;
  background: #f1f5f9;
  color: #334155;
  text-decoration: none;
  font-size: .9rem;
  font-weight: 600;
  border: 1px solid #e2e8f0;
  transition: background .15s, color .15s;
}
.fp-back:hover {
  background: #e2e8f0;
  color: #0f172a;
}
.fp-back svg { width: 16px; height: 16px; }

.fp-info {
  margin-top: 1.15rem;
  padding: 1rem 1.05rem;
  border-radius: 12px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
}
.fp-info-head {
  display: flex;
  align-items: center;
  gap: .5rem;
  color: #1d4ed8;
  margin-bottom: .55rem;
}
.fp-info-head svg { width: 18px; height: 18px; }
.fp-info-head strong { font-size: .88rem; }
.fp-info ul {
  margin: 0;
  padding-left: 1.1rem;
  color: #334155;
  font-size: .8rem;
  line-height: 1.55;
}
.fp-info li + li { margin-top: .25rem; }

/* —— How it works —— */
.fp-how {
  background: #eef2f7;
  padding: 1rem 0 4.5rem;
}
.fp-how-head {
  text-align: center;
  margin-bottom: 2rem;
}
.fp-how-head h2 {
  margin: 0;
  font-size: clamp(1.5rem, 2.5vw, 1.85rem);
  font-weight: 800;
  color: #0b1b33;
  letter-spacing: -.02em;
}
.fp-how-head p {
  margin: .45rem 0 0;
  color: #64748b;
  font-size: .95rem;
}

.fp-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  counter-reset: none;
}
@media (min-width: 720px) {
  .fp-steps { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1100px) {
  .fp-steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.15rem;
  }
}

.fp-step {
  position: relative;
  background: #fff;
  border-radius: 16px;
  padding: 1.35rem 1.15rem 1.25rem;
  border: 1px solid rgba(15,23,42,.06);
  box-shadow: 0 10px 28px rgba(15,23,42,.05);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .55rem;
}
@media (min-width: 1100px) {
  .fp-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 2.1rem;
    right: -.7rem;
    width: 1.15rem;
    height: 0;
    border-top: 2px dashed #93c5fd;
    z-index: 1;
  }
}
.fp-step-num {
  position: absolute;
  top: .85rem;
  left: .85rem;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: #0066ff;
  color: #fff;
  font-size: .75rem;
  font-weight: 800;
  display: grid;
  place-items: center;
}
.fp-step-ico {
  width: 44px;
  height: 44px;
  margin: .35rem auto .15rem;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(0,102,255,.1);
  color: #0066ff;
  align-self: center;
}
.fp-step-ico svg { width: 22px; height: 22px; }
.fp-step strong {
  display: block;
  width: 100%;
  text-align: center;
  font-size: .95rem;
  color: #0b1b33;
}
.fp-step > span:last-child {
  display: block;
  width: 100%;
  text-align: center;
  font-size: .8rem;
  line-height: 1.45;
  color: #64748b;
}

/* —— Help widget —— */
.fp-help {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 40;
  width: min(300px, calc(100vw - 2rem));
  background: #fff;
  border-radius: 16px;
  padding: 1rem 1.05rem;
  box-shadow: 0 16px 40px rgba(15,23,42,.16);
  border: 1px solid rgba(15,23,42,.08);
}
@media (max-width: 639px) {
  .fp-help {
    position: static;
    width: auto;
    margin: 0 1rem 2rem;
    box-shadow: 0 10px 28px rgba(15,23,42,.08);
  }
}

.fp-help-head {
  display: flex;
  gap: .65rem;
  align-items: flex-start;
  margin-bottom: .85rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid #e2e8f0;
}
.fp-help-head > svg {
  width: 22px;
  height: 22px;
  color: #0066ff;
  flex-shrink: 0;
  margin-top: .1rem;
}
.fp-help-head strong {
  display: block;
  font-size: .92rem;
  color: #0b1b33;
}
.fp-help-head span {
  display: block;
  margin-top: .15rem;
  font-size: .76rem;
  color: #64748b;
  line-height: 1.35;
}

.fp-help-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .7rem;
}
.fp-help-list li {
  display: flex;
  gap: .65rem;
  align-items: flex-start;
}
.fp-help-ico {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(0,102,255,.1);
  color: #0066ff;
  flex-shrink: 0;
}
.fp-help-ico.wa {
  background: rgba(37,211,102,.12);
  color: #16a34a;
}
.fp-help-ico svg { width: 16px; height: 16px; }
.fp-help-list a {
  display: block;
  font-size: .86rem;
  font-weight: 700;
  color: #0b1b33;
  text-decoration: none;
}
.fp-help-list a:hover { color: #0066ff; }
.fp-help-list small {
  display: block;
  margin-top: .1rem;
  font-size: .72rem;
  color: #64748b;
}
