/* RESET SIMPLE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Arial", sans-serif;
    background: #f4f4f4;
    color: #222;
    line-height: 1.6;
}

/* CONTENEUR PRINCIPAL */
.cv-container {
    max-width: 1100px;
    margin: 40px auto;
    background: white;
    display: flex;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* SIDEBAR */
.cv-sidebar {
    width: 32%;
    background: #1e1e1e;
    color: white;
    padding: 30px;
}

.cv-sidebar h3 {
    margin: 20px 0 10px;
    font-size: 1.0rem;
    text-transform: uppercase;
}

.cv-sidebar p,
.cv-sidebar li {
    font-size: 0.85rem;
}

.cv-sidebar ul {
    list-style: none;
    padding-left: 0;
}

/* PHOTO */
.photo img {
    width: 100%;
    border-radius: 6px;
    margin-bottom: 20px;
}

/* CONTENU PRINCIPAL */
.cv-content {
    width: 68%;
    padding: 40px;
}

header h1 {
    font-size: 1.75rem;
}

header h1 span {
    font-weight: 300;
}

header h2 {
    color: #666;
    margin-bottom: 30px;
}

.cv-content section {
    margin-bottom: 30px;
}

.cv-content h3 {
    margin-bottom: 10px;
    font-size: 1.1rem;
    border-bottom: 2px solid #ddd;
    padding-bottom: 5px;
}

.casting-info ul {
    padding-left: 20px;
}

.casting-info li {
    margin-bottom: 6px;
}


/* GALERIE */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.gallery-grid img {
    width: 100%;
    border-radius: 5px;
}

figcaption {
    text-align: center;
    font-size: 0.85rem;
    margin-top: 5px;
}

/* ========================= */
/* TABLETTE */
/* ========================= */
@media (max-width: 900px) {

    .cv-container {
        flex-direction: column;
        margin: 0;
    }

    .cv-sidebar,
    .cv-content {
        width: 100%;
    }

    .cv-sidebar {
        text-align: center;
    }

    .photo img {
        max-width: 220px;
        margin: 0 auto 20px;
        display: block;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ========================= */
/* MOBILE */
/* ========================= */
@media (max-width: 500px) {

    body {
        font-size: 0.90rem;
    }

    header h1 {
        font-size: 1.75rem;
    }

    header h2 {
        font-size: 1.1rem;
    }

    .cv-content {
        padding: 25px;
    }

    .cv-sidebar {
        padding: 25px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }
}
