/*
Theme Name: Ours en Peluche
Description: Thème personnalisé Ours en Peluche — niche cadeaux-enfant
Version: 1.0
Author: Ours en Peluche
Text Domain: ours-en-peluche
*/

/* ================================================================
   VARIABLES
================================================================ */
:root {
    --gold:       #E8A0B6;
    --gold-dark:  #D37994;
    --gold-light: #FCE7EF;
    --cream:      #FFF6FA;
    --navy:       #4A3B42;
    --grey-text:  #4A4A4A;
    --grey-light: #FBF6F8;
    --white:      #FFFFFF;
    --border:     #E8E2D5;
    --shadow:     0 2px 18px rgba(15,23,42,.07);
    --shadow-h:   0 8px 36px rgba(15,23,42,.13);
    --radius:     12px;
    --font-body:  'Lora', Georgia, serif;
    --font-head:  'Lato', 'Helvetica Neue', Arial, sans-serif;
    --font-deco:  'Playfair Display', Georgia, serif;
}

/* ================================================================
   RESET & BASE
================================================================ */
*, *::before, *::after { box-sizing: border-box; }

html { font-size: 100%; }

body {
    font-family: var(--font-body);
    color: var(--navy);
    font-size: 17px;
    line-height: 1.75;
    background: var(--white);
    margin: 0;
    padding: 0;
}

button, input, select, textarea {
    font-family: var(--font-body);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-head);
    color: var(--navy);
    font-weight: 700;
    line-height: 1.25;
    margin-top: 0;
}

a            { color: var(--gold); text-decoration: none; }
a:hover      { color: var(--gold-dark); }
p            { margin: 0 0 1.2em; }
img          { display: block; max-width: 100%; height: auto; }
ul, ol       { margin: 0; padding: 0; }

/* ================================================================
   HEADER
================================================================ */
.be-header {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    z-index: 999;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    transition: background .35s, border-color .35s, box-shadow .35s;
}

.be-header__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 32px;
}

.be-header__brand {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 12px 0 10px;
}

.be-header__logo-link {
    display: inline-block;
    line-height: 0;
    text-decoration: none;
}

.be-header__logo-img {
    height: 54px;
    width: auto;
    display: block;
    transition: height .2s;
}

.be-header__site-name {
    font-family: var(--font-deco);
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--navy);
}

.be-header__nav {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    border-top: 1px solid var(--border);
    transition: border-color .35s;
}

.be-nav__list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0;
}

.be-nav__list li a {
    display: block;
    padding: 10px 18px;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: .82rem;
    text-transform: uppercase;
    letter-spacing: .7px;
    color: var(--navy);
    text-decoration: none;
    transition: color .2s;
    white-space: nowrap;
}

.be-nav__list li a:hover,
.be-nav__list li.current-menu-item > a,
.be-nav__list li.current-page-ancestor > a {
    color: var(--gold);
}

.be-header-spacer {
    height: 113px;
}

/* Homepage : transparent */
.be-header--home {
    background: transparent;
    border-bottom-color: rgba(255,255,255,.15);
}
.be-header--home .be-header__nav { border-top-color: rgba(255,255,255,.15); }
.be-header--home .be-nav__list li a { color: rgba(255,255,255,.9); }
.be-header--home .be-nav__list li a:hover,
.be-header--home .be-nav__list li.current-menu-item > a { color: var(--gold-light); }

/* Homepage : après scroll */
.be-header--home.scrolled {
    background: var(--white);
    border-bottom-color: var(--border);
    box-shadow: var(--shadow);
}
.be-header--home.scrolled .be-header__nav { border-top-color: var(--border); }
.be-header--home.scrolled .be-nav__list li a { color: var(--navy); }
.be-header--home.scrolled .be-nav__list li a:hover { color: var(--gold); }

/* Burger mobile */
.be-header__burger {
    display: none;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}
.be-header__burger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--navy);
    border-radius: 2px;
    transition: all .25s;
}
.be-header--home .be-header__burger span { background: #fff; }
.be-header--home.scrolled .be-header__burger span { background: var(--navy); }

@media (max-width: 900px) {
    .be-header__burger { display: flex; }
    .be-header__nav { border-top: none; overflow: hidden; }
    .be-nav__list {
        flex-direction: column;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        background: var(--white);
        transition: max-height .35s ease;
    }
    .be-nav__list.be-nav--open {
        max-height: 500px;
        border-top: 1px solid var(--border);
    }
    .be-nav__list li a {
        padding: 12px 24px;
        font-size: .88rem;
        color: var(--navy) !important;
        border-bottom: 1px solid var(--border);
    }
    .be-header-spacer { height: 76px; }
    .be-hero { padding-top: 76px; }
}

/* ================================================================
   LAYOUT HELPERS
================================================================ */
.be-wrap {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 28px;
}

.be-section        { padding: 80px 0; }
.be-section--cream { background: var(--cream); }
.be-section--white { background: var(--white); }
.be-section--grey  { background: var(--grey-light); }
.be-section--navy  { background: var(--navy); }

.be-section-head { text-align: center; margin-bottom: 52px; }

.be-section-head__tag {
    display: inline-block;
    font-family: var(--font-head);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 12px;
}

.be-section-head h2 {
    font-family: var(--font-deco);
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    font-weight: 700;
    color: var(--navy);
    margin: 0 0 14px;
}

.be-section-head p {
    font-size: 1.05rem;
    color: var(--grey-text);
    max-width: 560px;
    margin: 0 auto;
}

.be-section-head__divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 16px auto 0;
    width: 120px;
}
.be-section-head__divider::before,
.be-section-head__divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--gold);
    opacity: .5;
}
.be-section-head__divider span {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--gold);
    display: block;
    flex-shrink: 0;
}

.be-section-head--light h2     { color: var(--white); }
.be-section-head--light p      { color: rgba(255,255,255,.6); }
.be-section-head--light .be-section-head__tag { color: var(--gold-light); }
.be-section-head--light .be-section-head__divider::before,
.be-section-head--light .be-section-head__divider::after { background: rgba(255,255,255,.3); }
.be-section-head--light .be-section-head__divider span { background: var(--gold); }

/* ================================================================
   BUTTONS
================================================================ */
.be-btn {
    display: inline-block;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: .92rem;
    letter-spacing: .4px;
    padding: 14px 38px;
    border-radius: 40px;
    transition: background .25s, transform .2s, box-shadow .25s;
    text-decoration: none;
    cursor: pointer;
    border: none;
}
.be-btn--gold {
    background: var(--gold);
    color: #000;
    box-shadow: 0 4px 16px rgba(196,154,42,.35);
}
.be-btn--gold:hover {
    background: var(--gold-dark);
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(196,154,42,.45);
}
.be-btn--outline {
    background: transparent;
    color: var(--navy);
    border: 2px solid var(--border);
}
.be-btn--outline:hover { border-color: var(--gold); color: var(--gold); }
.be-btn--outline-light {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,.4);
}
.be-btn--outline-light:hover { border-color: var(--gold); color: var(--gold); }

/* ================================================================
   HERO
================================================================ */
.be-hero {
    position: relative;
    min-height: 580px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: 113px;
}

.be-hero__bg {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transform-origin: center;
    animation: be-kenburns 18s ease-in-out infinite alternate;
}

@keyframes be-kenburns {
    0%   { transform: scale(1)    translateX(0)   translateY(0); }
    33%  { transform: scale(1.06) translateX(-1%) translateY(-1%); }
    66%  { transform: scale(1.04) translateX(1%)  translateY(.5%); }
    100% { transform: scale(1.08) translateX(-.5%)translateY(-1.5%); }
}

.be-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg,
        rgba(15,23,42,.82) 0%,
        rgba(15,23,42,.48) 55%,
        rgba(15,23,42,.62) 100%);
}

.be-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, transparent 50%, rgba(0,0,0,.45) 100%);
    z-index: 1;
    pointer-events: none;
}

.be-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
    opacity: .35;
    pointer-events: none;
    z-index: 1;
}

.be-hero__content {
    position: relative;
    z-index: 2;
    max-width: 720px;
    padding: 80px 28px;
}

.be-hero__tag {
    display: inline-block;
    font-family: var(--font-head);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 20px;
    background: rgba(196,154,42,.15);
    padding: 6px 16px;
    border-radius: 30px;
    border: 1px solid rgba(196,154,42,.35);
}

.be-hero__title {
    font-family: var(--font-deco);
    font-size: clamp(2rem, 5vw, 3.4rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.22;
    margin: 0 0 22px;
    text-shadow: 0 2px 30px rgba(0,0,0,.3);
}

.be-hero__title em { font-style: normal; color: var(--gold); }

.be-hero__subtitle {
    font-size: 1.15rem;
    color: rgba(255,255,255,.82);
    line-height: 1.75;
    margin: 0 auto 38px;
    max-width: 580px;
}

.be-hero__divider {
    width: 56px; height: 2px;
    background: var(--gold);
    margin: 0 auto 32px;
    opacity: .8;
}

/* ================================================================
   CATEGORY CARDS
================================================================ */
.be-cats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.be-cat {
    position: relative;
    height: 240px;
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    box-shadow: var(--shadow);
    transition: transform .32s cubic-bezier(.22,.68,0,1.2), box-shadow .32s;
    text-decoration: none;
}

.be-cat:hover { transform: translateY(-7px); box-shadow: var(--shadow-h); }

.be-cat__img {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
}

.be-cat:hover .be-cat__img { transform: scale(1.07); }

.be-cat::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15,23,42,.82) 0%, rgba(15,23,42,.25) 50%, transparent 100%);
}

.be-cat__body {
    position: relative;
    z-index: 1;
    padding: 20px 18px;
    width: 100%;
}

.be-cat__label {
    display: inline-block;
    font-family: var(--font-head);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 5px;
}

.be-cat__body h3 {
    font-family: var(--font-head);
    font-size: 1.12rem;
    font-weight: 700;
    color: var(--white);
    margin: 0 0 3px;
    line-height: 1.3;
}

.be-cat__body span {
    font-size: .8rem;
    color: rgba(255,255,255,.65);
    font-style: italic;
}

/* ================================================================
   ARTICLE CARDS
================================================================ */
.be-posts-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.be-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform .28s, box-shadow .28s;
    color: var(--navy);
    text-decoration: none;
}

.be-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-h); }

.be-card__img { position: relative; overflow: hidden; height: 175px; flex-shrink: 0; }
.be-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.be-card:hover .be-card__img img { transform: scale(1.06); }

.be-card__body {
    padding: 22px 22px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.be-card__cat {
    font-family: var(--font-head);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 9px;
    display: block;
}

.be-card__title {
    font-family: var(--font-head);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.42;
    margin: 0 0 10px;
}

.be-card__meta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: .8rem;
    color: #9CA3AF;
    font-family: var(--font-head);
    margin-bottom: 10px;
}
.be-card__meta svg { flex-shrink: 0; opacity: .7; }

.be-card__excerpt {
    font-size: .92rem;
    color: var(--grey-text);
    line-height: 1.65;
    margin: 0 0 18px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.be-card__link {
    font-family: var(--font-head);
    font-size: .85rem;
    font-weight: 700;
    color: var(--gold);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: auto;
    transition: gap .2s;
    text-decoration: none;
}
.be-card:hover .be-card__link { gap: 9px; }

.be-card__sep { width: 36px; height: 2px; background: var(--gold); margin: 0 0 14px; opacity: .6; }

/* ================================================================
   INSPIRATION GRID
================================================================ */
.be-inspi-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.be-inspi {
    position: relative;
    height: 240px;
    border-radius: var(--radius);
    overflow: hidden;
    display: block;
    box-shadow: var(--shadow);
    transition: transform .3s, box-shadow .3s;
}

.be-inspi:hover { transform: translateY(-4px); box-shadow: var(--shadow-h); }

.be-inspi img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.be-inspi:hover img { transform: scale(1.08); }

.be-inspi::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15,23,42,.7) 0%, transparent 60%);
}

.be-inspi__label {
    position: absolute;
    bottom: 16px; left: 18px;
    z-index: 1;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: .95rem;
    color: var(--white);
}

/* ================================================================
   CTA BAND
================================================================ */
.be-cta {
    background: var(--cream);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 72px 0;
    text-align: center;
}

.be-cta__tag {
    font-family: var(--font-head);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
    display: block;
    margin-bottom: 16px;
}

.be-cta h2 {
    font-family: var(--font-deco);
    font-size: clamp(1.6rem, 3vw, 2.3rem);
    color: var(--navy);
    margin: 0 0 14px;
}

.be-cta p { font-size: 1.05rem; color: var(--grey-text); margin: 0 0 34px; }

/* ================================================================
   ARCHIVE BANNER
================================================================ */
#be-archive { background: var(--white); }

.be-archive__banner {
    background: var(--navy);
    width: 100%;
    padding: calc(113px + 28px) 48px 38px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.be-archive__banner::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold) 0%, transparent 60%);
}

.be-archive__banner-tag {
    font-family: var(--font-head);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--gold);
    display: block;
    margin-bottom: 10px;
}

.be-archive__banner-title {
    font-family: var(--font-deco);
    font-size: clamp(1.6rem, 3.2vw, 2.4rem);
    color: var(--white);
    margin: 0 0 10px;
    font-weight: 700;
    line-height: 1.2;
}

.be-archive__banner-desc {
    color: rgba(255,255,255,.7);
    font-size: 1rem;
    margin: 0 auto;
    max-width: 520px;
    line-height: 1.65;
}

/* ================================================================
   ARCHIVE LAYOUT
================================================================ */
.be-archive__layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 48px;
    max-width: 1500px;
    width: 100%;
    margin: 0 auto;
    padding: 52px 48px 72px;
    align-items: start;
}

.be-archive__list {
    display: flex;
    flex-direction: column;
    gap: 26px;
}

.be-archive__ad-inline {
    display: flex;
    justify-content: center;
    margin: 8px 0;
}

/* ================================================================
   HORIZONTAL CARD
================================================================ */
.be-hcard {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: row;
    align-items: stretch;
    transition: transform .3s, box-shadow .3s;
    min-height: 210px;
}

.be-hcard:hover { transform: translateY(-5px); box-shadow: var(--shadow-h); }

.be-hcard__img-wrap {
    flex-shrink: 0;
    width: 340px;
    overflow: hidden;
    display: block;
}

.be-hcard__img-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .55s ease; }
.be-hcard:hover .be-hcard__img-wrap img { transform: scale(1.06); }

.be-hcard__img-placeholder { width: 100%; height: 100%; background: var(--cream); }

.be-hcard__body {
    padding: 28px 34px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
    min-width: 0;
}

.be-hcard__cat {
    font-family: var(--font-head);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
    text-decoration: none;
    margin-bottom: 10px;
    display: block;
}

.be-hcard__title {
    font-family: var(--font-head);
    font-size: 1.32rem;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.38;
    margin: 0 0 12px;
}

.be-hcard__title a { color: var(--navy); text-decoration: none; }
.be-hcard__title a:hover { color: var(--gold); }

.be-hcard__meta {
    display: flex;
    align-items: center;
    gap: 5px;
    font-family: var(--font-head);
    font-size: .8rem;
    color: #9CA3AF;
    margin-bottom: 14px;
}

.be-hcard__excerpt {
    font-size: .95rem;
    color: var(--grey-text);
    line-height: 1.72;
    margin: 0 0 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.be-hcard__link {
    font-family: var(--font-head);
    font-size: .85rem;
    font-weight: 700;
    color: var(--gold);
    text-decoration: none;
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.be-hcard__link:hover { color: var(--gold-dark); }

/* Pagination */
.be-archive__pag { margin-top: 48px; }
.be-archive__pag .page-numbers {
    display: inline-flex;
    list-style: none;
    padding: 0; margin: 0;
    gap: 8px;
    flex-wrap: wrap;
}
.be-archive__pag .page-numbers li a,
.be-archive__pag .page-numbers li span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px; height: 40px;
    border-radius: 8px;
    font-family: var(--font-head);
    font-size: .9rem;
    font-weight: 700;
    color: var(--navy);
    border: 1px solid var(--border);
    text-decoration: none;
    transition: all .2s;
}
.be-archive__pag .page-numbers li .current,
.be-archive__pag .page-numbers li a:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: #000;
}

/* ================================================================
   SINGLE ARTICLE
================================================================ */
#be-single { background: var(--white); }

.be-article__hero { width: 100%; max-height: 480px; overflow: hidden; background: var(--cream); }
.be-article__hero-img { width: 100%; height: 480px; object-fit: cover; display: block; }

.be-article__layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 48px;
    max-width: 1300px;
    margin: 0 auto;
    padding: 48px 40px 64px;
    align-items: start;
}

.be-article__header {
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

.be-article__meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.be-article__cat {
    font-family: var(--font-head);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: var(--gold);
    text-decoration: none;
}

.be-article__date {
    display: flex;
    align-items: center;
    gap: 5px;
    font-family: var(--font-head);
    font-size: .8rem;
    color: #9CA3AF;
}

.be-article__title {
    font-family: var(--font-deco);
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 700;
    color: var(--navy);
    line-height: 1.28;
    margin: 0 0 20px;
}

.be-article__divider { width: 50px; height: 3px; background: var(--gold); border-radius: 2px; }

.be-article__content {
    font-family: var(--font-body);
    font-size: 1.05rem;
    line-height: 1.82;
    color: #374151;
}

.be-article__content p { margin-bottom: 1.6em; }

.be-article__content h2 {
    font-family: var(--font-head);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--navy);
    border-left: 4px solid var(--gold);
    padding-left: 14px;
    margin: 2.2em 0 .8em;
    line-height: 1.3;
}

.be-article__content h3 {
    font-family: var(--font-head);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--navy);
    margin: 1.8em 0 .6em;
}

.be-article__content ul,
.be-article__content ol { padding-left: 24px; margin-bottom: 1.4em; }
.be-article__content li { margin-bottom: 8px; }

.be-article__content blockquote {
    border-left: 4px solid var(--gold);
    background: var(--cream);
    padding: 18px 22px;
    margin: 1.6em 0;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: var(--grey-text);
}

.be-article__content .intro-box {
    background: #EEF6FB;
    border-left: 5px solid var(--navy);
    padding: 20px;
    border-radius: 4px;
    margin: 28px 0;
}
.be-article__content .warning {
    background: #FFF3CD;
    border-left: 5px solid #F4A261;
    padding: 18px;
    border-radius: 4px;
    margin: 22px 0;
}
.be-article__content .tip {
    background: #E8F5E9;
    border-left: 5px solid #43A047;
    padding: 18px;
    border-radius: 4px;
    margin: 22px 0;
}
.be-article__content .step {
    background: #F9F9F9;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.be-ad-slot--float-right { float: right; margin: 0 0 20px 28px; clear: right; }

.be-article__nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}

.be-article__nav-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: var(--cream);
    padding: 16px 18px;
    border-radius: 12px;
    text-decoration: none;
    transition: background .2s;
}
.be-article__nav-item:hover { background: var(--gold-light); }

.be-article__nav-label {
    font-family: var(--font-head);
    font-size: .75rem;
    font-weight: 700;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.be-article__nav-title {
    font-family: var(--font-head);
    font-size: .9rem;
    font-weight: 600;
    color: var(--navy);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ================================================================
   SIDEBAR
================================================================ */
.be-sidebar { display: flex; flex-direction: column; gap: 28px; }

.be-sidebar__widget {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 22px;
}

.be-sidebar__title {
    font-family: var(--font-head);
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
    margin: 0 0 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--gold);
}

.be-sidebar__cats {
    list-style: none;
    padding: 0; margin: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.be-sidebar__cats li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 10px;
    border-radius: 8px;
    font-family: var(--font-head);
    font-size: .88rem;
    font-weight: 600;
    color: var(--navy);
    text-decoration: none;
    transition: background .18s, color .18s;
}
.be-sidebar__cats li a:hover { background: var(--cream); color: var(--gold); }

.be-sidebar__cats li a span {
    font-size: .75rem;
    color: #9CA3AF;
    font-weight: 400;
    background: var(--grey-light);
    padding: 2px 8px;
    border-radius: 20px;
}

.be-sidebar__related {
    list-style: none;
    padding: 0; margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.be-sidebar__related-item a {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--navy);
    transition: color .18s;
}
.be-sidebar__related-item a:hover { color: var(--gold); }

.be-sidebar__related-item img { width: 64px; height: 48px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }

.be-sidebar__related-item span {
    font-family: var(--font-head);
    font-size: .82rem;
    font-weight: 600;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ================================================================
   PUBLICITÉS
================================================================ */
.be-ad-wrap {
    display: flex;
    justify-content: center;
    padding: 16px 24px 0;
    background: var(--white);
}

.be-ad-slot {
    background: #F3F4F6;
    border: 1px dashed #D1D5DB;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.be-ad-slot--728 { width: 100%; max-width: 728px; min-height: 90px; }
.be-ad-slot--300 { width: 300px; min-height: 250px; }
.be-ad-slot--336 { width: 336px; min-height: 280px; }

.be-ad-label {
    font-family: var(--font-head);
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #9CA3AF;
}

.be-ad-slot--sticky { position: sticky; top: 130px; }

/* ================================================================
   FOOTER
================================================================ */
#be-footer {
    background: var(--navy);
    color: rgba(255,255,255,.6);
    font-family: var(--font-head);
    padding: 28px 0;
    border-top: 3px solid var(--gold);
}

.be-footer__inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 48px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 40px;
}

.be-footer__col--copy { text-align: left; }
.be-footer__col--copy p { margin: 0; font-size: .88rem; color: rgba(255,255,255,.6); line-height: 1.5; }
.be-footer__col--copy em { font-style: italic; color: rgba(255,255,255,.5); }

.be-footer__col--logo { text-align: center; }
.be-footer__col--logo a { display: inline-block; line-height: 0; transition: opacity .2s; }
.be-footer__col--logo a:hover { opacity: .8; }
.be-footer__col--logo img { width: 100px; max-width: 100%; height: auto; display: block; }

.be-footer__col--links { text-align: right; font-size: .88rem; line-height: 1.6; }
.be-footer__col--links a { color: var(--gold); text-decoration: none; font-weight: 500; transition: color .2s; }
.be-footer__col--links a:hover { color: #fff; text-decoration: underline; }
.be-footer__col--links span { color: rgba(255,255,255,.3); margin: 0 2px; }

@media (max-width: 900px) {
    .be-footer__inner { grid-template-columns: 1fr; gap: 20px; padding: 0 24px; text-align: center; }
    .be-footer__col--copy,
    .be-footer__col--links { text-align: center; }
    .be-footer__col--logo { order: -1; }
}

/* ================================================================
   PAGES STATIQUES
================================================================ */
#be-page { background: var(--white); }
.be-contact__wrap { max-width: 760px; margin: 0 auto; padding: 52px 32px 72px; }

.be-page__layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 48px;
    max-width: 1300px;
    margin: 0 auto;
    padding: 52px 48px 72px;
    align-items: start;
}

.be-page__single {
    max-width: 900px;
    margin: 0 auto;
    padding: 52px 32px 72px;
}

.be-page__content { font-size: 1.05rem; line-height: 1.8; color: #374151; }

.be-page__content h2 {
    font-family: var(--font-head);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy);
    border-left: 4px solid var(--gold);
    padding-left: 14px;
    margin: 2em 0 .8em;
}

.be-page__content h3 {
    font-family: var(--font-head);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--navy);
    margin: 1.6em 0 .6em;
}

.be-page__content p  { margin-bottom: 1.4em; }
.be-page__content ul { padding-left: 24px; margin-bottom: 1.4em; }
.be-page__content li { margin-bottom: 8px; }
.be-page__content a  { color: var(--gold); font-weight: 500; }

.be-page__meta {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    color: #9CA3AF;
    font-size: .9rem;
}

.be-page__related {
    margin-top: 48px;
    padding: 28px 32px;
    background: var(--cream);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.be-page__related h3 {
    font-family: var(--font-head);
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
    margin: 0 0 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

.be-page__related-links { display: flex; gap: 12px; flex-wrap: wrap; }

.be-page__related-links a {
    display: inline-block;
    padding: 8px 18px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 30px;
    font-family: var(--font-head);
    font-size: .82rem;
    font-weight: 600;
    color: var(--navy);
    text-decoration: none;
    transition: all .2s;
}
.be-page__related-links a:hover { background: var(--gold); border-color: var(--gold); color: #000; }

/* ================================================================
   PLAN DU SITE
================================================================ */
.be-sitemap__section { margin-bottom: 52px; }

.be-sitemap__heading {
    font-family: var(--font-head);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--navy);
    margin: 0 0 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--gold);
}

.be-sitemap__pages {
    list-style: none;
    padding: 0; margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.be-sitemap__pages li a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--navy);
    font-size: .98rem;
    text-decoration: none;
    transition: color .18s;
}
.be-sitemap__pages li a:hover { color: var(--gold); }

.be-sitemap__bullet {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--gold);
    flex-shrink: 0;
    display: inline-block;
}

.be-sitemap__cats {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 28px;
}

.be-sitemap__cat {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 22px;
}

.be-sitemap__cat-title {
    font-family: var(--font-head);
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 14px;
}

.be-sitemap__cat-title a {
    color: var(--navy);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}
.be-sitemap__cat-title a:hover { color: var(--gold); }

.be-sitemap__count {
    font-size: .75rem;
    color: #9CA3AF;
    background: var(--grey-light);
    padding: 2px 8px;
    border-radius: 20px;
    font-weight: 400;
}

.be-sitemap__cat-desc { font-size: .88rem; color: var(--grey-text); margin: 0 0 14px; }

.be-sitemap__posts {
    list-style: none;
    padding: 0; margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.be-sitemap__posts li a {
    display: flex;
    align-items: baseline;
    gap: 8px;
    text-decoration: none;
    color: var(--grey-text);
    font-size: .88rem;
    transition: color .18s;
}
.be-sitemap__posts li a:hover { color: var(--gold); }

.be-sitemap__post-title { flex: 1; line-height: 1.4; }

.be-sitemap__post-date {
    font-size: .75rem;
    color: #9CA3AF;
    white-space: nowrap;
    flex-shrink: 0;
}

/* ================================================================
   FORMULAIRE CONTACT
================================================================ */
.be-page__main { min-width: 0; }
.be-page__side { display: flex; flex-direction: column; gap: 24px; }

.be-alert {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 20px;
    border-radius: 10px;
    margin-bottom: 24px;
    font-size: .95rem;
    line-height: 1.5;
}
.be-alert p { margin: 0; }
.be-alert--success { background: #F0FDF4; border: 1px solid #86EFAC; color: #166534; }
.be-alert--error   { background: #FEF2F2; border: 1px solid #FCA5A5; color: #991B1B; }

.be-form-wrap {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 36px 40px;
}

.be-form-title {
    font-family: var(--font-head);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--navy);
    margin: 0 0 10px;
}

.be-form-intro { color: var(--grey-text); font-size: .95rem; margin-bottom: 28px; }

.be-form__hp { position: absolute; left: -9999px; visibility: hidden; }

.be-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.be-form__field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 20px; }

.be-form__field label {
    font-family: var(--font-head);
    font-size: .85rem;
    font-weight: 700;
    color: var(--navy);
}
.be-form__field label span { color: var(--gold); }

.be-form__field input,
.be-form__field textarea {
    width: 100%;
    padding: 11px 16px;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--navy);
    background: var(--white);
    transition: border-color .2s;
    outline: none;
}

.be-form__field input:focus,
.be-form__field textarea:focus { border-color: var(--gold); }

.be-form__field textarea { resize: vertical; min-height: 150px; }

.be-form__consent {
    margin-bottom: 24px;
    font-size: .88rem;
    color: var(--grey-text);
}

.be-form__consent label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}

.be-form__consent input[type="checkbox"] {
    width: 16px; height: 16px;
    flex-shrink: 0;
    margin-top: 2px;
    accent-color: var(--gold);
}

.be-form__submit { width: 100%; justify-content: center; display: flex; align-items: center; gap: 8px; }
.be-form__submit:disabled { opacity: .45; cursor: not-allowed; pointer-events: none; }

.be-info-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 24px;
}

.be-info-card__icon {
    width: 44px; height: 44px;
    background: var(--cream);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    color: var(--gold);
}

.be-info-card h3 {
    font-family: var(--font-head);
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
    margin: 0 0 8px;
}

.be-info-card p { font-size: .92rem; color: var(--grey-text); margin: 0 0 10px; }
.be-info-card a { color: var(--gold); font-weight: 600; font-size: .92rem; }

/* ================================================================
   RESPONSIVE GLOBAL
================================================================ */
@media (max-width: 1280px) {
    .be-archive__layout { padding: 40px 32px 56px; gap: 36px; }
    .be-hcard__img-wrap { width: 280px; }
}

@media (max-width: 1024px) {
    .be-cats-grid  { grid-template-columns: repeat(2, 1fr); }
    .be-inspi-grid { grid-template-columns: repeat(2, 1fr); }
    .be-posts-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
    .be-archive__layout,
    .be-article__layout { grid-template-columns: 1fr; padding: 36px 28px 48px; }
    .be-page__layout { grid-template-columns: 1fr; padding: 36px 28px 48px; }
    .be-sidebar { display: grid; grid-template-columns: repeat(2, 1fr); }
    .be-ad-slot--sticky { position: static; }
    .be-hcard__img-wrap { width: 260px; }
}

@media (max-width: 768px) {
    .be-section { padding: 56px 0; }
    .be-hero { min-height: 440px; }
    .be-hero__content { padding: 60px 24px; }
    .be-posts-grid { grid-template-columns: 1fr; gap: 22px; }
    .be-section-head { margin-bottom: 36px; }
    .be-archive__banner { padding: calc(76px + 20px) 24px 30px; }
    .be-hcard { flex-direction: column; min-height: unset; }
    .be-hcard__img-wrap { width: 100%; height: 210px; }
    .be-hcard__body { padding: 18px 20px 22px; }
    .be-sidebar { grid-template-columns: 1fr; }
    .be-article__nav { grid-template-columns: 1fr; }
    .be-article__hero-img { height: 240px; }
    .be-ad-slot--336 { float: none; margin: 0 0 20px 0; width: 100%; max-width: 100%; }
    .be-ad-slot--728 { min-height: 60px; }
    .be-form-wrap { padding: 24px 20px; }
    .be-form__row { grid-template-columns: 1fr; }
    .be-page__single { padding: 32px 20px 48px; }
    .be-sitemap__cats { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
    .be-cats-grid  { grid-template-columns: 1fr; }
    .be-inspi-grid { grid-template-columns: repeat(2, 1fr); }
    .be-inspi      { height: 160px; }
}


/* ==========================================================================
   AutoPublish: A LIRE AUSSI + Footer Explore (boost maillage interne)
   ========================================================================== */
.be-also-read{margin:48px 0 24px;padding-top:32px;border-top:1px solid rgba(0,0,0,.08);}
.be-also-read__title{font-size:1.5rem;margin:0 0 24px;font-weight:600;}
.be-also-read__grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;}
.be-also-read__card{display:flex;flex-direction:column;text-decoration:none;color:inherit;background:#fff;border-radius:10px;overflow:hidden;border:1px solid rgba(0,0,0,.08);transition:transform .18s,box-shadow .18s;}
.be-also-read__card:hover{transform:translateY(-3px);box-shadow:0 12px 24px rgba(0,0,0,.1);}
.be-also-read__img{display:block;width:100%;height:140px;background-size:cover;background-position:center;background-color:#eee;}
.be-also-read__body{display:block;padding:14px 16px 16px;}
.be-also-read__cat{display:inline-block;font-size:.72rem;text-transform:uppercase;letter-spacing:.05em;color:#7a7a7a;margin-bottom:6px;}
.be-also-read__h{display:block;font-size:.98rem;line-height:1.35;font-weight:600;color:#1a2030;}
@media (max-width:800px){.be-also-read__grid{grid-template-columns:1fr 1fr;}}
@media (max-width:520px){.be-also-read__grid{grid-template-columns:1fr;}}

.be-footer-explore{background:#faf7f2;border-top:1px solid #ebe4d6;padding:48px 24px 24px;}
.be-footer-explore__inner{max-width:1200px;margin:0 auto;display:grid;grid-template-columns:repeat(3,1fr);gap:40px;}
.be-footer-explore__title{font-size:1rem;font-weight:700;margin:0 0 16px;text-transform:uppercase;letter-spacing:.04em;color:#1a2233;}
.be-footer-explore__list{list-style:none;padding:0;margin:0;}
.be-footer-explore__list li{margin-bottom:8px;line-height:1.4;}
.be-footer-explore__list a{color:#4a5568;text-decoration:none;font-size:.92rem;transition:color .15s;}
.be-footer-explore__list a:hover{color:#1a2233;text-decoration:underline;}
.be-footer-explore__count{color:#8a8a8a;font-size:.82rem;}
@media (max-width:800px){.be-footer-explore__inner{grid-template-columns:1fr;gap:32px;}}


/* AUTO_PUBLISH_HERO_V1 */
.be-article__author{display:inline-flex;align-items:center;gap:6px;font-size:13px;color:#666;margin-left:14px;}
.be-article__author svg{flex:none;opacity:.8;}
.be-article__hero{margin:0 0 28px;border-radius:10px;overflow:hidden;background:#f3f3f3;}
.be-article__hero img{display:block;width:100%;height:auto;max-height:480px;object-fit:cover;}
@media (max-width:720px){.be-article__hero{margin:0 0 18px;border-radius:6px;}.be-article__hero img{max-height:260px;}}
