/* --- CONFIGURATION GLOBALE --- */
body {
    font-family: 'Space Grotesque', sans-serif;
    background-color: white;
    color: black;
    -webkit-print-color-adjust: exact; /* Force l'impression des couleurs de fond */
    print-color-adjust: exact;
}

h1, h2, h3 {
    text-transform: uppercase;
    font-weight: 900;
}

/* --- TYPOGRAPHIE HERO (Style Index) --- */
.hero-title {
    font-size: 5rem; /* Taille fixe adaptée au format A4 */
    line-height: 0.85;
    text-transform: uppercase;
    font-weight: 900;
    letter-spacing: -0.04em;
    margin-bottom: 2rem;
}

.hero-subtitle {
    font-size: 2.5rem; /* Taille fixe adaptée au format A4 */
    line-height: 0.85;
    text-transform: uppercase;
    font-weight: 900;
    letter-spacing: -0.04em;
    margin-bottom: 2rem;
}

.outline-text {
    -webkit-text-stroke: 2px black;
    color: transparent;
}

.text-accent {
    color: #c2712f;
}

/* --- CONFIGURATION IMPRESSION (A4) --- */
@page {
    size: A4;
    margin: 0;
}

@media print {
    .no-print { display: none !important; }
    body { margin: 0; }
    .page {
        width: 210mm;
        height: 297mm;
        page-break-after: always;
        position: relative;
        overflow: hidden;
        border-bottom: 4px solid black; /* Délimitation visuelle */
    }
    /* Suppression des marges auto des navigateurs */
    html, body { height: 100%; }
}

/* --- STYLES ÉCRAN (Prévisualisation) --- */
@media screen {
    body { 
        background-color: #555; 
        padding: 20px 0;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .page {
        background: white;
        width: 210mm;
        height: 297mm;
        margin-bottom: 20px;
        box-shadow: 0 0 15px rgba(0,0,0,0.5);
        position: relative;
        overflow: hidden;
        flex-shrink: 0;
    }
}

/* --- RESPONSIVE MOBILE (Scale down) --- */
@media screen and (max-width: 820px) {
    .page {
        transform-origin: top center;
        transform: scale(calc((100vw - 20px) / 794)); /* 794px approx 210mm */
        margin-bottom: calc(-297mm * (1 - ((100vw - 20px) / 794)) + 20px);
    }

    /* Fix Mobile : Outline Text -> Texte plein pour lisibilité */
    .outline-text {
        -webkit-text-stroke: 0;
        color: black;
    }
}

/* --- COMPOSANTS GRAPHIQUES --- */
.border-thick { border: 4px solid black; }
.bg-orange { background-color: #c2712f; color: white; }
.text-orange { color: #c2712f; }

.brand-header {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-bottom: 4px solid black;
    padding: 2rem;
    height: 150px;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: calc(100% - 150px); /* Reste de la page */
}

.left-col {
    border-right: 4px solid black;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.right-col {
    display: grid;
    grid-template-rows: 1fr 1fr;
}

.feature-box {
    border-top: 4px solid black;
    padding: 1.5rem;
}

.img-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
}