/* ========================================= */
/* PAGE PROJETS                              */
/* ========================================= */

h1 {
    font-family: Bethany_Elingston, serif;
    text-align: center;
    font-weight: 500;
    font-size: 48px;
    margin-top: 48px;
    margin-bottom: 24px;
}

.grille-projets {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    padding: 0 64px;
    margin-bottom: 64px;
}

.projet-box {
    background-color: #90B7BF;
    aspect-ratio: 16 / 9;
    border-radius: 8px;
}

/* ========================================= */
/* TAGS (FILTRES PROJETS)                    */
/* ========================================= */

.tags-container {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 64px;
}

.tag {
    background-color: transparent;
    border: 1px solid #000;
    border-radius: 100px;
    padding: 8px 40px;
    color: #000;
    font-family: 'Urbanist', sans-serif;
    font-size: 22px;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Le tag s'allume au survol OU s'il possède la classe .actif (quand on a cliqué) */
.tag:hover, .tag.actif {
    background-color: #000;
    color: #F1F1E9;
}

/* ========================================= */
/* PAGE DESIGN COMPOSANTS SPECIFIQUES        */
/* ========================================= */

/* Conteneur Mockup 4:3 Pleine Largeur */
.design-mockup-wrapper {
    width: 100%;
    margin-bottom: 64px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.design-mockup-wrapper img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3; /* Impose le format 4:3 */
    object-fit: cover;   /* Recadre proprement sans déformer */
}

/* Zone Flex 2 colonnes : Visuel A3 à gauche, texte à droite */
.design-a3-section {
    display: flex;
    gap: 48px;
    align-items: flex-start;
    margin-bottom: 64px;
}

.design-a3-visuel {
    flex: 4; /* Colonne plus étroite adaptée à un visuel vertical */
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.design-a3-visuel img {
    display: block;
    width: 100%;
    aspect-ratio: 297 / 420; /* Proportions exactes du format A3 portrait (1:√2) */
    object-fit: cover;
}

.design-a3-textes {
    flex: 6; /* Zone de texte plus large */
}

.design-a3-textes h2 {
    font-family: 'Urbanist', sans-serif;
    color: #0A332F;
    margin-top: 0;
    margin-bottom: 16px;
}

.design-a3-textes p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #333;
    margin-bottom: 16px;
}

/* Version mobile */
@media (max-width: 900px) {
    .design-a3-section {
        flex-direction: column;
        gap: 32px;
    }
    .design-a3-visuel {
        width: 100%;
        max-width: 400px; /* Évite qu'un format vertical ne prenne trop de place en hauteur sur mobile */
        margin: 0 auto;
    }
}