/*
 * Femiweb : feuille de style principale.
 * Charte : framboise, sauge et abricot sur papier rosé. Titres Literata (serif de presse, axe optique), logo Bodoni Moda italique, texte et interface Manrope.
 */

/* ---------- Polices (auto-hébergées) ---------- */
@font-face {
	font-family: "Literata";
	src: url("../fonts/literata-var.woff2") format("woff2-variations"), url("../fonts/literata-var.woff2") format("woff2");
	font-weight: 200 900;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Bodoni Moda";
	src: url("../fonts/bodoni-italic-var.woff2") format("woff2-variations"), url("../fonts/bodoni-italic-var.woff2") format("woff2");
	font-weight: 400 900;
	font-style: italic;
	font-display: swap;
}
@font-face {
	font-family: "Manrope";
	src: url("../fonts/manrope-var.woff2") format("woff2-variations"), url("../fonts/manrope-var.woff2") format("woff2");
	font-weight: 200 800;
	font-style: normal;
	font-display: swap;
}

/* ---------- Jetons ---------- */
:root {
	--ink: #221A21;
	--text: #3A2F37;
	--muted: #74656F;
	--berry: #B42A55;
	--berry-700: #8E1E42;
	--berry-500: #CC4A72;
	--berry-100: #F6D8E1;
	--berry-50: #FCF0F3;
	--teal: #2A6B63;
	--teal-50: #E7F2EF;
	--apricot: #F2A65A;
	--apricot-50: #FEF3E8;
	--paper: #FCF8F5;
	--white: #FFFFFF;
	--line: #EEE3E6;
	--line-strong: #D9C8CE;
	--alert: #B42318;
	--alert-50: #FDEEEC;
	--rub: var(--berry);
	--display: "Literata", Georgia, "Times New Roman", serif;
	--logo: "Bodoni Moda", Didot, "Bodoni 72", Georgia, serif;
	--sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--radius: 10px;
	--radius-lg: 18px;
	--shadow: 0 1px 2px rgba(34, 26, 33, .05), 0 8px 24px rgba(34, 26, 33, .07);
	--container: 1240px;
	--gutter: clamp(16px, 4vw, 32px);
}
/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 90px; }
body {
	margin: 0;
	background: var(--paper);
	color: var(--text);
	font-family: var(--sans);
	font-size: 1rem;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; }
img { display: block; }
a { color: var(--berry); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--berry-700); }
:focus-visible { outline: 3px solid var(--apricot); outline-offset: 2px; border-radius: 2px; }
h1, h2, h3, h4 { font-family: var(--display); color: var(--ink); line-height: 1.15; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
.icon { width: 1.1em; height: 1.1em; flex: none; vertical-align: -.18em; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--radius); }
.skip-link:focus { top: 12px; color: #fff; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container--text { max-width: 780px; }
.preview-bar { background: var(--ink); color: #fff; text-align: center; font-size: .8rem; padding: 4px 8px; letter-spacing: .02em; }

.stripe { display: flex; height: 6px; }
.stripe span { flex: 1; }
.stripe span:nth-child(1) { background: var(--berry); }
.stripe span:nth-child(2) { background: #fff; }
.stripe span:nth-child(3) { background: var(--teal); }
.stripe--top { height: 5px; }

/* ---------- Boutons, liens, pastilles ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	padding: .72em 1.2em; border-radius: 999px; border: 2px solid transparent;
	font-family: var(--sans); font-weight: 600; font-size: .95rem; line-height: 1.2;
	text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s;
}
.btn--sm { padding: .5em .95em; font-size: .88rem; }
.btn--berry { background: var(--berry); color: #fff; }
.btn--berry:hover { background: var(--berry-700); color: #fff; }
.btn--ghost { background: transparent; border-color: var(--line-strong); color: var(--ink); }
.btn--ghost:hover { border-color: var(--berry); color: var(--berry); }
.btn--light { background: #fff; color: var(--berry); }
.btn--light:hover { background: var(--teal-50); color: var(--berry-700); }
.link-arrow { display: inline-flex; align-items: center; gap: .35em; font-weight: 600; font-size: .93rem; text-decoration: none; color: var(--berry); }
.link-arrow .icon { transition: transform .15s; }
.link-arrow:hover .icon { transform: translateX(3px); }
.link-reset { font-size: .88rem; color: var(--muted); }
.kicker {
	display: inline-block; font-family: var(--sans); font-size: .74rem; font-weight: 700;
	letter-spacing: .09em; text-transform: uppercase; color: var(--teal); text-decoration: none; margin-bottom: .45em;
}
.kicker:hover { color: var(--berry); }
.kicker--lg { font-size: .82rem; }
.badge { display: inline-block; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding: .2em .6em; border-radius: 4px; }
.badge--red { background: var(--alert-50); color: var(--alert); }
.pills { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
	display: inline-block; padding: .42em .95em; border-radius: 999px; border: 1px solid var(--line-strong);
	background: #fff; color: var(--ink); font-size: .88rem; font-weight: 600; text-decoration: none;
}
.pill:hover { border-color: var(--berry); color: var(--berry); }
.pill.is-active { background: var(--berry); border-color: var(--berry); color: #fff; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
	display: inline-flex; align-items: center; gap: .35em; padding: .38em .8em; border-radius: 999px;
	background: #fff; border: 1px solid var(--line); color: var(--ink); font-size: .88rem; text-decoration: none;
}
.chip .icon { color: var(--teal); }
a.chip:hover { border-color: var(--berry); color: var(--berry); }
.chip--sm, .chips--sm .chip { font-size: .8rem; padding: .3em .7em; }
.chip--static { background: var(--berry-50); border-color: var(--berry-100); }
.tag { display: inline-block; font-size: .8rem; background: var(--berry-50); color: var(--berry-700); padding: .2em .6em; border-radius: 4px; margin: 0 4px 4px 0; }

/* ---------- En-tête ---------- */
.masthead { background: #fff; border-bottom: 1px solid var(--line); position: relative; z-index: 50; }
.masthead__top { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding-top: 18px; padding-bottom: 16px; }
.masthead__left { display: flex; align-items: center; gap: 14px; min-width: 0; }
.masthead__date { margin: 0; font-size: .82rem; color: var(--muted); white-space: nowrap; }
.masthead__links { display: none; }
.masthead__menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 14px; }
.masthead__menu a { font-size: .82rem; color: var(--muted); text-decoration: none; }
.masthead__menu a:hover { color: var(--berry); }
.masthead__right { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand__mark { width: 50px; height: 50px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--display); font-weight: 800; font-size: 2.15rem; letter-spacing: -.025em; color: var(--ink); }
.brand__name em { font-style: normal; color: var(--berry); }
.brand__tagline { font-family: var(--sans); font-size: .68rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--teal); margin-top: 6px; }
.brand--light .brand__name { color: #fff; }
.brand--light .brand__name em { color: var(--apricot); }
.brand--light .brand__tagline { color: #E9C9D3; }
.header-search { display: flex; align-items: center; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--paper); overflow: hidden; }
.header-search input { border: 0; background: transparent; padding: .45em .2em .45em 1em; width: 150px; font-size: .88rem; outline: none; }
.header-search button { border: 0; background: transparent; padding: .45em .8em; cursor: pointer; color: var(--berry); display: flex; }
.header-search:focus-within { border-color: var(--berry); }
.nav-toggle { display: none; border: 0; background: transparent; padding: 6px; cursor: pointer; color: var(--ink); }
.nav-toggle .icon { width: 26px; height: 26px; }
.nav-toggle__close { display: none; }

.mainnav { border-top: 1px solid var(--line); background: #fff; }
.mainnav .container { display: flex; align-items: center; justify-content: center; }
.mainnav__menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; }
.mainnav__menu a {
	display: block; padding: 13px 13px 12px; font-weight: 600; font-size: .93rem; color: var(--ink);
	text-decoration: none; border-bottom: 3px solid transparent; margin-bottom: -1px;
}
.mainnav__menu a:hover { color: var(--berry); }
.mainnav__menu .current-menu-item > a, .mainnav__menu .current-menu-ancestor > a, .mainnav__menu .current-post-ancestor > a { color: var(--berry); border-bottom-color: var(--berry); }
.mainnav__menu .menu-agenda > a { color: var(--teal); }
.mainnav__menu .menu-agenda > a::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--apricot); margin-right: 7px; vertical-align: 2px; }
.mainnav__menu .menu-agenda.current-menu-item > a, .mainnav__menu .menu-agenda.current-menu-ancestor > a { border-bottom-color: var(--teal); }
.mainnav__search, .mainnav__extra { display: none; }

/* ---------- Accueil ---------- */
.home-head { text-align: center; padding-top: 30px; padding-bottom: 8px; }
.home-head__title { font-size: clamp(1.25rem, 2.2vw, 1.6rem); font-weight: 600; font-style: italic; color: var(--muted); margin: 0; letter-spacing: 0; }
.home-head__edition { font-size: .8rem; color: var(--muted); margin: 6px 0 0; }

.front-top { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr) minmax(0, .95fr); gap: 28px; padding-top: 24px; padding-bottom: 36px; }
.front-top__seconds { display: grid; gap: 24px; align-content: start; }
.essentiel { border-left: 1px solid var(--line); padding-left: 24px; }
.essentiel__title { font-family: var(--sans); font-size: .82rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--berry); padding-bottom: 10px; border-bottom: 3px solid var(--berry); margin-bottom: 4px; }
.essentiel__list { list-style: none; counter-reset: ess; margin: 0 0 16px; padding: 0; }
.essentiel__list li { counter-increment: ess; position: relative; padding: 13px 0 13px 34px; border-bottom: 1px solid var(--line); }
.essentiel__list li::before { content: counter(ess); position: absolute; left: 0; top: 10px; font-family: var(--display); font-size: 1.5rem; font-weight: 800; color: var(--berry-100); line-height: 1; }
.essentiel__list a { font-family: var(--display); font-weight: 650; font-size: 1.02rem; line-height: 1.3; color: var(--ink); text-decoration: none; }
.essentiel__list a:hover { color: var(--berry); }
.essentiel__meta { display: flex; gap: 8px; font-size: .74rem; color: var(--muted); margin-bottom: 3px; }
.essentiel__cat { color: var(--teal); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
/* « Le fil » (colonnes des articles et des listes). */
.fil__title { font-family: var(--sans); font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--berry); border-bottom: 3px solid var(--berry); padding-bottom: 8px; }
.fil__list { list-style: none; margin: 0 0 14px; padding: 0; }
.fil__list li { padding: 11px 0; border-bottom: 1px solid var(--line); display: grid; gap: 2px; }
.fil__list time { font-size: .74rem; color: var(--muted); }
.fil__list a { font-family: var(--display); font-weight: 650; color: var(--ink); text-decoration: none; line-height: 1.3; }
.fil__list a:hover { color: var(--berry); }

/* Prochaine date clé. */
.keydate { margin-top: 8px; margin-bottom: 40px; }
.keydate__inner {
	display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 28px; align-items: center;
	background: var(--berry); color: #fff; border-radius: var(--radius-lg); padding: 28px 32px; position: relative; overflow: hidden;
}
.keydate__inner::after { content: ""; position: absolute; right: -40px; top: -40px; width: 180px; height: 180px; border-radius: 50%; border: 22px solid rgba(242, 166, 90, .22); pointer-events: none; }
.keydate__count { margin: 0; display: flex; flex-direction: column; gap: 4px; padding-right: 28px; border-right: 1px solid rgba(255, 255, 255, .25); }
.keydate__eyebrow { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--apricot); }
.keydate__count strong { font-family: var(--display); font-size: 2rem; line-height: 1; white-space: nowrap; }
.keydate__date { margin: 0 0 4px; font-size: .85rem; color: #F7DCE4; }
.keydate__title { font-size: clamp(1.25rem, 2.2vw, 1.6rem); margin: 0 0 6px; color: #fff; }
.keydate__title a { color: #fff; text-decoration: none; }
.keydate__title a:hover { text-decoration: underline; }
.keydate__text { margin: 0; color: #FBE9EE; font-size: .95rem; }
.keydate__cta { position: relative; z-index: 1; }

/* Agenda de l'accueil. */
.home-agenda { background: var(--berry-50); border-top: 1px solid var(--berry-100); border-bottom: 1px solid var(--berry-100); padding: 44px 0; margin-bottom: 44px; }
.home-agenda__cities { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 22px; font-size: .88rem; font-weight: 600; color: var(--muted); }
.home-agenda__cities > span { display: inline-flex; align-items: center; gap: 6px; }
.home-agenda__cities .icon { color: var(--teal); }

.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; margin-bottom: 22px; }
.section-head__title { font-size: clamp(1.45rem, 2.4vw, 1.9rem); margin: 0; display: flex; align-items: center; gap: .35em; }
.section-head__title a { color: inherit; text-decoration: none; }
.section-head__title a:hover { color: var(--berry); }
.section-head__text { margin: 6px 0 0; color: var(--muted); max-width: 640px; }
.section-head--rule { border-top: 3px solid var(--ink); padding-top: 12px; align-items: baseline; }
.section-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin: 28px 0 0; }
.section-title { font-size: 1.3rem; margin: 0 0 14px; }

.rubric-block { margin-bottom: 44px; }
.rubric-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); grid-auto-flow: dense; gap: 0 32px; }
.rubric-grid > .card--std { grid-row: span 3; }
.rubric-grid > .card--row { border-bottom: 1px solid var(--line); padding: 14px 0; }
.rubric-grid > .card--row:first-of-type { padding-top: 0; }

.home-rubrics { margin-bottom: 44px; }
.rubric-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.rubric-cards a {
	display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 18px 18px 20px; background: #fff;
	border: 1px solid var(--line); border-top: 4px solid var(--berry); border-radius: var(--radius); text-decoration: none; color: var(--text);
}
.rubric-cards li:nth-child(even) a { border-top-color: var(--teal); }
.rubric-cards strong { font-family: var(--display); font-size: 1.2rem; color: var(--ink); }
.rubric-cards span { font-size: .9rem; color: var(--muted); }
.rubric-cards a:hover strong { color: var(--berry); }

.home-help { background: var(--teal-50); border-top: 1px solid #CFE3DE; border-bottom: 1px solid #CFE3DE; padding: 26px 0; margin-bottom: 44px; }
.home-help__inner { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 18px 28px; align-items: center; }
.home-help__title { font-family: var(--sans); font-size: 1.05rem; margin: 0; display: flex; align-items: center; gap: 8px; color: var(--teal); }
.home-help__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.home-help__list li { display: flex; flex-direction: column; gap: 2px; font-size: .84rem; color: var(--text); }
.home-help__list strong { font-family: var(--display); font-size: 1.35rem; color: var(--ink); }

.home-about { background: #fff; border-top: 1px solid var(--line); padding: 44px 0; }
.home-about__inner { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.home-about__title { font-size: clamp(1.4rem, 2.4vw, 1.85rem); }
.home-about__links { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.home-about__team { display: grid; gap: 12px; }
.mini-author { display: flex; align-items: center; gap: 14px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius-lg); text-decoration: none; color: var(--muted); background: var(--paper); font-size: .9rem; }
.mini-author span { display: flex; flex-direction: column; }
.mini-author strong { color: var(--ink); font-family: var(--display); font-size: 1.1rem; }
.mini-author:hover strong { color: var(--berry); }
.home-faq { padding: 40px 0; }

/* ---------- Cartes d'article ---------- */
.card { position: relative; min-width: 0; }
.card__media { display: block; overflow: hidden; border-radius: var(--radius); background: var(--berry-100); aspect-ratio: 16 / 9; margin-bottom: 12px; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.card:hover .card__media img { transform: scale(1.025); }
.card__title { font-size: 1.14rem; line-height: 1.25; margin: 0 0 .35em; font-weight: 700; }
.card__title a { color: var(--ink); text-decoration: none; }
.card__title a:hover { color: var(--berry); }
.card__excerpt { color: var(--muted); font-size: .95rem; margin: 0 0 .5em; }
.card__meta { font-size: .78rem; color: var(--muted); margin: 0; }
.card--lead .card__title { font-size: clamp(1.55rem, 2.8vw, 2.25rem); line-height: 1.12; letter-spacing: -.015em; }
.card--lead .card__excerpt { font-size: 1.05rem; color: var(--text); }
.card--row { display: grid; grid-template-columns: minmax(0, 1fr) 150px; gap: 18px; align-items: start; }
.card--row .card__media { grid-column: 2; grid-row: 1; margin: 0; aspect-ratio: 4 / 3; }
.card--row .card__body { grid-column: 1; grid-row: 1; }
.card--row .card__title { font-size: 1.08rem; }
.card--page { grid-template-columns: 1fr; }
.card-grid { display: grid; gap: 28px; }
.card-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ---------- Cartes d'événement ---------- */
.event-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.event-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.event-list { display: grid; gap: 12px; }
.event-card {
	display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 14px; align-items: start; position: relative;
	background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; transition: border-color .15s, box-shadow .15s;
}
.event-card:hover { border-color: var(--berry-100); box-shadow: var(--shadow); }
.event-card.is-cancelled { opacity: .72; }
.event-card__type { display: block; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--teal); margin-bottom: 3px; }
.event-card__title { font-size: 1.02rem; line-height: 1.25; margin: 0 0 6px; }
.event-card__title a { color: var(--ink); text-decoration: none; }
.event-card__title a::after { content: ""; position: absolute; inset: 0; }
.event-card__title a:hover { color: var(--berry); }
.event-card__meta { margin: 0; display: grid; gap: 2px; font-size: .8rem; color: var(--muted); }
.event-card__meta span { display: flex; gap: 6px; align-items: flex-start; }
.event-card__meta .icon { margin-top: 2px; color: var(--berry-500); }
.date-tile {
	margin: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
	background: var(--berry-50); border: 1px solid var(--berry-100); border-radius: var(--radius); padding: 6px 4px; line-height: 1.05; min-height: 70px;
}
.date-tile__pre { font-size: .58rem; text-transform: uppercase; letter-spacing: .05em; color: var(--teal); font-weight: 700; }
.date-tile__dow { font-size: .66rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.date-tile__day { font-family: var(--display); font-size: 1.65rem; font-weight: 800; color: var(--berry); }
.date-tile__month { font-size: .7rem; text-transform: uppercase; letter-spacing: .05em; color: var(--ink); font-weight: 600; }
.date-tile--until { background: var(--teal-50); border-color: #CFE3DE; }
.date-tile--until .date-tile__day { color: var(--teal); }
.date-tile--lg { min-height: 0; padding: 16px; margin-bottom: 18px; background: var(--berry); border-color: var(--berry); }
.date-tile--lg .date-tile__dow, .date-tile--lg .date-tile__month { color: #F7DCE4; font-size: .82rem; }
.date-tile--lg .date-tile__day { color: #fff; font-size: 3rem; }
.event-list--compact .event-card { padding: 10px; grid-template-columns: 54px minmax(0, 1fr); gap: 10px; }
.event-list--compact .date-tile { min-height: 60px; }
.event-list--compact .date-tile__day { font-size: 1.35rem; }
.event-list--compact .event-card__title { font-size: .95rem; }

/* ---------- En-têtes de page, fil d'Ariane ---------- */
.breadcrumbs ol { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; font-size: .8rem; color: var(--muted); }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: 6px; color: var(--line-strong); }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--berry); text-decoration: underline; }
.breadcrumbs [aria-current] { color: var(--ink); }
.page-header { background: #fff; border-bottom: 1px solid var(--line); padding: 28px 0 30px; margin-bottom: 34px; }
.page-header__eyebrow { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 6px; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--teal); }
.page-header__title { font-size: clamp(1.8rem, 3.6vw, 2.7rem); margin: 0 0 .3em; max-width: 900px; }
.page-header__lead { font-size: 1.1rem; color: var(--muted); max-width: 760px; margin: 0; font-family: var(--display); }
.page-header--agenda { background: var(--berry-50); border-bottom-color: var(--berry-100); }
.page-header .search-form { margin-top: 18px; max-width: 620px; }

/* ---------- Mises en page à colonne ---------- */
.list-layout, .article-layout, .page-layout, .agenda-layout, .event-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; align-items: start; padding-bottom: 56px; }
.list-layout--full, .page-layout--single { grid-template-columns: minmax(0, 1fr); max-width: 860px; }
.list-lead { padding-bottom: 26px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.list-rows > .card--row, .list-rows > .event-card { padding: 18px 0; border-bottom: 1px solid var(--line); }
.list-rows > .event-card { padding: 14px; margin-bottom: 10px; border: 1px solid var(--line); }
.rail { position: sticky; top: 20px; display: grid; gap: 26px; }
.rail__title { font-family: var(--sans); font-size: .82rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); display: flex; align-items: center; gap: 6px; margin-bottom: 12px; }
.rail__block { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 18px 20px; }
.rail__block--cta { background: var(--berry-50); border-color: var(--berry-100); }
.rail__block--cta p { font-size: .9rem; color: var(--text); }
.rail__links { list-style: none; margin: 0; padding: 0; }
.rail__links li { border-bottom: 1px solid var(--line); }
.rail__links li:last-child { border-bottom: 0; }
.rail__links a { display: block; padding: 8px 0; color: var(--ink); text-decoration: none; font-size: .93rem; }
.rail__links a:hover, .rail__links a[aria-current] { color: var(--berry); font-weight: 600; }
.rail__agenda .link-arrow { margin-top: 12px; }

/* ---------- Article ---------- */
.article-layout { padding-top: 28px; }
.article__header { margin-bottom: 22px; }
.article__title { font-size: clamp(1.9rem, 4vw, 2.85rem); line-height: 1.1; letter-spacing: -.02em; margin: 0 0 .4em; }
.article__lead { font-family: var(--display); font-size: clamp(1.12rem, 1.8vw, 1.3rem); line-height: 1.45; color: var(--text); margin: 0 0 20px; }
.byline { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.byline__text p { margin: 0; }
.byline__name { font-weight: 600; color: var(--ink); }
.byline__name a { color: var(--ink); }
.byline__name span { font-weight: 400; color: var(--muted); }
.byline__dates { font-size: .82rem; color: var(--muted); }
.byline__sep { margin: 0 4px; }
.article__image { margin: 0 0 26px; }
.article__image img { width: 100%; border-radius: var(--radius); aspect-ratio: 16 / 9; object-fit: cover; background: var(--berry-100); }
.article__image figcaption, .entry-content figcaption { font-size: .8rem; color: var(--muted); margin-top: 8px; }
.credit { color: var(--muted); font-style: italic; }
.article__footer { margin-top: 36px; display: grid; gap: 22px; }
.article__tags span:first-child { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-right: 8px; }
.article-note { font-size: .86rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 14px; margin: 0; }
.help-box { display: flex; gap: 14px; align-items: flex-start; background: var(--teal-50); border: 1px solid #CFE3DE; border-left: 4px solid var(--teal); border-radius: var(--radius); padding: 16px 18px; }
.help-box .icon { width: 24px; height: 24px; color: var(--teal); margin-top: 2px; }
.help-box p { margin: 0; font-size: .95rem; }

.toc { margin: 0 0 26px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.toc summary { cursor: pointer; padding: 12px 16px; font-weight: 700; font-size: .9rem; color: var(--ink); list-style: none; display: flex; justify-content: space-between; }
.toc summary::-webkit-details-marker { display: none; }
.toc summary::after { content: "+"; color: var(--berry); font-size: 1.2rem; line-height: 1; }
.toc details[open] summary::after { content: "−"; }
.toc ol { margin: 0; padding: 0 16px 14px 36px; }
.toc li { margin: 4px 0; font-size: .93rem; }
.toc a { color: var(--text); text-decoration: none; }
.toc a:hover { color: var(--berry); text-decoration: underline; }

.read-also { margin: 28px 0; padding: 14px 18px; border-left: 4px solid var(--berry); background: var(--berry-50); border-radius: 0 var(--radius) var(--radius) 0; }
.read-also__label { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--berry); margin-bottom: 4px; }
.read-also a { text-decoration: none; display: grid; gap: 2px; }
.read-also__cat { font-size: .74rem; color: var(--teal); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.read-also__title { font-family: var(--display); font-size: 1.1rem; font-weight: 700; color: var(--ink); }
.read-also a:hover .read-also__title { color: var(--berry); }

.share { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.share__label { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.share ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; flex-wrap: wrap; }
.share a, .share__copy {
	display: inline-flex; align-items: center; gap: 6px; height: 38px; min-width: 38px; justify-content: center; padding: 0 10px;
	border-radius: 999px; border: 1px solid var(--line-strong); background: #fff; color: var(--ink); cursor: pointer; font-size: .85rem; text-decoration: none;
}
.share a:hover, .share__copy:hover { border-color: var(--berry); color: var(--berry); }
.share__copy.is-done { border-color: var(--teal); color: var(--teal); }

.author-box { display: flex; gap: 18px; padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.author-box p { margin: 0 0 8px; font-size: .93rem; }
.author-box__name { font-family: var(--display); font-size: 1.15rem; font-weight: 700; }
.author-box__name a { color: var(--ink); text-decoration: none; }
.author-box__name span { display: block; font-family: var(--sans); font-size: .82rem; font-weight: 400; color: var(--muted); }
.author-badge {
	display: inline-flex; align-items: center; justify-content: center; flex: none; border-radius: 50%;
	background: var(--berry); color: #fff; font-family: var(--display); font-weight: 700; letter-spacing: .02em;
	box-shadow: inset 0 0 0 3px var(--berry), inset 0 0 0 5px var(--apricot);
}
.author-badge--sm { width: 40px; height: 40px; font-size: .9rem; box-shadow: none; }
.author-badge--md { width: 54px; height: 54px; font-size: 1.1rem; }
.author-badge--lg { width: 72px; height: 72px; font-size: 1.4rem; }
.author-badge--xl { width: 120px; height: 120px; font-size: 2.3rem; }
.author-links { list-style: none; margin: 8px 0 0; padding: 0; display: flex; gap: 8px; }
.author-links a { display: inline-flex; width: 34px; height: 34px; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid var(--line-strong); color: var(--ink); }
.author-links a:hover { border-color: var(--berry); color: var(--berry); }

.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.post-nav__link { display: grid; gap: 4px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; text-decoration: none; }
.post-nav__link--next { text-align: right; }
.post-nav__label { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); display: inline-flex; gap: 4px; align-items: center; }
.post-nav__link--next .post-nav__label { justify-content: flex-end; }
.post-nav__title { font-family: var(--display); font-weight: 700; color: var(--ink); line-height: 1.25; }
.post-nav__link:hover .post-nav__title { color: var(--berry); }

.related { background: #fff; border-top: 1px solid var(--line); padding: 40px 0 48px; }

/* ---------- Contenu éditorial ---------- */
.entry-content { font-family: var(--display); font-size: 1.16rem; line-height: 1.7; color: var(--text); }
.entry-content > * { max-width: 100%; }
.entry-content h2 { font-size: clamp(1.4rem, 2.4vw, 1.7rem); margin: 1.7em 0 .55em; }
.entry-content h3 { font-size: 1.25rem; margin: 1.5em 0 .45em; }
.entry-content h2:first-child, .entry-content h3:first-child { margin-top: 0; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; margin: 0 0 1.1em; }
.entry-content li { margin: .3em 0; }
.entry-content li::marker { color: var(--berry); }
.entry-content a { color: var(--berry); }
.entry-content blockquote { margin: 1.5em 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--teal); font-style: italic; color: var(--ink); }
.entry-content strong { color: var(--ink); }
.entry-content table { width: 100%; border-collapse: collapse; font-family: var(--sans); font-size: .93rem; margin: 1.4em 0; }
.entry-content th, .entry-content td { border: 1px solid var(--line); padding: 9px 12px; text-align: left; vertical-align: top; }
.entry-content th { background: var(--berry-50); color: var(--ink); }
.entry-content figure { margin: 1.6em 0; }
.entry-content img { border-radius: var(--radius); }
.entry-content details { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: 0 18px; margin: 10px 0; font-family: var(--sans); font-size: 1rem; }
.entry-content summary { cursor: pointer; padding: 14px 0; font-weight: 700; color: var(--ink); }
.entry-content details[open] summary { border-bottom: 1px solid var(--line); margin-bottom: 12px; }
.wp-block-separator { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.page-updated { font-size: .82rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 14px; margin-top: 32px; }
.page-layout__main { min-width: 0; }

/* Codes courts. */
.legal-id { margin: 0 0 28px; display: grid; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; font-family: var(--sans); font-size: .95rem; }
.legal-id > div { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 16px; padding: 12px 18px; border-bottom: 1px solid var(--line); }
.legal-id > div:last-child { border-bottom: 0; }
.legal-id dt { font-weight: 700; color: var(--ink); }
.legal-id dd { margin: 0; }
.legal-note { font-family: var(--sans); font-size: .92rem; background: var(--berry-50); border-radius: var(--radius); padding: 12px 16px; }
.contact-card { font-family: var(--sans); font-size: .95rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px 22px; margin-top: 24px; }
.contact-card p { display: flex; gap: 10px; margin: 0 0 8px; }
.contact-card .icon { color: var(--berry); margin-top: 3px; }
.contact-card__name { font-family: var(--display); font-size: 1.2rem; font-weight: 700; color: var(--ink); }
.contact-card__sub { color: var(--muted); font-size: .88rem; }
.team { display: grid; gap: 16px; margin: 20px 0; font-family: var(--sans); font-size: .95rem; }
.team__card { display: flex; gap: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px; }
.team__name { font-size: 1.25rem; margin: 0 0 2px; }
.team__name a { color: var(--ink); text-decoration: none; }
.team__job { color: var(--teal); font-weight: 600; margin: 0 0 8px; }
.rubric-list { list-style: none; padding: 0 !important; margin: 16px 0 24px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; font-family: var(--sans); }
.rubric-list a { display: grid; gap: 3px; height: 100%; padding: 14px 16px; border: 1px solid var(--line); border-left: 4px solid var(--berry); border-radius: var(--radius); background: #fff; text-decoration: none; color: var(--muted); font-size: .88rem; }
.rubric-list strong { color: var(--ink); font-family: var(--display); font-size: 1.1rem; }
.rubric-list a:hover strong { color: var(--berry); }
.sitemap-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; font-family: var(--sans); font-size: .95rem; margin-bottom: 20px; }
.sitemap-rubric { font-family: var(--sans); font-size: .95rem; }
.sitemap-grid h2, .sitemap-rubric h2 { font-size: 1.2rem; }

/* Calendrier des journées. */
.journees { font-family: var(--sans); }
.journees__month { margin-bottom: 28px; }
.journees__month h2 { font-size: 1.3rem; border-bottom: 3px solid var(--berry); padding-bottom: 8px; margin: 0 0 6px !important; }
.journees ol { list-style: none; padding: 0 !important; margin: 0; }
.journees li { margin: 0 !important; border-bottom: 1px solid var(--line); }
.journees a { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 16px; padding: 14px 0; text-decoration: none; color: var(--text); }
.journees__day { display: flex; flex-direction: column; align-items: center; justify-content: center; background: var(--berry-50); border-radius: var(--radius); font-family: var(--display); font-size: 1.5rem; font-weight: 800; color: var(--berry); line-height: 1; padding: 8px 0; }
.journees__day small { font-family: var(--sans); font-size: .66rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--ink); margin-top: 3px; }
.journees__text { display: grid; gap: 3px; font-size: .9rem; color: var(--muted); }
.journees__text strong { font-family: var(--display); font-size: 1.12rem; color: var(--ink); line-height: 1.25; }
.journees a:hover strong { color: var(--berry); }

/* Numéros d'aide : sortie rapide. */
.quick-exit-note { font-family: var(--sans); font-size: .92rem; background: var(--teal-50); border-radius: var(--radius); padding: 12px 16px; }
.quick-exit {
	position: fixed; right: 16px; bottom: 16px; z-index: 900; display: inline-flex; align-items: center; gap: 6px;
	background: var(--alert); color: #fff; font-weight: 700; font-size: .9rem; padding: 12px 18px; border-radius: 999px;
	text-decoration: none; box-shadow: 0 6px 20px rgba(0, 0, 0, .25);
}
.quick-exit:hover { background: #8E1E42; color: #fff; }

/* ---------- Agenda ---------- */
.agenda-filter { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; align-items: center; margin-bottom: 28px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.agenda-filter__selects { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.select select {
	appearance: none; -webkit-appearance: none; border: 1px solid var(--line-strong); border-radius: 999px; background: #fff
	url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B42A55' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 12px center / 16px no-repeat;
	padding: .5em 2.4em .5em 1em; font-size: .9rem; max-width: 220px;
}
.agenda-day { margin-bottom: 30px; }
.agenda-day__title { font-family: var(--sans); font-size: .95rem; font-weight: 700; color: var(--berry); border-bottom: 2px solid var(--berry-100); padding-bottom: 8px; margin-bottom: 12px; }
.agenda-day--now .agenda-day__title { color: var(--teal); border-bottom-color: #CFE3DE; }
.agenda-day--now .event-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.agenda-day--now details { margin-top: 10px; }
.agenda-day--now summary { cursor: pointer; font-weight: 600; font-size: .9rem; color: var(--teal); padding: 6px 0; }
@media (max-width: 640px) { .agenda-day--now .event-list { grid-template-columns: minmax(0, 1fr); } }
.agenda-past { margin-top: 20px; }
.empty-note { background: #fff; border: 1px dashed var(--line-strong); border-radius: var(--radius-lg); padding: 24px; }

.event-layout { padding-top: 28px; }
.event__title { font-size: clamp(1.8rem, 3.6vw, 2.6rem); line-height: 1.12; letter-spacing: -.015em; }
.event__source { font-size: .88rem; color: var(--muted); margin: 18px 0; }
.event-panel { position: sticky; top: 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px; }
.event-panel__list { margin: 0 0 16px; display: grid; gap: 14px; }
.event-panel__list dt { font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); display: flex; gap: 6px; align-items: center; margin-bottom: 3px; }
.event-panel__list dt .icon { color: var(--berry); }
.event-panel__list dd { margin: 0; font-size: .95rem; }
.event-panel__actions { display: grid; gap: 10px; }
.event-panel__places { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0 0; }
.notice { display: flex; gap: 10px; align-items: flex-start; background: var(--berry-50); border-radius: var(--radius); padding: 12px 16px; font-size: .93rem; margin: 0 0 20px; }
.notice p { margin: 0; }
.notice--success { background: var(--teal-50); color: #1F544D; }
.notice--error, .notice--warn { background: var(--alert-50); color: var(--alert); }

/* ---------- Formulaire ---------- */
.form { font-family: var(--sans); font-size: 1rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.form__field { display: grid; gap: 6px; margin: 0 0 16px; }
.form__field label { font-weight: 600; font-size: .92rem; color: var(--ink); }
.form input[type="text"], .form input[type="email"], .form select, .form textarea {
	width: 100%; border: 1px solid var(--line-strong); border-radius: var(--radius); padding: .65em .8em; background: var(--paper);
}
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--berry); outline: 2px solid var(--berry-100); background: #fff; }
.form__help { font-size: .82rem; color: var(--muted); }
.form__check { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; }
.form__check input { margin-top: 4px; accent-color: var(--berry); }
.form__note { font-size: .8rem; color: var(--muted); }
.form__hp { position: absolute; left: -9999px; }
.req { color: var(--alert); }
.search-form { display: flex; gap: 8px; font-family: var(--sans); }
.search-form input { flex: 1; min-width: 0; border: 1px solid var(--line-strong); border-radius: 999px; padding: .6em 1em; background: #fff; }
.result-count { color: var(--muted); font-size: .9rem; }

/* ---------- Page auteur ---------- */
.profile { background: #fff; border-bottom: 1px solid var(--line); padding: 28px 0 36px; margin-bottom: 34px; }
.profile__inner { display: flex; gap: 32px; align-items: flex-start; }
.profile__name { font-size: clamp(2rem, 4vw, 2.8rem); margin: 0 0 4px; }
.profile__job { color: var(--teal); font-weight: 600; margin: 0 0 14px; }
.profile__bio { font-family: var(--display); font-size: 1.1rem; max-width: 760px; }
.profile__count { font-size: .85rem; color: var(--muted); margin: 14px 0 0; }

/* ---------- 404 ---------- */
.notfound { background: #fff; text-align: center; padding: 60px 0 0; }
.notfound__inner { max-width: 640px; padding-bottom: 48px; }
.notfound__code { font-family: var(--display); font-size: 6rem; font-weight: 800; color: var(--berry-100); line-height: 1; margin: 0; }
.notfound__title { font-size: 2rem; }
.notfound .search-form { margin: 20px 0; }
.notfound__links { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }

/* ---------- Pied de page ---------- */
.site-footer { margin-top: 0; }
.site-footer__body { background: var(--ink); color: #E6DADF; padding: 48px 0 24px; }
.site-footer__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 36px; }
.site-footer__brand p { font-size: .9rem; margin: 16px 0; color: #C9B8BF; }
.site-footer__brand .brand__mark { width: 44px; height: 44px; }
.site-footer__brand .brand__name { font-size: 1.8rem; }
.site-footer__title { font-family: var(--sans); font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--apricot); margin-bottom: 12px; }
.site-footer__col ul { list-style: none; margin: 0; padding: 0; }
.site-footer__col li { margin: 0 0 7px; }
.site-footer a { color: #F1E7EA; text-decoration: none; font-size: .92rem; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer__social { list-style: none; margin: 0 0 14px; padding: 0; display: flex; gap: 8px; }
.site-footer__social a { display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); }
.help-line { display: flex !important; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: var(--radius); background: rgba(242, 166, 90, .12); border: 1px solid rgba(242, 166, 90, .35); font-size: .85rem !important; line-height: 1.4; }
.help-line .icon { color: var(--apricot); margin-top: 2px; }
.help-line strong { display: block; color: #fff; font-size: .95rem; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; margin-top: 40px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .82rem; color: #B39FA7; }
.site-footer__bottom p { margin: 0; }
.legal-menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 16px; }
.legal-menu a { font-size: .82rem; color: #D5C3CA; }
.site-footer__disclaimer { flex-basis: 100%; font-size: .78rem; color: #998690; }

/* =====================================================================
 * Femiweb : composants propres au média (placés avant le responsive).
 * ===================================================================== */
body { font-size: 1.02rem; }
h1, h2, h3, h4 { font-weight: 650; letter-spacing: -.015em; font-optical-sizing: auto; }
a { color: var(--berry); }
.kicker { color: var(--rub); letter-spacing: .08em; }
.kicker:hover { color: var(--ink); }
.btn--berry { background: var(--berry); color: #fff; }
.btn--berry:hover { background: var(--berry-700); color: #fff; }
.btn--light { color: var(--berry); }
.muted { color: var(--muted); }

/* En-tête : bandeau fin, logo à gauche, recherche et bouton à droite, menu à tiroirs. */
.masthead { background: #fff; border-bottom: 0; box-shadow: 0 1px 0 var(--line); }
.masthead__bar { background: var(--berry-50); border-bottom: 1px solid var(--berry-100); }
.masthead__bar-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 34px; }
.masthead__links { display: block; }
.masthead__menu a { color: var(--text); }
.masthead__top { grid-template-columns: auto 1fr auto; padding-top: 16px; padding-bottom: 14px; }
.brand { gap: 12px; }
.brand__mark { width: 52px; height: 52px; }
.brand__name { font-family: var(--logo); font-weight: 700; font-style: italic; font-size: 2.35rem; letter-spacing: -.02em; line-height: .9; }
.brand__name em { font-style: italic; color: var(--berry); }
.brand__tagline { font-family: var(--sans); font-size: .66rem; font-weight: 700; letter-spacing: .14em; color: var(--teal); margin-top: 7px; }
.header-search { background: var(--paper); }
.header-search input { width: 190px; }
.mainnav { border-top: 1px solid var(--line); }
.mainnav .container { justify-content: flex-start; gap: 8px; }
.mainnav__menu { justify-content: flex-start; }
.mainnav__menu > li { position: relative; }
.mainnav__menu > li > a { padding: 14px 14px 12px; font-size: .95rem; font-weight: 700; letter-spacing: .01em; }
.mainnav__menu .sub-menu { list-style: none; margin: 0; padding: 10px; position: absolute; left: 0; top: 100%; min-width: 250px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); display: none; z-index: 60; }
.mainnav__menu .sub-menu a { display: block; padding: 8px 10px; border-radius: 8px; font-weight: 600; font-size: .92rem; color: var(--text); text-decoration: none; border: 0; }
.mainnav__menu .sub-menu a:hover, .mainnav__menu .sub-menu .current-menu-item > a { background: var(--berry-50); color: var(--berry); }
@media (min-width: 901px) {
	.mainnav__menu > li:hover > .sub-menu, .mainnav__menu > li:focus-within > .sub-menu { display: block; }
	.mainnav__menu > .menu-item-has-children > a::after { content: ""; display: inline-block; width: 6px; height: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); margin: 0 0 3px 8px; opacity: .55; }
}
.mainnav__menu .menu-outils > a { color: var(--teal); }
.mainnav__menu .menu-agenda > a { color: var(--berry); }
.mainnav__menu .menu-agenda > a::before { background: var(--apricot); }
.sub-toggle { display: none; }

/* Accueil. */
.home-head { padding-top: 26px; }
.home-head__title { font-family: var(--sans); font-style: normal; font-weight: 600; font-size: clamp(1rem, 1.6vw, 1.15rem); color: var(--muted); letter-spacing: .01em; }
.card__media { border-radius: var(--radius); background: var(--berry-50); }
.card__title { font-weight: 700; }
.card--lead .card__title { font-size: clamp(1.6rem, 2.8vw, 2.3rem); line-height: 1.12; }
.essentiel__title, .fil__title { color: var(--ink); border-bottom-color: var(--berry); }
.essentiel__list li::before { color: var(--berry-100); }
.essentiel__cat, .fil__cat { color: var(--teal); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: .72rem; }
.fil__list li { gap: 3px; }
.section-head__eyebrow { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 4px; font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); }
.section-head--rule { border-top: 0; padding-top: 0; border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.rubric-block .section-head__title a { color: var(--ink); }
.rubric-block .section-head__title::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--rub); display: inline-block; margin-right: 4px; }
.sub-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; }
.sub-links a { font-size: .88rem; font-weight: 600; color: var(--muted); text-decoration: none; }
.sub-links a:hover { color: var(--rub); }
.rubric-block__more { margin: 18px 0 0; }
.home-tools { background: linear-gradient(180deg, var(--teal-50), #fff); border-top: 1px solid #D5E8E3; border-bottom: 1px solid #D5E8E3; padding: 42px 0; margin-bottom: 40px; }
.keydate__inner { background: linear-gradient(120deg, var(--berry), var(--berry-700)); }
.keydate__inner::after { border-color: rgba(242, 166, 90, .28); }
.keydate__eyebrow { color: #FFD9B3; }
.home-agenda { background: var(--apricot-50); border-color: #F7DDC3; }
.home-about { background: var(--berry-50); border-top: 1px solid var(--berry-100); }
.mini-author { background: #fff; }

/* Grille des outils. */
.tools-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.tools-grid a { display: grid; grid-template-columns: 44px minmax(0, 1fr); grid-template-rows: auto 1fr; column-gap: 14px; row-gap: 4px; height: 100%; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); text-decoration: none; color: var(--muted); font-size: .9rem; transition: border-color .15s, box-shadow .15s, transform .15s; }
.tools-grid a:hover { border-color: var(--berry-100); box-shadow: var(--shadow); transform: translateY(-2px); }
.tools-grid__icon { grid-row: 1 / span 2; width: 44px; height: 44px; border-radius: 12px; background: var(--berry-50); color: var(--berry); display: flex; align-items: center; justify-content: center; }
.tools-grid__icon .icon { width: 22px; height: 22px; }
.tools-grid li:nth-child(3n+2) .tools-grid__icon { background: var(--teal-50); color: var(--teal); }
.tools-grid li:nth-child(3n) .tools-grid__icon { background: var(--apricot-50); color: #B5651D; }
.tools-grid strong { font-family: var(--display); font-size: 1.15rem; color: var(--ink); line-height: 1.2; }

/* Outil (formulaire + résultat). */
.tool { font-family: var(--sans); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; margin: 0 0 32px; box-shadow: var(--shadow); }
.tool__head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.tool__head .icon { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: var(--berry-50); color: var(--berry); }
.entry-content .tool__title, .tool__title { font-size: 1.45rem; margin: 0; }
.tool__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0 18px; }
.tool__field { display: grid; gap: 6px; margin: 0 0 14px; }
.tool__field[hidden] { display: none; }
.tool__field label, .tool__choice legend { font-weight: 700; font-size: .92rem; color: var(--ink); }
.tool input[type="date"], .tool input[type="number"], .tool select { width: 100%; border: 1px solid var(--line-strong); border-radius: var(--radius); padding: .65em .8em; background: var(--paper); font-size: 1rem; }
.tool input:focus, .tool select:focus { border-color: var(--berry); outline: 2px solid var(--berry-100); background: #fff; }
.tool__unit { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: .92rem; }
.tool__unit input { max-width: 140px; }
.tool__choice { border: 0; margin: 0 0 14px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 10px; }
.tool__choice legend { margin-bottom: 8px; }
.tool__choice label { display: inline-flex; align-items: center; gap: 8px; padding: .5em .9em; border: 1px solid var(--line-strong); border-radius: 999px; font-size: .92rem; cursor: pointer; background: #fff; }
.tool__choice label:has(input:checked) { border-color: var(--berry); background: var(--berry-50); color: var(--berry-700); font-weight: 600; }
.tool__choice input { accent-color: var(--berry); }
.tool__actions { margin: 6px 0 0; }
.tool__privacy { display: flex; align-items: center; gap: 6px; font-size: .8rem; color: var(--muted); margin: 14px 0 0; }
.tool__result { margin-top: 22px; border-top: 1px dashed var(--line-strong); padding-top: 20px; }
.tool__summary { background: var(--berry-50); border-radius: var(--radius); padding: 16px 18px; margin-bottom: 16px; }
.tool__big { font-size: 1.15rem; color: var(--ink); margin: 0 0 6px; }
.tool__big strong { color: var(--berry-700); }
.tool__status { margin: 0; color: var(--text); font-size: .95rem; }
.tool__error { color: var(--alert); background: var(--alert-50); border-radius: var(--radius); padding: 12px 14px; margin: 0; }
.tool__facts { list-style: none; margin: 0 0 12px; padding: 0 !important; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; }
.tool__facts li { margin: 0 !important; display: grid; gap: 2px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); font-size: .92rem; }
.tool__facts span { color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; font-weight: 700; }
.tool__facts strong { color: var(--ink); }
.tool__facts em { color: var(--teal); font-style: normal; font-size: .88rem; }
.entry-content .tool__subtitle, .tool__subtitle { font-size: 1.1rem; margin: 18px 0 10px; }
.tool__disclaimer { font-size: .84rem; color: var(--muted); margin: 12px 0 0; }
.tool__buttons { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 0; }

/* Calendrier de grossesse : frise. */
.timeline { list-style: none; margin: 0; padding: 0 0 0 22px !important; position: relative; }
.timeline::before { content: ""; position: absolute; left: 6px; top: 6px; bottom: 6px; width: 2px; background: var(--berry-100); }
.timeline__item { position: relative; margin: 0 0 14px !important; padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--radius); display: grid; gap: 2px; background: #fff; }
.timeline__item::before { content: ""; position: absolute; left: -21px; top: 16px; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 2px solid var(--berry-500); }
.timeline__item.is-key::before { background: var(--berry); border-color: var(--berry); }
.timeline__item.is-echo::before { background: var(--teal); border-color: var(--teal); }
.timeline__item.is-term { border-color: var(--berry); background: var(--berry-50); }
.timeline__item.is-term::before { background: var(--apricot); border-color: var(--apricot); width: 16px; height: 16px; left: -23px; }
.timeline__item.is-past { opacity: .55; }
.timeline__date { font-size: .8rem; font-weight: 700; color: var(--berry); text-transform: uppercase; letter-spacing: .04em; }
.timeline__label { font-size: 1rem; color: var(--ink); }
.timeline__sa { font-size: .8rem; color: var(--teal); font-weight: 600; }
.timeline__note { font-size: .88rem; color: var(--muted); }

/* Tableau de croissance du fœtus. */
.table-wrap { overflow-x: auto; margin: 0 0 12px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.entry-content .growth-table { margin: 0; border: 0; font-size: .92rem; }
.growth-table caption { text-align: left; font-weight: 700; padding: 12px 14px; color: var(--ink); }
.growth-table th, .growth-table td { border: 0; border-top: 1px solid var(--line); padding: 8px 12px; white-space: nowrap; }
.growth-table thead th { background: var(--berry-50); font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; }
.growth-table tbody th { font-weight: 700; color: var(--berry-700); }
.growth-table tr.is-current td, .growth-table tr.is-current th { background: var(--apricot-50); }
.growth-table small { color: var(--muted); }
.table-note { font-family: var(--sans); font-size: .84rem; color: var(--muted); }

/* Cycle (ovulation). */
.cycle-strip { display: grid; grid-template-columns: repeat(auto-fill, minmax(34px, 1fr)); gap: 4px; margin: 0 0 8px; }
.cycle-strip span { text-align: center; font-size: .78rem; padding: 7px 0; border-radius: 8px; background: var(--paper); border: 1px solid var(--line); }
.cycle-strip .is-period { background: #F9DCE3; border-color: #F2BACA; }
.cycle-strip .is-fertile { background: var(--teal-50); border-color: #B9DAD3; }
.cycle-strip .is-ovulation { background: var(--teal); color: #fff; border-color: var(--teal); font-weight: 700; }
.cycle-strip .is-today { outline: 2px solid var(--ink); outline-offset: 1px; }
.cycle-legend { font-size: .82rem; color: var(--muted); display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.cycle-legend span { display: inline-block; width: 12px; height: 12px; border-radius: 4px; }
.cycle-legend .is-period { background: #F9DCE3; }
.cycle-legend .is-fertile { background: var(--teal-50); border: 1px solid #B9DAD3; }
.cycle-legend .is-ovulation { background: var(--teal); }
.imc-scale { position: relative; height: 12px; border-radius: 999px; margin: 14px 0; background: linear-gradient(90deg, #8FC1E3 0 14%, #7CC4A4 14% 40%, #F2C66D 40% 60%, #EE9A6B 60% 80%, #D9534F 80%); }
.imc-scale span { position: absolute; top: -5px; width: 4px; height: 22px; background: var(--ink); border-radius: 2px; transform: translateX(-2px); }

/* Rubriques : sous-rubriques en pastilles. */
.chips--sub { margin-top: 16px; }
.chips--sub .chip { font-weight: 600; }
.chip.is-active { background: var(--rub); border-color: var(--rub); color: #fff; }
.page-header__eyebrow { color: var(--rub); }
.page-header--list { background: linear-gradient(180deg, #fff, var(--paper)); }

/* Article. */
.article__title { font-size: clamp(1.95rem, 4vw, 2.8rem); line-height: 1.12; font-weight: 700; letter-spacing: -.02em; }
.entry-content { font-family: var(--sans); font-size: 1.08rem; line-height: 1.75; }
.entry-content h2 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); }
.entry-content h3 { font-family: var(--sans); font-size: 1.15rem; font-weight: 800; }
.entry-content li::marker { color: var(--berry); }
.entry-content blockquote { border-left-color: var(--apricot); }
.article__lead, .page-header__lead, .profile__bio { font-family: var(--sans); }
.article__lead { font-size: clamp(1.1rem, 1.7vw, 1.22rem); font-weight: 500; }
.byline__dates strong { color: var(--teal); font-weight: 700; }
.read-also { border-left-color: var(--rub); background: var(--berry-50); }
.read-also__label { color: var(--berry); }
.read-also__cat { color: var(--teal); }
.help-box { background: var(--teal-50); border-color: #CFE3DE; border-left-color: var(--teal); }
.entry-content .fw-key { background: var(--apricot-50); border: 1px solid #F7DDC3; border-radius: var(--radius); padding: 14px 18px; margin: 0 0 1.4em; }
.entry-content .fw-key p:last-child, .entry-content .fw-key ul:last-child { margin-bottom: 0; }
.entry-content .fw-sources { font-size: .88rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 12px; margin-top: 2em; }
.entry-content .fw-sources h2 { font-size: 1rem; font-family: var(--sans); text-transform: uppercase; letter-spacing: .06em; }
.author-badge { background: var(--berry); box-shadow: inset 0 0 0 3px var(--berry), inset 0 0 0 5px var(--apricot); }
.rail__block--tools { background: var(--teal-50); border-color: #D5E8E3; }
.rail__block--tools .rail__title .icon { color: var(--teal); }

/* Pied de page. */
.site-footer__body { background: #2A1C27; }
.site-footer__title { color: var(--apricot); }
.site-footer__health { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: var(--radius); background: rgba(242, 166, 90, .1); border: 1px solid rgba(242, 166, 90, .3); font-size: .85rem !important; color: #F1E7EA !important; }
.site-footer__health .icon { color: var(--apricot); margin-top: 2px; }
.site-footer__health strong { color: #fff; }
/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
	.front-top { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
	.front-top__fil { grid-column: 1 / -1; border-left: 0; padding-left: 0; }
	.essentiel__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; }
	.event-grid--4, .card-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.masthead__date { display: none; }
	.home-help__inner { grid-template-columns: 1fr; }
	.home-help__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1000px) {
	.list-layout, .article-layout, .page-layout, .agenda-layout, .event-layout { grid-template-columns: minmax(0, 1fr); gap: 36px; }
	.rail, .event-panel { position: static; }
	.event-layout .event-panel { grid-row: 1; }
	.event-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.site-footer__grid { grid-template-columns: 1fr 1fr; }
	.keydate__inner { grid-template-columns: minmax(0, 1fr); gap: 16px; }
	.keydate__count { border-right: 0; padding-right: 0; flex-direction: row; align-items: baseline; gap: 12px; }
	.keydate__cta { justify-self: start; }
}
@media (max-width: 900px) {
	html.nav-open { overflow: hidden; }
	.masthead { position: sticky; top: 0; }
	.masthead__top { grid-template-columns: auto 1fr auto; padding-top: 10px; padding-bottom: 10px; gap: 10px; }
	.nav-toggle { display: inline-flex; }
	.brand { justify-self: center; gap: 9px; }
	.brand__mark { width: 38px; height: 38px; }
	.brand__name { font-size: 1.55rem; }
	.brand__tagline { font-size: .56rem; letter-spacing: .12em; margin-top: 4px; }
	.header-search, .masthead__cta span { display: none; }
	.masthead__cta { padding: .5em .6em; }
	.mainnav { display: none; position: fixed; inset: 0; top: var(--nav-top, 64px); background: #fff; overflow-y: auto; border-top: 1px solid var(--line); }
	html.nav-open .mainnav { display: block; }
	html.nav-open .nav-toggle__open { display: none; }
	html.nav-open .nav-toggle__close { display: inline-flex; }
	.mainnav .container { flex-direction: column; align-items: stretch; padding-top: 12px; padding-bottom: 40px; }
	.mainnav__menu { flex-direction: column; flex-wrap: nowrap; }
	.mainnav__menu a { padding: 13px 4px; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
	.mainnav__menu .current-menu-item > a, .mainnav__menu .current-menu-ancestor > a { border-bottom-color: var(--line); }
	.mainnav__search { display: flex; order: -1; margin-bottom: 8px; border: 1px solid var(--line-strong); border-radius: 999px; overflow: hidden; }
	.mainnav__search input { flex: 1; border: 0; padding: .7em 1em; outline: none; min-width: 0; }
	.mainnav__search button { border: 0; background: var(--berry); color: #fff; padding: 0 16px; display: flex; align-items: center; }
	.mainnav__extra { display: flex; flex-wrap: wrap; gap: 8px 18px; list-style: none; margin: 18px 0 0; padding: 0; }
	.mainnav__extra a { color: var(--muted); font-size: .92rem; }
	.front-top { grid-template-columns: minmax(0, 1fr); }
	.essentiel__list { grid-template-columns: minmax(0, 1fr); }
	.rubric-grid { grid-template-columns: minmax(0, 1fr); }
	.rubric-grid > .card--std { grid-row: auto; margin-bottom: 8px; }
	.home-about__inner { grid-template-columns: minmax(0, 1fr); gap: 24px; }
	.rubric-list, .sitemap-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
	body { font-size: .98rem; }
	.event-grid, .event-grid--4, .card-grid--4 { grid-template-columns: minmax(0, 1fr); }
	.card--row { grid-template-columns: minmax(0, 1fr) 104px; gap: 12px; }
	.entry-content { font-size: 1.08rem; }
	.form__grid { grid-template-columns: minmax(0, 1fr); }
	.form { padding: 18px; }
	.legal-id > div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
	.post-nav { grid-template-columns: minmax(0, 1fr); }
	.post-nav__link--next { text-align: left; }
	.post-nav__link--next .post-nav__label { justify-content: flex-start; }
	.profile__inner { flex-direction: column; gap: 16px; }
	.author-badge--xl { width: 88px; height: 88px; font-size: 1.8rem; }
	.site-footer__grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
	.home-help__list { grid-template-columns: minmax(0, 1fr); gap: 10px; }
	.home-help__list li { flex-direction: row; align-items: baseline; gap: 10px; }
	.home-help__list strong { min-width: 90px; font-size: 1.2rem; }
	.keydate__inner { padding: 22px 20px; }
	.keydate__count strong { font-size: 1.5rem; }
	.author-box, .team__card { flex-direction: column; }
	.agenda-filter { flex-direction: column; align-items: stretch; }
	.select select { max-width: none; width: 100%; }
	.agenda-filter__selects .select { flex: 1 1 100%; }
	.quick-exit { right: 10px; bottom: 10px; padding: 10px 14px; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; }
}
@media print {
	.masthead, .mainnav, .site-footer, .rail, .share, .post-nav, .related, .quick-exit, .stripe { display: none !important; }
	body { background: #fff; }
}

/* Femiweb : responsive des composants ajoutés. */
@media (max-width: 1180px) {
	.masthead__date { display: block; }
}
@media (max-width: 900px) {
	.masthead__bar { display: none; }
	.masthead__top { grid-template-columns: auto 1fr auto; }
	.brand { justify-self: center; }
	.brand__mark { width: 40px; height: 40px; }
	.brand__name { font-size: 1.75rem; }
	.mainnav__menu .sub-menu { position: static; display: none; box-shadow: none; border: 0; padding: 0 0 8px 14px; min-width: 0; }
	.mainnav__menu li.is-open > .sub-menu { display: block; }
	.mainnav__menu > li { display: flex; flex-wrap: wrap; align-items: center; }
	.mainnav__menu > li > a { flex: 1; }
	.mainnav__menu .sub-menu { flex-basis: 100%; }
	.sub-toggle { display: inline-flex; border: 0; background: transparent; padding: 10px 12px; cursor: pointer; color: var(--muted); }
	.sub-toggle .icon { transition: transform .15s; }
	li.is-open > .sub-toggle .icon { transform: rotate(180deg); }
	.section-head .btn { align-self: flex-start; }
}
@media (max-width: 640px) {
	.tool { padding: 18px; }
	.tools-grid { grid-template-columns: minmax(0, 1fr); }
	.growth-table th, .growth-table td { padding: 7px 9px; }
}@media (max-width: 480px) {
	.brand__tagline { display: none; }
	.brand__name { font-size: 1.9rem; }
}
