/* Habillage du blog — reprend la charte des pages Elementor (couleurs, polices, en-tête, pied de page) */

body.fstw-habille {
	--fb-sage: #a0af8c;
	--fb-sage-fonce: #55663f;
	--fb-pistache: #d4e0af;
	--fb-creme: #f9f8f3;
	--fb-sable: #efeee4;
	--fb-encre: #1c2117;
	--fb-texte: #3b4234;
	--fb-rouge: #e1251b;
	--fb-titres: 'Zilla Slab', Georgia, serif;
	--fb-corps: 'Noto Sans', system-ui, sans-serif;
	--fb-main: 'Caveat', cursive;
	--fb-marge: 6vw;
	margin: 0;
	background: var(--fb-creme);
	color: var(--fb-texte);
	font-family: var(--fb-corps);
	font-size: 17px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
}
body.fstw-habille *,
body.fstw-habille *::before,
body.fstw-habille *::after { box-sizing: border-box; }
body.fstw-habille a { color: inherit; }
body.fstw-habille img { max-width: 100%; height: auto; }

/* ---------- Boutons, étiquettes ---------- */
.fstw-habille .fb-btn {
	display: inline-block; font: 700 15px/1 var(--fb-corps); letter-spacing: .02em; color: #fff; background: var(--fb-encre);
	padding: 16px 28px; border-radius: 60px; text-decoration: none; transition: background-color .15s, transform .15s;
}
.fstw-habille .fb-btn:hover { background: var(--fb-sage-fonce); transform: translateY(-2px); color: #fff; }
.fstw-habille .fb-btn-clair { background: var(--fb-pistache); color: var(--fb-encre); }
.fstw-habille .fb-btn-clair:hover { background: #fff; color: var(--fb-encre); }
.fstw-habille .fb-tag {
	display: inline-block; font: 700 12px/1 var(--fb-corps); letter-spacing: .12em; text-transform: uppercase;
	color: var(--fb-sage-fonce); background: var(--fb-pistache); padding: 7px 12px; border-radius: 40px;
}
.fstw-habille .fb-tag-rouge { background: var(--fb-rouge); color: #fff; }
.fstw-habille .fb-manuscrite { font: 500 30px/1 var(--fb-main); color: var(--fb-sage-fonce); transform: rotate(-2deg); margin: 0 0 10px; }
.fstw-habille .fb-h2 { font: 700 46px/1.05 var(--fb-titres); letter-spacing: -.025em; color: var(--fb-encre); margin: 0 0 36px; }

/* ---------- En-tête ---------- */
.fstw-habille .fb-entete {
	position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 32px;
	padding: 14px var(--fb-marge); background: rgba(249,248,243,.92); backdrop-filter: blur(10px);
	border-bottom: 1px solid rgba(28,33,23,.08);
}
.admin-bar.fstw-habille .fb-entete { top: 32px; }
.fstw-habille .fb-logo { display: block; line-height: 0; }
.fstw-habille .fb-logo-img { width: 72px; height: auto; mix-blend-mode: multiply; }
.fstw-habille .fb-logo-texte { font: 700 20px/1.1 var(--fb-titres); color: var(--fb-encre); }
.fstw-habille .fb-logo-texte em { color: var(--fb-rouge); }
.fstw-habille .fb-nav { display: flex; gap: 28px; }
.fstw-habille .fb-nav a { font: 500 15px/1 var(--fb-corps); color: var(--fb-encre); text-decoration: none; transition: color .15s; }
.fstw-habille .fb-nav a:hover { color: var(--fb-sage-fonce); }
.fstw-habille .fb-entete-cta { padding: 12px 22px; font-size: 14px; }
.fstw-habille .fb-menu-mobile { display: none; position: relative; }
.fstw-habille .fb-menu-mobile summary { list-style: none; cursor: pointer; display: flex; flex-direction: column; gap: 5px; padding: 10px; }
.fstw-habille .fb-menu-mobile summary::-webkit-details-marker { display: none; }
.fstw-habille .fb-menu-mobile summary span { display: block; width: 24px; height: 2px; background: var(--fb-encre); border-radius: 2px; transition: transform .2s, opacity .2s; }
.fstw-habille .fb-menu-mobile[open] summary span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.fstw-habille .fb-menu-mobile[open] summary span:nth-child(2) { opacity: 0; }
.fstw-habille .fb-menu-mobile[open] summary span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.fstw-habille .fb-menu-mobile nav {
	position: absolute; right: 0; top: calc(100% + 12px); width: min(300px, 86vw); display: flex; flex-direction: column; gap: 4px;
	padding: 18px; background: #fff; border-radius: 20px; box-shadow: 0 18px 40px rgba(28,33,23,.18);
}
.fstw-habille .fb-menu-mobile nav a { font: 500 17px/1 var(--fb-corps); color: var(--fb-encre); text-decoration: none; padding: 12px 8px; border-radius: 10px; }
.fstw-habille .fb-menu-mobile nav a:hover { background: var(--fb-sable); }
.fstw-habille .fb-menu-mobile nav .fb-btn { margin-top: 8px; text-align: center; color: #fff; padding: 16px; }

/* ---------- Bandeaux ---------- */
.fstw-habille .fb-hero {
	display: flex; align-items: flex-end; padding: 96px var(--fb-marge) 64px; background-color: var(--fb-encre);
	background-image: radial-gradient(circle at 85% 20%, rgba(160,175,140,.28) 0%, rgba(160,175,140,0) 45%), radial-gradient(circle at 10% 90%, rgba(212,224,175,.14) 0%, rgba(212,224,175,0) 40%);
	background-size: cover; background-position: center; color: #fff;
}
.fstw-habille .fb-hero-contenu { max-width: 860px; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.fstw-habille .fb-hero h1 { font: 700 72px/1.02 var(--fb-titres); letter-spacing: -.03em; color: #fff; margin: 0; }
.fstw-habille .fb-hero .fb-manuscrite { color: var(--fb-pistache); }
.fstw-habille .fb-hero-intro { font-size: 19px; font-weight: 300; color: rgba(255,255,255,.85); max-width: 620px; margin: 0; }
.fstw-habille .fb-hero-liste { min-height: 420px; }
.fstw-habille .fb-hero-article { min-height: 78vh; padding-top: 140px; }
.fstw-habille .fb-hero-article h1 { font-size: 64px; }
.fstw-habille .fb-hero-simple { min-height: 300px; }
.fstw-habille .fb-fil { font-size: 14px; color: rgba(255,255,255,.75); margin: 0; }
.fstw-habille .fb-fil a { color: rgba(255,255,255,.92); text-decoration: none; }
.fstw-habille .fb-fil a:hover { text-decoration: underline; }
.fstw-habille .fb-hero-meta { font-size: 15px; color: rgba(255,255,255,.8); margin: 0; }
.fstw-habille .fb-hero .search-form { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.fstw-habille .fb-hero .search-form label { flex: 1 1 260px; }
.fstw-habille .fb-hero .search-field {
	width: 100%; font: 16px/1.4 var(--fb-corps); color: var(--fb-encre); background: #fff;
	border: 0; border-radius: 60px; padding: 14px 22px;
}
.fstw-habille .fb-hero .search-submit {
	font: 700 15px/1 var(--fb-corps); color: var(--fb-encre); background: var(--fb-pistache);
	border: 0; border-radius: 60px; padding: 14px 26px; cursor: pointer;
}
.fstw-habille .fb-hero .search-submit:hover { background: #fff; }

/* ---------- Sections, grilles, cartes d'articles ---------- */
.fstw-habille .fb-section { padding: 80px var(--fb-marge); }
.fstw-habille .fb-section-sable { background: var(--fb-sable); }
.fstw-habille .fb-filtres { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.fstw-habille .fb-filtres a {
	font: 500 14px/1 var(--fb-corps); color: var(--fb-encre); text-decoration: none; padding: 10px 16px;
	border-radius: 40px; border: 1px solid var(--fb-sage); background: #fff; transition: background-color .15s, color .15s;
}
.fstw-habille .fb-filtres a:hover { background: var(--fb-pistache); }
.fstw-habille .fb-filtres a[aria-current="page"] { background: var(--fb-encre); border-color: var(--fb-encre); color: #fff; }
.fstw-habille .fb-grille { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.fstw-habille .fb-carte {
	display: flex; flex-direction: column; background: #fff; border-radius: 22px; overflow: hidden; text-decoration: none; color: inherit;
	box-shadow: 0 1px 2px rgba(28,33,23,.06), 0 12px 32px rgba(28,33,23,.07); transition: transform .15s, box-shadow .15s;
}
.fstw-habille .fb-carte:hover { transform: translateY(-6px); box-shadow: 0 2px 4px rgba(28,33,23,.08), 0 24px 48px rgba(28,33,23,.14); }
.fstw-habille .fb-carte-img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: linear-gradient(135deg, #d4e0af, #a0af8c); }
.fstw-habille .fb-carte-corps { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 20px 24px 26px; flex: 1; }
.fstw-habille .fb-carte h3 { font: 600 24px/1.15 var(--fb-titres); letter-spacing: -.01em; color: var(--fb-encre); margin: 0; }
.fstw-habille .fb-carte p { font-size: 15px; line-height: 1.65; margin: 0; }
.fstw-habille .fb-meta { margin-top: auto; padding-top: 6px; font-size: 13px; color: var(--fb-sage-fonce); }
.fstw-habille .fb-meta b { color: var(--fb-encre); border-bottom: 2px solid var(--fb-rouge); }
.fstw-habille .fb-vide { font-size: 17px; }
.fstw-habille .navigation.pagination { margin-top: 56px; }
.fstw-habille .nav-links { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; }
.fstw-habille .nav-links .page-numbers {
	min-width: 44px; padding: 12px 16px; text-align: center; font: 600 15px/1 var(--fb-corps); color: var(--fb-encre);
	text-decoration: none; background: #fff; border-radius: 40px; border: 1px solid rgba(28,33,23,.1);
}
.fstw-habille .nav-links .page-numbers.current { background: var(--fb-encre); color: #fff; border-color: var(--fb-encre); }
.fstw-habille .nav-links a.page-numbers:hover { background: var(--fb-pistache); }
.fstw-habille .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Contenu des articles ---------- */
.fstw-habille .fb-contenu { max-width: 760px; margin: 0 auto; padding: 72px 24px 24px; font-size: 18px; line-height: 1.8; }
.fstw-habille .fb-contenu > * { margin-top: 0; margin-bottom: 1.4em; }
.fstw-habille .fb-contenu h2 { font: 700 38px/1.1 var(--fb-titres); letter-spacing: -.02em; color: var(--fb-encre); margin: 2.2em 0 .7em; }
.fstw-habille .fb-contenu h3 { font: 600 28px/1.15 var(--fb-titres); color: var(--fb-encre); margin: 1.8em 0 .6em; }
.fstw-habille .fb-contenu h4 { font: 600 22px/1.2 var(--fb-titres); color: var(--fb-encre); margin: 1.6em 0 .5em; }
.fstw-habille .fb-contenu a { color: var(--fb-sage-fonce); text-decoration: underline; text-decoration-color: var(--fb-rouge); text-underline-offset: 3px; }
.fstw-habille .fb-contenu a:hover { color: var(--fb-encre); }
.fstw-habille .fb-contenu img { border-radius: 16px; }
.fstw-habille .fb-contenu figure { margin-left: 0; margin-right: 0; }
.fstw-habille .fb-contenu figcaption { font-size: 14px; color: #6b7163; text-align: center; margin-top: 8px; }
.fstw-habille .fb-contenu blockquote { margin: 2em 0; padding: 4px 0 4px 28px; border-left: 4px solid var(--fb-sage); font: 500 italic 24px/1.4 var(--fb-titres); color: var(--fb-encre); }
.fstw-habille .fb-contenu ul,
.fstw-habille .fb-contenu ol { padding-left: 1.3em; }
.fstw-habille .fb-contenu li { margin-bottom: .4em; }
.fstw-habille .fb-contenu li::marker { color: var(--fb-sage-fonce); }
.fstw-habille .fb-contenu hr { border: 0; height: 1px; background: rgba(28,33,23,.12); margin: 3em 0; }
.fstw-habille .fb-contenu .alignwide { max-width: 1100px; width: calc(100vw - 48px); margin-left: 50%; transform: translateX(-50%); }
.fstw-habille .fb-contenu .alignfull { width: 100vw; max-width: 100vw; margin-left: 50%; transform: translateX(-50%); }
.fstw-habille .fb-contenu .alignfull img { border-radius: 0; }
.fstw-habille .fb-contenu .wp-block-gallery { gap: 12px; }
.fstw-habille .fb-contenu iframe { max-width: 100%; border-radius: 16px; }
.fstw-habille .fb-contenu .instagram-media { margin-left: auto !important; margin-right: auto !important; }

.fstw-habille .fb-article-pied { max-width: 760px; margin: 0 auto; padding: 16px 24px 80px; display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }
.fstw-habille .fb-article-cats { display: flex; flex-wrap: wrap; gap: 8px; }
.fstw-habille .fb-puce { font: 500 14px/1 var(--fb-corps); color: var(--fb-encre); text-decoration: none; padding: 9px 15px; border-radius: 40px; border: 1px solid var(--fb-sage); }
.fstw-habille .fb-puce:hover { background: var(--fb-encre); color: #fff; }
.fstw-habille .fb-auteur { display: flex; gap: 24px; align-items: center; width: 100%; padding: 28px; background: #fff; border-radius: 22px; box-shadow: 0 12px 32px rgba(28,33,23,.07); }
.fstw-habille .fb-auteur-photo { width: 104px; height: 104px; flex: 0 0 104px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; }
.fstw-habille .fb-auteur p { margin: 0 0 8px; font-size: 15px; }
.fstw-habille .fb-auteur .fb-manuscrite { font-size: 26px; }
.fstw-habille .fb-auteur a { font-weight: 700; font-size: 14px; color: var(--fb-encre); text-decoration: none; border-bottom: 2px solid var(--fb-rouge); }
.fstw-habille .fb-commentaires { max-width: 860px; margin: 0 auto; }
.fstw-habille .fb-commentaires h2 { font: 700 32px/1.1 var(--fb-titres); color: var(--fb-encre); }

/* ---------- Pied de page ---------- */
.fstw-habille .fb-pied {
	display: flex; flex-direction: column; gap: 64px; padding: 112px var(--fb-marge) 40px; color: #fff; background-color: var(--fb-encre);
	background-image: radial-gradient(circle at 85% 20%, rgba(160,175,140,.28) 0%, rgba(160,175,140,0) 45%), radial-gradient(circle at 10% 90%, rgba(212,224,175,.14) 0%, rgba(212,224,175,0) 40%);
}
.fstw-habille .fb-pied-haut { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; padding-bottom: 56px; box-shadow: inset 0 -1px 0 rgba(255,255,255,.14); }
.fstw-habille .fb-pied-haut h2 { font: 700 60px/1.05 var(--fb-titres); letter-spacing: -.025em; color: #fff; margin: 0; }
.fstw-habille .fb-pied-colonnes { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.fstw-habille .fb-pied-marque p { font-size: 15px; line-height: 1.7; color: rgba(255,255,255,.65); max-width: 340px; margin: 0 0 14px; }
.fstw-habille .fb-pied-marque .fb-pied-nom { font: 700 26px/1.2 var(--fb-titres); color: #fff; }
.fstw-habille .fb-pied-nom span { color: var(--fb-rouge); font-style: italic; }
.fstw-habille .fb-pied-col { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.fstw-habille .fb-pied-titre { font: 700 12px/1 var(--fb-corps); letter-spacing: .14em; text-transform: uppercase; color: var(--fb-sage); margin: 0 0 8px; }
.fstw-habille .fb-pied-col a { font-size: 15px; line-height: 1.9; color: rgba(255,255,255,.72); text-decoration: none; }
.fstw-habille .fb-pied-col a:hover { color: var(--fb-pistache); }
.fstw-habille .fb-pied-bas { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 28px; box-shadow: inset 0 1px 0 rgba(255,255,255,.14); font-size: 13px; color: rgba(255,255,255,.5); }
.fstw-habille .fb-pied-bas p { margin: 0; }
.fstw-habille .fb-pied-bas a { color: rgba(255,255,255,.72); text-decoration: none; }

/* ---------- Tablette et mobile ---------- */
@media (max-width: 1024px) {
	.fstw-habille .fb-nav,
	.fstw-habille .fb-entete-cta { display: none; }
	.fstw-habille .fb-menu-mobile { display: block; }
	.fstw-habille .fb-grille { grid-template-columns: repeat(2, 1fr); }
	.fstw-habille .fb-pied-colonnes { grid-template-columns: repeat(2, 1fr); }
	.fstw-habille .fb-pied-haut { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 782px) {
	.admin-bar.fstw-habille .fb-entete { top: 0; }
}
@media (max-width: 767px) {
	body.fstw-habille { --fb-marge: 20px; font-size: 16px; }
	.fstw-habille .fb-entete { padding: 10px 20px; }
	.fstw-habille .fb-logo-img { width: 56px; }
	.fstw-habille .fb-hero { padding: 72px 20px 44px; }
	.fstw-habille .fb-hero h1,
	.fstw-habille .fb-hero-article h1 { font-size: 40px; }
	.fstw-habille .fb-hero-liste { min-height: 320px; }
	.fstw-habille .fb-hero-article { min-height: 64vh; }
	.fstw-habille .fb-section { padding: 56px 20px; }
	.fstw-habille .fb-h2 { font-size: 34px; }
	.fstw-habille .fb-grille { grid-template-columns: 1fr; }
	.fstw-habille .fb-contenu { padding: 48px 20px 16px; font-size: 17px; }
	.fstw-habille .fb-contenu h2 { font-size: 30px; }
	.fstw-habille .fb-article-pied { padding: 8px 20px 56px; }
	.fstw-habille .fb-auteur { flex-direction: column; align-items: flex-start; }
	.fstw-habille .fb-pied { padding: 64px 20px 32px; }
	.fstw-habille .fb-pied-haut h2 { font-size: 38px; }
	.fstw-habille .fb-pied-colonnes { grid-template-columns: 1fr; }
	.fstw-habille .fb-pied-bas { flex-direction: column; align-items: flex-start; }
}
