/* ================================================================
   DUNELIA — Blog, cadeaux, témoignages, bandeaux promo
   ================================================================ */

/* ── Blog ─────────────────────────────────────── */

.blog-list { display: grid; gap: 20px; margin-bottom: 3rem; }

.blog-card {
    padding: 28px 32px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: border-color 0.25s var(--ease);
}
.blog-card:hover { border-color: var(--border-strong); }
.blog-card h2 { font-size: 1.45rem; margin: 0.35rem 0 0.6rem; }
.blog-card h2 a:hover { color: var(--gold); }
.blog-card p { font-size: 0.98rem; }
.blog-card-meta { font-size: 0.8rem; color: var(--text-muted); letter-spacing: 0.02em; }
.blog-card-more { display: inline-block; margin-top: 0.9rem; color: var(--gold); font-weight: 500; }
.blog-card-more:hover { text-decoration: underline; }
.blog-empty { color: var(--text-muted); text-align: center; padding: 2rem 0; }

.article-breadcrumb { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 1.5rem; }
.article-breadcrumb a:hover { color: var(--gold); }
.article-header h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin: 0.5rem 0 0.75rem; }
.article-body { margin-top: 2rem; font-size: 1.05rem; line-height: 1.8; color: var(--text-secondary); }
.article-body h2 { font-size: 1.55rem; margin: 2.2rem 0 0.8rem; color: var(--text); }
.article-body h3 { font-size: 1.2rem; margin: 1.8rem 0 0.6rem; color: var(--text); }
.article-body h4 { font-size: 1.05rem; margin: 1.4rem 0 0.5rem; color: var(--text); }
.article-body p { margin: 0 0 1.1rem; }
.article-body ul, .article-body ol { margin: 0 0 1.2rem 1.4rem; list-style: disc; }
.article-body ol { list-style: decimal; }
.article-body li { margin-bottom: 0.45rem; }
.article-body li::marker { color: var(--gold); }
.article-body strong { color: var(--text); }
.article-body a { color: var(--gold-light); text-decoration: underline; text-underline-offset: 3px; }
.article-body blockquote { margin: 1.5rem 0; padding: 1rem 1.4rem; border-left: 3px solid var(--gold); background: var(--gold-glow); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.article-body blockquote p { margin: 0; font-style: italic; }
.article-body hr { border: 0; border-top: 1px solid var(--border-strong); margin: 2rem 0; }
.article-body code { font-family: 'SF Mono', Menlo, Consolas, monospace; font-size: 0.9em; background: var(--bg-elevated); padding: 0.1em 0.4em; border-radius: 4px; }

.article-cta {
    margin: 3rem 0 1.5rem;
    padding: 2.2rem;
    text-align: center;
    background: linear-gradient(135deg, var(--gold-glow), var(--bg-surface) 60%);
    border: 1px solid rgba(200, 169, 110, 0.3);
    border-radius: var(--radius-lg);
}
.article-cta h2 { font-size: 1.6rem; margin-bottom: 0.6rem; }
.article-cta p { max-width: 560px; margin: 0 auto 1.4rem; }
.article-cta .hero-actions { justify-content: center; }
.article-back { text-align: center; font-size: 0.9rem; }
.article-back a:hover { color: var(--gold); }

/* ── Offrir DUNELIA ───────────────────────────── */

.gift-form { display: grid; gap: 1.5rem; }

.gift-fieldset {
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--bg-surface);
    padding: 1.5rem;
    min-width: 0;
}
.gift-fieldset legend { padding: 0 0.5rem; font-weight: 500; color: var(--gold); letter-spacing: 0.02em; }
.gift-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.gift-options--inline { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
.gift-option { position: relative; display: block; cursor: pointer; }
.gift-option input { position: absolute; opacity: 0; inset: 0; }
.gift-option-body {
    display: block;
    padding: 16px;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-sm);
    background: var(--bg-input);
    transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.gift-option input:checked + .gift-option-body { border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-glow); }
.gift-option input:focus-visible + .gift-option-body { outline: 2px solid var(--gold); outline-offset: 2px; }
.gift-option-body strong { display: block; color: var(--text); font-size: 1.05rem; }
.gift-option-body small { display: block; color: var(--text-muted); margin-top: 0.3rem; font-size: 0.8rem; }
.gift-option-body em { display: block; color: var(--text-secondary); font-style: normal; font-size: 0.85rem; margin-top: 0.4rem; }
.gift-option--small .gift-option-body { text-align: center; }
.gift-total {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 1rem 1.5rem;
    border: 1px solid rgba(200, 169, 110, 0.4);
    border-radius: var(--radius-md);
    background: rgba(200, 169, 110, 0.06);
    color: var(--text);
}
.gift-total strong { font-family: var(--font-serif); font-size: 2rem; color: var(--gold-light); }
.gift-how { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--border); }
.gift-how h2 { font-size: 1.4rem; margin-bottom: 1rem; }
.gift-how a { color: var(--gold-light); text-decoration: underline; text-underline-offset: 3px; }
.gift-code {
    text-align: center;
    padding: 2rem;
    margin: 1rem 0 2rem;
    border: 1px dashed var(--gold);
    border-radius: var(--radius-lg);
    background: var(--gold-glow);
}
.gift-code strong { display: block; font-family: 'SF Mono', Menlo, Consolas, monospace; font-size: clamp(1.6rem, 5vw, 2.4rem); letter-spacing: 0.15em; color: var(--text); }
.gift-code small { display: block; margin-top: 0.75rem; color: var(--text-secondary); }
.aff-steps { display: flex; flex-direction: column; gap: 0.6rem; padding-left: 1.3rem; list-style: decimal; color: var(--text-secondary); line-height: 1.6; }
.aff-steps li::marker { color: var(--gold); font-weight: 600; }
.pricing-gift-link { margin-top: 1rem; font-size: 0.92rem; }
.pricing-gift-link a { color: var(--gold-light); text-decoration: underline; text-underline-offset: 3px; }

/* ── Témoignages ──────────────────────────────── */

.section--testimonials { background: var(--bg-surface); }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.testimonial {
    padding: 1.6rem 1.8rem;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    margin: 0;
}
.testimonial p { font-size: 1rem; line-height: 1.7; color: var(--text); font-style: italic; margin-bottom: 1rem; }
.testimonial footer { font-size: 0.85rem; color: var(--text-muted); }
.testimonial footer strong { color: var(--gold); font-weight: 500; }

/* ── Bandeau code de bienvenue ────────────────── */

.promo-banner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 18px;
    margin: 0 auto 1.75rem;
    max-width: 820px;
    padding: 0.9rem 1.3rem;
    border: 1px dashed var(--gold);
    border-radius: var(--radius-md);
    background: var(--gold-glow);
    color: var(--text);
    font-size: 0.92rem;
}
.promo-banner-code {
    font-family: 'SF Mono', Menlo, Consolas, monospace;
    letter-spacing: 0.12em;
    padding: 0.35rem 0.75rem;
    background: var(--bg);
    border-radius: var(--radius-sm);
    color: var(--gold-light);
    font-weight: 600;
}

@media (max-width: 600px) {
    .blog-card { padding: 22px; }
    .gift-total { flex-direction: column; gap: 0.25rem; }
}
