/* ==== Mise en page générale ==== */
body {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: #333;
    line-height: 1.6;
    margin: 0 auto;
    max-width: 900px;
    padding: 20px;
    background-color: #fdfdfd;
}

/* ==== Titres ==== */
h1, h2, h3 {
    color: #2c3e50;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
}

h2.text-align-center {
    text-align: center;
    font-size: 1.8em;
    color: #2980b9;
}

/* ==== Paragraphes et listes ==== */
p, li {
    font-size: 1.1em;
    margin-bottom: 1em;
}

/* ==== Blockquotes ==== */
blockquote {
    border-left: 4px solid #7f8c8d;
    padding-left: 15px;
    color: #555;
    font-style: italic;
    background-color: #f5f5f5;
    margin: 1em 0;
}

/* ==== Images ==== */
img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 20px auto;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* ==== Boutons click-roll ==== */
button.click-roll__toggle {
    background-color: #3498db;
    color: #fff;
    border: none;
    padding: 12px 18px;
    font-size: 1.1em;
    border-radius: 6px;
    cursor: pointer;
    margin: 10px 0;
    width: 100%;
    text-align: left;
    transition: background-color 0.3s ease;
}

button.click-roll__toggle:hover {
    background-color: #2980b9;
}

/* ==== Contenu déroulant ==== */
.click-roll__block {
    display: none; /* caché par défaut */
    margin-left: 10px;
    border-left: 3px solid #3498db;
    padding-left: 15px;
    background-color: #f9f9f9;
    border-radius: 4px;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
    animation: fadeIn 0.3s ease-in-out;
}

/* ==== Animation d’apparition ==== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ==== Liens ==== */
a {
    color: #3498db;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* ==== Citations en bas de section ==== */
.ce-bodytext p.text-align-center {
    text-align: center;
    font-size: 1em;
    color: #7f8c8d;
    margin-top: 1em;
}

hr {
    border: none;
    border-top: 1px solid #ccc;
    margin: 20px 0;
}

/* ==== Bloc contact corrigé ==== */
.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background-color: #f0f4f8;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 15px;
    margin: 30px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    flex-wrap: nowrap; /* évite le passage en colonne */
}

.contact-photo img {
    width: 120px; /* réduit la largeur de la photo */
    height: 120px; /* réduit la hauteur de la photo */
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    flex-shrink: 0; /* empêche la photo de se réduire en flex */
}

.contact-info {
    flex: 1;
    min-width: 0; /* permet au texte de rester à droite même si l’espace est étroit */
}

.contact-info h2 {
    margin-top: 0;
    color: #2c3e50;
}

.contact-info p {
    margin: 0.5em 0;
    font-size: 1em;
    color: #34495e;
}

.contact-info a {
    color: #3498db;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* ==== Langue ==== */

.lang-switch {
    text-align: right;
    background-color: #3498db;
    color: #fff;
    padding: 8px 12px;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.lang-switch a {
    color: #fff;
    text-decoration: none;
    margin: 0 5px;
    font-weight: bold;
}

.lang-switch a:hover {
    text-decoration: underline;
}

