/* Animation d'apparition douce */
    @keyframes fadeIn {
        from { opacity: 0; transform: translateY(10px); }
        to { opacity: 1; transform: translateY(0); }
    }
    .animate-fade-in {
        animation: fadeIn 0.8s ease-out forwards;
    }
    

    body {
        display: flex;
        flex-direction: column;
        min-height: 100vh;
        background-color: #FFF9F0; /* Couleur de fond crème par défaut */
    }

    /* Style spécifique pour les titres "L'Annexe" */
    .title-handwritten {
        font-family: 'Dancing Script', cursive;
    }

    /* ══════════════════════════════════════
       WIDGET AVIS GOOGLE
    ══════════════════════════════════════ */
    #section-avis {
        background: linear-gradient(135deg, #FFF9F0 0%, #FCE4EC22 100%);
        padding: 80px 16px;
    }
    .avis-score-badge {
        display: inline-flex;
        align-items: center;
        gap: 16px;
        background: white;
        border: 1.5px solid #CF2E6D22;
        border-radius: 999px;
        padding: 12px 28px 12px 20px;
        box-shadow: 0 4px 24px #CF2E6D10;
        margin-bottom: 48px;
    }
    .avis-score-number {
        font-family: 'Dancing Script', cursive;
        font-size: 3rem;
        color: #CF2E6D;
        line-height: 1;
    }
    .avis-score-right { display: flex; flex-direction: column; gap: 2px; }
    .avis-stars-global { color: #CF2E6D; font-size: 1.15rem; letter-spacing: 2px; }
    .avis-count { color: #4A2C2A99; font-size: .8rem; }
    /* Desktop : 4 colonnes fixes */
    .avis-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
        max-width: 1200px;
        margin: 0 auto;
    }

    /* Mobile : slider horizontal */
    @media (max-width: 768px) {
        .avis-grid {
            display: flex;
            flex-direction: row;
            overflow-x: auto;
            scroll-snap-type: x mandatory;
            -webkit-overflow-scrolling: touch;
            gap: 16px;
            padding-bottom: 16px;
            scrollbar-width: none;
            max-width: 100%;
        }
        .avis-grid::-webkit-scrollbar { display: none; }
        .avis-card {
            flex: 0 0 80vw;
            max-width: 320px;
            scroll-snap-align: center;
        }
        /* Indicateur de pagination mobile */
        .avis-dots {
            display: flex;
            justify-content: center;
            gap: 6px;
            margin-top: 16px;
        }
        .avis-dot {
            width: 8px; height: 8px;
            border-radius: 50%;
            background: #CF2E6D33;
            transition: background .3s, transform .3s;
        }
        .avis-dot.active {
            background: #CF2E6D;
            transform: scale(1.3);
        }
    }
    @media (min-width: 769px) {
.avis-grid {
    display: flex;
    flex-direction: row;
    overflow: hidden;
    gap: 16px;
    padding-bottom: 16px;
}
.avis-card {
    flex: 0 0 calc(25% - 12px);
    max-width: calc(25% - 12px);
}
.avis-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 16px;
}
}
    .avis-card {
        background: white;
        border: 1px solid #4A2C2A0F;
        border-radius: 20px;
        padding: 24px;
        display: flex;
        flex-direction: column;
        gap: 14px;
        box-shadow: 0 2px 16px #4A2C2A08;
        opacity: 0;
        transform: translateY(16px);
        animation: avisUp .5s ease-out forwards;
        transition: box-shadow .2s, transform .2s;
    }
    .avis-card:hover { box-shadow: 0 8px 32px #CF2E6D15; transform: translateY(-3px); }
    .avis-card:nth-child(1) { animation-delay: .05s; }
    .avis-card:nth-child(2) { animation-delay: .15s; }
    .avis-card:nth-child(3) { animation-delay: .25s; }
    .avis-card:nth-child(4) { animation-delay: .35s; }
    @keyframes avisUp { to { opacity: 1; transform: translateY(0); } }
    .avis-card__author { display: flex; align-items: center; gap: 12px; }
    .avis-card__avatar {
        width: 44px; height: 44px; border-radius: 50%; object-fit: cover;
        border: 2px solid #CF2E6D33; background: #FCE4EC; flex-shrink: 0;
    }
    .avis-card__name { font-weight: 700; font-size: .95rem; color: #4A2C2A; }
    .avis-card__date { color: #4A2C2A77; font-size: .75rem; }
    .avis-card__stars { color: #CF2E6D; font-size: .95rem; letter-spacing: 1px; }
    .avis-card__text {
        font-size: .88rem; line-height: 1.7; color: #4A2C2ACC; flex: 1;
        display: -webkit-box; -webkit-line-clamp: 5;
        -webkit-box-orient: vertical; overflow: hidden;
    }
    .avis-card__link {
        display: inline-flex; align-items: center; gap: 4px;
        font-size: .78rem; color: #7FB03E; text-decoration: none;
        font-weight: 600; margin-top: auto; transition: color .2s;
    }
    .avis-card__link:hover { color: #CF2E6D; }
    .avis-cta-btn {
        display: inline-flex; align-items: center; gap: 8px;
        background: white; color: #CF2E6D; border: 2px solid #CF2E6D;
        font-family: 'Nunito Sans', sans-serif; font-weight: 700; font-size: .95rem;
        text-decoration: none; padding: 14px 32px; border-radius: 999px;
        transition: background .2s, color .2s, transform .2s;
        box-shadow: 0 4px 16px #CF2E6D18;
    }
    .avis-cta-btn:hover { background: #CF2E6D; color: white; transform: translateY(-2px); }
    .avis-status { text-align: center; color: #4A2C2A99; font-size: .95rem; padding: 48px 0; }
    .avis-status.error { color: #CF2E6D; }
    .avis-spinner {
        width: 36px; height: 36px; border: 3px solid #FCE4EC;
        border-top-color: #CF2E6D; border-radius: 50%;
        animation: spinAvis .7s linear infinite; margin: 0 auto 12px;
    }
    @keyframes spinAvis { to { transform: rotate(360deg); } }

    /* ══════════════════════════════════════
       BLOG / ACTUALITÉS
    ══════════════════════════════════════ */
    .blog-card {
        background: white;
        border-radius: 20px;
        overflow: hidden;
        border: 1px solid #4A2C2A0A;
        box-shadow: 0 2px 16px #4A2C2A06;
        display: flex;
        flex-direction: column;
        transition: transform .25s, box-shadow .25s;
        cursor: pointer;
    }
    .blog-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px #CF2E6D12; }
    .blog-card__img {
        height: 200px;
        object-fit: cover;
        width: 100%;
        display: block;
        flex-shrink: 0;
    }
    .blog-card__placeholder {
        height: 200px;
        min-height: 200px;
        background: linear-gradient(135deg, #FCE4EC, #F1F8E9);
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        width: 100%;
    }
    @media (max-width: 768px) {
        .blog-card {
            width: 100%;
        }
        .blog-card__img,
        .blog-card__placeholder {
            height: 180px;
            min-height: 180px;
        }
    }
    .blog-card__body { padding: 24px; flex: 1; display: flex; flex-direction: column; gap: 10px; }
    .blog-card__commune {
        display: inline-block;
        padding: 3px 12px;
        border-radius: 999px;
        background: #F1F8E9;
        color: #7FB03E;
        font-size: .72rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: .5px;
    }
    .blog-card__title {
        font-family: 'Dancing Script', cursive;
        font-size: 1.5rem;
        color: #4A2C2A;
        line-height: 1.3;
    }
    .blog-card__excerpt {
        font-size: .85rem;
        color: #4A2C2A99;
        line-height: 1.6;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
        flex: 1;
    }
    .blog-card__date { font-size: .75rem; color: #4A2C2A44; }
    .blog-card__cta {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        font-size: .8rem;
        font-weight: 700;
        color: #CF2E6D;
        margin-top: 4px;
    }
    .blog-filter-btn {
        border-color: #4A2C2A22;
        background: white;
        color: #4A2C2A99;
    }
    .blog-filter-btn.active {
        border-color: #CF2E6D;
        background: #CF2E6D;
        color: white;
    }

    /* ══════════════════════════════════════
       PAGE ARTICLE DÉDIÉE
    ══════════════════════════════════════ */
    #page-article {
        min-height: 100vh;
        background: var(--annexe-cream, #FFF9F0);
    }
    .article-hero {
        height: 320px;
        background: linear-gradient(135deg, #FCE4EC, #F1F8E9);
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        overflow: hidden;
    }
    .article-hero img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        position: absolute;
        inset: 0;
    }
    .article-hero__overlay {
        position: absolute;
        inset: 0;
        background: linear-gradient(to bottom, transparent 30%, rgba(255,249,240,0.95) 100%);
    }
    .article-body {
        max-width: 720px;
        margin: 0 auto;
        padding: 48px 24px 80px;
    }
    .article-body h1 {
        font-family: 'Dancing Script', cursive;
        font-size: clamp(2rem, 5vw, 3rem);
        color: #4A2C2A;
        line-height: 1.2;
        margin-bottom: 24px;
    }
    .article-meta {
        display: flex;
        align-items: center;
        gap: 12px;
        flex-wrap: wrap;
        margin-bottom: 40px;
        padding-bottom: 24px;
        border-bottom: 1.5px solid #4A2C2A10;
    }
    .article-content {
        font-size: 1rem;
        line-height: 1.85;
        color: #4A2C2Acc;
    }
    .article-content p { margin-bottom: 16px; }
    .article-content h2 {
        font-family: 'Dancing Script', cursive;
        font-size: 1.8rem;
        color: #4A2C2A;
        margin: 32px 0 12px;
    }
    .article-content h3 {
        font-weight: 700;
        font-size: 1.05rem;
        color: #4A2C2A;
        margin: 24px 0 8px;
    }
    .article-content strong { color: #4A2C2A; font-weight: 700; }
    .article-content em { color: #CF2E6D99; font-style: italic; }
    .article-content hr {
        border: none;
        border-top: 1.5px solid #CF2E6D22;
        margin: 28px 0;
    }
    .article-content a {
        color: #CF2E6D;
        text-decoration: underline;
        text-decoration-color: #CF2E6D44;
        transition: color .2s;
    }
    .article-content a:hover { color: #7FB03E; }
    .article-back {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        font-size: .85rem;
        font-weight: 700;
        color: #4A2C2A99;
        text-decoration: none;
        cursor: pointer;
        transition: color .2s;
        margin-bottom: 32px;
    }
    .article-back:hover { color: #CF2E6D; }
    .article-cta-box {
        background: linear-gradient(135deg, #FCE4EC44, #F1F8E944);
        border: 1px solid #CF2E6D18;
        border-radius: 20px;
        padding: 32px;
        text-align: center;
        margin-top: 56px;
    }
    .article-cta-box h3 {
        font-family: 'Dancing Script', cursive;
        font-size: 1.8rem;
        color: #4A2C2A;
        margin-bottom: 8px;
    }
    .article-nav {
        display: flex;
        gap: 16px;
        justify-content: space-between;
        margin-top: 48px;
        padding-top: 32px;
        border-top: 1px solid #4A2C2A10;
        flex-wrap: wrap;
    }
    .article-nav__btn {
        flex: 1;
        min-width: 200px;
        background: white;
        border: 1px solid #4A2C2A10;
        border-radius: 16px;
        padding: 16px 20px;
        cursor: pointer;
        transition: all .2s;
        text-align: left;
    }
    .article-nav__btn:hover { border-color: #CF2E6D33; box-shadow: 0 4px 16px #CF2E6D10; }
    .article-nav__btn.next { text-align: right; }
    .article-nav__label { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: #4A2C2A55; margin-bottom: 4px; }
    .article-nav__title { font-family: 'Dancing Script', cursive; font-size: 1rem; color: #4A2C2A; line-height: 1.3; }


    /* === CARROUSEL PRÉSENTATION === */
    .carrousel-container {
        position: relative;
        background: white;
        border-radius: 12px;
        overflow: visible !important;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        max-width: 100%;
        width: 100%;
        margin: 0 auto;
    }

    .carrousel-wrapper {
        position: relative;
        width: 100%;
        padding-bottom: 56.25%;
        overflow: hidden;
    }

    .carrousel-slides {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        display: flex;
    }

    .slide {
        position: absolute;
        width: 100%;
        height: 100%;
        opacity: 0;
        transition: opacity 0.8s ease-in-out;
        display: flex;
        align-items: flex-end;
    }

    .slide.active {
        opacity: 1;
        z-index: 10;
    }

    .slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .slide-overlay {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
        padding: 40px 30px 30px;
        color: white;
        text-align: center;
        z-index: 5;
    }

    .slide-text {
        font-size: 1.3em;
        font-style: italic;
        line-height: 1.6;
        font-weight: 300;
        text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
        animation: slideInUp 0.8s ease;
    }

    @keyframes slideInUp {
        from {
            opacity: 0;
            transform: translateY(20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .nav-arrow {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background: rgba(255, 255, 255, 0.7);
        color: #333;
        border: none;
        font-size: 28px;
        padding: 10px 15px;
        cursor: pointer;
        z-index: 20;
        transition: all 0.3s ease;
        border-radius: 4px;
    }

    .nav-arrow:hover {
        background: rgba(255, 255, 255, 0.95);
        transform: translateY(-50%) scale(1.1);
    }

    .nav-arrow:focus-visible {
        outline: 3px solid #4CAF50;
        outline-offset: 2px;
        background: rgba(255, 255, 255, 0.95);
    }

    .nav-arrow.prev {
        left: 15px;
    }

    .nav-arrow.next {
        right: 15px;
    }

    .dots-container {
        position: absolute;
        bottom: 15px;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        gap: 10px;
        z-index: 20;
    }

    .dot {
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.5);
        cursor: pointer;
        transition: all 0.3s ease;
        border: 2px solid rgba(255, 255, 255, 0.7);
        padding: 0;
    }

    .dot.active {
        background: rgba(255, 255, 255, 1);
        transform: scale(1.3);
    }

    .dot:hover {
        background: rgba(255, 255, 255, 0.8);
    }

    .dot:focus-visible {
        outline: 2px solid #4CAF50;
        outline-offset: 2px;
    }

    /* Responsive carrousel */
    @media (max-width: 600px) {
        .slide-text {
            font-size: 1.1em;
        }

        .slide-overlay {
            padding: 30px 20px 20px;
        }

        .nav-arrow {
            font-size: 24px;
            padding: 8px 12px;
        }
    }

/* ══════════════════════════════════════
   AJOUTS VERSION MULTI-PAGES
══════════════════════════════════════ */
/* Texte des pages soins / zone / qui suis-je */
.soin-texte h2 {
    font-family: 'Dancing Script', cursive;
    font-size: 2.2rem;
    color: #4A2C2A;
    margin: 48px 0 16px;
    line-height: 1.2;
}
.soin-texte h3 { font-weight: 700; font-size: 1.15rem; color: #4A2C2A; margin: 28px 0 8px; }
.soin-texte p { color: #4A2C2Acc; font-size: 1.05rem; line-height: 1.85; margin-bottom: 16px; }
.soin-texte ul { margin: 0 0 20px; padding-left: 0; list-style: none; }
.soin-texte li { position: relative; padding-left: 28px; margin-bottom: 10px; color: #4A2C2Acc; line-height: 1.7; }
.soin-texte li::before { content: "✦"; position: absolute; left: 4px; color: #CF2E6D; }
.soin-texte a, .article-content a { color: #CF2E6D; text-decoration: underline; text-decoration-color: #CF2E6D44; }
.soin-texte a:hover { color: #4A2C2A; }
.soin-texte .encadre { background: #F1F8E9; border: 1px solid #7FB03E33; border-radius: 16px; padding: 20px 24px; margin: 24px 0; }
.soin-texte .encadre p:last-child { margin-bottom: 0; }

/* Listes dans les articles */
.article-content ul { margin: 0 0 16px; padding-left: 0; list-style: none; }
.article-content li { position: relative; padding-left: 24px; margin-bottom: 8px; }
.article-content li::before { content: "—"; position: absolute; left: 0; color: #CF2E6D; }
.article-cta-box h2 { font-family: 'Dancing Script', cursive; font-size: 1.8rem; color: #4A2C2A; margin-bottom: 8px; }

/* Cartes blog devenues des liens */
a.blog-card:hover .blog-card__title { color: #CF2E6D; }
h3.blog-card__title { margin: 0; }
