/* ==========================
   GOOGLE FONT
========================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&family=Playfair+Display:wght@700&display=swap');

/* ==========================
   RESET
========================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body {
    background: #faf7f2;
    color: #493e35;
    font-family: "Poppins", sans-serif;
    line-height: 1.9;
    overflow-x: hidden;
}

/* ==========================
   HERO
========================== */

.hero{

    height:100vh;

    background:
    linear-gradient(rgba(107, 0, 107, 0.55),
    rgba(254, 214, 255, 0.55)),
    url("images/header.jpg");

    background-size:cover;

    background-position:center;

    display:flex;

    justify-content:center;

    align-items:center;

    text-align:center;

    color:white;

}

.hero-content{

    width:90%;

    max-width:900px;

    animation:fade 1.5s;

}

.hero h1{

    font-family: Georgia, serif;

    font-size:70px;

    margin-bottom:20px;

}

.hero p{

    font-size:24px;

    opacity:.9;

    margin-bottom:40px;

}

.btn{

    display:inline-block;

    text-decoration:none;

    color:white;

    border:2px solid white;

    padding:18px 45px;

    border-radius:60px;

    transition:.4s;

    font-weight:600;

}

.btn:hover{

    background:white;

    color:#333;

    transform:translateY(-3px);

}

/* ==========================
   ARTICLE
========================== */

main{

    width:90%;

    max-width:900px;

    margin:auto;

    padding:90px 0;

}

section{

    margin-bottom:110px;

}

section h2{

    font-family:"Playfair Display";

    font-size: 34px;


    color:#3d3d3d;

    margin-bottom:35px;

    position:relative;

}

section h2::after{

    content:"";

    position:absolute;

    bottom:-12px;

    left:0;

    width:90px;

    height:4px;

    border-radius:20px;

    background:#c98fa2;

}

section p{

    margin-bottom:28px;

    font-size:18px;

}

ul{

    margin:35px;

}

li{

    margin-bottom:18px;

    font-size:18px;

}.instagram{
    display:inline-flex;
    align-items:center;
    justify-content:center;

    background:#E1306C;
    color:white;
    text-decoration:none;

    padding:16px 35px;
    border-radius:50px;

    font-weight:600;
    font-size:18px;

    transition:.3s;
}

.instagram:hover{
    background:#c6285c;
    transform:translateY(-3px);
    box-shadow:0 10px 25px rgba(225,48,108,.35);
}/* EN-TÊTE DE LA PAGE HISTOIRE */
/* Logo Instagram */
.instagram-logo {
    width: 23px;
    height: 23px;
    display: inline-block;
    vertical-align: middle;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    margin-right: 10px;
}
.header {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 30px 20px;
    box-sizing: border-box;
    gap: 25px;
}


/* ===== BANNIERE FLEURIE ===== */

.banner {
    width: 90%;
    max-width: 1100px;
    height: 190px;
    margin: 25px auto 0;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 25px;

 background: linear-gradient(
    120deg,
    #49303f,
    #382333,
    #49303f
) !important;
}

/* CONTENU */

.banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 20px;
}

.banner-signature {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #f4c3d3;
    font-family: 'Poppins', sans-serif;
    font-size: 10px;
    letter-spacing: 3px;
    margin-bottom: 13px;
}

.banner-signature span {
    width: 40px;
    height: 1px;
    background: #e9b1c5;
}

.banner-content h1 {
    color: #f5a9c3;
    font-family: 'Playfair Display', serif;
    font-size: 34px;
    margin: 0 0 10px;
}

.banner-content p {
    color: #f8dce5;
    font-family: 'Poppins', sans-serif;
    font-size: 11px;
    margin: 0;
}

/* PETITES FLEURS ANIMEES */

.banner-flower {
    position: absolute;
    color: #d77c9f;
    font-size: 24px;
    opacity: 0.9;
    animation: flowerFloat 4s ease-in-out infinite;
}

.flower-one {
    top: 12px;
    left: 9%;
}

.flower-two {
    top: 35px;
    right: 7%;
    font-size: 30px;
    animation-delay: 1s;
}

.flower-three {
    bottom: 42px;
    left: 3%;
    font-size: 22px;
    animation-delay: 2s;
}

.flower-four {
    bottom: 15px;
    right: 8%;
    font-size: 23px;
    animation-delay: 0.5s;
}

@keyframes flowerFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-8px) rotate(12deg);
    }
}

/* TELEPHONE */

@media (max-width: 600px) {
    .banner {
        width: 94%;
        height: 170px;
    }

    .banner-content h1 {
        font-size: 24px;
    }

    .banner-content p {
        font-size: 10px;
    }

    .banner-signature {
        font-size: 8px;
        letter-spacing: 2px;
    }
}


.header nav {
    display: flex;
    justify-content: center;
    gap: 25px;
}

.header nav a {
    text-decoration: none;
    color: #bd718f;
    background: #f8d5e5;
    padding: 12px 28px;
    border-radius: 30px;
    transition: 0.3s;
}

.header nav a:hover {
    background: #e9a9c7;
    color: white;
}
/* ===== IDENTITE ROSE ===== */

body {
    background-color: #fff5f8;
    color: #59434b;
}

.header {
    background-color: #fffafd;
    border-bottom: 1px solid #f3d6e0;
}

.header h1 {
    color: #bd718d;
}

.header nav a:hover {
    color: #d77f9d;
}

.introduction {
    background: linear-gradient(135deg, #fce8ef, #f8d8e4);
}

.introduction h2 {
    color: #b96884;
}

.temoignage section {
    background: #fffafd;
    border: 1px solid #f3dce5;
    box-shadow: 0 8px 25px rgba(190, 110, 140, 0.07);
    border-radius: 12px;
    padding: 35px;
    margin-bottom: 35px;
}

.temoignage section h2 {
    color: #bd718d;
}

.temoignage blockquote {
    background: #fce8ef;
    border-left: 4px solid #d77f9d;
    color: #a65372;
    padding: 25px;
}

/* ===== PLUS DE ROSE ET DE RELIEF ===== */

body {
    background:
        linear-gradient(135deg, #fce8ef, #f8e0e9, #fff0f5);
}

/* Introduction */

.introduction {
    background: linear-gradient(135deg, #f5cbd9, #fce5ed);
    padding: 100px 30px;
    border-radius: 0 0 80px 80px;
    box-shadow: 0 10px 30px rgba(190, 110, 140, 0.12);
}

/* Chapitres */

.temoignage section {
    background: #fff0f5;
    border: 1px solid #f1cbd9;
    border-radius: 20px;
    padding: 45px;
    margin-bottom: 45px;
    box-shadow: 0 12px 30px rgba(190, 110, 140, 0.10);
}

/* Titres */

.temoignage section h2 {
    color: #b45d7c;
    font-size: 30px;
}

/* Citations */

.temoignage blockquote {
    background: #f5cbd9;
    border-left: 6px solid #c66e8d;
    border-radius: 0 20px 20px 0;
    padding: 35px;
    color: #914b67;
    font-size: 25px;
}

/* Paragraphes */

.temoignage section p {
    line-height: 2;
    font-size: 16px;
}
.banner {
    width: 75%;
    max-width: 1000px;
    margin: 25px auto;
}

.banner img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 25px;
}.bouton-histoire {
    display: inline-block;
    padding: 16px 45px;
    border: 2px solid white;
    border-radius: 40px;
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: 0.3s;
}

.bouton-histoire:hover {
    background: white;
    color: #bd79b8;
}
/* PAGE COMPRENDRE ET AVANCER */

.page-intro,
.avertissement,
.rubrique,
.ressources-payantes {
    width: 85%;
    max-width: 900px;
    margin: 45px auto;
    padding: 45px;
    box-sizing: border-box;
    background: #fff0f5;
    border: 1px solid #f3c7d8;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(190, 100, 140, 0.08);
}

/* TITRES */

.page-intro h1,
.avertissement h2,
.rubrique h2,
.ressources-payantes h2 {
    color: #bd6687;
    font-family: Georgia, serif;
    font-size: 30px;
    margin-top: 0;
    margin-bottom: 35px;
}

.avertissement h2::after,
.rubrique h2::after,
.ressources-payantes h2::after {
    content: "";
    display: block;
    width: 90px;
    height: 4px;
    background: #d18ba5;
    border-radius: 10px;
    margin-top: 16px;
}

/* SOUS-TITRES */

.rubrique h3 {
    color: #bd6687;
    font-family: Georgia, serif;
    font-size: 22px;
    margin-top: 30px;
}

/* TEXTES */

.page-intro p,
.avertissement p,
.rubrique p,
.ressources-payantes p,
.rubrique li {
    color: #493a46;
    font-size: 16px;
    line-height: 2;
}

/* LISTES */

.rubrique ul {
    padding-left: 25px;
}

.rubrique li {
    margin-bottom: 8px;
}

/* MOBILE */

@media (max-width: 600px) {
    .page-intro,
    .avertissement,
    .rubrique,
    .ressources-payantes {
        width: 92%;
        padding: 25px;
        margin: 25px auto;
    }

    .page-intro h1,
    .avertissement h2,
    .rubrique h2,
    .ressources-payantes h2 {
        font-size: 25px;
    }
}

/* BOUTONS DECOUVRIR */

.bouton-rubrique {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 25px;
    padding: 14px 32px;
    background: linear-gradient(135deg, #d88eae, #bd6687);
    color: white;
    border: 1px solid #d18ba5;
    border-radius: 35px;
    text-decoration: none;
    font-family: Georgia, serif;
    font-size: 16px;
    letter-spacing: 0.3px;
    box-shadow: 0 5px 15px rgba(189, 102, 135, 0.18);
    transition: all 0.3s ease;
}

.bouton-rubrique:hover {
    background: #fff0f5;
    color: #bd6687;
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(189, 102, 135, 0.2);
}
.bouton-rubrique {
    padding: 9px 22px;
    font-size: 13px;
    border-radius: 25px;
    margin-top: 15px;
    box-shadow: 0 3px 8px rgba(189, 102, 135, 0.12);
}
/* ESPACE COMMUNAUTE */

.communaute {
    width: 90%;
    max-width: 850px;
    margin: 45px auto;
}

.publication-form,
.fil-actualite {
    background: #fff0f5;
    border: 1px solid #f3c7d8;
    border-radius: 22px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 8px 25px rgba(190, 100, 140, 0.08);
}

.publication-form h2,
.fil-actualite h2 {
    color: #bd6687;
    font-family: Georgia, serif;
    font-size: 25px;
    margin-top: 0;
    margin-bottom: 22px;
}

#form-temoignage input,
#form-temoignage textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 15px;
    margin-bottom: 15px;
    border: 1px solid #edc7d7;
    border-radius: 13px;
    background: #fff9fb;
    font-family: inherit;
    font-size: 15px;
    outline: none;
}

#form-temoignage textarea {
    min-height: 130px;
    resize: vertical;
}

#form-temoignage input:focus,
#form-temoignage textarea:focus {
    border-color: #bd6687;
}

.publication-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.publication-actions span {
    color: #94677b;
    font-size: 13px;
}

.post {
    background: #fff9fb;
    border: 1px solid #f0ccdc;
    border-radius: 18px;
    padding: 22px;
    margin-bottom: 20px;
}

.post-entete {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.avatar {
    width: 43px;
    height: 43px;
    border-radius: 50%;
    background: #f5d4e3;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 21px;
}

.post-entete strong {
    color: #bd6687;
}

.post-entete p {
    margin: 4px 0 0;
    font-size: 12px;
    color: #a38b98;
}

.post-texte {
    line-height: 1.8;
    color: #493a46;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.post-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    border-top: 1px solid #f0d5e1;
    padding-top: 15px;
    margin-top: 15px;
}

.post-actions button {
    background: #f9e3ed;
    color: #ad6381;
    border: none;
    border-radius: 25px;
    padding: 9px 16px;
    cursor: pointer;
}

.post-actions button:disabled {
    opacity: 0.65;
    cursor: default;
}

@media (max-width: 600px) {
    .communaute {
        width: 94%;
    }

    .publication-form,
    .fil-actualite {
        padding: 20px;
    }
}

/* AMELIORATION DU FIL D'ACTUALITE */

.communaute {
    max-width: 850px;
    margin: 45px auto;
}

.publication-form,
.fil-actualite {
    background: #fff0f5;
    border: 1px solid #f3c7d8;
    border-radius: 22px;
    padding: 35px;
    margin-bottom: 35px;
    box-shadow: 0 10px 25px rgba(190, 100, 140, 0.08);
}

#form-temoignage input:not([type="checkbox"]),
#form-temoignage textarea {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 15px 18px;
    border-radius: 14px;
    border: 1px solid #edc7d7;
    background: #fffafd;
    font-family: inherit;
    font-size: 15px;
    margin-bottom: 18px;
}

#form-temoignage textarea {
    min-height: 150px;
}

#liste-temoignages .post {
    background: #fffafd;
    border: 1px solid #f0ccdc;
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 6px 18px rgba(190, 100, 140, 0.07);
}

.post-entete {
    display: flex;
    align-items: center;
    gap: 12px;
}

.post-actions button {
    border: none;
    background: #f8dfeb;
    color: #ad6381;
    border-radius: 25px;
    padding: 10px 18px;
    transition: 0.3s;
}

.post-actions button:hover:not(:disabled) {
    background: #bd6687;
    color: white;
}

@media (max-width: 600px) {
    .communaute {
        width: 94%;
    }

    .publication-form,
    .fil-actualite {
        padding: 20px;
    }
}
/* ESPACE COMMENTAIRES */

.zone-commentaires {
    margin-top: 18px;
    padding-top: 15px;
    border-top: 1px solid #f3d0df;
}

.zone-commentaires button {
    border: none;
    background: #f8dce8;
    color: #b85f83;
    padding: 10px 18px;
    border-radius: 25px;
    cursor: pointer;
    font-family: inherit;
    transition: 0.2s;
}

.zone-commentaires button:hover {
    background: #edc1d4;
}

.zone-commentaires input,
.zone-commentaires textarea {
    display: block;
    width: 100%;
    box-sizing: border-box;
    margin-top: 10px;
    padding: 12px;
    border: 1px solid #edc5d6;
    border-radius: 12px;
    background: #fffafd;
    font-family: inherit;
}

.zone-commentaires textarea {
    min-height: 80px;
    resize: vertical;
}

.zone-commentaires p {
    background: #fff5f9;
    padding: 12px;
    border-radius: 12px;
    margin-top: 10px;
    color: #654653;
}.commentaire {
    background: #fff5f9;
    padding: 14px;
    border-radius: 14px;
    margin-top: 12px;
}

.interactions-commentaire {
    display: flex;
    gap: 10px;
    margin-top: 8px;
}

.interactions-commentaire button {
    border: none;
    background: #f8dce8;
    color: #b85f83;
    padding: 7px 13px;
    border-radius: 20px;
    cursor: pointer;
}

.reponses-commentaires {
    margin-left: 25px;
    padding-left: 12px;
    border-left: 2px solid #edc1d4;
}

.commentaire textarea {
    display: block;
    width: 100%;
    box-sizing: border-box;
    min-height: 65px;
    margin-top: 10px;
    padding: 10px;
    border: 1px solid #edc5d6;
    border-radius: 12px;
}/* Commentaires : style compact et élégant */

.commentaire {
    background: #fff8fb;
    padding: 9px 12px;
    border-radius: 10px;
    margin-top: 7px;
}

.commentaire strong {
    font-size: 13px;
    color: #a85e7c;
}

.commentaire p {
    margin: 4px 0;
    padding: 0;
    background: transparent;
    font-size: 13px;
    line-height: 1.5;
}

.interactions-commentaire {
    display: flex;
    gap: 14px;
    margin-top: 5px;
}

.interactions-commentaire button {
    padding: 3px 5px;
    font-size: 12px;
    background: transparent;
    color: #b66b89;
}

.reponses-commentaires {
    margin: 8px 0 0 15px;
    padding-left: 10px;
    border-left: 2px solid #efd2df;
}

.commentaire textarea {
    min-height: 55px;
    font-size: 13px;
    padding: 8px;
    margin-top: 7px;
}.lien-commentaires {
    background: none;
    border: none;
    color: #b87591;
    font-size: 13px;
    padding: 5px 0;
    cursor: pointer;
}

.lien-commentaires:hover {
    text-decoration: underline;
}.lien-commentaires {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    color: #999 !important;
    font-size: 12px !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 0 !important;
    cursor: pointer;
    font-weight: normal;
}

.lien-commentaires:hover {
    color: #777 !important;
    text-decoration: underline;
}.compteur-commentaires {
    display: block;
    margin-bottom: 5px;
}

.lien-commentaires {
    display: block;
    text-align: left;
}.zone-commentaires a {
    color: #999 !important;
    font-size: 12px;
    text-decoration: none !important;
    background: none !important;
    border: none !important;
    padding: 0;
    cursor: pointer;
}

.zone-commentaires a:hover {
    color: #777 !important;
    text-decoration: underline !important;
}.zone-commentaires .lien-commentaires {
    margin-bottom: 6px !important;
}/* Réduire le grand espace au-dessus de la communauté */
body:has(#liste-temoignages) main {
    padding-top: 40px !important;
    margin-top: 0 !important;
}

body:has(#liste-temoignages) main > section {
    margin-top: 0 !important;
}.bouton-communaute {
    display: inline-block;
    background: #f5cddd;
    color: #a94f75;
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 15px;
    margin-top: 15px;
    transition: 0.3s;
}

.bouton-communaute:hover {
    background: #eeb5cc;
    transform: translateY(-3px);
}/* Espacement des boutons de la page d'accueil */
.hero-content .bouton-histoire {
    margin: 0 5px;
}

.hero-content .bouton-communaute {
    margin: 0 5px;
    padding: 15px 20px;
}.contact-instagram {
    text-align: center;
    background: #fff0f5;
    border: 1px solid #f5c5d7;
    border-radius: 20px;
    padding: 25px;
    margin: 25px auto;
}

.contact-instagram h2 {
    color: #bd6689;
}

.contact-instagram p {
    color: #765365;
}

.contact-instagram a {
    display: inline-block;
    color: #a94f75;
    background: #f5cddd;
    padding: 12px 22px;
    border-radius: 25px;
    text-decoration: none;
    margin-top: 10px;
}footer {
    text-align: center;
    padding: 30px 20px;
    margin-top: 25px;
    color: #a85f7d;
    font-size: 13px;
    line-height: 1.8;
    background: transparent;
}

footer p {
    margin: 5px 0;
}

footer p:first-child {
    font-family: 'Playfair Display', serif;
    font-size: 17px;
    font-weight: bold;
    color: #bd6689;
}

footer p:last-child {
    font-style: italic;
    color: #98768a;
}/* Transition douce entre l'accueil et le contenu */
.hero {
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 160px;
    background: linear-gradient(
        to bottom,
        transparent,
        #fce8ef
    );
    pointer-events: none;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}.hero {
    position: relative;
}/* Flèche de défilement : centrée en bas du bandeau */
.hero {
    position: relative !important;
}

.scroll-indicator {
    position: absolute !important;
    left: 50% !important;
    right: auto !important;
    bottom: 25px !important;
    top: auto !important;
    transform: translateX(-50%) !important;

    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 5px !important;

    width: max-content !important;
    text-align: center !important;
    color: white !important;
    font-size: 13px !important;
    z-index: 10 !important;
}

.scroll-indicator a {
    color: white !important;
    font-size: 32px !important;
    text-decoration: none !important;
    animation: flecheDescend 1.5s infinite !important;
}

@keyframes flecheDescend {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(9px);
    }
}
/* =================================
   PAGE COMPRENDRE ET AVANCER
   MISE EN PAGE HARMONISEE
================================= */

body:has(.contenu) main.contenu {
    width: 90%;
    max-width: 900px;
    margin: 0 auto;
    padding: 65px 0 90px;
}

.contenu .article {
    width: 100%;
    margin: 0 auto;
}

/* TITRE PRINCIPAL */

.contenu .article h1 {
    font-family: "Playfair Display", serif;
    font-size: 36px;
    line-height: 1.4;
    color: #a95375;
    margin: 0 0 30px;
    font-weight: 700;
}

/* TITRES DES GRANDES PARTIES */

.contenu .article h2 {
    font-family: "Playfair Display", serif;
    font-size: 29px;
    line-height: 1.45;
    color: #a95375;
    margin: 65px 0 30px;
    position: relative;
}

/* PETIT SOULIGNEMENT ROSE */

.contenu .article h2::after {
    content: "";
    display: block;
    width: 75px;
    height: 4px;
    background: #d18ba5;
    border-radius: 10px;
    margin-top: 13px;
}

/* SOUS-TITRES */

.contenu .article h3 {
    font-family: "Playfair Display", serif;
    font-size: 22px;
    color: #b96884;
    margin: 38px 0 18px;
    line-height: 1.5;
}

/* PARAGRAPHES */

.contenu .article p {
    font-family: "Poppins", sans-serif;
    font-size: 16px;
    line-height: 2;
    color: #59434b;
    margin: 0 0 24px;
}

/* PHRASES IMPORTANTES */

.contenu .article strong {
    color: #a95375;
    font-weight: 600;
}

/* PREMIER TITRE SANS ESPACE EXCESSIF */

.contenu .article h1:first-child {
    margin-top: 0;
}

/* VERSION MOBILE */

@media (max-width: 600px) {

    body:has(.contenu) main.contenu {
        width: 90%;
        padding: 40px 0 60px;
    }

    .contenu .article h1 {
        font-size: 28px;
    }

    .contenu .article h2 {
        font-size: 25px;
        margin-top: 45px;
    }

    .contenu .article h3 {
        font-size: 20px;
        margin-top: 30px;
    }

    .contenu .article p {
        font-size: 15px;
        line-height: 1.9;
        margin-bottom: 20px;
    }
}

/* UNIFORMISER TOUS LES TITRES DE L'ARTICLE */

.contenu .article h1,
.contenu .article h2,
.contenu .article h3 {
    font-family: "Playfair Display", serif !important;
    color: #b45d7c !important;
    font-weight: 700;
    line-height: 1.4;
}

/* Titre principal */
.contenu .article h1 {
    font-size: 36px;
    margin-bottom: 30px;
}

/* Titres des parties */
.contenu .article h2 {
    font-size: 34px;
    margin-top: 55px;
    margin-bottom: 30px;
}

/* Sous-titres */
.contenu .article h3 {
    font-size: 27px;
    margin-top: 38px;
    margin-bottom: 20px;
}

/* Soulignement identique sous les h2 */
.contenu .article h2::after {
    content: "";
    display: block;
    width: 75px;
    height: 4px;
    background: #d18ba5;
    border-radius: 10px;
    margin-top: 13px;
}

@media (max-width: 600px) {
    .contenu .article h1 {
        font-size: 29px;
    }

    .contenu .article h2 {
        font-size: 27px;
    }

    .contenu .article h3 {
        font-size: 23px;
    }
}

/* ===== HARMONISATION FINALE DE L'ARTICLE ===== */

.contenu .article {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    text-align: left;
}

/* Tous les titres */

.contenu .article h1,
.contenu .article h2,
.contenu .article h3 {
    font-family: "Playfair Display", serif !important;
    color: #b45d7c !important;
    font-weight: 700;
    line-height: 1.4;
    text-align: left;
    position: relative;
}

/* Tailles des titres */

.contenu .article h1 {
    font-size: 36px;
    margin: 0 0 30px;
}

.contenu .article h2 {
    font-size: 32px;
    margin: 55px 0 25px;
}

.contenu .article h3 {
    font-size: 27px;
    margin: 38px 0 22px;
}

/* Même soulignement pour tous les titres */

.contenu .article h1::after,
.contenu .article h2::after,
.contenu .article h3::after {
    content: "";
    display: block;
    width: 75px;
    height: 4px;
    background: #d18ba5;
    border-radius: 10px;
    margin-top: 12px;
}

/* Alignement uniforme des paragraphes */

.contenu .article p {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 0 0 24px;
    padding: 0;
    text-align: left;
    font-family: "Poppins", sans-serif;
    font-size: 16px;
    line-height: 2;
    color: #59434b;
}

/* Version téléphone */

@media (max-width: 600px) {
    .contenu .article h1 { font-size: 29px; }
    .contenu .article h2 { font-size: 27px; }
    .contenu .article h3 { font-size: 23px; }
}

/* ======================================
   NOUVEL ACCUEIL - LA PEUR D'AVOIR PEUR
====================================== */

.accueil {
    width: 100%;
    overflow: hidden;
    color: #59434b;
}

/* INTRODUCTION */

.accueil-intro {
    position: relative;
    max-width: 1050px;
    margin: 35px auto 90px;
    padding: 85px 60px;
    text-align: center;
    background: linear-gradient(135deg, #f9dce7, #fff0f5, #f6d2e1);
    border-radius: 35px;
    box-shadow: 0 12px 35px rgba(190, 100, 140, .10);
    animation: arriveeDouce 1s ease;
}

.petit-titre {
    display: inline-block;
    color: #b96884;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
    margin-bottom: 20px;
}

.accueil-intro h1 {
    max-width: 800px;
    margin: auto auto 25px;
    font-family: "Playfair Display", serif;
    font-size: 43px;
    line-height: 1.35;
    color: #a95375;
}

.accueil-intro p {
    max-width: 680px;
    margin: 0 auto 30px;
    font-size: 17px;
    line-height: 2;
}

.petite-fleur {
    position: absolute;
    right: 45px;
    bottom: 15px;
    font-size: 55px;
    color: #d98eaa;
    opacity: .65;
    animation: fleurTourne 8s linear infinite;
}

/* SECTIONS */

.accueil-section {
    max-width: 1050px;
    margin: 0 auto 100px;
    padding: 0 25px;
    display: flex;
    align-items: center;
    gap: 65px;
}

.accueil-texte {
    flex: 1;
}

.accueil-texte h2,
.temoignages-accueil h2,
.accueil-fin h2 {
    font-family: "Playfair Display", serif;
    color: #b45d7c;
    font-size: 34px;
    line-height: 1.4;
    margin-bottom: 22px;
}

.accueil-texte p {
    font-size: 16px;
    line-height: 2;
    margin-bottom: 18px;
}

/* IMAGES DÉCORATIVES */

.accueil-image {
    flex: 1;
    min-height: 330px;
    border-radius: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 100px;
    color: #bd718d;
    transition: .4s ease;
}

.accueil-image:hover {
    transform: translateY(-8px) rotate(-1deg);
}

.histoire-image {
    background:
        radial-gradient(circle at 25% 25%, #fffafd, transparent 35%),
        linear-gradient(135deg, #f5cbd9, #fce8ef, #eebfd1);
}

.comprendre-image {
    background:
        radial-gradient(circle at 75% 30%, #fffafd, transparent 35%),
        linear-gradient(135deg, #fce8ef, #efc2d5, #f8dce8);
}

/* BOUTONS */

.accueil-bouton {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 28px;
    margin-top: 15px;
    background: linear-gradient(135deg, #d88eae, #bd6687);
    color: white;
    text-decoration: none;
    border-radius: 35px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 6px 18px rgba(189, 102, 135, .18);
    transition: .3s ease;
}

.accueil-bouton:hover {
    transform: translateY(-4px);
    background: #a95375;
    box-shadow: 0 10px 22px rgba(189, 102, 135, .25);
}

/* TÉMOIGNAGES */

.temoignages-accueil {
    max-width: 1050px;
    margin: 0 auto 90px;
    padding: 75px 50px;
    text-align: center;
    border-radius: 35px;
    background: linear-gradient(135deg, #fffafd, #f8dce8);
    border: 1px solid #f1cbd9;
    box-shadow: 0 10px 30px rgba(190, 100, 140, .08);
}

.temoignages-accueil p {
    max-width: 700px;
    margin: 0 auto 18px;
    line-height: 2;
    font-size: 16px;
}

.fleurs-decoration {
    margin-top: 35px;
    font-size: 30px;
    color: #d18ba5;
    letter-spacing: 8px;
}

/* MOT DE FIN */

.accueil-fin {
    padding: 75px 25px;
    text-align: center;
    background: linear-gradient(135deg, #f6d5e2, #fff0f5);
}

.accueil-fin p {
    line-height: 2;
    margin-bottom: 12px;
}

/* ANIMATIONS */

@keyframes arriveeDouce {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fleurTourne {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* MOBILE */

@media (max-width: 700px) {

    .accueil-intro {
        margin: 20px 15px 65px;
        padding: 55px 25px;
    }

    .accueil-intro h1 {
        font-size: 31px;
    }

    .accueil-intro p {
        font-size: 15px;
    }

    .accueil-section {
        flex-direction: column;
        gap: 30px;
        margin-bottom: 65px;
        padding: 0 22px;
    }

    .accueil-section .accueil-image {
        width: 100%;
        min-height: 230px;
    }

    .accueil-texte h2,
    .temoignages-accueil h2,
    .accueil-fin h2 {
        font-size: 27px;
    }

    .temoignages-accueil {
        margin: 0 15px 60px;
        padding: 50px 22px;
    }

    .petite-fleur {
        right: 20px;
        font-size: 35px;
    }
}

/* NAVIGATION ELEGANTE ET EDITORIALE */

.header nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
    flex-wrap: wrap;
}

.header nav a {
    position: relative;
    background: transparent !important;
    color: #a65d78 !important;
    padding: 10px 0 !important;
    border-radius: 0 !important;
    text-decoration: none;
    font-family: "Playfair Display", serif;
    font-size: 18px;
    font-weight: 700;
    transition: color .3s ease;
}

/* Trait animé */

.header nav a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #d18ba5;
    transition: all .3s ease;
    transform: translateX(-50%);
}

.header nav a:hover {
    color: #d18ba5 !important;
    transform: none;
}

.header nav a:hover::after {
    width: 100%;
}

/* Mobile */

@media (max-width: 600px) {
    .header nav {
        gap: 20px;
    }

    .header nav a {
        font-size: 15px;
    }
}

/* NOUVEAU DESIGN - MON HISTOIRE */

.histoire-intro {
    max-width: 1050px;
    margin: 70px auto;
    padding: 75px 85px;
    position: relative;
    overflow: hidden;

    background: linear-gradient(
        120deg,
        #fff8fb 0%,
        #fbe5ed 55%,
        #f8dce7 100%
    );

    border-radius: 4px 90px 4px 90px;
    border: 1px solid #f2cfdd;
    box-shadow: 0 15px 40px rgba(180, 93, 124, 0.08);
}

/* Petit détail floral */

.histoire-intro::after {
    content: "✿";
    position: absolute;
    right: 35px;
    top: 20px;
    font-size: 75px;
    color: #e6a6bd;
    opacity: 0.35;
    pointer-events: none;
}

/* Titre */

.histoire-intro h2 {
    font-family: "Playfair Display", serif;
    font-size: 38px;
    color: #b45d7c;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

/* Texte */

.histoire-intro p {
    font-family: "Poppins", sans-serif;
    font-size: 17px;
    line-height: 2;
    color: #59434b;
    max-width: 750px;
    position: relative;
    z-index: 1;
}

/* Mobile */

@media (max-width: 700px) {
    .histoire-intro {
        margin: 35px 18px;
        padding: 45px 25px;
        border-radius: 4px 50px 4px 50px;
    }

    .histoire-intro h2 {
        font-size: 29px;
    }

    .histoire-intro p {
        font-size: 15px;
    }
}
/* Bannière plus chaleureuse */
.banner {
    background: linear-gradient(135deg, #f8dce8, #f3c4d7, #f9e6ed);
    border-radius: 25px;
    box-shadow: 0 12px 30px rgba(180, 93, 124, 0.12);
}

/* Titre de la bannière */
.banner h1 {
    color: #b45d7c;
}

/* Fond général de la page */
body {
    background: linear-gradient(180deg, #fff3f7 0%, #fce5ed 100%);
}

/* Navigation */
.header nav a {
    color: #a94f70;
}

.header nav a:hover {
    color: #d46d96;
}/* Bouton mode clair / sombre - style Apple */
#theme-toggle {
    position: fixed;
    top: 25px;
    right: 30px;
    z-index: 9999;

    width: 58px;
    height: 58px;
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 27px;
    cursor: pointer;

    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 5px 25px rgba(160, 90, 120, 0.18);

    transition: all 0.3s ease;
}

/* Interrupteur style Apple */
#theme-toggle {
    position: fixed;
    top: 25px;
    right: 30px;
    z-index: 9999;

    width: 66px;
    height: 36px;
    padding: 3px;

    border: none;
    border-radius: 30px;
    background: #e5e5ea;

    cursor: pointer;
    display: flex;
    align-items: center;

    transition: background 0.3s ease;
}

#theme-toggle::before {
    content: "";
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: white;

    box-shadow: 0 2px 5px rgba(0,0,0,0.18);
    transition: transform 0.3s ease;
}

/* Quand le mode sombre est activé */
body.dark-mode #theme-toggle {
    background: #b45d7c;
}

body.dark-mode #theme-toggle::before {
    transform: translateX(30px);
}

@media (max-width: 600px) {
    #theme-toggle {
        top: 15px;
        right: 15px;
    }
}
@media (max-width: 600px) {
    #theme-toggle {
        width: 50px;
        height: 50px;
        top: 15px;
        right: 15px;
        font-size: 24px;
    }
}#theme-toggle {
    position: fixed;
    top: 25px;
    right: 30px;
    z-index: 9999;
    width: 66px;
    height: 36px;
    border: none;
    border-radius: 30px;
    background: #e5e5ea;
    color: #222;
    font-size: 25px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 10px;
}
/* MODE NUIT */

/* =================================
   MODE NUIT - LA PEUR D'AVOIR PEUR
================================= */


/* =================================
   MODE NUIT - TOUTES LES PAGES
================================= */

body.dark-mode {
    background: #211923 !important;
    color: #f3e5ec !important;
    transition: background .3s ease, color .3s ease;
}

/* En-têtes et navigation */
body.dark-mode .header {
    background: #211923 !important;
    border-color: #493447 !important;
}

body.dark-mode .header nav a {
    color: #e8a8c0 !important;
}

/* Accueil */
body.dark-mode .accueil {
    color: #f3e5ec !important;
}

body.dark-mode .accueil-intro,
body.dark-mode .accueil-fin,
body.dark-mode .temoignages-accueil {
    background: linear-gradient(135deg, #392a3a, #302331) !important;
    border-color: #60465b !important;
}

body.dark-mode .accueil-image {
    background: linear-gradient(135deg, #493348, #352638) !important;
    color: #e8a8c0 !important;
}

/* Page Mon histoire */
body.dark-mode .introduction,
body.dark-mode .histoire-intro,
body.dark-mode .temoignage section {
    background: #352738 !important;
    color: #f3e5ec !important;
    border-color: #60465b !important;
}

/* Page Comprendre et avancer */
body.dark-mode .page-intro,
body.dark-mode .avertissement,
body.dark-mode .rubrique,
body.dark-mode .ressources-payantes {
    background: #352738 !important;
    color: #f3e5ec !important;
    border-color: #60465b !important;
}

/* Article : pas de gros encadré inutile */
body.dark-mode .contenu .article {
    background: transparent !important;
    color: #f3e5ec !important;
}

/* Page témoignages */
body.dark-mode .publication-form,
body.dark-mode .fil-actualite,
body.dark-mode #liste-temoignages .post,
body.dark-mode .post,
body.dark-mode .commentaire,
body.dark-mode .zone-commentaires p {
    background: #352738 !important;
    color: #f3e5ec !important;
    border-color: #60465b !important;
}

/* Champs de saisie */
body.dark-mode input,
body.dark-mode textarea {
    background: #281e2c !important;
    color: #f8eaf0 !important;
    border-color: #74546a !important;
}

/* Tous les textes */
body.dark-mode h1,
body.dark-mode h2,
body.dark-mode h3,
body.dark-mode h4 {
    color: #e9a5bf !important;
}

body.dark-mode p,
body.dark-mode li,
body.dark-mode blockquote,
body.dark-mode label,
body.dark-mode strong {
    color: #f3e5ec !important;
}

/* Liens et boutons */
body.dark-mode a {
    color: #e9a5bf;
}

body.dark-mode button {
    color: #f8eaf0;
}

/* Citations */
body.dark-mode blockquote {
    background: #493348 !important;
    border-color: #d18ba5 !important;
}

/* Pied de page */
body.dark-mode footer {
    background: #19131d !important;
    color: #f3e5ec !important;
}

body.dark-mode footer p {
    color: #e9a5bf !important;
}

/* Interrupteur */
body.dark-mode #theme-toggle {
    background: #e5e5ea;
    color: #222;
}
/* Correction des derniers blocs en mode nuit */

body.dark-mode .contact-instagram {
    background: #352738 !important;
    border: 1px solid #60465b !important;
    color: #f3e5ec !important;
}

body.dark-mode .contact-instagram h2,
body.dark-mode .contact-instagram p {
    color: #f3e5ec !important;
}

body.dark-mode .contact-instagram a {
    background: #bd718f !important;
    color: white !important;
}

/* Page Mon histoire */
/* Page Mon histoire */
body.dark-mode .histoire-intro {
    background: #352738 !important;
    color: #f3e5ec !important;
}

body.dark-mode article.temoignage {
    background: transparent !important;
    padding: 0 !important;
    margin: 0 auto !important;
    border: none !important;
    box-shadow: none !important;
}

body.dark-mode article.temoignage section {
    background: #352738 !important;
    border: 1px solid #60465b !important;
    border-radius: 22px !important;
    box-shadow: none !important;
    margin: 0 0 30px 0 !important;
    padding: 35px !important;
}

body.dark-mode article.temoignage h2,
body.dark-mode article.temoignage p,
body.dark-mode article.temoignage li {
    color: #f3e5ec !important;
}
body.dark-mode .instagram {
    background: #493348 !important;
    color: #f3e5ec !important;
    border-color: #d18ba5 !important;
}/* ADAPTATION TELEPHONE */
@media (max-width: 600px) {

    .banner {
        width: 94%;
        margin: 15px auto;
    }

    .header nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px 18px;
        padding: 15px;
    }

    .header nav a {
        font-size: 14px;
        padding: 8px 10px;
    }

    main {
        width: 92%;
        padding: 35px 0;
    }

    .accueil-section,
    .accueil-intro,
    .accueil-fin,
    .histoire-intro,
    .article,
    .temoignage {
        width: 100%;
        padding: 25px 20px;
        margin: 25px auto;
        box-sizing: border-box;
    }

    h1 {
        font-size: 30px;
    }

    h2 {
        font-size: 25px;
    }

    p {
        font-size: 15px;
        line-height: 1.8;
    }

    #theme-toggle {
        top: 12px;
        right: 12px;
    }
}/* Texture autour de la bannière */
.banner {
    position: relative;
    isolation: isolate;
    box-shadow:
        0 15px 35px rgba(180, 93, 124, 0.13),
        0 0 50px rgba(230, 166, 189, 0.12);
}

/* Texture florale - MODE JOUR */
.header {
    background:
        radial-gradient(circle at 8% 15%, rgba(239, 173, 196, 0.35), transparent 25%),
        radial-gradient(circle at 90% 80%, rgba(244, 190, 210, 0.4), transparent 30%),
        radial-gradient(circle at 50% 50%, rgba(255, 230, 239, 0.7), transparent 65%),
        #fff5f9;

    border-bottom: 1px solid #f1d6e1;
}

/* Texture florale - MODE NUIT */
body.dark-mode .header {
    background:
        radial-gradient(circle at 8% 15%, rgba(126, 76, 105, 0.25), transparent 25%),
        radial-gradient(circle at 90% 80%, rgba(94, 58, 83, 0.3), transparent 30%),
        #211923 !important;

    border-color: #493447 !important;
}/* Bloc communauté : coins arrondis et ombre */
.accueil-fin {
    border-radius: 28px !important;
    box-shadow: 0 15px 40px rgba(180, 93, 124, 0.15);
    border: 1px solid rgba(219, 160, 184, 0.25);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.accueil-fin:hover {
    box-shadow: 0 20px 45px rgba(180, 93, 124, 0.22);
}

/* Mode nuit */
body.dark-mode .accueil-fin {
    border-color: #60465b !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}.instagram {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.instagram-logo {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
}.contact .instagram {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.contact .instagram-logo {
    display: block;
    width: 23px;
    height: 23px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    flex-shrink: 0;
}/* Bloc contact indépendant */
.contact {
    max-width: 850px;
    margin: 70px auto !important;
    padding: 55px 45px !important;
    box-sizing: border-box;
    text-align: center;
    background: linear-gradient(135deg, #fce8ef, #f7d9e5);
    border: 1px solid #edc5d5;
    border-radius: 28px;
    box-shadow: 0 15px 40px rgba(180, 93, 124, 0.15);
}

/* Titre */
.contact h2 {
    text-align: center;
    margin-bottom: 25px;
}

/* Petit trait sous le titre */
.contact h2::after {
    margin: 15px auto 0;
}

/* Texte */
.contact p {
    max-width: 650px;
    margin: 0 auto 30px !important;
    text-align: center;
    line-height: 1.9;
}

/* Bouton Instagram */
/* Petit bloc contact */
.contact {
    max-width: 650px;
    margin: 45px auto !important;
    padding: 30px 35px !important;
    box-sizing: border-box;
    text-align: center;
    background: linear-gradient(135deg, #fce8ef, #f7d9e5);
    border: 1px solid #edc5d5;
    border-radius: 22px;
    box-shadow: 0 8px 22px rgba(180, 93, 124, 0.12);
}

.contact h2 {
    text-align: center;
    font-size: 27px;
    margin-bottom: 18px;
}

.contact h2::after {
    margin: 12px auto 0;
}

.contact p {
    max-width: 520px;
    margin: 0 auto 20px !important;
    text-align: center;
    font-size: 15px;
    line-height: 1.7;
}

.contact .instagram {
    margin: 0 auto;
    padding: 12px 22px;
    font-size: 15px;
}

body.dark-mode .contact {
    background: #493348 !important;
    border-color: #684b60 !important;
}/* Supprimer la bande entre les sections de Mon histoire */
body.dark-mode article.temoignage {
    background: transparent !important;
    padding: 0 !important;
    box-shadow: none !important;
}

body.dark-mode article.temoignage section {
    background: #352738 !important;
    margin-bottom: 30px !important;
    border-radius: 22px;
    border: 1px solid #60465b;
    box-shadow: none !important;
outline: none !important;
}body.dark-mode main,
body.dark-mode article.temoignage {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
}

body.dark-mode article.temoignage section {
    margin-bottom: 25px !important;
}body.dark-mode article.temoignage::before,
body.dark-mode article.temoignage::after {
    display: none !important;
    content: none !important;
}

body.dark-mode article.temoignage {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    padding-bottom: 0 !important;
}

body.dark-mode article.temoignage section {
    margin-bottom: 20px !important;
}/* CORRECTION ESPACEMENT ENTRE LES BULLES DE MON HISTOIRE */
.temoignage section {
    margin-bottom: 25px !important;
}

/* Supprimer le fond visible entre les bulles */
.temoignage {
    background: transparent !important;
    padding: 0 !important;
    box-shadow: none !important;
}
/* DISPOSITION DES BOUTONS DE L'ACCUEIL */

.hero-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  margin-top: 35px;
}

.main-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-buttons .bouton-questionnaire {
  display: inline-block;
  background: #f3cddd;
  color: #89516f;
  border: none;
  border-radius: 50px;
  padding: 19px 55px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.hero-buttons .bouton-questionnaire:hover {
  transform: translateY(-3px);
}

.hero-buttons .bouton-communaute {
  margin: 0;
}

@media (max-width: 600px) {
  .main-buttons {
    flex-direction: column;
  }

  .hero-buttons .bouton-questionnaire {
    padding: 16px 30px;
  }
}
.btn-carnet {
    display: inline-block;
    margin: 30px auto;
    padding: 16px 36px;
    background: #c94f7c;
    color: #ffffff;
    text-decoration: none;
    border-radius: 30px;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(201, 79, 124, 0.3);
    transition: 0.3s ease;
}

.btn-carnet:hover {
    background: #a93662;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(169, 54, 98, 0.4);
}

/* BLOC CARNET */
/* ===== BLOC CARNET ===== */

.btn-carnet {
    display: inline-block;
    margin: 0;
    padding: 16px 36px;
    background: #c94f7c;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(201, 79, 124, 0.3);
    transition: 0.3s ease;
}

.btn-carnet:hover {
    background: #a93662;
    transform: translateY(-3px);
}

.carnet-link {
    width: 100%;
    text-align: center;
    box-sizing: border-box;
    margin: 0 auto;
    padding: 15px 20px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.carnet-link h2 {
    color: #f08eae;
    margin: 0 0 12px;
    text-align: center;
}

.carnet-link p {
    margin: 0 0 20px;
    text-align: center;
}

/* Rapprocher le carnet de la communauté */
.contenu > .accueil-fin {
    margin-bottom: 0 !important;
    padding-bottom: 25px !important;
}

.contenu > .carnet-link {
    margin-top: 0 !important;
}
/* ===== NAVIGATION ELEGANTE ===== */


/* Navigation plus fine et discrète */

/* =================================
   NAVIGATION — LA PEUR D'AVOIR PEUR
================================= */

.navigation-site {
    width: 96%;
    max-width: 1100px;
    margin: 10px auto 20px;
    padding: 5px 10px;

    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 5px;

    box-sizing: border-box;
    border: none;
    background: transparent;
}
/* Liens */

.navigation-site a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;

    padding: 9px 12px;

    color: #e9a8c1;
    background: transparent;
    border: none;
    border-radius: 30px;

    font-family: 'Playfair Display', serif;
    font-size: 13px;
    text-decoration: none;
    white-space: nowrap;

    transition: all 0.3s ease;
}

/* Icônes */

.navigation-site a svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.3;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
}

/* Survol et page active */

.navigation-site a:hover,
.navigation-site a.active {
    color: #fff;
    background: rgba(205, 126, 160, 0.25);
}

/* Bouton jour / nuit */

.navigation-site #theme-toggle {
    position: static;
    flex-shrink: 0;
    padding: 7px 11px;
    margin: 0;
    border: 1px solid #bd6687;
    border-radius: 25px;
    background: #bd6687;
    color: white;
    font-family: 'Poppins', sans-serif;
    font-size: 11px;
    cursor: pointer;
}

/* Version mobile */

@media (max-width: 650px) {
    .navigation-site {
        border-radius: 20px;
        gap: 3px;
    }

    .navigation-site a {
        padding: 7px 9px;
        font-size: 12px;
    }
}
/* ===== VRAIS PAPILLONS ANIMES ===== */

.butterfly {
    position: absolute;
    width: 42px;
    z-index: 3;
    pointer-events: none;
    animation: butterflyFlight 7s ease-in-out infinite;
}

.butterfly svg {
    width: 100%;
    overflow: visible;
}

.butterfly .wing {
    fill: #e8a0bc;
    stroke: #bd7293;
    stroke-width: 1;
    transform-box: fill-box;
    transform-origin: center;
    animation: wingFlap 0.35s ease-in-out infinite alternate;
}

.butterfly .wing-right {
    animation-delay: 0.35s;
}

.butterfly .body,
.butterfly .antenna {
    fill: none;
    stroke: #a95e80;
    stroke-width: 1.8;
    stroke-linecap: round;
}

.butterfly-one {
    top: 35px;
    left: 12%;
}

.butterfly-two {
    top: 95px;
    right: 12%;
    width: 34px;
    animation-delay: 2s;
}

@keyframes wingFlap {
    from {
        transform: scaleY(1);
    }
    to {
        transform: scaleY(0.35);
    }
}

@keyframes butterflyFlight {
    0%, 100% {
        translate: 0 0;
    }
    25% {
        translate: 12px -9px;
    }
    50% {
        translate: 20px 4px;
    }
    75% {
        translate: 7px 10px;
    }
}
.papillon {
    position: absolute;
    width: 38px;
    height: auto;
    z-index: 2;
    pointer-events: none;
    opacity: 0.85;
}

.papillon-gauche {
    left: 7%;
    top: 50%;
    transform: translateY(-50%);
}

.papillon-droite {
    right: 7%;
    top: 50%;
    transform: translateY(-50%) scaleX(-1);
}.banner-flower {
    position: absolute;
    color: #e9a8c1;
    z-index: 1;
    pointer-events: none;
    text-shadow: 0 0 12px rgba(233, 168, 193, 0.2);
    animation: flowerFloat 5s ease-in-out infinite;
}

.flower-one {
    left: 7%;
    top: 25px;
    font-size: 38px;
}

.flower-two {
    left: 15%;
    bottom: 25px;
    font-size: 25px;
    animation-delay: 1s;
}

.flower-three {
    right: 7%;
    top: 25px;
    font-size: 34px;
    animation-delay: 2s;
}

.flower-four {
    right: 15%;
    bottom: 25px;
    font-size: 25px;
    animation-delay: 3s;
}

@keyframes flowerFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-7px) rotate(8deg); }
}/* =========================================
   CARNET - LA PEUR D'AVOIR PEUR
========================================= */

.carnet {
    width: min(100% - 32px, 1100px);
    margin: 35px auto 55px;
}

#book {
    width: 100%;
    max-width: 900px;
    height: 700px;
    margin: 0 auto;
    position: relative;
}

.ebook-page {
    display: none;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    padding: 55px 48px;
    overflow-y: auto;
    overflow-x: hidden;
    background: #fff0f5;
    color: #59434b;
    border: 1px solid #f1cbd9;
    border-radius: 20px;
    font-family: "Poppins", sans-serif;
    box-shadow: 0 12px 30px rgba(190, 110, 140, .10);
}

.ebook-page.active {
    display: block;
}

.ebook-page h1,
.ebook-page h2,
.ebook-page h3 {
    font-family: "Playfair Display", serif;
    color: #b45d7c;
}

.ebook-page h1 {
    font-size: 43px;
    line-height: 1.3;
}

.ebook-page h2 {
    font-size: 27px;
    line-height: 1.4;
    margin: 0 0 25px;
}

.ebook-page h3 {
    font-size: 20px;
    margin: 18px 0 10px;
}

.ebook-page p,
.ebook-page li {
    color: #59434b;
    font-size: 13px;
    line-height: 1.9;
}

.ebook-page p {
    margin: 0 0 22px;
}

.ebook-page ul {
    padding-left: 22px;
}

.ebook-page blockquote {
    background: #f5cbd9;
    border-left: 5px solid #c66e8d;
    border-radius: 0 14px 14px 0;
    padding: 18px 20px;
    margin: 25px 0;
    color: #914b67;
    font-style: italic;
    line-height: 1.8;
}

.ebook-page .exercise {
    background: #fff5f8;
    border: 1px solid #f1cbd9;
    border-radius: 16px;
    padding: 20px;
    margin: 22px 0;
}

.ebook-page .exercise p {
    margin: 12px 0 7px;
}

.ebook-page textarea {
    display: block;
    width: 100%;
    box-sizing: border-box;
    min-height: 75px;
    border: 1px solid #edc5d6;
    border-radius: 12px;
    padding: 11px 13px;
    font: inherit;
    color: #59434b;
    background: #fffafd;
    resize: vertical;
}

.ebook-page textarea::placeholder {
    color: #a98b99;
}

.ebook-page textarea:focus {
    outline: 2px solid #d18ba5;
    outline-offset: 2px;
}

.ebook-page.cover {
    text-align: center;
    background: linear-gradient(135deg, #fffafd, #fce8ef, #f8dce8);
    border-radius: 4px 90px 4px 90px;
}

.ebook-page.cover.active {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 55px;
}

.ebook-page.cover .flower {
    font-size: 42px;
    margin-bottom: 18px;
}

.ebook-page.cover h1 {
    margin: 15px 0;
    color: #a95375;
}

.ebook-page.cover h2 {
    color: #b96884;
    font-size: 25px;
    font-weight: 400;
    margin-bottom: 18px;
}

.ebook-page.cover .subtitle {
    max-width: 560px;
}

.ebook-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 22px;
    margin: 25px auto 15px;
}

.ebook-controls button {
    background: linear-gradient(135deg, #d88eae, #bd6687);
    color: #fff;
    border: 1px solid #d18ba5;
    border-radius: 35px;
    padding: 13px 27px;
    cursor: pointer;
    font: inherit;
    box-shadow: 0 5px 15px rgba(189, 102, 135, .18);
    transition: all .25s ease;
}

.ebook-controls button:hover:not(:disabled) {
    background: #a95375;
    transform: translateY(-3px);
}

.ebook-controls button:disabled {
    opacity: .4;
    cursor: not-allowed;
}

#progressText {
    min-width: 85px;
    color: #a95375;
    font-size: 13px;
    text-align: center;
}

.progress-track {
    width: 100%;
    max-width: 900px;
    height: 6px;
    margin: 18px auto 30px;
    overflow: hidden;
    background: #f1cbd9;
    border-radius: 10px;
}

#progressBar {
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, #d88eae, #a95375);
    border-radius: 10px;
    transition: width .3s ease;
}

/* MODE NUIT DU CARNET */

body.dark-mode .ebook-page,
body.dark-mode #book .ebook-page {
    background: #352738 !important;
    color: #f3e5ec !important;
    border-color: #60465b !important;
}

body.dark-mode .ebook-page h1,
body.dark-mode .ebook-page h2,
body.dark-mode .ebook-page h3 {
    color: #e9a5bf !important;
}

body.dark-mode .ebook-page p,
body.dark-mode .ebook-page li,
body.dark-mode .ebook-page strong {
    color: #f3e5ec !important;
}

body.dark-mode .ebook-page blockquote {
    background: #493348 !important;
    border-color: #d18ba5 !important;
    color: #f3e5ec !important;
}

body.dark-mode .ebook-page .exercise {
    background: #2d2230 !important;
    border-color: #60465b !important;
}

body.dark-mode .ebook-page textarea {
    background: #281e2c !important;
    color: #f8eaf0 !important;
    border-color: #74546a !important;
}

body.dark-mode .ebook-page textarea::placeholder {
    color: #c3aab8;
}

body.dark-mode .ebook-page.cover {
    background: linear-gradient(135deg, #392a3a, #302331) !important;
}

body.dark-mode .ebook-controls button {
    background: linear-gradient(135deg, #bd718f, #a95375);
    color: #fff !important;
    border-color: #745064;
}

body.dark-mode #progressText {
    color: #e9a5bf !important;
}

body.dark-mode .progress-track {
    background: #493447;
}

body.dark-mode #progressBar {
    background: linear-gradient(90deg, #e8a8c0, #b45d7c);
}

/* =========================================
   QUESTIONNAIRE - QCM
========================================= */

.container {
    max-width: 680px;
    margin: 35px auto;
    padding: 20px;
}

.card {
    background: white;
    border-radius: 22px;
    padding: 40px 30px;
    box-shadow: 0 10px 35px rgba(155, 105, 126, 0.08);
    text-align: center;
}

.container .flower {
    font-size: 38px;
    margin-bottom: 18px;
}

.container h1,
.container h2 {
    font-family: "Playfair Display", serif;
    color: #a66e86;
    font-weight: 500;
}

.container h1 {
    font-size: 34px;
    margin-bottom: 15px;
}

.intro {
    font-size: 14px;
    line-height: 1.9;
    color: #83747b;
    margin-bottom: 25px;
}

.info {
    background: #fbf2f5;
    padding: 18px;
    border-radius: 14px;
    font-size: 13px;
    line-height: 2;
    margin-bottom: 25px;
}

.container button {
    border: none;
    background: #c78da6;
    color: white;
    padding: 15px 28px;
    border-radius: 30px;
    font-family: inherit;
    font-size: 14px;
    cursor: pointer;
    transition: 0.2s;
}

.container button:hover {
    background: #ad718d;
    transform: translateY(-2px);
}

.progress {
    height: 6px;
    background: #f1e4e9;
    border-radius: 20px;
    margin-bottom: 25px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    width: 0;
    background: #c78da6;
    transition: 0.3s;
}

.counter {
    font-size: 12px;
    color: #a18b95;
    margin-bottom: 15px;
}

.question {
    font-family: "Playfair Display", serif;
    font-size: 25px;
    line-height: 1.5;
    margin-bottom: 28px;
}

.answers {
    display: grid;
    gap: 12px;
    margin-bottom: 25px;
}

.container .answer {
    background: #fff9fb;
    border: 1px solid #efdce4;
    border-radius: 13px;
    padding: 16px;
    color: #715866;
    cursor: pointer;
    font-size: 14px;
    transition: 0.2s;
}

.container .answer:hover {
    border-color: #c78da6;
}

.container .answer.selected {
    background: #f4e3eb;
    border: 2px solid #c78da6;
    color: #87516c;
}

.hidden {
    display: none !important;
}

.note {
    font-size: 11px;
    color: #a18b95;
    line-height: 1.8;
    margin-top: 20px;
}

/* MODE NUIT DU QCM */

body.dark-mode {
    background: #211b20;
    color: #eadce3;
}

body.dark-mode .card {
    background: #30262e;
    box-shadow: 0 10px 35px rgba(0,0,0,0.2);
}

body.dark-mode .container h1,
body.dark-mode .container h2 {
    color: #e5aec5;
}

body.dark-mode .intro,
body.dark-mode .note,
body.dark-mode .counter {
    color: #c4afb9;
}

body.dark-mode .info {
    background: #40313b;
    color: #eadce3;
}

body.dark-mode .container .answer {
    background: #392d36;
    border-color: #634655;
    color: #eadce3;
}

body.dark-mode .container .answer:hover,
body.dark-mode .container .answer.selected {
    background: #624253;
    border-color: #d69ab4;
    color: white;
}

body.dark-mode .progress {
    background: #493641;
}

/* AFFICHAGE SUR MOBILE */

@media (max-width: 700px) {
    .carnet {
        width: calc(100% - 20px);
        margin: 20px auto 35px;
    }

    #book {
        height: min(72vh, 700px);
        min-height: 560px;
    }

    .ebook-page {
        padding: 30px 22px;
    }

    .ebook-page.cover.active {
        padding: 30px 22px;
    }

    .ebook-page h2 {
        font-size: 23px;
    }

    .ebook-page.cover h1 {
        font-size: 30px;
    }

    .ebook-controls {
        gap: 10px;
    }

    .ebook-controls button {
        padding: 11px 17px;
        font-size: 13px;
    }
}

@media (max-width: 500px) {
    .card {
        padding: 30px 20px;
    }

    .container h1 {
        font-size: 28px;
    }

    .question {
        font-size: 22px;
    }
}

@media (max-width: 380px) {
    #book {
        min-height: 520px;
    }

    .ebook-controls {
        gap: 8px;
    }

    .ebook-controls button {
        padding: 10px 13px;
    }
}/* Bouton mode nuit / mode jour */
#theme-toggle {
    display: block;
    width: 150px;
    padding: 12px 20px;
    margin: 18px auto;
    border: 1px solid #e9a8c1;
    border-radius: 30px;
    background: linear-gradient(135deg, #e9a8c1, #bd718f);
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(233, 168, 193, 0.2);
    transition: all 0.3s ease;
}

#theme-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(233, 168, 193, 0.35);
    background: #a95375;
}/* Interrupteur style iPhone */
.theme-switch {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 20px auto;
    padding: 8px 14px;
    border: none;
    background: transparent;
    color: #e9a8c1;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    cursor: pointer;
}

.switch-track {
    width: 48px;
    height: 27px;
    background: #bd718f;
    border-radius: 30px;
    padding: 3px;
    box-sizing: border-box;
    transition: background 0.3s ease;
}

.switch-circle {
    display: block;
    width: 21px;
    height: 21px;
    background: white;
    border-radius: 50%;
    transition: transform 0.3s ease;
    box-shadow: 0 1px 4px #0003;
}

body:not(.dark-mode) .switch-track {
    background: #b9aab3;
}

body:not(.dark-mode) .switch-circle {
    transform: translateX(21px);
}/* CARNET - MODE JOUR */
body:not(.dark-mode) #book .ebook-page {
    background: #fff0f5 !important;
    color: #59434b !important;
    border-color: #f1cbd9 !important;
}

body:not(.dark-mode) #book .ebook-page h1,
body:not(.dark-mode) #book .ebook-page h2,
body:not(.dark-mode) #book .ebook-page h3 {
    color: #b45d7c !important;
}

body:not(.dark-mode) #book .ebook-page p,
body:not(.dark-mode) #book .ebook-page li,
body:not(.dark-mode) #book .ebook-page strong {
    color: #59434b !important;
}

body:not(.dark-mode) #book .ebook-page blockquote {
    background: #f5cbd9 !important;
    color: #914b67 !important;
}

body:not(.dark-mode) #book .ebook-page .exercise {
    background: #fff5f8 !important;
    border-color: #f1cbd9 !important;
}

body:not(.dark-mode) #book .ebook-page textarea {
    background: #fffafd !important;
    color: #59434b !important;
    border-color: #edc5d6 !important;
}/* Bouton de thème */
#theme-toggle {
    margin: 8px 16px;
    padding: 10px 18px;
    border: 1px solid #bd6687;
    border-radius: 24px;
    background: #bd6687;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: 0.3s ease;
}

#theme-toggle:hover {
    background: #a95476;
    border-color: #a95476;
}/* ===== BANNIÈRE EN MODE JOUR ===== */

body:not(.dark-mode) .banner {
    background: linear-gradient(135deg, #f8dce8, #f3c9da, #f9e5ed);
    box-shadow: 0 12px 35px rgba(150, 75, 110, 0.12);
}

body:not(.dark-mode) .banner h1 {
    color: #a94f75;
}

body:not(.dark-mode) .banner p {
    color: #694457;
}

body:not(.dark-mode) .banner-signature {
    color: #94516f;
}

body:not(.dark-mode) .banner-signature span {
    background: #b96c8c;
}

body:not(.dark-mode) .banner-flower {
    color: #c66d94;
}/* ===== BANNIÈRE MODE JOUR ===== */

body:not(.dark-mode) .banner {
    background: linear-gradient(135deg, #fceaf1, #f5d2e0, #fff0f5) !important;
}

body:not(.dark-mode) .banner-content h1 {
    color: #a94f75 !important;
}

body:not(.dark-mode) .banner-content p {
    color: #694457 !important;
}

body:not(.dark-mode) .banner-signature {
    color: #94516f !important;
}

body:not(.dark-mode) .banner-signature span {
    background: #b96c8c !important;
}

body:not(.dark-mode) .banner-flower {
    color: #c66d94 !important;
}/* Position du bouton dans la navigation */
/* Bouton thème miniature dans la navigation */
.navigation-site #theme-toggle {
    position: static !important;
    width: auto !important;
    height: auto !important;
    min-width: 0 !important;
    padding: 4px 7px !important;
    margin: 0 0 0 5px !important;

    border: 1px solid #bd6687 !important;
    border-radius: 15px !important;
    background: #bd6687 !important;
    color: #fff !important;

    font-family: 'Poppins', sans-serif !important;
    font-size: 9px !important;
    line-height: 1.2 !important;

    display: inline-flex !important;
    align-items: center;
    justify-content: center;

    cursor: pointer;
}/* Carnet : bouton de thème dans la navigation */
.navigation-site #theme-toggle {
    position: static !important;
    width: auto !important;
    height: auto !important;
    min-width: 0 !important;
    padding: 4px 7px !important;
    margin: 0 0 0 5px !important;
    border: 1px solid #bd6687 !important;
    border-radius: 15px !important;
    background: #bd6687 !important;
    color: white !important;
    font-family: 'Poppins', sans-serif !important;
    font-size: 9px !important;
    line-height: 1.2 !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
}/* Boutons de fin du carnet */
.carnet-finish {
    text-align: center;
    margin: 35px auto;
    padding: 25px;
    background: #f9eaf0;
    border-radius: 18px;
}

.carnet-finish p {
    color: #70465c;
    line-height: 1.7;
}

#terminerCarnetBtn {
    display: inline-block;
    margin-top: 15px;
    padding: 14px 28px;
    border: none;
    border-radius: 30px;
    background: #bd6687;
    color: white;
    font-family: Poppins, sans-serif;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

#terminerCarnetBtn:hover {
    background: #a94f73;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px #bd668755;
    
}
#telechargerPDF {
    display: inline-block;
    margin: 15px 8px;
    padding: 14px 28px;
    border: none;
    border-radius: 30px;
    background: #bd6687;
    color: white;
    font-family: Poppins, sans-serif;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

#telechargerPDF:hover {
    background: #a94f73;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px #bd668755;
}

#telechargerPDF[hidden] {
    display: none;
}

#terminerCarnetBtn:disabled {
    opacity: 0.7;
    cursor: default;
    transform: none;
}

body.dark-mode .carnet-finish {
    background: #493348;
}

body.dark-mode .carnet-finish p {
    color: #f3e5ec;
}/* ===== CORRECTION VISIBILITÉ COMMENTAIRES ===== */

/* ===== COMMENTAIRES : CONTRASTE ===== */

.post-actions button {
    background-color: #F7DCE8 !important;
    color: #493447 !important;
    opacity: 1 !important;
    border: none !important;
}

.post-actions button span,
.post-actions button i {
    color: #493447 !important;
}

.post-actions span {
    color: #765365 !important;
}

.zone-commentaires {
    color: #654653 !important;
}

.compteur-commentaires {
    color: #765365 !important;
}

.lien-commentaires {
    color: #F7C5DC !important;
    opacity: 1 !important;
}

#boutonEcrire {
    background: #F7DCE8 !important;
    color: #493447 !important;
    opacity: 1 !important;
}

#boutonEcrire * {
    color: #493447 !important;
}

/* ==================================================
   CORRECTIONS DE STABILITÉ — EN-TÊTE, SVG ET MOBILE
   ================================================== */

/* Empêche les SVG de prendre leur taille intrinsèque géante */
.navigation-site svg,
.navigation-site a svg,
.header nav svg {
    display: inline-block !important;
    width: 18px !important;
    height: 18px !important;
    max-width: 18px !important;
    max-height: 18px !important;
    flex: 0 0 18px !important;
}

/* Navigation */
.navigation-site {
    width: min(96%, 1100px);
    margin: 10px auto 20px;
    padding: 5px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 5px;
    box-sizing: border-box;
}

/* Bannière */
.header .banner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: min(90%, 1100px);
    min-height: 190px;
    margin: 25px auto 0;
    overflow: hidden;
    box-sizing: border-box;
}

.header .banner-content {
    position: relative;
    z-index: 2;
    width: 100%;
    text-align: center;
}

.header .banner-flower {
    position: absolute;
    z-index: 1;
    pointer-events: none;
}

/* Lisibilité des compteurs et commentaires en mode jour */
body:not(.dark-mode) .post-actions span,
body:not(.dark-mode) .zone-commentaires,
body:not(.dark-mode) .compteur-commentaires {
    color: #765365 !important;
}

body:not(.dark-mode) .lien-commentaires {
    color: #a85e7c !important;
}

/* Contraste en mode nuit */
body.dark-mode .post-actions span,
body.dark-mode .zone-commentaires,
body.dark-mode .compteur-commentaires {
    color: #f3e5ec !important;
}

body.dark-mode .lien-commentaires {
    color: #f1b7ce !important;
}

@media (max-width: 600px) {
    .header {
        padding: 18px 10px;
        gap: 14px;
    }

    .header .banner {
        width: 96%;
        min-height: 170px;
        margin-top: 10px;
        border-radius: 20px;
    }

    .header .banner-content {
        padding: 18px 12px;
    }

    .header .banner-content h1 {
        font-size: clamp(23px, 7vw, 30px);
        line-height: 1.25;
    }

    .header .banner-content p {
        font-size: 11px;
        line-height: 1.6;
    }

    .header .banner-signature {
        font-size: 8px;
        letter-spacing: 2px;
    }

    .navigation-site {
        width: 100%;
        gap: 3px;
        padding: 5px 2px;
    }

    .navigation-site a {
        gap: 5px;
        padding: 8px 7px;
        font-size: 12px;
    }

    .navigation-site svg,
    .navigation-site a svg,
    .header nav svg {
        width: 16px !important;
        height: 16px !important;
        max-width: 16px !important;
        max-height: 16px !important;
        flex-basis: 16px !important;
    }
}/* ===== CONTRASTE DES BOUTONS COMMUNAUTE EN MODE NUIT ===== */

body.dark-mode .post-actions button,
body.dark-mode .interactions-commentaire button,
body.dark-mode .zone-commentaires button:not(.lien-commentaires) {
    background: #F7DCE8 !important;
    color: #493447 !important;
    border: 1px solid #E9B9CE !important;
    opacity: 1 !important;
    font-weight: 600 !important;
}

/* Texte et icônes à l'intérieur des boutons */
body.dark-mode .post-actions button *,
body.dark-mode .interactions-commentaire button *,
body.dark-mode .zone-commentaires button:not(.lien-commentaires) * {
    color: #493447 !important;
}

/* Garder le lien Voir les commentaires discret */
body.dark-mode .zone-commentaires .lien-commentaires {
    background: transparent !important;
    color: #F7C5DC !important;
    border: none !important;
    box-shadow: none !important;
}
