:root {
    --fond: #17120f;
    --fond-secondaire: #211814;
    --fond-tertiaire: #2b1e18;

    --bordure: #604235;
    --bordure-douce: #3c2a23;

    --orange: #f3a15f;
    --orange-clair: #ffc183;
    --orange-hover: #ffb36f;

    --texte: #fff8f1;
    --texte-secondaire: #cbb8aa;
    --texte-fonce: #28160b;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body.page-connexion {
    display: flex;
    justify-content: center;
    align-items: center;

    min-height: 100vh;

    background:
        radial-gradient(
            circle at 50% -15%,
            rgba(255, 164, 92, .24),
            transparent 42%
        ),
        linear-gradient(
            180deg,
            #211612 0%,
            var(--fond) 55%,
            #110e0d 100%
        );

    color: var(--texte);

    font-family:
        "Segoe UI",
        Arial,
        sans-serif;
}

.connexion-principale {
    width: 100%;

    display: flex;
    justify-content: center;

    padding: 30px;
}

.carte-connexion {
    width: 480px;
    max-width: 100%;

    padding: 46px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 179, 111, .055),
            transparent 38%
        ),
        var(--fond-secondaire);

    border: 1px solid var(--bordure);
    box-shadow: 0 26px 80px rgba(0, 0, 0, .28);
}

.identite-perspective {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 22px;

    margin-bottom: 42px;
}

.logo-perspective {
    width: 76px;
    height: 84px;

    object-fit: contain;
}

.identite-perspective h1 {
    color: var(--texte);

    font-size: 2rem;
    font-weight: 700;

    letter-spacing: .16rem;
}

.identite-perspective p {
    margin-top: 6px;

    color: var(--orange-clair);

    font-size: .78rem;
    font-weight: 600;

    letter-spacing: .1rem;
    text-transform: uppercase;
}

.bouton-connexion,
.developpement-profils button {
    display: flex;
    justify-content: center;
    align-items: center;

    width: 100%;
    min-height: 54px;

    padding: 12px 18px;

    border: 1px solid var(--orange);
    background: var(--orange);

    color: var(--texte-fonce);

    text-decoration: none;

    font: inherit;
    font-size: 1rem;
    font-weight: 700;

    cursor: pointer;

    transition:
        background .15s,
        border-color .15s,
        transform .15s;
}

.bouton-connexion:hover,
.developpement-profils button:hover {
    background: var(--orange-hover);
    border-color: var(--orange-hover);

    transform: translateY(-1px);
}

.bouton-connexion:active,
.developpement-profils button:active {
    transform: none;
}

.bouton-connexion:focus-visible,
.developpement-profils button:focus-visible {
    outline: 2px solid var(--orange-clair);
    outline-offset: 3px;
}

.carte-developpement {
    width: 560px;
}

.developpement-introduction {
    margin-bottom: 18px;

    color: var(--texte-secondaire);

    text-align: center;
}

.developpement-erreur {
    margin-bottom: 18px;
    padding: 12px 14px;

    border: 1px solid #9b5142;
    background: #38201c;

    color: #ffd2c8;

    text-align: center;
}

.developpement-profils {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.developpement-profils button:last-child {
    background: transparent;
    color: var(--orange-clair);
}

.developpement-profils button:last-child:hover {
    background: var(--fond-tertiaire);
}

@media (max-width: 560px) {
    .connexion-principale {
        padding: 18px;
    }

    .carte-connexion {
        padding: 32px;
    }

    .identite-perspective {
        gap: 16px;
    }

    .logo-perspective {
        width: 62px;
        height: 70px;
    }

    .identite-perspective h1 {
        font-size: 1.55rem;
    }

    .developpement-profils {
        grid-template-columns: 1fr;
    }
}
