﻿/* V6.9 - Interface compacte et defilement vertical */

html {
    width: 100%;
    min-height: 100%;
    overflow-x: clip;
    overflow-y: auto;
}

body {
    width: 100%;
    min-height: 100vh;
    margin: 0;
    display: flex;
    flex-direction: column;
    overflow-x: clip;
}

main#app {
    box-sizing: border-box;
    width: 100%;
    max-width: 1050px;
    min-width: 0;
    min-height: calc(100vh + 100px);
    margin: 0 auto;
    padding: 12px 16px 20px;
    flex: 0 0 auto;
}

.cards {
    width: 100%;
    max-width: 790px;
    min-width: 0;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.site-card {
    width: 100%;
    min-width: 0;
    max-width: 385px;
}

.card-image {
    height: 105px;
}

.feature-strip {
    width: 100%;
    max-width: 790px;
    margin: 18px auto 0;
}

footer {
    position: relative;
    flex: 0 0 auto;
    margin-top: 0;
    margin-bottom: 8px;
}

@media (max-width: 699px) {
    .cards {/* V6.11 - Nouveau decor du palais */

body {
    background-image:
        linear-gradient(
            rgba(28, 12, 6, 0.30),
            rgba(28, 12, 6, 0.30)
        ),
        url('/assets/palais-fond.webp') !important;

    background-position: center top !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-attachment: fixed !important;
}
        grid-template-columns: 1fr;
    }

    .site-card {
        max-width: 100%;
    }

    main#app {
        min-height: calc(100vh + 100px);
    }
}
