/*
 * Styles spécifiques pour la page "Découvrir".
 * Cette feuille s'appuie sur la palette et les composants définis dans
 * le fichier global style.css. Elle met en forme la biographie de
 * Véronique ainsi que les descriptions détaillées des thérapies.
 */

/* Ajuste la marge du corps pour compenser la barre de navigation fixe */
main {
    margin-top: 80px;
}

/* Grille biographie */
.biography-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
    padding: 4rem 0;
}

.bio-image {
    flex: 1 1 35%;
    text-align: center;
    display: none;
}

.bio-image img {
    width: 100%;
    max-width: 350px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 12px var(--shadow);
}

.bio-content {
    flex: 1 1 60%;
}

.bio-content h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.bio-content p {
    margin-bottom: 1rem;
    color: #444;
    line-height: 1.6;
    background-color: var(--white);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px var(--shadow);
}

/* Sections de thérapie */
.therapy-section {
    padding: 4rem 0;
}

/* Alterner la couleur de fond entre blanc et clair pour distinguer les sections */
.therapy-section:nth-of-type(even) {
    background-color: var(--light-bg);
}

.therapy-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.therapy-section h3 {
    font-size: 1.4rem;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    color: var(--primary);
}

.therapy-section p {
    margin-bottom: 1rem;
    font-size: 1rem;
    color: #444;
    line-height: 1.6;
}

.therapy-section ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
    color: #444;
}

/* Nuage de mots (tags) */
.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
    text-align: center;
}

.tags span {
    background-color: var(--primary);
    color: var(--white);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    white-space: nowrap;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.tags span:hover {
    background-color: var(--accent);
    transform: scale(1.05);
}

/* Responsive */
@media (max-width: 768px) {
    .biography-grid {
        flex-direction: column;
        text-align: center;
    }
    .bio-image, .bio-content {
        flex: 1 1 100%;
    }
    .bio-image img {
        max-width: 200px;
        margin: 0 auto 1rem;
    }
    .bio-content h1 {
        font-size: 1.6rem;
    }
    .therapy-section h2 {
        font-size: 1.6rem;
    }
    .therapy-section h3 {
        font-size: 1.3rem;
    }
}