* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html,
body {
    width: 100%;
    min-height: 100%;
}


body {
    font-family: Georgia, "Times New Roman", serif;
    background: #111;
    color: white;
}


/* =========================================================
   PAGE D'ACCUEIL
========================================================= */

.home {
    position: relative;

    width: 100%;
    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 24px;

    background-image: url("../images/fond-mariage.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    overflow: hidden;
}


/* =========================================================
   OVERLAY SOMBRE
========================================================= */

.home-overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            to bottom,
            rgba(18, 12, 10, 0.35),
            rgba(18, 12, 10, 0.58)
        );

    z-index: 1;
}


/* =========================================================
   CONTENU PRINCIPAL
========================================================= */

.hero {
    position: relative;

    z-index: 2;

    width: 100%;
    max-width: 760px;

    text-align: center;
}


/* =========================================================
   DATE
========================================================= */

.wedding-date {
    margin-bottom: 14px;

    font-size: 0.8rem;
    font-weight: 600;

    letter-spacing: 0.35rem;

    color: rgba(255, 255, 255, 0.9);
}


/* =========================================================
   TITRE
========================================================= */

.hero h1 {
    margin-bottom: 12px;

    font-size: clamp(
        3rem,
        7vw,
        5.3rem
    );

    font-weight: 400;

    line-height: 1.05;

    color: #fff;
}


.hero h1 span {
    margin: 0 10px;

    font-weight: 400;
    font-style: italic;

    color: #f3d4d4;
}


/* =========================================================
   SOUS-TITRE
========================================================= */

.hero-subtitle {
    margin-bottom: 48px;

    font-size: 1.4rem;

    color: rgba(255, 255, 255, 0.94);
}


/* =========================================================
   GRILLE DES BOUTONS
========================================================= */

.menu-grid {
    width: 100%;

    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 16px;
}


/* =========================================================
   CARTES
========================================================= */

.menu-card {
    min-height: 165px;

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    gap: 16px;

    padding: 26px 20px;

    border:
        1px solid
        rgba(255, 255, 255, 0.5);

    border-radius: 18px;

    background:
        linear-gradient(
            145deg,
            rgba(105, 61, 61, 0.78),
            rgba(70, 47, 42, 0.72)
        );

    backdrop-filter: blur(9px);
    -webkit-backdrop-filter: blur(9px);

    color: white;

    text-decoration: none;

    box-shadow:
        0 8px 28px
        rgba(0, 0, 0, 0.26);

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease;
}


/* =========================================================
   GALERIE = LARGEUR TOTALE
========================================================= */

.menu-card-gallery {
    grid-column: 1 / -1;

    min-height: 205px;
}


/* =========================================================
   SURVOL
========================================================= */

.menu-card:hover {
    transform: translateY(-4px);

    background:
        linear-gradient(
            145deg,
            rgba(122, 71, 71, 0.88),
            rgba(81, 53, 48, 0.82)
        );

    box-shadow:
        0 14px 34px
        rgba(0, 0, 0, 0.34);
}


/* =========================================================
   ICÔNES
========================================================= */

.menu-icon {
    width: 44px;
    height: 44px;

    display: flex;

    align-items: center;
    justify-content: center;

    border:
        1px solid
        rgba(255, 255, 255, 0.7);

    border-radius: 50%;

    font-family: Arial, sans-serif;

    font-size: 1.65rem;

    color: #fff;
}


/* =========================================================
   TITRES DES CARTES
========================================================= */

.menu-content h2 {
    margin-bottom: 8px;

    font-size: 2rem;

    font-weight: 400;

    line-height: 1.1;
}


/* =========================================================
   DESCRIPTIONS
========================================================= */

.menu-content p {
    max-width: 330px;

    margin: 0 auto;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: 0.83rem;

    line-height: 1.4;

    color:
        rgba(255, 255, 255, 0.88);
}


/* =========================================================
   TABLETTE
========================================================= */

@media (max-width: 800px) {

    .hero {
        max-width: 680px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .home {
        min-height: 100dvh;

        align-items: flex-start;

        padding:
            34px 12px
            26px;
    }


    .hero {
        max-width: 100%;
    }


    .wedding-date {
        margin-bottom: 12px;

        font-size: 0.66rem;

        letter-spacing: 0.23rem;
    }


    .hero h1 {
        margin-bottom: 10px;

        font-size:
            clamp(
                2.4rem,
                11vw,
                3.7rem
            );
    }


    .hero h1 span {
        margin: 0 5px;
    }


    .hero-subtitle {
        margin-bottom: 30px;

        font-size: 1.05rem;
    }


    .menu-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 10px;
    }


    .menu-card {
        min-height: 155px;

        padding:
            20px 10px;

        border-radius: 16px;

        gap: 13px;
    }


    .menu-card-gallery {
        grid-column: 1 / -1;

        min-height: 165px;
    }


    .menu-icon {
        width: 42px;
        height: 42px;

        font-size: 1.45rem;
    }


    .menu-content h2 {
        font-size: 1.45rem;
    }


    .menu-content p {
        font-size: 0.76rem;

        line-height: 1.35;
    }

}


/* =========================================================
   PETITS TÉLÉPHONES
========================================================= */

@media (max-width: 390px) {

    .home {
        padding-left: 8px;
        padding-right: 8px;
    }


    .menu-grid {
        gap: 8px;
    }


    .menu-card {
        padding:
            18px 7px;
    }


    .menu-content h2 {
        font-size: 1.25rem;
    }


    .menu-content p {
        font-size: 0.7rem;
    }

}