/*
Theme Name: Blog de Folie
Theme URI: https://blog-de-folie.fr
Description: Theme maison feminin editorial pour blog-de-folie.fr, glamour magazine. Bodoni Moda + Manrope, ivoire chaud et encre, rose #c96a90 en accent. Sans page builder.
Author: Blog de Folie
Version: 2.0.0
Text Domain: bdf
*/

/* ============ TOKENS ============ */
:root{
  --blush:#ffffff;         /* base ivoire chaud (fond) */
  --blush-deep:#efe8e1;    /* section alternee */
  --cream:#fffdfb;         /* cartes */
  --rose:#c96a90;          /* ACCENT unique */
  --rose-deep:#a94f76;
  --rose-soft:#f0dde5;     /* survols tres legers */
  --plum:#1c1618;          /* encre chaude (texte + sections sombres) */
  --plum-soft:#5b5257;     /* texte secondaire */
  --gold:#b8916b;
  --line:#e5ddd5;          /* filet chaud */
  --muted:#938a8f;
  --white:#fff;
  --radius:3px; --radius-lg:4px; --radius-pill:999px;
  --shadow:0 24px 50px -34px rgba(28,22,24,.32);
  --shadow-sm:0 12px 30px -24px rgba(28,22,24,.26);
  --maxw:1200px; --measure:42rem;
  --display:'Bodoni Moda',Didot,'Times New Roman',serif;
  --script:'Bodoni Moda',Didot,serif;
  --body:'Manrope',system-ui,-apple-system,Segoe UI,Roboto,sans-serif;
}

/* ============ BASE ============ */
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:var(--body);color:var(--plum);background:var(--blush);line-height:1.72;font-size:17px;-webkit-font-smoothing:antialiased}
img{max-width:100%;height:auto;display:block}
a{color:var(--rose-deep);text-decoration:none;transition:color .16s}
a:hover{color:var(--rose)}
h1,h2,h3,h4{font-family:var(--display);font-weight:600;line-height:1.12;color:var(--plum);margin:0 0 .5em;letter-spacing:-.01em}
.bdf-container{max-width:var(--maxw);margin:0 auto;padding:0 30px}

/* ============ UTIL ============ */
.bdf-kicker{display:inline-block;font-family:var(--body);text-transform:uppercase;letter-spacing:.26em;font-size:.68rem;font-weight:700;color:var(--rose)}
/* .bdf-script repurpose : eyebrow en petites capitales (plus de cursive) */
.bdf-script{display:inline-block;font-family:var(--body);text-transform:uppercase;letter-spacing:.26em;font-size:.7rem;font-weight:700;color:var(--rose)}
.bdf-eyebrow{color:var(--muted);font-size:1.05rem}
.bdf-mark{color:var(--rose-deep);font-family:var(--display);font-style:italic}
.bdf-btn{display:inline-flex;align-items:center;gap:.55rem;font-family:var(--body);font-weight:700;font-size:.74rem;letter-spacing:.16em;text-transform:uppercase;padding:.92rem 1.9rem;border-radius:0;border:1px solid var(--plum);color:var(--plum);background:transparent;cursor:pointer;transition:all .18s ease;text-decoration:none;line-height:1}
.bdf-btn:hover{background:var(--plum);color:var(--blush);border-color:var(--plum)}
.bdf-btn--solid{background:var(--plum);color:var(--blush);border-color:var(--plum)}
.bdf-btn--solid:hover{background:var(--rose);color:#fff;border-color:var(--rose)}
.bdf-btn--light{border-color:rgba(255,255,255,.5);color:#fff}
.bdf-btn--light:hover{background:var(--rose);color:#fff;border-color:var(--rose)}
.bdf-arrow{transition:transform .18s}.bdf-btn:hover .bdf-arrow{transform:translateX(3px)}

/* filet ornemental sobre */
.bdf-ornament{display:flex;align-items:center;justify-content:center;gap:14px;margin:12px 0 0}
.bdf-ornament .l{height:1px;width:56px;background:var(--line)}
.bdf-ornament .d{color:var(--rose);font-size:.5rem}

/* ============ HEADER ============ */
.bdf-header{position:sticky;top:0;z-index:60;background:rgba(255,255,255,.9);backdrop-filter:saturate(150%) blur(9px);border-bottom:1px solid var(--line)}
.bdf-header__in{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:20px;min-height:82px;padding:10px 0}
.bdf-nav{display:flex;gap:26px;justify-self:start;flex-wrap:wrap}
.bdf-nav a{font-family:var(--body);color:var(--plum);text-transform:uppercase;letter-spacing:.16em;font-size:.7rem;font-weight:700}
.bdf-nav a:hover{color:var(--rose)}
.bdf-logo{justify-self:center;font-family:var(--display);font-weight:600;font-size:1.7rem;line-height:1;color:var(--plum);text-decoration:none;white-space:nowrap;padding:0 10px;text-transform:uppercase;letter-spacing:.18em}
.bdf-logo:hover{color:var(--rose)}
.bdf-header__end{justify-self:end;display:flex;align-items:center;gap:12px}
.bdf-search{width:40px;height:40px;border:1px solid var(--line);border-radius:50%;display:inline-flex;align-items:center;justify-content:center;color:var(--plum);background:transparent}
.bdf-search:hover{border-color:var(--rose);color:var(--rose)}
.bdf-nav-toggle{display:none;background:none;border:0;cursor:pointer;flex-direction:column;gap:5px;padding:8px}
.bdf-nav-toggle span{width:22px;height:2px;background:var(--plum);border-radius:2px}

/* ============ HERO (carte superposee) ============ */
.bdf-hero{padding:52px 0 0}
.bdf-hero__topline{text-align:center;margin-bottom:26px}
.bdf-hero__topline .bdf-script{font-size:.72rem;color:var(--rose)}
.bdf-hero__media{border-radius:var(--radius-lg);overflow:hidden;box-shadow:var(--shadow)}
.bdf-hero__media img{width:100%;aspect-ratio:16/9;object-fit:cover;transition:transform .8s ease}
.bdf-hero__media:hover img{transform:scale(1.03)}
.bdf-hero__card{position:relative;margin:-104px 0 0 clamp(20px,6vw,84px);max-width:640px;background:var(--cream);border:1px solid var(--line);border-radius:var(--radius-lg);padding:38px 44px;box-shadow:var(--shadow-sm)}
.bdf-hero__cat{color:var(--rose);text-transform:uppercase;letter-spacing:.22em;font-size:.68rem;font-weight:700}
.bdf-hero__title{font-size:clamp(2rem,3.8vw,3.1rem);line-height:1.06;margin:.35em 0 .38em;font-weight:600}
.bdf-hero__title a{color:var(--plum)}.bdf-hero__title a:hover{color:var(--rose-deep)}
.bdf-hero__excerpt{color:var(--plum-soft);margin:0 0 1.2rem;font-size:1.02rem;line-height:1.65}
.bdf-meta{display:flex;gap:9px;align-items:center;color:var(--muted);font-size:.72rem;text-transform:uppercase;letter-spacing:.12em;font-family:var(--body);font-weight:600}

/* ============ SECTIONS ============ */
.bdf-section{padding:72px 0}
.bdf-section--blush{background:var(--blush-deep)}
.bdf-section--plum{background:var(--plum);color:#fff}
.bdf-section__head{text-align:center;max-width:640px;margin:0 auto 46px}
.bdf-section__head h2{font-size:clamp(1.9rem,3.2vw,2.7rem);margin:.14em 0;font-weight:600}
.bdf-section__head .bdf-script{font-size:.72rem;color:var(--rose);display:block;margin-bottom:.7rem}

/* rubriques ribbon */
.bdf-ribbon{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px 6px;max-width:940px;margin:0 auto}
.bdf-ribbon a{font-family:var(--display);font-size:1.35rem;font-style:italic;color:var(--plum);padding:.12rem .7rem;transition:color .16s}
.bdf-ribbon a:hover{color:var(--rose-deep)}
.bdf-ribbon .sep{color:var(--rose);font-size:.4rem;transform:translateY(-4px)}

/* ============ CARDS ============ */
.bdf-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:52px 38px}
.bdf-card{display:flex;flex-direction:column}
.bdf-card__media{display:block;border-radius:var(--radius);overflow:hidden;aspect-ratio:4/5;margin-bottom:18px}
.bdf-card__media img{width:100%;height:100%;object-fit:cover;transition:transform .7s ease}
.bdf-card:hover .bdf-card__media img{transform:scale(1.04)}
.bdf-card__cat{color:var(--rose);text-transform:uppercase;letter-spacing:.2em;font-size:.64rem;font-weight:700;margin-bottom:.55rem}
.bdf-card__title{font-family:var(--display);font-size:1.42rem;line-height:1.18;margin:0 0 .5rem;font-weight:600}
.bdf-card__title a{color:var(--plum)}.bdf-card__title a:hover{color:var(--rose-deep)}
.bdf-card__excerpt{color:var(--plum-soft);font-size:.95rem;margin:0 0 .7rem;line-height:1.6}
.bdf-card__meta{margin-top:auto;color:var(--muted);font-size:.72rem;text-transform:uppercase;letter-spacing:.12em}

/* ============ SIGNATURE / A PROPOS ============ */
.bdf-signature{background:var(--cream);border:1px solid var(--line);border-radius:var(--radius-lg);overflow:hidden;display:grid;grid-template-columns:.82fr 1.18fr;box-shadow:var(--shadow-sm)}
.bdf-signature__img{position:relative;min-height:360px}
.bdf-signature__img img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.bdf-signature__body{padding:52px 56px}
.bdf-signature__body .hello{display:inline-block;font-family:var(--body);text-transform:uppercase;letter-spacing:.26em;font-size:.7rem;font-weight:700;color:var(--rose);line-height:1}
.bdf-signature__body h2{font-size:1.9rem;margin:.5em 0 .45em;font-weight:600}
.bdf-signature__body p{color:var(--plum-soft);margin:0 0 1rem}
.bdf-signature__sign{font-family:var(--display);font-style:italic;font-size:1.7rem;color:var(--rose-deep);margin-top:.5rem}

/* ============ NEWSLETTER (bloc encre, plus de gros bloc rose) ============ */
.bdf-news{background:var(--plum);color:#fff;border-radius:var(--radius-lg);padding:64px 46px;text-align:center;position:relative;overflow:hidden}
.bdf-news:before{content:"";position:absolute;inset:14px;border:1px solid rgba(255,255,255,.14);border-radius:2px;pointer-events:none}
.bdf-news .bdf-script{font-size:.72rem;color:var(--rose);display:block;position:relative}
.bdf-news h2{color:#fff;font-size:clamp(1.8rem,3.2vw,2.6rem);margin:.4rem 0 .3rem;position:relative;font-weight:600}
.bdf-news p{max-width:52ch;margin:.3rem auto 1.7rem;color:rgba(255,255,255,.82);position:relative}
.bdf-news__form{display:flex;gap:10px;max-width:480px;margin:0 auto;position:relative}
.bdf-news__form input[type=email]{flex:1;min-width:0;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.3);color:#fff;padding:.9rem 1.1rem;border-radius:0;font-family:var(--body);font-size:.95rem}
.bdf-news__form input[type=email]::placeholder{color:rgba(255,255,255,.55)}
.bdf-news__form input[type=email]:focus{outline:none;border-color:var(--rose)}
.bdf-news__form .bdf-btn--light{white-space:nowrap}
.bdf-hp{position:absolute!important;left:-9999px;width:1px;height:1px;opacity:0;pointer-events:none}
@media(max-width:520px){.bdf-news__form{flex-direction:column}}

/* ============ FOOTER ============ */
.bdf-footer{background:var(--plum);color:rgba(255,255,255,.68);padding:70px 0 30px;font-size:.92rem}
.bdf-footer a{color:rgba(255,255,255,.68)}.bdf-footer a:hover{color:#fff}
.bdf-footer__grid{display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr;gap:40px;padding-bottom:42px;border-bottom:1px solid rgba(255,255,255,.12)}
.bdf-footer__logo{font-family:var(--display);color:#fff;font-size:1.5rem;margin-bottom:.5rem;text-transform:uppercase;letter-spacing:.18em;font-weight:600}
.bdf-footer h4{font-family:var(--body);color:#fff;text-transform:uppercase;letter-spacing:.16em;font-size:.7rem;margin-bottom:1.1rem;font-weight:700}
.bdf-footer ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.6rem}
.bdf-footer__bottom{padding-top:24px;display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px;font-size:.76rem;letter-spacing:.04em;color:rgba(255,255,255,.45)}

/* ============ SINGLE ============ */
.bdf-breadcrumb{font-family:var(--body);font-size:.74rem;color:var(--muted);padding:34px 0 0;letter-spacing:.08em;text-transform:uppercase;text-align:center}
.bdf-breadcrumb a{color:var(--muted)}.bdf-breadcrumb a:hover{color:var(--rose-deep)}
.bdf-sep{margin:0 .55rem;color:var(--rose)}
.bdf-article-head{max-width:46rem;margin:14px auto 32px;text-align:center}
.bdf-article-head h1{font-size:clamp(2.1rem,4.4vw,3.4rem);line-height:1.08;margin:.4rem 0;font-weight:600}
.bdf-article-head .bdf-meta{justify-content:center;margin-top:1rem}
.bdf-article-cover{max-width:1040px;margin:0 auto 48px}
.bdf-article-cover img{width:100%;border-radius:var(--radius-lg);box-shadow:var(--shadow);max-height:580px;object-fit:cover}

/* ============ ARTICLE BODY ============ */
.bdf-article-body{max-width:var(--measure);margin:0 auto;font-size:1.14rem;line-height:1.82}
.bdf-article-body > p:first-of-type{font-size:1.3rem;line-height:1.6;color:var(--plum-soft)}
.bdf-article-body p{margin:0 0 1.35em}
.bdf-article-body h2{font-family:var(--display);font-size:2rem;margin:1.8em 0 .5em;text-align:left;font-weight:600}
.bdf-article-body h2:after{content:none}
.bdf-article-body h3{font-family:var(--display);font-size:1.5rem;margin:1.5em 0 .4em;color:var(--plum);font-weight:600}
.bdf-article-body a{color:var(--rose-deep);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px;text-decoration-color:var(--rose-soft)}
.bdf-article-body a:hover{text-decoration-color:var(--rose)}
.bdf-article-body ul,.bdf-article-body ol{margin:0 0 1.35em;padding-left:1.3em}
.bdf-article-body li{margin:.45em 0}
.bdf-article-body ul li::marker{color:var(--rose)}
.bdf-article-body img{border-radius:var(--radius);margin:1.9em auto}
.bdf-article-body blockquote{margin:1.9em 0;padding:.2em 0 .2em 1.4rem;border-left:2px solid var(--rose);font-family:var(--display);font-style:italic;font-size:1.55rem;line-height:1.4;color:var(--plum)}
.bdf-article-body blockquote p:last-child{margin:0}
.bdf-article-body table{width:100%;border-collapse:collapse;margin:1.8em 0;font-size:.96rem;font-family:var(--body)}
.bdf-article-body th{background:var(--plum);color:#fff;text-align:left;padding:.85rem 1rem;font-weight:700;text-transform:uppercase;letter-spacing:.06em;font-size:.8rem}
.bdf-article-body td{padding:.8rem 1rem;border-bottom:1px solid var(--line);background:var(--cream)}
.bdf-article-body tr:nth-child(even) td{background:var(--blush)}
.bdf-article-sign{max-width:var(--measure);margin:2.6rem auto 0;text-align:center;font-family:var(--display);font-style:italic;font-size:1.4rem;color:var(--rose-deep)}
.bdf-article-sign:before{content:"";display:block;width:40px;height:1px;background:var(--rose);margin:0 auto 1.1rem}

/* callout (.bdf-callout partage DW + .callout) */
.bdf-callout,.callout{background:var(--cream);border:1px solid var(--line);border-left:3px solid var(--rose);border-radius:0 var(--radius) var(--radius) 0;padding:1.2rem 1.5rem;margin:1.9em auto;max-width:var(--measure)}
.bdf-callout__label,.callout__label{display:inline-block;font-family:var(--body);text-transform:uppercase;letter-spacing:.16em;font-size:.68rem;font-weight:700;color:var(--rose-deep);margin-bottom:.45rem}
.bdf-callout__body,.callout__body{color:var(--plum-soft)}
.bdf-callout__body p:last-child,.callout__body p:last-child{margin:0}

/* ============ PAGINATION ============ */
.bdf-pagination{display:flex;gap:8px;justify-content:center;margin-top:56px}
.bdf-pagination a,.bdf-pagination span{font-family:var(--body);padding:.6rem 1rem;border:1px solid var(--line);border-radius:0;font-weight:700;color:var(--plum);background:transparent;font-size:.85rem}
.bdf-pagination .current{background:var(--plum);color:#fff;border-color:var(--plum)}
.bdf-pagination a:hover{border-color:var(--rose);color:var(--rose)}

/* ============ RESPONSIVE ============ */
@media(max-width:960px){
  .bdf-header__in{grid-template-columns:auto 1fr auto}
  .bdf-nav{display:none}
  .bdf-logo{justify-self:start;font-size:1.4rem}
  .bdf-hero__card{margin:-64px 20px 0}
  .bdf-grid{grid-template-columns:repeat(2,1fr);gap:40px 28px}
  .bdf-signature{grid-template-columns:1fr}
  .bdf-signature__img{min-height:300px}
  .bdf-footer__grid{grid-template-columns:1fr 1fr}
  .bdf-nav-toggle{display:flex;justify-self:end}
}
@media(max-width:600px){
  body{font-size:16px}
  .bdf-grid{grid-template-columns:1fr;gap:36px}
  .bdf-footer__grid{grid-template-columns:1fr}
  .bdf-hero__card{padding:28px 24px}
  .bdf-signature__body{padding:34px 26px}
  .bdf-article-body h2{font-size:1.7rem}
  .bdf-nav.is-open{display:flex;position:absolute;top:100%;left:0;right:0;flex-direction:column;background:var(--blush);padding:20px 30px;gap:16px;border-bottom:1px solid var(--line)}
}

/* recap fourni par les regies sponso (.article-summary) : meme traitement que .bdf-callout */
.article-summary{background:var(--cream);border:1px solid var(--line);border-left:3px solid var(--rose);border-radius:0 var(--radius) var(--radius) 0;padding:1.2rem 1.5rem;margin:1.9em auto;max-width:var(--measure)}
.article-summary>p:first-child strong{display:inline-block;font-family:var(--body);text-transform:uppercase;letter-spacing:.16em;font-size:.68rem;font-weight:700;color:var(--rose-deep)}
.article-summary>p:first-child{margin:0 0 .45rem}
.article-summary ul{color:var(--plum-soft);margin:0;padding-left:1.15rem}
.article-summary li{margin:.35rem 0}
