:root {
    --blue: #2448e8;
    --blue-dark: #1839cf;
    --ink: #18243b;
    --muted: #6e7b93;
    --line: #dce2ed;
    --error: #b82f47;
    font-family: "Segoe UI", Arial, sans-serif;
    color: var(--ink);
    background: #f8faff;
    color-scheme: light;
}
* { box-sizing: border-box; }
body { margin: 0; }
button, input { font: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: wait; }
a { color: inherit; text-decoration: none; }
button, a, input { touch-action: manipulation; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid #86a1ff; outline-offset: 4px; }
svg { display: block; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
[hidden] { display: none !important; }
.skip-link { position: fixed; z-index: 20; top: 10px; left: 10px; padding: 12px 18px; border-radius: 8px; color: white; background: var(--ink); transform: translateY(-180%); }
.skip-link:focus { transform: none; }
.login-layout { display: grid; grid-template-columns: minmax(420px, .86fr) minmax(0, 1.14fr); min-height: 100vh; min-height: 100svh; }
.signin { padding: 34px 40px 23px; display: flex; flex-direction: column; background: #fafbfe; }
.signin-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand > span { display: flex; align-items: baseline; gap: 7px; font-size: 29px; font-weight: 750; letter-spacing: -1.4px; }
.brand-country { font-size: 12px; letter-spacing: 1.5px; font-weight: 650; color: #71809b; }
.language { display: flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 650; color: #6b7890; }
.language svg { width: 15px; height: 15px; }
.form-wrap { width: 100%; max-width: 374px; margin: auto; padding: 48px 0 38px; }
.eyebrow { display: flex; align-items: center; gap: 8px; font-size: 10px; letter-spacing: 1.8px; font-weight: 650; color: #637491; margin: 0 0 18px; }
.eyebrow > span { width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
h1 { font-size: clamp(46px, 4vw, 60px); font-weight: 650; letter-spacing: -2.8px; line-height: 1.06; margin: 0 0 19px; }
h1 span { color: var(--blue); }
.intro { color: var(--muted); font-size: 14px; line-height: 1.75; margin: 0 0 32px; }
.field { margin-bottom: 22px; }
.field > label, .field-heading { display: flex; margin: 0 0 10px; }
.field-heading { align-items: center; justify-content: space-between; gap: 10px; }
.field label { font-size: 12px; font-weight: 600; color: #394963; }
.text-button { border: 0; padding: 0; background: none; color: var(--blue); font-size: 12px; font-weight: 600; line-height: 1.6; }
.text-button:hover { color: #122bab; text-decoration: underline; text-underline-offset: 3px; }
.recovery-button { font-size: 11px; font-weight: 500; }
.input-wrap { position: relative; }
.input-icon { position: absolute; left: 16px; top: 18px; width: 19px; height: 19px; pointer-events: none; color: #8795b0; }
.input-wrap input { width: 100%; min-width: 0; height: 56px; padding: 0 16px 0 46px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); font-size: 13px; transition: border-color .18s, box-shadow .18s; }
.input-wrap input::placeholder { color: #8a97ab; opacity: 1; }
.input-wrap input:hover { border-color: #b4c0d7; }
.input-wrap input:focus { outline: none; border-color: #5978ef; box-shadow: 0 0 0 4px #2448e80c; }
.input-wrap input[aria-invalid="true"] { border-color: var(--error); }
.input-wrap:focus-within .input-icon { color: var(--blue); }
#mot-de-passe { padding-right: 48px; }
.password-toggle { position: absolute; top: 7px; right: 6px; width: 41px; height: 42px; display: grid; place-items: center; border: 0; border-radius: 7px; background: transparent; color: #8392af; }
.password-toggle:hover { background: #edf1ff; color: var(--blue); }
.password-toggle svg { width: 19px; height: 19px; }
.eye-slash { display: none; }
.password-toggle[aria-pressed="true"] .eye-slash { display: block; }
.remember { display: flex; align-items: center; gap: 9px; width: fit-content; font-size: 12px; color: #66758d; cursor: pointer; margin: 1px 0 25px; min-height: 24px; }
.remember input { width: 16px; height: 16px; accent-color: var(--blue); margin: 0; }
.field-error { font-size: 12px; color: var(--error); line-height: 1.5; margin: 7px 0 0; }
.feedback { margin: 0 0 17px; padding: 12px 14px; border: 1px solid #f0ccd4; border-radius: 8px; background: #fff4f6; color: #a12e45; font-size: 12px; line-height: 1.6; overflow-wrap: anywhere; }
.submit { display: flex; align-items: center; justify-content: center; gap: 17px; width: 100%; min-height: 54px; border: 1px solid var(--blue); border-radius: 10px; color: #fff; background: var(--blue); font-size: 13px; font-weight: 600; box-shadow: 0 5px 16px #2448e821; transition: background .18s, box-shadow .18s, transform .18s; }
.submit:hover { background: var(--blue-dark); box-shadow: 0 7px 20px #2448e82b; }
.submit:active { transform: translateY(1px); }
.submit svg { width: 19px; height: 19px; }
.submit:disabled { opacity: .78; }
.spinner { width: 16px; height: 16px; border: 2px solid #ffffff60; border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; }
.access-note { display: flex; align-items: center; justify-content: center; gap: 7px; font-size: 10px; color: #77869d; margin: 17px 0 0; }
.access-note svg { width: 14px; height: 14px; flex: none; }
.help-block { display: flex; align-items: center; gap: 12px; margin-top: 29px; padding-top: 23px; border-top: 1px solid #e6eaf2; }
.help-icon { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border: 1px solid #dce3f0; background: #f1f4fb; color: #73829c; border-radius: 50%; font-size: 16px; }
.help-block p { margin: 0; font-size: 11px; color: #7a879c; line-height: 1.8; }
.help-block .text-button { font-size: 11px; }
.help-block .text-button span { margin-left: 4px; }
.noscript-help { font-size: 12px; line-height: 1.5; }
.signin-footer { display: flex; justify-content: space-between; gap: 12px; font-size: 10px; color: #7b88a0; }
.port-panel { isolation: isolate; position: relative; display: flex; flex-direction: column; overflow: hidden; background: linear-gradient(140deg, #2b51eb 0%, #2448e8 48%, #1a3ecc 100%); color: #fff; padding: 37px 48px 27px; }
.port-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: 9px; letter-spacing: 1.4px; font-weight: 500; color: #e0e8ff; }
.country-mark { display: grid; place-items: center; padding: 6px 8px; border: 1px solid #b8caff40; border-radius: 7px; }
.country-mark svg { width: 25px; height: 19px; stroke: none; }
.port-heading { z-index: 1; margin-top: clamp(40px, 5vh, 68px); }
.panel-eyebrow { display: flex; align-items: center; gap: 8px; font-size: 9px; letter-spacing: 1.65px; font-weight: 500; color: #cedbff; margin: 0 0 21px; }
.panel-eyebrow > span { display: inline-block; width: 19px; height: 1px; background: #cad8ff; }
.port-heading h2 { margin: 0 0 21px; font-weight: 550; font-size: clamp(42px, 4.15vw, 66px); letter-spacing: -2.8px; line-height: 1.1; }
.port-heading h2 span { color: #b8cfff; }
.port-heading > p:last-child { color: #d2deff; font-size: 13px; line-height: 1.8; margin: 0; }
.harbor-scene { position: relative; flex: 1; display: flex; align-items: center; justify-content: center; min-height: 225px; margin: 15px -42px 27px; }
.harbor-scene > img { z-index: 1; position: relative; display: block; width: 100%; max-width: 770px; height: auto; max-height: 370px; object-fit: contain; filter: drop-shadow(0 22px 26px #071a7429); }
.scene-grid { position: absolute; z-index: -1; inset: 0 -10% -5%; transform: perspective(450px) rotateX(46deg) rotateZ(-12deg); background-image: linear-gradient(#a1b9ff13 1px, transparent 1px), linear-gradient(90deg, #a1b9ff13 1px, transparent 1px); background-size: 46px 46px; mask-image: radial-gradient(ellipse at center, black 20%, transparent 65%); }
.scene-caption { position: absolute; z-index: 2; bottom: 0; left: 50%; transform: translateX(-50%); display: flex; align-items: center; justify-content: center; gap: 8px; white-space: nowrap; border: 1px solid #9bb6ff60; padding: 9px 13px; border-radius: 30px; background: #2449dbe8; color: #e5ecff; font-size: 9px; box-shadow: 0 7px 20px #0a247523; }
.caption-dot { width: 5px; height: 5px; border-radius: 50%; background: #eac980; }
.panel-orbit { z-index: -1; pointer-events: none; border: 1px solid #a9bfff19; position: absolute; border-radius: 50%; }
.orbit-one { width: 710px; height: 710px; left: 34%; top: 26%; }
.orbit-two { width: 850px; height: 850px; left: 20%; top: 17%; }
.port-footer { display: flex; align-items: center; justify-content: space-between; gap: 14px; border-top: 1px solid #b1c5ff40; padding-top: 22px; }
.port-footer > div { display: flex; align-items: center; gap: 9px; font-size: 11px; color: #f0f3ff; }
.feature-number { color: #bbceff; font-size: 9px; font-variant-numeric: tabular-nums; }
dialog { width: min(430px, calc(100% - 32px)); padding: 29px; max-height: calc(100svh - 32px); border: 1px solid #dce3f0; border-radius: 18px; color: var(--ink); background: #fafbfe; box-shadow: 0 25px 100px #0b184638; }
dialog::backdrop { background: #15214d75; backdrop-filter: blur(5px); }
.dialog-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 25px; }
.dialog-symbol { display: grid; place-items: center; width: 43px; height: 43px; border-radius: 12px; font-size: 25px; color: var(--blue); background: #e8edff; }
.close-dialog { display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 50%; color: #7585a1; background: #edf1f9; font-size: 24px; }
dialog .eyebrow { font-size: 9px; margin-bottom: 12px; }
dialog h2 { font-weight: 600; font-size: 25px; letter-spacing: -.8px; margin: 0 0 14px; }
dialog > p:not(.eyebrow) { font-size: 13px; color: #66758e; line-height: 1.8; }
dialog .help-tip { padding: 13px 15px; background: #eef2ff; border-radius: 9px; }
dialog .submit { margin-top: 23px; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (min-width: 1550px) {
    .signin { padding: 43px 56px 30px; }
    .form-wrap { max-width: 400px; }
    .port-panel { padding: 45px 65px 32px; }
    .port-heading { margin-top: 65px; }
    .harbor-scene { max-height: 490px; margin-top: auto; }
}
@media (min-width: 851px) and (max-height: 800px) {
    .signin { padding-top: 24px; padding-bottom: 19px; }
    .form-wrap { padding-top: 24px; padding-bottom: 21px; }
    h1 { font-size: 46px; margin-bottom: 13px; }
    .eyebrow { margin-bottom: 12px; }
    .intro { margin-bottom: 22px; font-size: 13px; line-height: 1.65; }
    .field { margin-bottom: 16px; }
    .input-wrap input { height: 51px; }
    .input-icon { top: 16px; }
    .password-toggle { top: 5px; }
    .remember { margin-bottom: 16px; }
    .help-block { margin-top: 20px; padding-top: 15px; }
    .port-panel { padding-top: 28px; padding-bottom: 23px; }
    .port-heading { margin-top: 35px; }
    .port-heading h2 { font-size: clamp(42px, 3.8vw, 54px); }
    .harbor-scene { margin-top: 5px; margin-bottom: 18px; min-height: 230px; }
    .harbor-scene > img { max-height: 300px; }
    .port-footer { padding-top: 17px; }
}
@media (max-width: 1100px) and (min-width: 851px) {
    .login-layout { grid-template-columns: minmax(390px, .95fr) minmax(0, 1.05fr); }
    .signin { padding-left: 30px; padding-right: 30px; }
    .form-wrap { max-width: 345px; }
    .port-panel { padding-left: 32px; padding-right: 32px; }
    .port-header { letter-spacing: .7px; font-size: 8px; gap: 9px; }
    .port-heading h2 { font-size: 44px; letter-spacing: -2px; }
    .port-footer > div { font-size: 10px; gap: 6px; }
    .port-footer { gap: 10px; }
}
@media (max-width: 850px) {
    .login-layout { display: block; }
    .signin { min-height: 100vh; min-height: 100svh; padding: 26px 28px 21px; }
    .signin-header { width: 100%; max-width: 460px; margin: 0 auto; }
    .form-wrap { max-width: 380px; padding: 42px 0 32px; }
    h1 { font-size: 49px; }
    .intro { margin-bottom: 27px; }
    .signin-footer { width: 100%; max-width: 460px; margin: 0 auto; }
    .port-panel { display: none; }
    .input-wrap input { font-size: 16px; }
    .input-wrap input::placeholder { font-size: 13px; }
    .recovery-button { min-height: 26px; }
    .field-heading { margin-bottom: 6px; }
}
@media (max-width: 380px) {
    .signin { padding-left: 22px; padding-right: 22px; }
    .form-wrap { padding-top: 33px; }
    h1 { font-size: 44px; }
    .brand > span { font-size: 26px; }
    .brand img { width: 35px; height: 35px; }
    .access-note { font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
