/* ==========================================================================
   La classe de Lili — styles (maquette « La Classe de Lili »)
   Les couleurs, polices et arrondis viennent du Personnaliseur (variables en ligne).
   ========================================================================== */

:root {
	--accent: #C8553D; --green: #3F6B57; --ink: #262521; --muted: #5F5A50; --light: #8C867A;
	--bg: #FAF6EE; --hero: #EFE6D6; --sand: #F2E4C4; --cream: #EEE8DC; --sun: #E3B04B; --footer-bg: #262521;
	--sage: #E3E7DA; --pink: #F3DCCD; --white: #fff;
	--ff-display: 'Fredoka', 'Nunito', system-ui, sans-serif;
	--ff-body: 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--fs-body: 18px; --h1-scale: 1; --h2-scale: 1;
	--radius: 28px; --btn-radius: 100px; --logo-w: 220px;
	--wrap: 1280px; --pad: clamp(16px, 4vw, 40px);
	--shadow: 0 14px 40px -26px rgba(38, 37, 33, .45);
	--shadow-lg: 0 30px 60px -30px rgba(38, 37, 33, .45);
}

/* ─── Base ──────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--ff-body); font-size: 16px; line-height: 1.6; }
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--accent); }
h1, h2, h3, h4 { font-family: var(--ff-display); font-weight: 700; line-height: 1.15; margin: 0; color: var(--ink); text-wrap: balance; }
p { margin: 0; }
input, select, textarea, button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link:focus { position: fixed !important; top: 8px; left: 8px; width: auto; height: auto; clip: auto; background: #fff; padding: 10px 16px; border-radius: 12px; z-index: 100; }
.hp { position: absolute; left: -9999px; }
.h2 { font-size: calc(clamp(30px, 3.4vw, 44px) * var(--h2-scale)); }
.eyebrow { font-weight: 800; font-size: 14px; color: var(--accent); text-transform: uppercase; letter-spacing: .08em; }
.eyebrow--light { color: #fff; opacity: .9; }
.lcl-lead, .post-lead { font-size: 19px; line-height: 1.6; color: var(--muted); }

/* Boutons (thème + bloc Bouton de l'éditeur) */
.btn, .wp-block-button__link, .search-form button, .nl-form button, .wpforms-submit {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px; white-space: nowrap;
	background: var(--accent); color: #fff; border: 0; border-radius: var(--btn-radius); padding: 15px 28px;
	font-family: var(--ff-body); font-weight: 800; font-size: 16px; line-height: 1.2; text-decoration: none; cursor: pointer;
	box-shadow: 0 12px 24px -10px rgba(63, 107, 87, .6); transition: filter .16s, transform .16s;
}
.btn:hover, .wp-block-button__link:hover, .search-form button:hover, .nl-form button:hover, .wpforms-submit:hover { color: #fff; filter: brightness(1.06); }
.btn--sm { padding: 11px 22px; font-size: 15px; box-shadow: 0 8px 20px -8px rgba(63, 107, 87, .6); }
.btn--light, .is-style-light .wp-block-button__link { background: #fff; color: var(--ink); box-shadow: none; }
.btn--light:hover, .is-style-light .wp-block-button__link:hover { color: var(--green); }
.btn--dark, .is-style-dark .wp-block-button__link { background: var(--ink); color: #fff; box-shadow: none; }
.btn--dark:hover, .is-style-dark .wp-block-button__link:hover { background: var(--green); color: #fff; filter: none; }
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; }

/* Pastilles */
.pill { display: inline-block; align-self: flex-start; white-space: nowrap; background: var(--soft, var(--sage)); color: var(--c, var(--green)); border-radius: 100px; padding: 4px 12px; font-size: 12px; font-weight: 800; line-height: 1.5; }
.pill--sm { padding: 3px 10px; }
.pill--white { background: #fff; font-size: 13px; padding: 5px 14px; }
.pill--solid { background: var(--accent); color: #fff; font-size: 13px; padding: 5px 12px; }
.pill--float { position: absolute; top: 12px; left: 12px; background: #fff; }

/* Image manquante : fond doux + emoji */
.ph { display: grid; place-items: center; width: 100%; height: 100%; min-height: 100%; background: var(--soft, var(--sage)); font-size: 44px; }

/* ─── En-tête ───────────────────────────────────────────────────────────── */
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 6px 24px -14px rgba(38, 37, 33, .25); }
.admin-bar .site-header { top: 32px; }
.site-header__inner { max-width: var(--wrap); margin: 0 auto; padding: 12px var(--pad); display: flex; align-items: center; gap: 28px; }
.site-logo { display: flex; align-items: center; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.site-logo .custom-logo { width: var(--logo-w); height: auto; }
.logo-text { font-family: var(--ff-display); font-weight: 700; font-size: 24px; line-height: 1; white-space: nowrap; }
.logo-text__hl { color: var(--accent); }
.site-logo--light { color: #fff; }
.site-nav { flex: 1; }
.site-nav .menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; flex-wrap: wrap; justify-content: center; }
.site-nav .menu a { display: block; white-space: nowrap; padding: 8px 14px; border-radius: 100px; font-weight: 700; font-size: 15px; color: var(--ink); text-decoration: none; }
.site-nav .menu a:hover, .site-nav .current-menu-item > a, .site-nav .current-menu-ancestor > a { background: var(--sage); color: var(--green); }
.site-nav .sub-menu { list-style: none; margin: 0; padding: 8px; position: absolute; background: #fff; border-radius: 18px; box-shadow: var(--shadow); display: none; min-width: 220px; z-index: 5; }
.site-nav .menu > li { position: relative; }
.site-nav .menu > li:hover > .sub-menu, .site-nav .menu > li:focus-within > .sub-menu { display: block; }
.site-header__end { display: flex; gap: 10px; align-items: center; margin-left: auto; }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--cream); cursor: pointer; font-size: 18px; display: grid; place-items: center; }
.icon-btn:hover, .icon-btn[aria-expanded="true"] { background: var(--sage); }
.site-search { max-width: 720px; margin: 0 auto; padding: 0 var(--pad) 16px; }
.search-form { display: flex; gap: 8px; background: #fff; border-radius: 100px; padding: 6px 6px 6px 22px; box-shadow: var(--shadow); width: 100%; max-width: 560px; margin: 0 auto; }
.search-form input { flex: 1; min-width: 0; border: 0; background: transparent; font-size: 16px; outline: 0; }
.search-form button { padding: 12px 22px; box-shadow: none; }
.burger { display: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--cream); cursor: pointer; margin-left: auto; }
.burger__bars { display: grid; gap: 4px; width: 18px; margin: 0 auto; }
.burger__bars span { height: 2px; background: var(--ink); border-radius: 2px; }

@media (max-width: 960px) {
	.burger { display: block; order: 2; }
	.site-header__inner { flex-wrap: wrap; gap: 12px; }
	.site-header__end { margin-left: 0; order: 1; }
	.site-header__end .btn { display: none; }
	.site-nav { order: 3; flex-basis: 100%; display: none; }
	.site-nav.is-open { display: block; }
	.site-nav .menu { flex-direction: column; align-items: stretch; padding-bottom: 8px; }
	.site-nav .sub-menu { position: static; display: block; box-shadow: none; padding: 0 0 0 14px; }
}
@media (max-width: 782px) { .admin-bar .site-header { top: 0; } }

/* ─── Mise en page générale ─────────────────────────────────────────────── */
.site-main { display: block; }
.sec, .lcl-blocks > .wp-block-shortcode { max-width: var(--wrap); margin: 0 auto; padding: 80px var(--pad) 0; }
.lcl-blocks > :last-child .sec, .sec:last-child { padding-bottom: 80px; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.section-head > div { display: flex; flex-direction: column; gap: 6px; }
.section-head--center { justify-content: center; text-align: center; margin-bottom: 36px; }
.section-head--center > div { align-items: center; gap: 8px; }
.section-head__link { font-weight: 800; }
.band { margin-top: 96px; }
.band__inner { max-width: var(--wrap); margin: 0 auto; padding: clamp(48px, 6vw, 88px) var(--pad); }
.band--sand { background: var(--sand); }
.band--cream { background: var(--cream); }
.band--dark { background: var(--footer-bg); color: #fff; }
.band--dark h2 { color: #fff; }
.empty { text-align: center; color: var(--muted); padding: 40px 0; }

/* Pages en blocs (accueil, contact, pleine largeur) */
.lcl-blocks { display: flow-root; }
.lcl-blocks > *:not(.alignfull):not(.wp-block-shortcode):not(.lcl-approach):not(section):not(.wp-block-group) { max-width: 760px; margin: 32px auto; padding: 0 var(--pad); box-sizing: content-box; }
.lcl-blocks .wp-block-columns { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 48px; align-items: center; margin: 0; }
.lcl-blocks .wp-block-column { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; min-width: 0; }
.lcl-blocks .wp-block-column > * { margin: 0; }
.lcl-blocks .wp-block-image { margin: 0; width: 100%; }
.lcl-blocks .wp-block-image img:not([src]), .lcl-blocks .wp-block-image img[src=""] { display: none; }
.lcl-blocks .wp-block-image:has(img:not([src])) { min-height: 280px; background: var(--sage) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80'%3E%3Ctext x='50%25' y='55%25' font-size='44' text-anchor='middle' dominant-baseline='middle'%3E%F0%9F%93%B7%3C/text%3E%3C/svg%3E") center no-repeat; }

/* Haut de page A */
.lcl-hero { background: var(--hero); }
.lcl-hero .wp-block-columns { max-width: var(--wrap); margin: 0 auto; padding: clamp(40px, 6vw, 80px) var(--pad); }
.lcl-pill { display: inline-block; white-space: nowrap; background: #fff; border-radius: 100px; padding: 8px 16px; font-weight: 800; font-size: 14px; color: var(--green); box-shadow: 0 6px 18px -10px rgba(63, 107, 87, .5); }
.lcl-hero__title, .lcl-blocks h1 { font-size: calc(clamp(40px, 5.2vw, 66px) * var(--h1-scale)); line-height: 1.05; }
.lcl-hero__title em, .lcl-hero-b__title em, .lcl-blocks h1 em { font-style: normal; color: var(--accent); }
.lcl-hero .lcl-lead { max-width: 520px; }
.lcl-hero__img { aspect-ratio: 5 / 4; border-radius: 40px; overflow: hidden; border: 8px solid #fff; box-shadow: var(--shadow-lg); }
.lcl-hero__img img { width: 100%; height: 100%; object-fit: cover; }

/* Haut de page B (sombre, mosaïque) */
.lcl-hero-b { background: var(--ink); color: #fff; }
.lcl-hero-b .wp-block-columns { max-width: var(--wrap); margin: 0 auto; padding: clamp(48px, 6vw, 88px) var(--pad); }
.lcl-hero-b__title, .lcl-hero-b h1 { color: #fff; font-size: calc(clamp(48px, 6.6vw, 92px) * var(--h1-scale)) !important; line-height: .95 !important; text-transform: uppercase; letter-spacing: .01em; }
.lcl-hero-b__title em { color: var(--sun); }
.lcl-hero-b .lcl-lead { color: #fff; opacity: .9; max-width: 480px; }
.lcl-hero-b .wp-block-shortcode { width: 100%; }
.mag { display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 16px; height: clamp(380px, 40vw, 500px); }
.mag__item { position: relative; border-radius: 24px; overflow: hidden; border: 6px solid #fff; display: block; }
.mag__item--1 { grid-row: span 2; border-radius: 28px; }
.mag__item img, .mag__item .ph { width: 100%; height: 100%; object-fit: cover; }
.mag__num { position: absolute; left: 12px; top: 12px; background: var(--accent); color: #fff; border-radius: 100px; padding: 5px 14px; font-family: var(--ff-display); font-weight: 700; font-size: 16px; }
.mag__item--2 .mag__num { background: #4A7A94; }
.mag__item--3 .mag__num { background: var(--sun); color: var(--ink); }
.age-pills { display: flex; gap: 10px; flex-wrap: wrap; }
.age-pills--center { justify-content: center; }
.age-pill { white-space: nowrap; background: var(--soft, #fff); color: var(--ink); border-radius: 100px; padding: 11px 18px; font-weight: 800; font-size: 15px; text-decoration: none; }
.age-pill:hover { color: var(--ink); opacity: .85; }
.term-head .age-pill { background: #fff; padding: 8px 16px; font-size: 14px; }
.term-head .age-pill.is-active { background: var(--green); color: #fff; }

/* Rubriques */
.rub-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 180px), 1fr)); gap: 18px; }
.rub-tile { background: var(--soft); border-radius: var(--radius); padding: 26px 18px; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; text-decoration: none; color: var(--ink); transition: transform .18s; }
.rub-tile:hover { transform: translateY(-4px); color: var(--ink); }
.rub-tile__emoji { width: 64px; height: 64px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-size: 30px; }
.rub-tile__name { font-family: var(--ff-display); font-weight: 600; font-size: 19px; line-height: 1.2; }
.rub-tile__count { font-size: 13px; font-weight: 700; color: var(--c); }

/* Derniers articles */
.latest { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 24px; }
.latest__side { display: flex; flex-direction: column; gap: 18px; }
.card-feature { position: relative; min-height: 440px; border-radius: 32px; overflow: hidden; }
.card-feature__link { position: absolute; inset: 0; display: block; color: #fff; text-decoration: none; }
.card-feature__link > img, .card-feature__link > .ph { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.card-feature__body { position: absolute; inset: auto 0 0 0; padding: 28px; background: linear-gradient(to top, rgba(38, 37, 33, .88), rgba(38, 37, 33, 0)); display: flex; flex-direction: column; gap: 10px; }
.card-feature__title { color: #fff; font-size: clamp(24px, 2.6vw, 32px); line-height: 1.15; }
.card-feature__meta { font-size: 14px; opacity: .85; }
.card-feature__link:hover { color: #fff; }
.card-side__link { display: grid; grid-template-columns: 150px 1fr; gap: 18px; align-items: center; background: #fff; border-radius: 24px; padding: 12px; text-decoration: none; color: var(--ink); box-shadow: 0 10px 30px -20px rgba(38, 37, 33, .4); transition: transform .18s; }
.card-side__link:hover { transform: translateY(-3px); color: var(--ink); }
.card-side__media { aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden; }
.card-side__media img { width: 100%; height: 100%; object-fit: cover; }
.card-side__body { display: flex; flex-direction: column; gap: 6px; padding-right: 8px; }
.card-side__title { font-weight: 600; font-size: 18px; line-height: 1.25; }
.card__meta { font-size: 13px; color: var(--light); }

/* Grille de cartes */
.grid-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 28px; }
.sec--latest .grid-cards { margin-top: 56px; }
.grid-cards--3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 24px; }
.card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .18s; }
.card:hover { transform: translateY(-4px); }
.card__link { display: flex; flex-direction: column; height: 100%; color: var(--ink); text-decoration: none; }
.card__link:hover { color: var(--ink); }
.card__media { aspect-ratio: 3 / 2; overflow: hidden; display: block; }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 10px; }
.card__title { font-weight: 600; font-size: 20px; line-height: 1.25; text-wrap: pretty; }
.card__excerpt { font-size: 15px; line-height: 1.55; color: var(--muted); }
.grid-cards--plain { gap: 24px; }
.card-plain__link { display: flex; flex-direction: column; gap: 12px; color: var(--ink); text-decoration: none; }
.card-plain__link:hover { color: var(--accent); }
.card-plain__media { position: relative; aspect-ratio: 3 / 2; border-radius: 22px; overflow: hidden; display: block; }
.card-plain__media img { width: 100%; height: 100%; object-fit: cover; }
.card-plain__title { font-weight: 600; font-size: 19px; line-height: 1.25; }

/* Cartes par âge */
.age-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 20px; }
.age-card { background: var(--soft); border-radius: var(--radius); padding: 24px; display: grid; grid-template-columns: 1fr 96px; gap: 16px; align-items: center; text-decoration: none; color: var(--ink); transition: transform .18s; }
.age-card:hover { transform: translateY(-4px); color: var(--ink); }
.age-card__text { display: flex; flex-direction: column; gap: 4px; }
.age-card__emoji { font-size: 28px; }
.age-card__name { font-family: var(--ff-display); font-weight: 700; font-size: 26px; line-height: 1.05; }
.age-card__sub { font-size: 14px; font-weight: 700; color: var(--muted); }
.age-card__img { aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 4px solid #fff; display: block; }
.age-card__img img, .age-card__img .ph { width: 100%; height: 100%; object-fit: cover; font-size: 34px; }

/* Notre approche */
.lcl-approach { max-width: var(--wrap); margin: 0 auto !important; padding: 96px var(--pad) 0; }
.lcl-approach__grid { gap: clamp(32px, 5vw, 72px) !important; }
.lcl-approach__img { aspect-ratio: 4 / 3; border-radius: 36px; overflow: hidden; }
.lcl-approach__img img { width: 100%; height: 100%; object-fit: cover; }
.lcl-eyebrow { font-weight: 800; font-size: 14px; color: var(--accent); text-transform: uppercase; letter-spacing: .08em; }
.lcl-approach h2 { font-size: calc(clamp(30px, 3.4vw, 44px) * var(--h2-scale)); line-height: 1.1; }
.lcl-approach p:not(.lcl-eyebrow) { font-size: 18px; line-height: 1.65; color: var(--muted); max-width: 520px; }

/* Bandeau fiches */
.lcl-blocks > .wp-block-shortcode:has(.band) { max-width: none; padding: 0; }
.fiches-band { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 40px; align-items: center; }
.fiches-band__text { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.fiches-band__emoji { font-size: 40px; }
.fiches-band__text p { font-size: 17px; line-height: 1.6; max-width: 420px; color: var(--muted); }
.fiches-band__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.card-fiche__link { display: flex; flex-direction: column; gap: 10px; color: var(--ink); text-decoration: none; }
.card-fiche__link:hover { color: var(--green); }
.card-fiche__paper { aspect-ratio: 210 / 297; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 18px 30px -16px rgba(38, 37, 33, .4); display: block; transition: transform .18s; }
.card-fiche__link:hover .card-fiche__paper { transform: translateY(-4px); }
.card-fiche__paper img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.card-fiche__title { font-size: 14px; font-weight: 800; line-height: 1.3; }
.card-fiche:not(.card-fiche--compact) .card-fiche__title { font-family: var(--ff-display); font-weight: 600; font-size: 18px; }
.grid-fiches { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); gap: 28px; }

/* Newsletter */
.nl { margin-top: 96px; }
.nl__inner { max-width: var(--wrap); margin: 0 auto; padding: clamp(48px, 6vw, 88px) var(--pad); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; }
.nl__inner h2 { font-size: clamp(30px, 3.6vw, 48px); line-height: 1.08; }
.nl__inner > p { font-size: 18px; line-height: 1.55; max-width: 520px; }
.nl-form { display: flex; gap: 8px; width: 100%; max-width: 520px; background: #fff; border-radius: 100px; padding: 6px 6px 6px 22px; margin-top: 8px; }
.nl-form input[type="email"] { flex: 1; min-width: 0; border: 0; background: transparent; font-size: 16px; outline: 0; color: var(--ink); }
.nl-form button { background: var(--ink); padding: 12px 24px; box-shadow: none; }
.nl-form button:hover { background: var(--green); filter: none; }
.nl__legal { font-size: 14px; opacity: .85; }
.nl-msg { font-weight: 800; background: rgba(255, 255, 255, .12); border-radius: 100px; padding: 8px 18px; }
.nl-msg--error { background: var(--accent); }
.site-main + .band:first-child { margin-top: 0; }

/* ─── Rubrique / archives ───────────────────────────────────────────────── */
.term-head { position: relative; overflow: hidden; background: var(--soft, var(--sage)); }
.term-head__bg { position: absolute; inset: 0; }
.term-head__bg img { width: 100%; height: 100%; object-fit: cover; }
.term-head--img::after { content: ""; position: absolute; inset: 0; background: rgba(255, 248, 243, .78); }
.term-head__inner { position: relative; z-index: 1; max-width: var(--wrap); margin: 0 auto; padding: 72px var(--pad) 80px; display: flex; flex-direction: column; gap: 16px; align-items: center; text-align: center; }
.term-head__emoji { width: 80px; height: 80px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-size: 40px; }
.term-head__title { font-size: calc(clamp(40px, 5vw, 60px) * var(--h1-scale)); line-height: 1.05; }
.term-head__desc { font-size: 18px; line-height: 1.6; max-width: 620px; color: var(--muted); }
.archive { max-width: var(--wrap); margin: 0 auto; padding: 48px var(--pad) 0; display: flex; flex-direction: column; gap: 36px; }
.pager { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.pager .page-numbers { min-width: 44px; height: 44px; padding: 0 16px; display: grid; place-items: center; border-radius: 100px; background: #fff; color: var(--ink); font-weight: 800; text-decoration: none; }
.pager .page-numbers:hover { background: var(--sage); color: var(--ink); }
.pager .current { background: var(--green); color: #fff; }
.seo-text { max-width: 860px; margin: 24px auto 0; background: #fff; border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); }

/* Fil d'Ariane */
.crumbs { font-size: 14px; color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.crumbs a { color: var(--green); }
.crumbs .rank-math-breadcrumb p { margin: 0; }

/* ─── Article ───────────────────────────────────────────────────────────── */
.post-head { background: var(--soft, var(--pink)); }
.post-head__inner { max-width: 880px; margin: 0 auto; padding: 40px var(--pad) 140px; display: flex; flex-direction: column; gap: 16px; align-items: center; text-align: center; }
.post-head--nocover .post-head__inner { padding-bottom: 56px; }
.post-head .pill { align-self: center; }
.post-title { font-size: calc(clamp(34px, 4.6vw, 54px) * var(--h1-scale)); line-height: 1.1; }
.post-meta { display: flex; gap: 10px; font-size: 14px; color: var(--muted); flex-wrap: wrap; justify-content: center; font-weight: 600; }
.post-cover { max-width: 1080px; margin: -110px auto 0; padding: 0 var(--pad); }
.post-cover img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; border-radius: 36px; border: 8px solid #fff; box-shadow: var(--shadow-lg); }
.post-body { max-width: 760px; margin: 0 auto; padding: 48px var(--pad) 72px; display: flex; flex-direction: column; gap: 22px; }
.post-lead { font-size: 20px; }

/* Contenu (articles, pages, fiches) */
.entry-content { font-size: var(--fs-body); line-height: 1.75; display: flex; flex-direction: column; gap: 22px; }
.entry-content > * { margin: 0; }
.entry-content h2 { font-size: calc(30px * var(--h2-scale)); line-height: 1.2; margin-top: 12px; }
.entry-content h3 { font-size: 22px; line-height: 1.25; margin-top: 4px; }
.entry-content ul, .entry-content ol { padding-left: 24px; display: flex; flex-direction: column; gap: 8px; }
.entry-content blockquote { margin: 0; border-left: 4px solid var(--accent); background: #fff; border-radius: 0 20px 20px 0; padding: 18px 24px; font-style: italic; }
.entry-content img { border-radius: 20px; }
.entry-content figure { margin: 0; }
.entry-content figcaption { font-size: 14px; color: var(--light); text-align: center; margin-top: 8px; }
.wp-block-table table, .lcl-table table { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border-radius: 20px; overflow: hidden; font-size: 16px; line-height: 1.5; box-shadow: 0 10px 30px -24px rgba(38, 37, 33, .5); }
.wp-block-table th { background: var(--green); color: #fff; text-align: left; padding: 12px 16px; font-weight: 800; }
.wp-block-table td { padding: 12px 16px; border-top: 1px solid var(--cream); vertical-align: top; }
.wp-block-table { overflow-x: auto; }
.wp-block-table thead { border: 0; }

/* Sommaire, résumé, astuce, FAQ, carte de fiche */
.toc { background: var(--cream); border-radius: 24px; padding: 22px 26px; }
.toc__title { font-family: var(--ff-display); font-weight: 700; font-size: 19px; }
.toc ol, .toc ul { margin: 10px 0 0; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; font-size: 16px; font-weight: 700; }
.toc .toc__l3 { margin-left: 16px; font-weight: 600; }
.resume { background: var(--sand); border-radius: 24px; padding: 22px 26px; display: flex; flex-direction: column; gap: 10px; }
.resume__title { font-family: var(--ff-display); font-weight: 700; font-size: 19px; }
.resume ul { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; font-size: 16px; line-height: 1.6; }
.resume p { font-size: 16px; line-height: 1.6; }
.lcl-tip { background: #DFE6D3; border-radius: 24px; padding: 22px 26px 22px 72px; position: relative; font-size: 16px; line-height: 1.65; }
.lcl-tip::before { content: "💡"; position: absolute; left: 24px; top: 20px; font-size: 30px; line-height: 1; }
.lcl-tip p { margin: 0; }
.wp-block-details { background: #fff; border-radius: 20px; padding: 16px 22px; box-shadow: 0 10px 30px -24px rgba(38, 37, 33, .5); font-size: 17px; }
.wp-block-details summary { font-family: var(--ff-display); font-weight: 600; font-size: 19px; cursor: pointer; }
.wp-block-details[open] summary { margin-bottom: 8px; }
.fiche-card { background: var(--sand); border-radius: 24px; padding: 18px; display: grid; grid-template-columns: 70px 1fr auto; gap: 18px; align-items: center; text-decoration: none; color: var(--ink); }
.fiche-card:hover { color: var(--ink); }
.fiche-card:hover .fiche-card__btn { background: var(--green); }
.fiche-card__paper { aspect-ratio: 210 / 297; border-radius: 8px; overflow: hidden; background: #fff; display: block; }
.fiche-card__paper img, .fiche-card__paper .ph { width: 100%; height: 100%; object-fit: cover; font-size: 24px; }
.fiche-card__text { display: flex; flex-direction: column; gap: 2px; }
.fiche-card__label { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: #9A6E00; }
.fiche-card__title { font-family: var(--ff-display); font-weight: 700; font-size: 19px; line-height: 1.2; }
.fiche-card__btn { white-space: nowrap; background: var(--ink); color: #fff; border-radius: 100px; padding: 10px 16px; font-weight: 800; font-size: 14px; }

/* Encart autrice */
.author-box { display: grid; grid-template-columns: 88px 1fr; gap: 20px; background: #fff; border-radius: 24px; padding: 24px; box-shadow: var(--shadow); margin-top: 12px; }
.author-box__photo { border-radius: 50%; width: 88px; height: 88px; }
.author-box__label { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--accent); }
.author-box__name { font-family: var(--ff-display); font-weight: 700; font-size: 20px; }
.author-box__role { font-weight: 700; color: var(--green); font-size: 15px; }
.author-box__bio { font-size: 15px; color: var(--muted); margin-top: 6px; }
.author-box__footer { display: flex; gap: 14px; flex-wrap: wrap; font-size: 14px; margin-top: 8px; font-weight: 700; }

/* À lire aussi */
.related { margin-top: 0; }
.related .band__inner { padding: 56px var(--pad) 72px; }
.related__title { font-size: 32px; margin-bottom: 24px; }

/* ─── Fiche ─────────────────────────────────────────────────────────────── */
.fiche { max-width: var(--wrap); margin: 0 auto; padding: 40px var(--pad) 80px; display: flex; flex-direction: column; gap: 28px; }
.fiche .crumbs { justify-content: flex-start; }
.fiche__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 48px; align-items: start; }
.fiche__preview { background: var(--sand); border-radius: 36px; padding: clamp(28px, 4vw, 56px); display: grid; place-items: center; }
.fiche__paper { width: min(100%, 360px); aspect-ratio: 210 / 297; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-lg); }
.fiche__paper img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.fiche__info { display: flex; flex-direction: column; gap: 20px; }
.fiche__title { font-size: calc(clamp(34px, 4.4vw, 52px) * var(--h1-scale)); line-height: 1.08; }
.fiche__meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; }
.fiche__meta > div { background: #fff; border-radius: 18px; padding: 14px 18px; box-shadow: 0 10px 30px -22px rgba(38, 37, 33, .5); }
.fiche__meta dt { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--light); }
.fiche__meta dd { margin: 4px 0 0; font-weight: 800; font-size: 16px; }
.fiche__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.fiche__steps { background: var(--cream); border-radius: 24px; padding: 22px 26px; display: flex; flex-direction: column; gap: 12px; }
.fiche__steps-title { font-family: var(--ff-display); font-weight: 700; font-size: 20px; }
.fiche__steps ol { list-style: none; counter-reset: s; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.fiche__steps li { counter-increment: s; display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; font-size: 16px; line-height: 1.55; }
.fiche__steps li::before { content: counter(s); width: 34px; height: 34px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 15px; }
.fiche__content { max-width: 760px; margin: 24px auto 0; width: 100%; }

/* ─── Contact ───────────────────────────────────────────────────────────── */
.lcl-contact { background: #DCE5E7; }
.lcl-contact .wp-block-columns { max-width: 1080px; margin: 0 auto; padding: 56px var(--pad) 80px; align-items: start; gap: 40px; }
.lcl-contact .wp-block-column { gap: 18px; }
.lcl-big-emoji { font-size: 44px; line-height: 1; }
.lcl-contact h1 { font-size: calc(clamp(40px, 5vw, 58px) * var(--h1-scale)); }
.lcl-mailbox { background: #fff; border-radius: 22px; padding: 18px 22px 18px 80px; position: relative; line-height: 1.5; }
.lcl-mailbox::before { content: "✉️"; position: absolute; left: 20px; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 14px; background: var(--pink); display: grid; place-items: center; font-size: 22px; }
.lcl-contact .wp-block-shortcode { width: 100%; }
.form-card { background: #fff; border-radius: 32px; padding: clamp(24px, 3vw, 36px); box-shadow: 0 30px 60px -36px rgba(38, 37, 33, .5); }
.form-card .wpforms-container { margin: 0 !important; }
.form-card .wpforms-field { padding: 0 0 16px !important; }
.form-card .wpforms-field-label { font-weight: 800 !important; font-size: 14px !important; color: var(--ink) !important; }
.form-card input[type="text"], .form-card input[type="email"], .form-card select, .form-card textarea { border: 2px solid var(--sage) !important; border-radius: 16px !important; padding: 13px 16px !important; font-size: 16px !important; height: auto !important; max-width: 100% !important; width: 100% !important; background: #fff !important; box-shadow: none !important; }
.form-card input:focus, .form-card select:focus, .form-card textarea:focus { border-color: var(--green) !important; }
.form-card .wpforms-field-gdpr-checkbox label { font-size: 14px !important; color: var(--muted) !important; font-weight: 400 !important; }
.form-card .wpforms-submit-container { padding: 0 !important; }
.form-card button.wpforms-submit { width: 100% !important; background: var(--accent) !important; border-radius: var(--btn-radius) !important; padding: 15px !important; height: auto !important; font-weight: 800 !important; font-size: 16px !important; border: 0 !important; color: #fff !important; }

/* ─── Pages simples (mentions légales…) ─────────────────────────────────── */
.page-wrap { max-width: 820px; margin: 0 auto; padding: 56px var(--pad) 80px; display: flex; flex-direction: column; gap: 18px; }
.page-wrap .crumbs { justify-content: flex-start; }
.page-title { font-size: calc(clamp(36px, 4.6vw, 52px) * var(--h1-scale)); line-height: 1.08; margin-bottom: 8px; }
.page-card { background: #fff; border-radius: 24px; padding: 24px 28px; box-shadow: 0 10px 30px -24px rgba(38, 37, 33, .5); font-size: 17px; line-height: 1.7; gap: 8px; }
.page-card h2 { font-size: 22px; margin: 0; }
.page-card p, .page-card li { color: var(--muted); }
.page-intro { font-size: 17px; }

/* ─── Pied de page ──────────────────────────────────────────────────────── */
.site-footer { background: var(--footer-bg); color: #fff; }
.site-main + .site-footer, .nl + .site-footer { margin-top: 0; }
.site-footer__cols { max-width: var(--wrap); margin: 0 auto; padding: 56px var(--pad) 32px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 32px; }
.nl + .site-footer .site-footer__cols { border-top: 1px solid rgba(255, 255, 255, .12); }
.site-footer__brand { display: flex; flex-direction: column; gap: 12px; }
.site-footer__brand p { font-size: 15px; line-height: 1.6; opacity: .8; }
.site-footer__title { font-size: 14px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--sun); margin-bottom: 10px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.site-footer__col a { color: #fff; opacity: .85; text-decoration: none; font-size: 15px; }
.site-footer__col a:hover { opacity: 1; color: var(--accent); }
.site-footer__copy { max-width: var(--wrap); margin: 0 auto; padding: 20px var(--pad) 32px; border-top: 1px solid rgba(255, 255, 255, .15); font-size: 13px; opacity: .7; }
.site-main { padding-bottom: 0; }
body:not(.home):not(.is-block-page) .site-main { padding-bottom: 8px; }

/* Bandeau newsletter collé au pied de page */
.site-main ~ .nl { margin-top: 80px; }
.home .site-main ~ .nl, .is-block-page .site-main ~ .nl, .single .site-main ~ .nl, .single-fiche .site-main ~ .nl { margin-top: 0; }

@media (max-width: 640px) {
	.card-side__link { grid-template-columns: 110px 1fr; }
	.fiches-band__list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
	.fiche-card { grid-template-columns: 56px 1fr; }
	.fiche-card__btn { grid-column: 1 / -1; text-align: center; }
	.fiche__meta { grid-template-columns: 1fr 1fr; }
	.mag { height: 320px; }
	.author-box { grid-template-columns: 1fr; }
	.nl-form { flex-wrap: wrap; border-radius: 24px; padding: 8px; }
	.nl-form input[type="email"] { padding: 10px 12px; flex-basis: 100%; }
	.nl-form button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* Thème classique : WordPress enveloppe le contenu des groupes dans un conteneur. */
.wp-block-group__inner-container { display: contents; }
.wp-block-image.is-empty { aspect-ratio: 5 / 4; }
.wp-block-image.is-empty .ph { min-height: 260px; }
.lcl-approach__img.is-empty { aspect-ratio: 4 / 3; }

/* Image portrait (aperçu de fiche A4) dans une carte paysage : on montre le haut de la page. */
img.is-portrait, .post-cover img.is-portrait { object-position: center top; }
.lcl-lead { font-size: 20px; line-height: 1.6; color: var(--muted); }
