
/* ==========================================
   LES PIERRES D'AELIA
   Landing page
   ========================================== */


/* 1. PALETTE GRAPHIQUE */

:root {
    --ivory: #fff5e3;
    --champagne: #e7ccaa;
    --gold: #b58b45;
    --copper: #79563a;
    --plum: #381c39;
    --ink: #503c32;
    --paper: #fffbf3;
    --serif: Georgia, "Times New Roman", serif;
}


/* 2. CONFIGURATION GENERALE */

*, *::before, *::after {
    box-sizing: border-box;
}

body {
    margin: 0;

    min-height: 100vh;
    min-height: 100dvh;

    display: flex;
    flex-direction: column;

    color: var(--ink);
    font-family: var(--serif);
    line-height: 1.65;

    background:
        radial-gradient(
            ellipse at 50% 0%,
            #fffdf6 0%,
            transparent 58%
        ),
        linear-gradient(
            110deg,
            #f3e2ca,
            var(--paper) 35%,
            var(--paper) 65%,
            #f3e2ca
        );
}


/* 3. CONTENEUR PRINCIPAL */

main {
    flex: 1;

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

    width: 100%;
    max-width: 1100px;

    margin: 0 auto;
    padding: 30px 24px;
}

.hero {
    width: 100%;
    text-align: center;
}


/* 4. BANNIERE */

.banner {
    display: block;

    width: 100%;
    max-width: 938px;
    height: auto;

    margin: 0 auto;

    border: 1px solid #d5b887;

    box-shadow: 0 8px 26px #79563a1a;
}


/* 5. PRESENTATION */

.intro {
    max-width: 700px;
    margin: auto;
    padding: 24px 12px;
}


/* 6. ORNEMENT DORE */

.ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    color: var(--gold);
    margin-bottom: 18px;
}

.ornament span {
    height: 1px;
    width: 75px;

    background: linear-gradient(
        90deg,
        transparent,
        var(--gold)
    );
}

.ornament span:last-child {
    transform: rotate(180deg);
}


/* 7. SITE EN CONSTRUCTION */

.construction-status {
    display: inline-block;

    padding: 12px 26px;
    margin: 0 0 20px;

    border: 1px solid var(--gold);
    background-color: #e7ccaa30;

    color: var(--plum);

    font-size: clamp(1rem, 3vw, 1.4rem);
    font-weight: bold;
    letter-spacing: 2px;
    text-transform: uppercase;
}


/* 8. TITRES ET TEXTES */

h2 {
    color: var(--plum);

    font-size: clamp(2rem, 4vw, 3rem);
    font-style: italic;
    font-weight: normal;
    line-height: 1.2;

    margin: 0 0 18px;
}

.intro-text {
    max-width: 570px;
    margin: 0 auto 12px;

    font-size: 1.06rem;
}


/* 9. BOUTON RESEAUX SOCIAUX */

.actions {
    display: flex;
    justify-content: center;

    margin-top: 24px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 50px;
    padding: 12px 28px;

    background-color: var(--plum);
    color: var(--ivory);

    border: 1px solid var(--gold);
    border-radius: 3px;

    text-decoration: none;

    transition: background-color 0.25s ease;
}

.button:hover {
    background-color: #59334e;
}

.button:focus-visible {
    outline: 2px solid var(--plum);
    outline-offset: 5px;
}


/* 10. PIED DE PAGE */

.footer {
    padding: 15px 20px;

    text-align: center;
    color: var(--copper);
    font-size: 0.85rem;
}

.footer p {
    margin: 0;
}


/* 11. VERSION MOBILE */

@media (max-width: 720px) {

    main {
        padding: 20px 12px;
    }

    .intro {
        padding: 24px 10px;
    }

    .construction-status {
        padding: 10px 12px;
        letter-spacing: 1px;
    }

    .intro-text {
        font-size: 1rem;
    }

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

    .footer {
        font-size: 0.75rem;
    }

}
