
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --navy: #071a35;
    --navy-light: #102d50;
    --teal: #13b8a6;
    --teal-dark: #0b9587;
    --background: #f3f6f8;
    --white: #ffffff;
    --text: #172b42;
    --muted: #7b8a9b;
    --border: #e1e8ed;
}

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--background);
    color: var(--text);
}

/* HEADER */

.topbar {
    height: 76px;
    padding: 0 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: white;
    border-bottom: 1px solid var(--border);
    position: relative;
    z-index: 5;
}

.brand {
    color: var(--navy);
    font-family: 'Manrope', sans-serif;
    font-size: 29px;
    font-weight: 800;
    letter-spacing: -1.7px;
    text-decoration: none;
}

.brand span {
    color: var(--teal);
}

.topbar-center {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #738397;
    font-size: 14px;
    font-weight: 600;
}

.status-dot,
.online-dot {
    width: 8px;
    height: 8px;
    display: inline-block;
    background: var(--teal);
    border-radius: 50%;
}

.exit-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #66788c;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.exit-link span {
    font-size: 22px;
}

/* STRUCTURE */

.workspace {
    min-height: calc(100vh - 76px);
    display: grid;
    grid-template-columns: 390px minmax(0, 1fr);
}

/* SIDEBAR */

.sidebar {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 55px 38px 25px;
    color: white;
    background: linear-gradient(155deg, #071a35, #0d3154);
    overflow: hidden;
}

.sidebar::before {
    content: "";
    position: absolute;
    width: 340px;
    height: 340px;
    top: 300px;
    left: -220px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 50%;
    box-shadow:
        0 0 0 45px rgba(255,255,255,.025),
        0 0 0 90px rgba(255,255,255,.02);
}

.sidebar-content {
    position: relative;
    z-index: 1;
}

.sidebar-label {
    color: #4ed6c4;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.8px;
}

.sidebar h1 {
    margin-top: 22px;
    max-width: 310px;
    font-family: 'Manrope', sans-serif;
    font-size: 34px;
    line-height: 1.25;
    letter-spacing: -1.3px;
}

.sidebar-description {
    margin-top: 16px;
    color: #b7c8d8;
    font-size: 14px;
    line-height: 1.8;
}

/* APERÇU BOUTIQUE */

.store-preview {
    margin-top: 34px;
    overflow: hidden;
    border-radius: 13px;
    background: white;
    color: var(--text);
    box-shadow: 0 15px 40px rgba(0,0,0,.15);
}

.preview-cover {
    position: relative;
    height: 105px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(125deg, #0d958d, #53d4bd);
}

.preview-tag {
    position: absolute;
    top: 12px;
    left: 13px;
    padding: 5px 9px;
    border-radius: 5px;
    background: rgba(255,255,255,.2);
    color: white;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1px;
}

.preview-symbol {
    font-family: 'Manrope', sans-serif;
    font-size: 53px;
    font-weight: 800;
    color: rgba(255,255,255,.8);
}

.preview-body {
    position: relative;
    padding: 32px 19px 18px;
}

.preview-logo {
    position: absolute;
    top: -26px;
    left: 19px;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border: 4px solid white;
    border-radius: 12px;
    background: var(--navy);
    color: white;
    font-size: 23px;
    font-weight: 800;
}

.preview-name {
    color: var(--navy);
    font-size: 17px;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.preview-category {
    color: var(--teal-dark);
    font-size: 11px;
    font-weight: 700;
}

.preview-category-row {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 36px;
    margin-top: 7px;
}

.preview-category-image {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    border-radius: 9px;
    object-fit: cover;
}

.preview-line {
    height: 1px;
    margin: 13px 0;
    background: #edf0f3;
}

.preview-body > p {
    color: #8492a2;
    font-size: 11px;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.preview-location {
    margin-top: 13px;
    display: flex;
    gap: 6px;
    align-items: center;
    color: #6c7c8f;
    font-size: 11px;
}

.preview-location span:first-child {
    color: var(--teal-dark);
    font-size: 17px;
}

.preview-footer {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: 15px;
    padding-top: 12px;
    border-top: 1px solid #edf0f3;
    color: #8593a2;
    font-size: 10px;
}

/* AVANTAGES */

.sidebar-benefits {
    display: grid;
    gap: 19px;
    margin-top: 33px;
}

.benefit {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.benefit-icon {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(79,214,196,.3);
    border-radius: 9px;
    color: #54ddca;
    font-size: 11px;
    font-weight: 800;
}

.benefit strong {
    color: white;
    font-size: 13px;
}

.benefit p {
    margin-top: 4px;
    color: #9eb1c5;
    font-size: 11px;
    line-height: 1.5;
}

.sidebar-footer {
    position: relative;
    margin-top: 35px;
    color: #71869d;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

/* CONTENU PRINCIPAL */

.main-content {
    display: flex;
    justify-content: center;
    padding: 48px 6%;
    background: var(--background);
}

.form-container {
    width: 100%;
    max-width: 760px;
}

/* TITRE */

.page-heading {
    margin-bottom: 32px;
}

.heading-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.section-label {
    color: var(--teal-dark);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.4px;
}

.required-note {
    color: #91a0af;
    font-size: 11px;
}

.page-heading h2 {
    margin-top: 13px;
    color: var(--navy);
    font-family: 'Manrope', sans-serif;
    font-size: 34px;
    letter-spacing: -1.2px;
}

.page-heading p {
    margin-top: 9px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
}

/* PROGRESSION */

.progress-area {
    margin-bottom: 35px;
    padding: 21px 23px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: white;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    color: #53667b;
    font-size: 12px;
    font-weight: 700;
}

#progress-percent {
    color: var(--teal-dark);
}

.progress-track {
    height: 6px;
    margin-top: 14px;
    overflow: hidden;
    border-radius: 10px;
    background: #edf1f3;
}

.progress-fill {
    width: 33.33%;
    height: 100%;
    border-radius: 10px;
    background: var(--teal);
    transition: width .3s ease;
}

.steps-labels {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 13px;
}

.steps-labels span {
    color: #9aa7b4;
    font-size: 10px;
    font-weight: 700;
}

.steps-labels span.active {
    color: var(--teal-dark);
}

/* FORMULAIRE */

.form-step {
    display: none;
    padding: 30px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: white;
    box-shadow: 0 8px 30px rgba(22,43,66,.035);
    animation: appear .25s ease;
}

.form-step.active {
    display: block;
}

@keyframes appear {
    from {
        opacity: 0;
        transform: translateY(7px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.step-heading {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 28px;
    padding-bottom: 22px;
    border-bottom: 1px solid #edf1f3;
}

.step-number {
    width: 43px;
    height: 43px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    border-radius: 12px;
    background: #e4f8f5;
    color: var(--teal-dark);
    font-family: 'Manrope', sans-serif;
    font-size: 15px;
    font-weight: 800;
}

.step-heading h3 {
    color: var(--navy);
    font-family: 'Manrope', sans-serif;
    font-size: 19px;
}

.step-heading p {
    margin-top: 5px;
    color: var(--muted);
    font-size: 12px;
}

/* CHAMPS */

.field {
    margin-bottom: 23px;
}

.iti {
    width: 100%;
}

.phone-help {
    display: block;
    margin-top: 7px;
    color: var(--muted);
    font-size: 12px;
}

.field-control {
    position: relative;
}

.country-picker {
    z-index: 2;
}

.country-native-select {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    border: 0;
    opacity: 0;
    pointer-events: none;
}

.country-picker-trigger {
    display: flex;
    width: 100%;
    height: 51px;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    border: 1px solid #dce5e9;
    border-radius: 8px;
    outline: none;
    background: #fbfcfd;
    color: var(--text);
    font: 600 14px 'DM Sans', sans-serif;
    text-align: left;
    cursor: pointer;
    transition: .2s;
}

.country-picker-trigger:focus-visible,
.country-picker-trigger[aria-expanded="true"] {
    border-color: var(--teal);
    background: white;
    box-shadow: 0 0 0 3px rgba(19,184,166,.1);
}

.country-picker-current,
.country-picker-option {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 10px;
}

.country-picker-current > span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.country-picker-current .iti__flag,
.country-picker-option .iti__flag {
    flex: 0 0 20px;
}

.country-picker-flag-fallback {
    width: 20px;
    color: #8492a5;
    text-align: center;
}

.country-picker-menu {
    position: absolute;
    top: calc(100% + 7px);
    right: 0;
    left: 0;
    z-index: 20;
    overflow: hidden;
    padding: 10px;
    border: 1px solid #dce5e9;
    border-radius: 12px;
    background: white;
    box-shadow: 0 12px 30px rgba(7,26,53,.16);
}

.country-picker-menu[hidden] {
    display: none;
}

.country-picker-search {
    width: 100%;
    height: 42px;
    margin-bottom: 8px;
    padding: 0 12px;
    border: 1px solid #dce5e9;
    border-radius: 8px;
    outline: none;
    font: 14px 'DM Sans', sans-serif;
}

.country-picker-search:focus {
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(19,184,166,.1);
}

.country-picker-options {
    max-height: 250px;
    overflow-y: auto;
}

.country-picker-option {
    width: 100%;
    min-height: 40px;
    padding: 8px 10px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: var(--text);
    font: 500 14px 'DM Sans', sans-serif;
    text-align: left;
    cursor: pointer;
}

.country-picker-option:hover,
.country-picker-option:focus-visible,
.country-picker-option[aria-selected="true"] {
    outline: none;
    background: #eaf8f6;
    color: var(--teal-dark);
}

.country-picker-option[hidden] {
    display: none;
}

.country-field-chevron {
    color: #8492a5;
    font-size: 12px;
    pointer-events: none;
}

.location-picker {
    z-index: 1;
}

.location-picker:focus-within {
    z-index: 15;
}

.location-picker > input {
    padding-right: 44px;
}

.location-picker-toggle {
    position: absolute;
    top: 50%;
    right: 7px;
    z-index: 2;
    display: flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: #8492a5;
    cursor: pointer;
    transform: translateY(-50%);
}

.location-picker-toggle:hover,
.location-picker-toggle:focus-visible,
.location-picker-toggle[aria-expanded="true"] {
    outline: none;
    background: #eaf8f6;
    color: var(--teal-dark);
}

.location-picker-toggle i {
    font-size: 12px;
}

.location-picker-menu {
    position: absolute;
    top: calc(100% + 7px);
    right: 0;
    left: 0;
    z-index: 20;
    max-height: 230px;
    overflow-y: auto;
    padding: 7px;
    border: 1px solid #dce5e9;
    border-radius: 12px;
    background: white;
    box-shadow: 0 12px 30px rgba(7,26,53,.16);
}

.location-picker-menu[hidden] {
    display: none;
}

.location-picker-option {
    display: block;
    width: 100%;
    min-height: 38px;
    padding: 8px 11px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: var(--text);
    font: 500 13px 'DM Sans', sans-serif;
    text-align: left;
    cursor: pointer;
}

.location-picker-option:hover,
.location-picker-option:focus-visible {
    outline: none;
    background: #eaf8f6;
    color: var(--teal-dark);
}

.location-picker-option[hidden] {
    display: none;
}

.field-control-icon {
    position: absolute;
    top: 50%;
    left: 15px;
    z-index: 1;
    color: #8492a5;
    font-size: 14px;
    pointer-events: none;
    transform: translateY(-50%);
}

.field .field-control > input,
.field .field-control > select,
.field .field-control > textarea {
    padding-left: 52px;
}

.field-control-textarea .field-control-icon {
    top: 17px;
    transform: none;
}

.field-label-icon {
    width: 17px;
    margin-right: 7px;
    color: #8492a5;
    text-align: center;
}

.field label {
    display: block;
    margin-bottom: 9px;
    color: #2a3d51;
    font-size: 13px;
    font-weight: 800;
}

.field label span {
    color: #e05e5e;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    padding: 14px 15px;
    border: 1px solid #dce5e9;
    border-radius: 8px;
    outline: none;
    background: #fbfcfd;
    color: var(--text);
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    transition: .2s;
}

.field input,
.field select {
    height: 51px;
}

.field textarea {
    min-height: 125px;
    line-height: 1.7;
    resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    border-color: var(--teal);
    background: white;
    box-shadow: 0 0 0 3px rgba(19,184,166,.1);
}

.field input::placeholder,
.field textarea::placeholder {
    color: #a6b1bc;
}

.address-data-note,
.address-data-status {
    margin: 8px 0 0;
    font-size: 11px;
    line-height: 1.5;
}

.address-data-note {
    color: var(--muted);
}

.address-data-status {
    color: #b44545;
}

.address-data-status[hidden] {
    display: none;
}

.field-bottom {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 8px;
}

.field-bottom small {
    color: #95a2af;
    font-size: 10px;
}

/* UPLOAD */

.upload-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 17px;
    padding: 21px;
    border: 1px dashed #c8d8dc;
    border-radius: 11px;
    background: #f9fcfc;
    transition: .2s;
}

.upload-card:hover {
    border-color: var(--teal);
    background: #f1fbf9;
}

.upload-icon {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    border-radius: 12px;
    background: #e1f7f3;
    color: var(--teal-dark);
    font-size: 23px;
}

.upload-text {
    min-width: 0;
}

.upload-text strong {
    color: var(--navy);
    font-size: 13px;
}

.upload-text p {
    margin-top: 5px;
    color: #76889a;
    font-size: 11px;
    line-height: 1.5;
}

.upload-text small {
    display: block;
    margin-top: 5px;
    color: #a0acb7;
    font-size: 10px;
}

.upload-card input[type="file"] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

/* APERÇU IMAGES */

.image-preview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin: 20px 0;
}

.image-box {
    min-width: 0;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 9px;
    background: #fbfcfd;
}

.image-box span {
    display: block;
    margin-bottom: 10px;
    color: #8392a2;
    font-size: 9px;
    font-weight: 800;
}

.image-box img {
    width: 100%;
    height: 100px;
    display: block;
    object-fit: contain;
    border-radius: 5px;
    background: #eef2f4;
}

/* NOTICE */

.notice {
    margin-top: 27px;
    padding: 19px;
    border-left: 3px solid var(--teal);
    border-radius: 5px;
    background: #effaf8;
}

.notice strong {
    color: #087e73;
    font-size: 13px;
}

.notice p {
    margin-top: 7px;
    color: #577c78;
    font-size: 12px;
    line-height: 1.7;
}

/* CONDITIONS */

.terms {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin-top: 24px;
    color: #708092;
    font-size: 12px;
    line-height: 1.7;
}

.terms input {
    width: 17px;
    height: 17px;
    margin-top: 3px;
    flex-shrink: 0;
    accent-color: var(--teal-dark);
}

/* NAVIGATION */

.form-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-top: 25px;
}

.store-feedback {
    align-items: flex-start;
    gap: 12px;
    margin: 12px 0 0;
    padding: 15px 17px;
    border: 1px solid #bfdbfe;
    border-radius: 12px;
    background: #eff8ff;
    color: #164e63;
    font-size: 13px;
    line-height: 1.5;
    box-shadow: 0 6px 18px rgba(22, 43, 66, .05);
}

.store-feedback:not([hidden]) {
    display: flex;
}

.store-feedback::before {
    width: 25px;
    height: 25px;
    flex: 0 0 25px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #dbeafe;
    color: #1d4ed8;
    content: "i";
    font-size: 13px;
    font-weight: 800;
}

.store-feedback.is-error {
    border-color: #fecaca;
    background: #fff5f5;
    color: #b42318;
}

.store-feedback.is-error::before {
    background: #fee2e2;
    color: #b42318;
    content: "!";
}

.store-feedback.is-info {
    border-color: #bfdbfe;
    background: #eff8ff;
    color: #164e63;
}

.store-feedback.is-success {
    border-color: #bbf7d0;
    background: #f0fdf4;
    color: #18794e;
}

.store-feedback.is-success::before {
    background: #dcfce7;
    color: #18794e;
    content: "✓";
}

.store-action-link {
    min-height: 47px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 0 0 18px;
    padding: 0 20px;
    border: 1px solid var(--teal);
    border-radius: 10px;
    background: var(--teal);
    box-shadow: 0 7px 16px rgba(11, 149, 135, .2);
    color: var(--navy);
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    transition: background-color .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.store-action-link::after {
    content: "→";
    font-size: 17px;
    line-height: 1;
}

.store-action-link:hover {
    border-color: #36cbb8;
    background: #36cbb8;
    box-shadow: 0 9px 20px rgba(11, 149, 135, .25);
    transform: translateY(-1px);
}

.store-action-link:focus-visible {
    outline: 3px solid rgba(19, 184, 166, .35);
    outline-offset: 3px;
}

.store-action-link[hidden] {
    display: none;
}

.form-navigation button {
    min-height: 53px;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border-radius: 8px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    transition: .2s;
}

.btn-back {
    border: 1px solid #dce5e9;
    background: white;
    color: #617386;
}

.btn-back:hover {
    background: #eef3f5;
}

.btn-next,
.btn-submit {
    margin-left: auto;
    border: 1px solid var(--teal);
    background: var(--teal);
    color: white;
}

.btn-next:hover,
.btn-submit:hover {
    background: var(--teal-dark);
    border-color: var(--teal-dark);
}

.form-navigation button[hidden] {
    display: none;
}

/* FOOTER */

.bottom-note {
    margin-top: 25px;
    text-align: center;
    color: #93a0ad;
    font-size: 11px;
}

.bottom-note span {
    color: var(--teal);
    margin-right: 5px;
}

/* TABLETTES */

@media (max-width: 1100px) {
    .workspace {
        grid-template-columns: 320px minmax(0, 1fr);
    }

    .sidebar {
        padding: 40px 27px 25px;
    }

    .sidebar h1 {
        font-size: 29px;
    }

    .main-content {
        padding: 40px 4%;
    }

    .form-step {
        padding: 24px;
    }
}

/* PETITS ECRANS */

@media (max-width: 800px) {
    .workspace {
        grid-template-columns: 1fr;
    }

    .sidebar {
        display: none;
    }

    .main-content {
        padding: 35px 5%;
    }

    .form-container {
        max-width: 700px;
    }
}

/* SMARTPHONES */

@media (max-width: 520px) {
    .topbar {
        height: 65px;
        padding: 0 17px;
    }

    .brand {
        font-size: 25px;
    }

    .topbar-center {
        display: none;
    }

    .exit-link {
        font-size: 12px;
    }

    .main-content {
        padding: 25px 12px;
    }

    .page-heading h2 {
        font-size: 27px;
    }

    .page-heading p {
        font-size: 13px;
    }

    .heading-top {
        align-items: flex-start;
    }

    .section-label {
        font-size: 9px;
    }

    .required-note {
        font-size: 9px;
    }

    .progress-area {
        padding: 16px;
    }

    .progress-info {
        font-size: 10px;
    }

    .steps-labels span {
        font-size: 9px;
    }

    .form-step {
        padding: 20px 16px;
    }

    .step-heading h3 {
        font-size: 17px;
    }

    .step-heading p {
        font-size: 11px;
    }

    .field input,
    .field select,
    .field textarea {
        font-size: 13px;
    }

    .upload-card {
        padding: 15px 12px;
        gap: 11px;
    }

    .upload-icon {
        width: 38px;
        height: 38px;
    }

    .upload-text strong {
        font-size: 12px;
    }

    .image-preview {
        grid-template-columns: 1fr;
    }

    .form-navigation button {
        min-height: 49px;
        padding: 0 15px;
        font-size: 11px;
    }
}

@media (max-width: 350px) {
    .steps-labels span {
        font-size: 8px;
    }

    .form-navigation {
        gap: 8px;
    }

    .form-navigation button {
        padding: 0 10px;
    }
}
