/* =========================================================
   PREMIER ARRIVÉ - LANDING PAGE + LOGIN ADMIN
   ========================================================= */


/* ---------- RESET ---------- */

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100%;
}

body {
    min-height: 100vh;

    font-family: Arial, Helvetica, sans-serif;
    color: #171717;

    background:
        radial-gradient(
            circle at 24% 50%,
            rgba(247, 196, 46, 0.10),
            transparent 30%
        ),
        #ffffff;
}


/* =========================================================
   LANDING PAGE
   ========================================================= */

.landing-page {
    min-height: 100vh;

    display: flex;
    justify-content: center;
    align-items: center;

    padding: 40px 20px;
}

.landing-content {
    width: 100%;
    max-width: 720px;

    margin: 0 auto;
    text-align: center;
}


/* ---------- LOGO ---------- */

.landing-logo {
    display: block;

    width: 120px;
    height: 120px;

    margin: 0 auto 28px;

    object-fit: contain;

    border-radius: 20px;
}


/* ---------- TITRE ---------- */

.landing-content h1 {
    margin: 0 0 22px;

    font-size: 32px;
    line-height: 1.2;

    font-weight: 700;
    letter-spacing: -0.5px;

    color: #171717;
}


/* ---------- INTRO ---------- */

.intro {
    max-width: 650px;

    margin: 0 auto 18px;

    font-size: 15px;
    line-height: 1.55;

    color: #252525;
}


/* ---------- DESCRIPTION ---------- */

.description {
    max-width: 620px;

    margin: 0 auto 28px;

    font-size: 13px;
    line-height: 1.55;

    color: #626262;
}


/* ---------- BLOC BÉNÉFICES ---------- */

.benefits {
    width: 100%;
    max-width: 610px;

    margin: 0 auto 34px;
    padding: 22px 30px;

    background: rgba(255, 255, 255, 0.90);

    border: 1px solid #eee8d9;
    border-radius: 8px;

    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.025);
}

.benefits p {
    margin: 10px 0;

    font-size: 14px;
    line-height: 1.45;

    color: #353535;
}

.benefits strong {
    font-weight: 700;
    color: #171717;
}


/* ---------- BOUTONS STORES ---------- */

.store-links {
    display: flex;

    justify-content: center;
    align-items: center;

    gap: 12px;

    margin: 0 auto 27px;
}

.store-button {
    display: inline-flex;

    justify-content: center;
    align-items: center;

    min-width: 195px;
    min-height: 46px;

    padding: 13px 22px;

    border: none;
    border-radius: 9px;

    background: #e7ac00;
    color: #ffffff;

    font-size: 13px;
    font-weight: 500;

    text-decoration: none;

    cursor: pointer;

    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);

    transition:
        background-color 0.15s ease,
        transform 0.15s ease,
        box-shadow 0.15s ease;
}

.store-button:hover {
    background: #dca500;

    transform: translateY(-1px);

    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.12);
}

.store-button:active {
    transform: translateY(0);
}


/* ---------- LIEN ADMIN ---------- */

.admin-link {
    display: inline-block;

    color: #6a6a6a;

    font-size: 11px;

    text-decoration: none;
}

.admin-link:hover {
    color: #222222;
    text-decoration: underline;
}


/* =========================================================
   PAGE LOGIN ADMIN
   ========================================================= */

.landing-shell {
    min-height: 100vh;

    display: flex;
    justify-content: center;
    align-items: center;

    padding: 35px 20px;
}

.landing-card {
    width: 100%;
    max-width: 440px;

    margin: 0 auto;

    text-align: center;
}

.admin-card {
    padding: 38px 40px;

    background: #ffffff;

    border: 1px solid #eee8d9;
    border-radius: 14px;

    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}


/* ---------- LOGO LOGIN ---------- */

.logo-link {
    display: inline-block;

    margin-bottom: 15px;

    text-decoration: none;
}

.logo-link .landing-logo {
    width: 105px;
    height: 105px;

    margin-bottom: 18px;
}


/* ---------- TITRE LOGIN ---------- */

.admin-card h1 {
    margin: 0 0 8px;

    font-size: 25px;
    line-height: 1.25;

    color: #171717;
}

.admin-card > p {
    margin: 0 0 25px;

    font-size: 13px;
    line-height: 1.5;

    color: #666666;
}


/* ---------- FORMULAIRE ---------- */

.admin-form {
    display: flex;
    flex-direction: column;

    gap: 9px;

    width: 100%;

    margin-top: 25px;

    text-align: left;
}

.admin-form label {
    margin-top: 6px;

    font-size: 13px;
    font-weight: 600;

    color: #303030;
}

.admin-form input {
    width: 100%;

    padding: 12px 14px;

    font-family: inherit;
    font-size: 14px;

    color: #222222;
    background: #ffffff;

    border: 1px solid #d7d7d7;
    border-radius: 7px;

    outline: none;

    transition:
        border-color 0.15s ease,
        box-shadow 0.15s ease;
}

.admin-form input:focus {
    border-color: #e7ac00;

    box-shadow: 0 0 0 3px rgba(231, 172, 0, 0.13);
}


/* ---------- BOUTON LOGIN ---------- */

.admin-form button {
    width: 100%;

    margin-top: 14px;
    padding: 13px 20px;

    border: none;
    border-radius: 8px;

    background: #e7ac00;
    color: #ffffff;

    font-family: inherit;
    font-size: 14px;
    font-weight: 600;

    cursor: pointer;

    transition:
        background-color 0.15s ease,
        transform 0.15s ease;
}

.admin-form button:hover {
    background: #dca500;
}

.admin-form button:active {
    transform: translateY(1px);
}


/* ---------- ERREUR LOGIN ---------- */

.login-error {
    margin: 12px 0 0;
    padding: 10px 12px;

    border-radius: 6px;

    background: #fff1f1;
    color: #b42318;

    font-size: 12px;
    line-height: 1.4;
}


/* ---------- RETOUR ---------- */

.back-link {
    display: inline-block;

    margin-top: 22px;

    color: #666666;

    font-size: 12px;

    text-decoration: none;
}

.back-link:hover {
    color: #222222;
    text-decoration: underline;
}


/* =========================================================
   RESPONSIVE TABLETTE
   ========================================================= */

@media (max-width: 768px) {

    .landing-page {
        padding: 35px 22px;
    }

    .landing-content h1 {
        font-size: 29px;
    }

    .benefits {
        padding: 20px 22px;
    }
}


/* =========================================================
   RESPONSIVE MOBILE
   ========================================================= */

@media (max-width: 600px) {

    body {
        background: #ffffff;
    }

    .landing-page {
        min-height: 100svh;

        align-items: flex-start;

        padding: 35px 18px;
    }

    .landing-logo {
        width: 105px;
        height: 105px;

        margin-bottom: 24px;
    }

    .landing-content h1 {
        font-size: 27px;
    }

    .intro {
        font-size: 14px;
    }

    .description {
        font-size: 12px;
    }

    .benefits {
        margin-bottom: 28px;

        padding: 18px 16px;
    }

    .benefits p {
        font-size: 13px;
    }

    .store-links {
        flex-direction: column;

        width: 100%;

        gap: 10px;
    }

    .store-button {
        width: 100%;
        max-width: 340px;
    }

    .landing-shell {
        min-height: 100svh;

        padding: 20px 15px;
    }

    .admin-card {
        padding: 30px 22px;
    }
}


/* =========================================================
   TRÈS PETITS ÉCRANS
   ========================================================= */

@media (max-width: 380px) {

    .landing-content h1 {
        font-size: 24px;
    }

    .landing-logo {
        width: 90px;
        height: 90px;
    }

    .admin-card {
        padding: 25px 17px;
    }
}