/* ==========================================================================
   AlsaBoost — design system
   DA éditoriale : Fraunces (titres) + Inter (texte), papier crème, accent rouge Alsace.
   ========================================================================== */

:root {
	--ab-red: #c8102e;
	--ab-red-dark: #9e0b23;
	--ab-red-soft: #fbe9ec;
	--ab-gold: #b7791f;
	--ab-gold-soft: #fbf1df;
	--ab-green: #1f7a4d;
	--ab-green-soft: #e6f3ec;

	--ab-ink: #1e1b2e;
	--ab-ink-2: #3a3650;
	--ab-muted: #5f5c72;
	--ab-muted-2: #8a8699;
	--ab-paper: #faf6f1;
	--ab-paper-2: #f3ece4;
	--ab-line: #e7ded3;
	--ab-white: #ffffff;

	--ab-serif: "Fraunces", Georgia, "Times New Roman", serif;
	--ab-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

	--ab-radius: 18px;
	--ab-radius-sm: 12px;
	--ab-shadow: 0 18px 40px -18px rgba(30, 27, 46, .35);
	--ab-shadow-sm: 0 6px 18px -10px rgba(30, 27, 46, .3);
	--ab-ease: cubic-bezier(.2, .7, .2, 1);

	--ab-wrap: 1200px;
	--ab-gutter: clamp(16px, 4vw, 32px);
	--ab-section: clamp(56px, 8vw, 104px);
}

/* ── Base ─────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--ab-paper);
	color: var(--ab-ink-2);
	font: 400 17px/1.65 var(--ab-sans);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
.ab-ico { width: 1.15em; height: 1.15em; flex: none; display: inline-block; vertical-align: -.2em; }
.ab-upload .ab-ico { width: 28px; height: 28px; margin: 0 auto 8px; color: var(--ab-muted); display: block; }
h2 > .ab-ico { color: var(--ab-red); }
a { color: var(--ab-red); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ab-red-dark); }
h1, h2, h3, h4 {
	font-family: var(--ab-serif);
	color: var(--ab-ink);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -.01em;
	margin: 0 0 .5em;
	font-optical-sizing: auto;
}
h1 { font-size: clamp(2.2rem, 1.6rem + 2.6vw, 3.4rem); }
h2 { font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.35rem); }
h3 { font-size: clamp(1.15rem, 1.05rem + .4vw, 1.35rem); }
h1 em, h2 em, h3 em { font-style: italic; color: var(--ab-red); }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
::selection { background: var(--ab-red); color: #fff; }
:focus-visible { outline: 3px solid var(--ab-red); outline-offset: 3px; border-radius: 6px; }
.screen-reader-text, .ab-sr {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.ab-skip:focus {
	position: fixed; top: 12px; left: 12px; z-index: 1000; width: auto; height: auto; clip: auto;
	background: var(--ab-ink); color: #fff; padding: 10px 16px; border-radius: 8px;
}

/* ── Layout ───────────────────────────────────────────────────────────── */
.ab-wrap { width: 100%; max-width: var(--ab-wrap); margin: 0 auto; padding: 0 var(--ab-gutter); }
.ab-wrap--narrow { max-width: 820px; }
.ab-section { padding: var(--ab-section) 0; }
.ab-section--white { background: var(--ab-white); }
.ab-section--paper2 { background: var(--ab-paper-2); }
.ab-section--ink { background: var(--ab-ink); color: #d9d5e3; }
.ab-section--ink h2, .ab-section--ink h3 { color: #fff; }
.ab-section-head { text-align: center; max-width: 720px; margin: 0 auto clamp(32px, 5vw, 56px); }
.ab-section-head p { color: var(--ab-muted); font-size: 1.05rem; }
.ab-eyebrow {
	display: inline-flex; align-items: center; gap: 8px;
	font: 600 .78rem/1 var(--ab-sans); letter-spacing: .12em; text-transform: uppercase;
	color: var(--ab-red); margin-bottom: 14px;
}
.ab-eyebrow::before { content: ""; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.ab-section-head .ab-eyebrow::after { content: ""; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.ab-grid { display: grid; gap: clamp(16px, 2.4vw, 24px); }
.ab-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ab-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ab-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .ab-grid--3, .ab-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .ab-grid--2, .ab-grid--3, .ab-grid--4 { grid-template-columns: 1fr; } }

/* ── Boutons ──────────────────────────────────────────────────────────── */
.ab-btn {
	--bg: var(--ab-red); --fg: #fff; --bd: var(--ab-red);
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 52px; padding: 0 28px; border-radius: 999px;
	background: var(--bg); color: var(--fg); border: 1.5px solid var(--bd);
	font: 600 1rem/1 var(--ab-sans); text-decoration: none; cursor: pointer;
	transition: transform .25s var(--ab-ease), box-shadow .25s var(--ab-ease), background .2s, color .2s;
	box-shadow: 0 10px 24px -12px rgba(200, 16, 46, .55);
	white-space: nowrap;
}
.ab-btn:hover { --bg: var(--ab-red-dark); --bd: var(--ab-red-dark); color: #fff; transform: translateY(-2px); }
.ab-btn svg { width: 18px; height: 18px; }
.ab-btn--ghost { --bg: transparent; --fg: var(--ab-ink); --bd: var(--ab-ink); box-shadow: none; }
.ab-btn--ghost:hover { --bg: var(--ab-ink); --bd: var(--ab-ink); color: #fff; }
.ab-btn--light { --bg: #fff; --fg: var(--ab-ink); --bd: var(--ab-line); box-shadow: var(--ab-shadow-sm); }
.ab-btn--light:hover { --bg: #fff; --bd: var(--ab-ink); color: var(--ab-ink); }
.ab-btn--gold { --bg: var(--ab-gold); --bd: var(--ab-gold); box-shadow: 0 10px 24px -12px rgba(183, 121, 31, .7); }
.ab-btn--gold:hover { --bg: #94611a; --bd: #94611a; }
.ab-btn--sm { min-height: 40px; padding: 0 18px; font-size: .9rem; }
.ab-btn--block { width: 100%; }
.ab-btn[disabled] { opacity: .6; pointer-events: none; }
.ab-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.ab-link-arrow { font-weight: 600; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.ab-link-arrow svg { width: 16px; height: 16px; transition: transform .2s var(--ab-ease); }
.ab-link-arrow:hover svg { transform: translateX(3px); }

/* ── Réassurance ──────────────────────────────────────────────────────── */
.ab-checks { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .92rem; color: var(--ab-muted); }
.ab-checks li { display: inline-flex; align-items: center; gap: 8px; }
.ab-checks svg { width: 16px; height: 16px; color: var(--ab-red); flex: none; }
.ab-checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ab-checklist li { display: flex; gap: 10px; align-items: flex-start; }
.ab-checklist svg { width: 18px; height: 18px; flex: none; margin-top: 4px; color: var(--ab-red); }
.ab-checklist--muted svg { color: var(--ab-muted-2); }

/* ── Barre d'annonce + header ─────────────────────────────────────────── */
.ab-announce { background: var(--ab-red); color: #fff; font-size: .88rem; text-align: center; padding: 9px var(--ab-gutter); }
.ab-announce a { color: #fff; font-weight: 600; }
.ab-header {
	position: sticky; top: 0; z-index: 50;
	border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
/* Le flou est sur un pseudo-élément : un backdrop-filter sur l'en-tête lui-même
   enfermerait le menu mobile (position: fixed) dans la hauteur de l'en-tête. */
.ab-header::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: rgba(250, 246, 241, .9); backdrop-filter: saturate(1.4) blur(12px);
}
.ab-header.is-scrolled { border-bottom-color: var(--ab-line); box-shadow: 0 8px 24px -20px rgba(30, 27, 46, .5); }
.admin-bar .ab-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .ab-header { top: 0; } }
.ab-header__inner { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.ab-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ab-ink); flex: none; }
.ab-logo img { height: 44px; width: auto; }
.ab-logo__text { font: 700 1.45rem/1 var(--ab-serif); letter-spacing: -.02em; }
.ab-logo__text em { color: var(--ab-red); }
.ab-nav { margin-left: auto; }
.ab-nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.ab-nav a {
	display: block; padding: 10px 14px; border-radius: 999px;
	color: var(--ab-ink-2); font-weight: 500; font-size: .95rem; text-decoration: none;
}
.ab-nav a:hover, .ab-nav .current-menu-item > a, .ab-nav .current-page-ancestor > a { color: var(--ab-ink); background: var(--ab-paper-2); }
.ab-header__cta { display: flex; gap: 10px; align-items: center; }
.ab-burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--ab-line); background: #fff; color: var(--ab-ink); cursor: pointer; align-items: center; justify-content: center; }
.ab-burger svg { width: 22px; height: 22px; }
@media (max-width: 1080px) {
	.ab-burger { display: inline-flex; margin-left: auto; }
	.ab-nav, .ab-header__cta .ab-hide-mobile { display: none; }
	.ab-nav.is-open {
		display: block; position: fixed; inset: 76px 0 0; background: var(--ab-paper);
		padding: 24px var(--ab-gutter); overflow-y: auto; z-index: 49;
	}
	.admin-bar .ab-nav.is-open { top: 122px; }
	.ab-nav.is-open ul { flex-direction: column; gap: 2px; }
	.ab-nav.is-open a { font: 600 1.35rem/1.2 var(--ab-serif); padding: 14px 4px; border-radius: 0; border-bottom: 1px solid var(--ab-line); background: none; }
}
.ab-user-chip {
	display: inline-flex; align-items: center; gap: 8px; padding: 5px 14px 5px 5px; border-radius: 999px;
	border: 1.5px solid var(--ab-line); background: #fff; color: var(--ab-ink); font-weight: 600; font-size: .9rem; text-decoration: none;
}
.ab-user-chip img { width: 32px; height: 32px; border-radius: 50%; }

/* ── Hero ─────────────────────────────────────────────────────────────── */
.ab-hero { position: relative; padding: clamp(40px, 7vw, 96px) 0 clamp(56px, 8vw, 110px); overflow: hidden; }
.ab-hero::before {
	content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
	background:
		radial-gradient(60% 50% at 85% 10%, rgba(200, 16, 46, .10), transparent 70%),
		radial-gradient(40% 40% at 0% 100%, rgba(183, 121, 31, .10), transparent 70%);
}
.ab-hero__grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (max-width: 900px) { .ab-hero__grid { grid-template-columns: 1fr; } }
.ab-hero__lead { font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); color: var(--ab-ink-2); max-width: 560px; margin-bottom: 30px; }
.ab-hero--compact { padding: clamp(36px, 5vw, 64px) 0 clamp(32px, 4vw, 48px); }
.ab-hero--compact h1 { font-size: clamp(2rem, 1.5rem + 2vw, 2.9rem); }

/* Visuel « plaque » : pile de cartes inclinées */
.ab-stack { position: relative; min-height: 420px; }
.ab-stack__card {
	position: absolute; width: min(320px, 78%); background: #fff; border-radius: var(--ab-radius);
	box-shadow: var(--ab-shadow); padding: 18px; border: 1px solid var(--ab-line);
	transition: transform .6s var(--ab-ease);
}
.ab-stack__card:nth-child(1) { top: 0; left: 4%; transform: rotate(-5deg); }
.ab-stack__card:nth-child(2) { top: 26%; right: 0; transform: rotate(4deg); z-index: 2; }
.ab-stack__card:nth-child(3) { bottom: 0; left: 14%; transform: rotate(-1.5deg); z-index: 3; }
.ab-stack:hover .ab-stack__card:nth-child(1) { transform: rotate(-7deg) translate(-6px, -6px); }
.ab-stack:hover .ab-stack__card:nth-child(2) { transform: rotate(6deg) translate(6px, -4px); }
@media (max-width: 900px) { .ab-stack { display: none; } }

/* ── Chiffres ─────────────────────────────────────────────────────────── */
.ab-stats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--ab-line); border-radius: var(--ab-radius); background: #fff; overflow: hidden; }
.ab-stat { padding: 22px 20px; text-align: center; border-right: 1px solid var(--ab-line); }
.ab-stat:last-child { border-right: 0; }
.ab-stat strong { display: block; font: 700 clamp(1.6rem, 1.3rem + 1vw, 2.2rem)/1 var(--ab-serif); color: var(--ab-ink); margin-bottom: 6px; }
.ab-stat span { font-size: .85rem; color: var(--ab-muted); }
@media (max-width: 640px) {
	.ab-stats { grid-template-columns: repeat(2, 1fr); }
	.ab-stat:nth-child(2) { border-right: 0; }
	.ab-stat:nth-child(-n+2) { border-bottom: 1px solid var(--ab-line); }
}

/* ── Cartes génériques ────────────────────────────────────────────────── */
.ab-card {
	background: #fff; border: 1px solid var(--ab-line); border-radius: var(--ab-radius);
	padding: clamp(22px, 3vw, 32px); transition: transform .3s var(--ab-ease), box-shadow .3s var(--ab-ease);
}
.ab-card--paper { background: var(--ab-paper); }
.ab-card--hover:hover { transform: translateY(-4px); box-shadow: var(--ab-shadow); }
.ab-card h3 { margin-top: 0; }
.ab-card p:last-child { margin-bottom: 0; }
.ab-icon-badge {
	width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
	background: var(--ab-red-soft); color: var(--ab-red); margin-bottom: 18px;
}
.ab-icon-badge svg { width: 24px; height: 24px; }
.ab-step-num { font: italic 700 2.4rem/1 var(--ab-serif); color: var(--ab-red); opacity: .9; margin-bottom: 12px; display: block; }

/* ── Cartes de fiche (annuaire) ───────────────────────────────────────── */
.ab-fiche {
	position: relative; display: flex; flex-direction: column; background: #fff;
	border: 1px solid var(--ab-line); border-radius: var(--ab-radius); overflow: hidden;
	transition: transform .3s var(--ab-ease), box-shadow .3s var(--ab-ease), border-color .2s;
}
.ab-fiche:hover { transform: translateY(-4px); box-shadow: var(--ab-shadow); border-color: #d9cdbf; }
.ab-fiche__media { aspect-ratio: 16 / 10; background: var(--ab-paper-2); position: relative; overflow: hidden; }
.ab-fiche__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ab-ease); }
.ab-fiche:hover .ab-fiche__media img { transform: scale(1.04); }
/* Entreprises : souvent un logo → affiché en entier sur fond blanc */
.ab-fiche--entreprise .ab-fiche__media { background: #fff; border-bottom: 1px solid var(--ab-line); }
.ab-fiche--entreprise .ab-fiche__media img { object-fit: contain; padding: 18px; }
.ab-fiche__ph { width: 100%; height: 100%; display: grid; place-items: center; font: italic 700 2.6rem/1 var(--ab-serif); color: var(--ab-red); background: linear-gradient(135deg, var(--ab-paper-2), var(--ab-red-soft)); }
.ab-fiche__badges { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; flex-wrap: wrap; z-index: 2; }
.ab-fiche__body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.ab-fiche__title { font: 700 1.15rem/1.25 var(--ab-serif); color: var(--ab-ink); margin: 0; }
.ab-fiche__title a { color: inherit; text-decoration: none; }
.ab-fiche__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.ab-fiche__meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .85rem; color: var(--ab-muted); }
.ab-fiche__meta span { display: inline-flex; align-items: center; gap: 5px; }
.ab-fiche__meta svg { width: 14px; height: 14px; }
.ab-fiche__excerpt { font-size: .92rem; color: var(--ab-ink-2); margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ab-fiche__foot { margin-top: auto; padding-top: 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.ab-fiche.is-boosted { border-color: rgba(183, 121, 31, .55); box-shadow: 0 0 0 3px var(--ab-gold-soft); }

.ab-tag {
	display: inline-flex; align-items: center; gap: 5px; padding: 5px 11px; border-radius: 999px;
	font: 600 .74rem/1 var(--ab-sans); background: var(--ab-paper-2); color: var(--ab-ink-2); text-decoration: none;
}
.ab-tag svg { width: 12px; height: 12px; }
.ab-tag--red { background: var(--ab-red-soft); color: var(--ab-red-dark); }
.ab-tag--gold { background: var(--ab-gold); color: #fff; }
.ab-tag--green { background: var(--ab-green-soft); color: var(--ab-green); }
.ab-tag--white { background: rgba(255, 255, 255, .94); color: var(--ab-ink); }
a.ab-tag:hover { background: var(--ab-ink); color: #fff; }

/* ── Filtres ──────────────────────────────────────────────────────────── */
.ab-filters {
	position: sticky; top: 76px; z-index: 20; background: rgba(250, 246, 241, .97);
	border-block: 1px solid var(--ab-line); padding: 14px 0;
}
.admin-bar .ab-filters { top: 108px; }
.ab-filters form { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.ab-field-inline { position: relative; flex: 1 1 220px; }
.ab-field-inline svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--ab-muted-2); pointer-events: none; }
.ab-field-inline .ab-input { padding-left: 44px; }
.ab-results-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin: 32px 0 20px; color: var(--ab-muted); font-size: .95rem; }
.ab-results-bar strong { color: var(--ab-ink); }
.ab-subhead { display: flex; align-items: center; gap: 10px; font: 600 .8rem/1 var(--ab-sans); letter-spacing: .1em; text-transform: uppercase; color: var(--ab-gold); margin: 8px 0 16px; }
.ab-subhead svg { width: 16px; height: 16px; }

/* ── Formulaires ──────────────────────────────────────────────────────── */
.ab-input, .ab-select, .ab-textarea {
	width: 100%; min-height: 50px; padding: 12px 16px; border-radius: var(--ab-radius-sm);
	border: 1.5px solid var(--ab-line); background: #fff; color: var(--ab-ink);
	font: 400 1rem/1.4 var(--ab-sans); transition: border-color .2s, box-shadow .2s;
}
.ab-textarea { min-height: 150px; resize: vertical; }
.ab-select {
	appearance: none; padding-right: 42px; cursor: pointer;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235f5c72' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 16px center;
}
.ab-input:focus, .ab-select:focus, .ab-textarea:focus { outline: none; border-color: var(--ab-ink); box-shadow: 0 0 0 4px rgba(30, 27, 46, .08); }
.ab-filters .ab-select { width: auto; flex: 0 1 220px; }
.ab-form { display: grid; gap: 22px; }
.ab-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .ab-form__row { grid-template-columns: 1fr; } }
.ab-label { display: block; font-weight: 600; color: var(--ab-ink); margin-bottom: 8px; font-size: .95rem; }
.ab-label em { color: var(--ab-red); font-style: normal; }
.ab-help { font-size: .85rem; color: var(--ab-muted); margin-top: 6px; }
.ab-check { display: flex; gap: 12px; align-items: flex-start; font-size: .93rem; cursor: pointer; }
.ab-check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--ab-red); flex: none; }
.ab-fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 18px; }
.ab-fieldset legend { font: 700 1.35rem/1.2 var(--ab-serif); color: var(--ab-ink); margin-bottom: 4px; padding: 0; }
.ab-form-card { background: #fff; border: 1px solid var(--ab-line); border-radius: var(--ab-radius); padding: clamp(22px, 4vw, 40px); }
.ab-form-card + .ab-form-card { margin-top: 20px; }
.ab-hours { display: grid; gap: 8px; }
.ab-hours__row { display: grid; grid-template-columns: 120px auto 1fr 1fr; gap: 10px; align-items: center; }
.ab-hours__row .ab-input { min-height: 42px; padding: 8px 12px; }
@media (max-width: 560px) { .ab-hours__row { grid-template-columns: 1fr auto; } .ab-hours__row .ab-input { grid-column: span 1; } }
.ab-upload { border: 2px dashed var(--ab-line); border-radius: var(--ab-radius-sm); padding: 22px; text-align: center; background: var(--ab-paper); cursor: pointer; transition: border-color .2s; }
.ab-upload:hover { border-color: var(--ab-ink); }
.ab-upload input { display: block; margin: 10px auto 0; font-size: .9rem; }
.ab-notice { padding: 14px 18px; border-radius: var(--ab-radius-sm); font-size: .95rem; display: none; }
.ab-notice.is-visible { display: block; }
.ab-notice--ok { background: var(--ab-green-soft); color: var(--ab-green); }
.ab-notice--err { background: var(--ab-red-soft); color: var(--ab-red-dark); }
.ab-hp { position: absolute; left: -9999px; }
.ab-thumbs { display: flex; flex-wrap: wrap; gap: 10px; }
.ab-thumbs label { position: relative; width: 92px; }
.ab-thumbs img { width: 92px; height: 92px; object-fit: cover; border-radius: 10px; }
.ab-thumbs span { font-size: .78rem; display: flex; gap: 4px; align-items: center; margin-top: 4px; }

/* ── Fiche (page) ─────────────────────────────────────────────────────── */
.ab-profile-head { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: end; }
@media (max-width: 760px) { .ab-profile-head { grid-template-columns: 1fr; } }
.ab-cover { border-radius: var(--ab-radius); overflow: hidden; aspect-ratio: 21 / 9; background: var(--ab-paper-2); margin-bottom: 28px; box-shadow: var(--ab-shadow); }
.ab-cover img { width: 100%; height: 100%; object-fit: cover; }
.ab-cover--entreprise { background: #fff; border: 1px solid var(--ab-line); box-shadow: none; aspect-ratio: 3 / 1; }
.ab-cover--entreprise img { object-fit: contain; padding: 20px; }
.ab-profile { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(24px, 4vw, 48px); align-items: start; }
@media (max-width: 960px) { .ab-profile { grid-template-columns: 1fr; } }
.ab-aside { position: sticky; top: 100px; display: grid; gap: 16px; }
.ab-info-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.ab-info-list li { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; }
.ab-info-list svg { width: 18px; height: 18px; color: var(--ab-red); flex: none; margin-top: 3px; }
.ab-info-list a { color: var(--ab-ink); word-break: break-word; }
.ab-hours-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.ab-hours-table td { padding: 8px 0; border-bottom: 1px solid var(--ab-line); }
.ab-hours-table td:last-child { text-align: right; color: var(--ab-ink); }
.ab-hours-table tr.is-today td { font-weight: 700; color: var(--ab-red); }
.ab-prose { font-size: 1.05rem; color: var(--ab-ink-2); }
.ab-prose > * + * { margin-top: 1em; }
.ab-prose h2 { margin-top: 1.6em; font-size: 1.75rem; }
.ab-prose h3 { margin-top: 1.4em; }
.ab-prose img { border-radius: var(--ab-radius-sm); }
.ab-prose blockquote { margin: 1.5em 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--ab-red); font: italic 1.2rem/1.5 var(--ab-serif); color: var(--ab-ink); }
.ab-prose table { width: 100%; border-collapse: collapse; }
.ab-prose th, .ab-prose td { border: 1px solid var(--ab-line); padding: 10px; }
.ab-socials { display: flex; flex-wrap: wrap; gap: 8px; }
.ab-socials a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--ab-paper-2); color: var(--ab-ink); transition: background .2s, color .2s; }
.ab-socials a:hover { background: var(--ab-ink); color: #fff; }
.ab-socials svg { width: 18px; height: 18px; }
.ab-breadcrumb { font-size: .85rem; color: var(--ab-muted); margin-bottom: 18px; }
.ab-breadcrumb a { color: var(--ab-muted); text-decoration: none; }
.ab-breadcrumb a:hover { color: var(--ab-red); }

/* Galerie */
.ab-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
@media (max-width: 640px) { .ab-gallery { grid-template-columns: repeat(3, 1fr); } }
.ab-gallery button { padding: 0; border: 0; border-radius: 12px; overflow: hidden; aspect-ratio: 1; cursor: zoom-in; background: var(--ab-paper-2); position: relative; }
.ab-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ab-ease); }
.ab-gallery button:hover img { transform: scale(1.06); }
.ab-gallery__more { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(30, 27, 46, .6); color: #fff; font: 700 1.3rem var(--ab-serif); }
.ab-lightbox { position: fixed; inset: 0; z-index: 1000; background: rgba(20, 18, 30, .94); display: none; align-items: center; justify-content: center; }
.ab-lightbox.is-open { display: flex; }
.ab-lightbox img { max-width: 92vw; max-height: 84vh; object-fit: contain; border-radius: 10px; }
.ab-lightbox button { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .14); color: #fff; cursor: pointer; display: grid; place-items: center; }
.ab-lightbox button svg { width: 22px; height: 22px; }
.ab-lightbox__close { top: 20px; right: 20px; }
.ab-lightbox__prev { left: 20px; }
.ab-lightbox__next { right: 20px; }
.ab-lightbox__count { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); color: #fff; font-size: .9rem; }

/* ── Tarifs ───────────────────────────────────────────────────────────── */
.ab-price { font: 700 3.4rem/1 var(--ab-serif); color: var(--ab-ink); margin: 6px 0; }
.ab-price small { font: 500 1rem var(--ab-sans); color: var(--ab-muted); }
.ab-card--featured { border: 2px solid var(--ab-ink); position: relative; }
.ab-card--featured .ab-tag { position: absolute; top: -13px; left: 28px; }

/* ── Comparatif avant / après ─────────────────────────────────────────── */
.ab-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 760px) { .ab-compare { grid-template-columns: 1fr; } }
.ab-compare .ab-card--paper h3 { color: var(--ab-muted); }

/* ── FAQ ──────────────────────────────────────────────────────────────── */
.ab-faq { display: grid; gap: 12px; }
.ab-faq details { background: #fff; border: 1px solid var(--ab-line); border-radius: var(--ab-radius-sm); padding: 0 22px; transition: box-shadow .2s; }
.ab-faq details[open] { box-shadow: var(--ab-shadow-sm); }
.ab-faq summary {
	list-style: none; cursor: pointer; padding: 20px 36px 20px 0; position: relative;
	font: 600 1.08rem/1.4 var(--ab-serif); color: var(--ab-ink);
}
.ab-faq summary::-webkit-details-marker { display: none; }
.ab-faq summary::after {
	content: ""; position: absolute; right: 2px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
	border-right: 2px solid var(--ab-red); border-bottom: 2px solid var(--ab-red); transform: rotate(45deg); transition: transform .25s var(--ab-ease);
}
.ab-faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.ab-faq details > div { padding: 0 0 20px; color: var(--ab-ink-2); }

/* ── Villes / chips ───────────────────────────────────────────────────── */
.ab-chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.ab-chip { display: inline-flex; flex-direction: column; padding: 14px 20px; border-radius: 14px; background: #fff; border: 1px solid var(--ab-line); text-decoration: none; color: var(--ab-ink); min-width: 150px; transition: border-color .2s, transform .2s var(--ab-ease); }
.ab-chip:hover { border-color: var(--ab-ink); transform: translateY(-2px); color: var(--ab-ink); }
.ab-chip strong { font: 700 1.05rem var(--ab-serif); }
.ab-chip span { font-size: .8rem; color: var(--ab-muted); }

/* ── Bandeau CTA ──────────────────────────────────────────────────────── */
.ab-cta-band { position: relative; overflow: hidden; border-radius: calc(var(--ab-radius) + 8px); background: var(--ab-ink); color: #d9d5e3; padding: clamp(36px, 6vw, 72px); text-align: center; }
.ab-cta-band h2 { color: #fff; }
.ab-cta-band h2 em { color: #ff8a9b; }
.ab-cta-band .ab-actions { justify-content: center; }
.ab-cta-band .ab-btn--ghost { --fg: #fff; --bd: rgba(255, 255, 255, .5); }
.ab-cta-band .ab-btn--ghost:hover { --bg: #fff; --fg: var(--ab-ink); color: var(--ab-ink); }
.ab-cta-band .ab-checks { justify-content: center; color: #b9b4c8; }
.ab-cta-band::after { content: ""; position: absolute; inset: auto -60px -80px auto; width: 260px; height: 260px; border-radius: 50%; border: 40px solid rgba(200, 16, 46, .25); }

/* Motif colombage (clin d'œil Alsace) */
.ab-timber { height: 14px; background:
	linear-gradient(45deg, transparent 46%, var(--ab-line) 46%, var(--ab-line) 54%, transparent 54%) 0 0 / 28px 14px,
	linear-gradient(-45deg, transparent 46%, var(--ab-line) 46%, var(--ab-line) 54%, transparent 54%) 0 0 / 28px 14px; opacity: .9; }

/* ── Tableau de bord ──────────────────────────────────────────────────── */
.ab-dash { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 28px; align-items: start; }
@media (max-width: 900px) { .ab-dash { grid-template-columns: 1fr; } }
.ab-dash__nav { position: sticky; top: 100px; background: #fff; border: 1px solid var(--ab-line); border-radius: var(--ab-radius); padding: 10px; }
.ab-dash__nav a { display: flex; gap: 10px; align-items: center; padding: 11px 14px; border-radius: 10px; color: var(--ab-ink-2); text-decoration: none; font-weight: 500; }
.ab-dash__nav a:hover, .ab-dash__nav a.is-active { background: var(--ab-paper-2); color: var(--ab-ink); }
.ab-dash__nav svg { width: 18px; height: 18px; }
.ab-row { display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 16px 0; border-bottom: 1px solid var(--ab-line); }
.ab-row:last-child { border-bottom: 0; }
.ab-row__title { font-weight: 600; color: var(--ab-ink); }
.ab-row__meta { font-size: .85rem; color: var(--ab-muted); }
.ab-progress { height: 8px; background: var(--ab-paper-2); border-radius: 999px; overflow: hidden; }
.ab-progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--ab-red), var(--ab-gold)); border-radius: 999px; }
.ab-badges { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 12px; }
.ab-badge { text-align: center; padding: 16px 10px; border-radius: 14px; border: 1px solid var(--ab-line); background: #fff; }
.ab-badge__icon { width: 52px; height: 52px; margin: 0 auto 8px; border-radius: 50%; display: grid; place-items: center; background: var(--ab-gold-soft); color: var(--ab-gold); }
.ab-badge__icon svg { width: 24px; height: 24px; }
.ab-badge strong { display: block; font: 700 .95rem var(--ab-serif); color: var(--ab-ink); }
.ab-badge span { font-size: .75rem; color: var(--ab-muted); }
.ab-badge.is-locked { opacity: .45; filter: grayscale(1); }
.ab-copy { display: flex; gap: 10px; flex-wrap: wrap; }
.ab-copy .ab-input { flex: 1 1 260px; font-family: ui-monospace, Consolas, monospace; font-size: .9rem; background: var(--ab-paper); }

/* ── Pagination ───────────────────────────────────────────────────────── */
.ab-pagination { display: flex; justify-content: center; gap: 6px; margin-top: 40px; flex-wrap: wrap; }
.ab-pagination .page-numbers { min-width: 44px; height: 44px; padding: 0 12px; display: inline-grid; place-items: center; border-radius: 999px; border: 1px solid var(--ab-line); background: #fff; color: var(--ab-ink); text-decoration: none; font-weight: 600; }
.ab-pagination .page-numbers.current { background: var(--ab-ink); color: #fff; border-color: var(--ab-ink); }
.ab-pagination a.page-numbers:hover { border-color: var(--ab-ink); }

/* ── Blog ─────────────────────────────────────────────────────────────── */
.ab-post-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--ab-line); border-radius: var(--ab-radius); overflow: hidden; position: relative; transition: transform .3s var(--ab-ease), box-shadow .3s var(--ab-ease); }
.ab-post-card:hover { transform: translateY(-4px); box-shadow: var(--ab-shadow); }
.ab-post-card__img { aspect-ratio: 16 / 9; background: var(--ab-paper-2); }
.ab-post-card__img img { width: 100%; height: 100%; object-fit: cover; }
.ab-post-card__body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.ab-post-card h3 { margin: 0; font-size: 1.2rem; }
.ab-post-card h3 a { color: var(--ab-ink); text-decoration: none; }
.ab-post-card h3 a::after { content: ""; position: absolute; inset: 0; }
.ab-post-card p { font-size: .93rem; color: var(--ab-muted); margin: 0; }
.ab-article-head { text-align: center; max-width: 820px; margin: 0 auto 36px; }
.ab-article-meta { color: var(--ab-muted); font-size: .9rem; }

/* ── Footer ───────────────────────────────────────────────────────────── */
.ab-footer { background: var(--ab-ink); color: #b9b4c8; padding: clamp(48px, 7vw, 80px) 0 28px; font-size: .95rem; }
.ab-footer a { color: #d9d5e3; text-decoration: none; }
.ab-footer a:hover { color: #fff; }
.ab-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 860px) { .ab-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .ab-footer__grid { grid-template-columns: 1fr; } }
.ab-footer h4 { font: 600 .8rem/1 var(--ab-sans); letter-spacing: .12em; text-transform: uppercase; color: #fff; margin: 0 0 16px; }
.ab-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ab-footer .ab-logo { color: #fff; margin-bottom: 14px; }
.ab-footer__bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .85rem; }
.ab-footer__seo { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px; }
.ab-footer__seo a { font-size: .8rem; padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .15); }

/* Barre mobile (membres) */
.ab-mobile-bar { display: none; }
@media (max-width: 760px) {
	.ab-mobile-bar {
		position: fixed; bottom: 0; left: 0; right: 0; z-index: 60; display: grid; grid-template-columns: repeat(4, 1fr);
		background: #fff; border-top: 1px solid var(--ab-line); padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
	}
	.ab-mobile-bar a { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: .7rem; color: var(--ab-muted); text-decoration: none; padding: 6px 0; }
	.ab-mobile-bar a.is-active { color: var(--ab-red); }
	.ab-mobile-bar svg { width: 22px; height: 22px; }
	body.has-mobile-bar { padding-bottom: 72px; }
}

/* ── Animations d'apparition ──────────────────────────────────────────── */
.ab-reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ab-ease), transform .7s var(--ab-ease); }
.ab-reveal.is-in { opacity: 1; transform: none; }
.no-js .ab-reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
	.ab-reveal { opacity: 1; transform: none; }
}

/* ── Utilitaires ──────────────────────────────────────────────────────── */
.ab-center { text-align: center; }
.ab-mt-0 { margin-top: 0; }
.ab-mt { margin-top: 32px; }
.ab-muted { color: var(--ab-muted); }
.ab-small { font-size: .88rem; }
.ab-empty { text-align: center; padding: 48px 20px; border: 1px dashed var(--ab-line); border-radius: var(--ab-radius); background: #fff; color: var(--ab-muted); }

/* ── WooCommerce / HivePress dans le thème ────────────────────────────── */
.ab-page-content .woocommerce, .ab-page-content .hp-page { font-size: 1rem; }
.woocommerce .button, .woocommerce button.button, .woocommerce a.button, .hp-form__button, .hp-button, .wc-block-components-button {
	background: var(--ab-red) !important; color: #fff !important; border-radius: 999px !important; border: 0 !important;
	font-weight: 600 !important; padding: 12px 22px !important;
}
.woocommerce .button:hover, .hp-form__button:hover { background: var(--ab-red-dark) !important; }
.hp-form__field input, .hp-form__field select, .hp-form__field textarea, .woocommerce input.input-text, .woocommerce select, .woocommerce textarea {
	border: 1.5px solid var(--ab-line) !important; border-radius: var(--ab-radius-sm) !important; padding: 12px 14px !important; background: #fff !important;
}
