/*-----------------------------------------------------------*/
/* Bloc de contenu editorial                                   */
/* Affiche le contenu saisi dans l'editeur WordPress sur les    */
/* gabarits PHP qui ne l'affichaient pas (accueil, FAQ,         */
/* contact, occasion). Fond blanc autonome : le bloc reste      */
/* lisible quelle que soit la couleur de la section parente.    */
/*-----------------------------------------------------------*/

.page-prose {
    background: #fff;
    padding: 60px 20px;
    position: relative;
    overflow: hidden;
}

.page-prose::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #002060, #4DC4FF, #002060);
}

.page-prose-inner {
    max-width: 820px;
    margin: 0 auto;
}

.page-prose h2 {
    font-family: 'Belanosima', 'Poppins', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #002060;
    line-height: 1.35;
    margin: 40px 0 14px;
}

.page-prose h2:first-child {
    margin-top: 0;
}

.page-prose h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 17px;
    font-weight: 600;
    color: #002060;
    margin: 26px 0 10px;
}

.page-prose p {
    font-size: 1rem;
    color: #555e75;
    line-height: 1.75;
    margin: 0 0 16px;
}

.page-prose p:last-child {
    margin-bottom: 0;
}

.page-prose strong {
    color: #002060;
    font-weight: 700;
}

.page-prose a {
    color: #0b6fa4;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.page-prose a:hover,
.page-prose a:focus {
    color: #002060;
}

.page-prose figure {
    margin: 30px 0;
    text-align: center;
}

.page-prose img {
    max-width: 100%;
    max-height: 480px;
    width: auto;
    height: auto;
    border-radius: 10px;
}

.page-prose figcaption {
    font-size: 0.85rem;
    color: #7a869a;
    margin-top: 10px;
}

/* Images dans le bloc de presentation boutique / categorie */
.shop-intro figure {
    margin: 30px 0;
    text-align: center;
}

.shop-intro img {
    max-width: 100%;
    max-height: 480px;
    width: auto;
    height: auto;
    border-radius: 10px;
}

.shop-intro figcaption {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 10px;
}

.shop-intro a {
    color: #4dc4ff;
    text-decoration: underline;
    text-underline-offset: 2px;
}

@media (max-width: 768px) {
    .page-prose { padding: 40px 16px; }
    .page-prose h2 { font-size: 19px; margin-top: 30px; }
    .page-prose h3 { font-size: 16px; }
    .page-prose p { font-size: 15px; line-height: 1.65; }
}

/*-----------------------------------------------------------*/
/* Repli du bloc editorial                                     */
/* Le texte reste entierement dans le HTML : Google le lit,    */
/* le visiteur ne voit qu'un apercu et deplie s'il veut lire.  */
/* Sans JavaScript, tout s'affiche normalement.                */
/*-----------------------------------------------------------*/

.tobo-repli {
    position: relative;
}

.tobo-repli.est-replie .page-prose-inner,
.tobo-repli.est-replie .shop-intro-inner {
    max-height: 300px;
    overflow: hidden;
}

.tobo-repli.est-replie .page-prose-inner::after,
.tobo-repli.est-replie .shop-intro-inner::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 120px;
    pointer-events: none;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff 85%);
}

.shop-intro.tobo-repli.est-replie .shop-intro-inner::after {
    background: linear-gradient(to bottom, rgba(0, 32, 96, 0), #002060 85%);
}

.tobo-deplier {
    display: block;
    margin: 22px auto 0;
    padding: 10px 26px;
    font-family: 'Poppins', 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: #002060;
    background: transparent;
    border: 1.5px solid #4dc4ff;
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}

.tobo-deplier:hover,
.tobo-deplier:focus-visible {
    background: #4dc4ff;
    color: #fff;
}

.shop-intro .tobo-deplier {
    color: #fff;
}

.shop-intro .tobo-deplier:hover,
.shop-intro .tobo-deplier:focus-visible {
    background: #4dc4ff;
    color: #002060;
}

@media (max-width: 768px) {
    .tobo-repli.est-replie .page-prose-inner,
    .tobo-repli.est-replie .shop-intro-inner { max-height: 240px; }
}
