.intro {
    height: 39vh;
    background-image: url("../img/petit-renard/tapis.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    padding: 20px 5%;
    color: white;
}

#grande-ourse {
    background-image: url("../img/grande-ourse/porte.JPG");
}

#cassiope {
    background-image: url("../img/cassiope/salon-jardin.jpeg");
}

.texte {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.infos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin: 50px 5% 20px 5%;
}

.image img {
    width: 100%;
}

.texte p {
    margin-top: 20px;
    color: var(--really-really-dark-purple);
}

.blocs {
    margin: 0 5%;
    display: flex;
    gap: 16px;
}

.blocs div {
    background-color: white;
    padding: 20px;
    width: 20%;
}

.blocs p {
    color: var(--really-really-dark-purple);
}

.photos {
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    display: grid;
    margin: 50px 5%;
}

/* Conteneur de la galerie */
.gallery {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(auto-fit,
    minmax(200px, 1fr));
    padding: 8px;
}

/* Images dans la galerie */
.gallery img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;

}

.details {
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: var(--really-really-dark-purple);
}

.image-petite {
    object-fit: cover;
    aspect-ratio: 5 / 4;
}

.image-grande {
    object-fit: cover;
    aspect-ratio: 5 / 4;
}


.image-grid {
    display: grid;
    grid-template-rows: 2fr 1fr;
    width: 100%;
    gap: 20px;
}

.image-grid-2 {
    display: grid;
    grid-template-rows: 1fr 2fr;
    width: 100%;
    gap: 20px;
}

.image-grid img, .image-grid-2 img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.petit-renard {
    display: flex;
    gap: 50px;
}

.images {
    display: flex;
    gap: 20px;
    width: 50%;
}

.content {
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 20px;
    color: var(--really-really-dark-purple);
    width: 50%;
    justify-content: flex-start;
    align-items: flex-start;
}

.flex {
    margin: 10px 0;
    display: flex;
    gap: 10px;
}







/* Style de base pour le conteneur */
.tabs {
    margin: 20px auto;
}

.tab-list {
    justify-content: center;
    display: flex;
    padding-left: 0;
    list-style: none;
    margin: 0;
}
.tab {
    padding: 10px 20px;
    cursor: pointer;
    border: none;
    margin-right: 2px;
    user-select: none;
}
.tab.active {
    border-bottom: 2px solid var(--light-purple);
    background: #fff;
    font-weight: bold;
}
/* Contenus d'onglet */
.tab-content {
    padding: 50px 15%;
    display: none;
}
.tab-content.active {
    display: block;
}




.dot-list {
    list-style: none;
    padding-left: 0;
}
/* Ajoute un point avant chaque li */
.dot-list li {
    position: relative;
    padding-left: 1.2em; /* espace pour le point */
    margin-bottom: 0.5em;
}
.dot-list li::before {
    content: '•';        /* caractère « point » */
    position: absolute;
    left: 0;
    top: 0;
    line-height: 1;      /* pour centrer verticalement */
    font-size: 1.2em;    /* ajustez la taille si besoin */
    color: #333;         /* couleur du point */
}


@media (max-width: 768px) {
    .infos {
        grid-template-columns: 1fr;
    }

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

    .petit-renard {
        width: 100%;
        flex-direction: column;
    }

    .content, .images {
        width: 100%;
    }
}