/* ==========================================================
   Marabout Dogan — feuille de style commune

   Direction : l'almanach imprimé et le tissu cousu main.
   Fond de sable du Sahel, encre de boue, rouille et ocre.
   Titres en caractères à empattements carrés (affiches
   et étiquettes de pagne), coutures en pointillés, boutons
   « tampon » à ombre pleine, angles droits.
   ========================================================== */

:root {
  --sable: #e9dcc1;        /* fond principal */
  --sable-2: #f3ebd9;      /* papier clair */
  --sable-3: #ddcca9;      /* sable foncé */
  --encre: #221912;        /* texte, boue du bogolan */
  --encre-2: #5b4a3a;
  --rouille: #9b3a16;
  --rouille-2: #7a2b0e;
  --ocre: #c98a1e;
  --ocre-2: #e2a93f;
  --kola: #2f4a2a;
  --trait: rgba(34, 25, 18, .22);

  /* Alias utilisés par l'administration */
  --lin: var(--sable);
  --craie: var(--sable-2);
  --terre: var(--rouille);
  --terre-dark: var(--rouille-2);
  --nuit: var(--encre);
  --nuit-2: #2e231a;
  --ocre-light: var(--ocre-2);

  --display: "Zilla Slab", Rockwell, "Roboto Slab", Georgia, serif;
  --body: "Karla", "Segoe UI", "Helvetica Neue", Arial, sans-serif;

  --s0: 1.0625rem;
  --s1: 1.25rem;
  --s2: 1.6rem;
  --s3: clamp(1.9rem, 3.4vw, 2.5rem);
  --s4: clamp(2.3rem, 5vw, 3.5rem);
  --s5: clamp(2.8rem, 7.2vw, 5.2rem);

  --wrap: 1180px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --r-s: 2px;
  --r-m: 2px;
  --r-l: 2px;
  --stamp: 4px 4px 0 var(--encre);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }

body {
  margin: 0; font-family: var(--body); font-size: var(--s0); line-height: 1.65; color: var(--encre);
  background-color: var(--sable);
  /* grain de papier très léger */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .13 0 0 0 0 .1 0 0 0 0 .07 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--rouille); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--rouille-2); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--ocre); outline-offset: 3px; }

h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; line-height: 1.06; letter-spacing: -.01em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: var(--s5); }
h2 { font-size: var(--s4); }
h3 { font-size: var(--s2); line-height: 1.15; }
p { margin: 0 0 1.1em; max-width: 66ch; }
ul, ol { max-width: 66ch; }
strong { font-weight: 700; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.wrap-narrow { width: min(100% - 2 * var(--gutter), 760px); margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 0; z-index: 200; background: var(--ocre); color: var(--encre); padding: .6rem 1rem; }
.skip-link:focus { left: 1rem; top: 1rem; }
[hidden] { display: none !important; }
.lead { font-size: var(--s1); line-height: 1.55; }
.muted { color: var(--encre-2); }
.small { font-size: .9rem; }
.center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }
.loading { color: var(--encre-2); padding: 1.5rem 0; }

/* ---------- Couture : la signature du site ---------- */
.stitch { position: relative; }
.stitch::after { content: ""; position: absolute; inset: 7px; border: 1.5px dashed currentColor; opacity: .4; pointer-events: none; }

/* Liseré bogolan (séparateur) */
.bogolan-band {
  height: 22px; background-color: var(--encre);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='22' viewBox='0 0 44 22'%3E%3Cpath d='M0 15l5.5-8 5.5 8 5.5-8 5.5 8' fill='none' stroke='%23e9dcc1' stroke-width='2'/%3E%3Ccircle cx='33' cy='11' r='2.4' fill='%23c98a1e'/%3E%3C/svg%3E");
  background-repeat: repeat-x; background-position: center;
}
.bogolan-band--terre { background-color: var(--rouille); }

/* ---------- Boutons « tampon » ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .85rem 1.4rem; min-height: 48px;
  font: 700 1rem/1.15 var(--body);
  border: 2px solid var(--encre); border-radius: 0;
  box-shadow: var(--stamp);
  cursor: pointer; text-decoration: none;
  transition: transform .12s, box-shadow .12s, background-color .15s;
}
.btn:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--encre); text-decoration: none; }
.btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--encre); }
.btn svg { width: 1.2em; height: 1.2em; flex: none; }
.btn--terre { background: var(--rouille); color: #fff; }
.btn--terre:hover { background: var(--rouille-2); color: #fff; }
.btn--ocre { background: var(--ocre); color: var(--encre); }
.btn--ocre:hover { background: var(--ocre-2); color: var(--encre); }
.btn--line { background: var(--sable-2); color: var(--encre); }
.btn--line:hover { background: #fff; color: var(--encre); }
.btn--wa { background: #1f7a45; color: #fff; }
.btn--wa:hover { background: #17633a; color: #fff; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: wait; transform: none; }
/* sur fond sombre : ombre claire */
.on-dark .btn, .section--dark .btn, .section--terre .btn, .cta .btn, .footer .btn, .card--dark .btn, .page-head .btn, .article-head .btn { border-color: var(--encre); box-shadow: 4px 4px 0 rgba(0,0,0,.45); }
.section--dark .btn--line, .cta .btn--line { background: transparent; color: var(--sable-2); border-color: var(--sable-2); box-shadow: none; }
.section--dark .btn--line:hover, .cta .btn--line:hover { background: rgba(255,255,255,.08); color: #fff; }

/* Lien texte avec flèche dessinée */
.more { font-weight: 700; color: var(--rouille); text-decoration: none; border-bottom: 2px solid currentColor; padding-bottom: 1px; }
.more:hover { color: var(--rouille-2); }

/* ---------- En-tête ---------- */
.topbar { background: var(--encre); color: var(--sable-3); font-size: .88rem; }
.topbar__inner { display: flex; justify-content: space-between; gap: 1rem; padding-block: .4rem; flex-wrap: wrap; }
.topbar a { color: var(--sable-2); text-decoration: none; font-weight: 700; }
.topbar a:hover { color: var(--ocre-2); }
@media (max-width: 640px) { .topbar__hours { display: none; } }

.header { position: sticky; top: 0; z-index: 60; background: var(--sable); border-bottom: 2px solid var(--encre); box-shadow: 0 3px 0 var(--sable), 0 5px 0 var(--encre); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 78px; }
.brand { display: flex; align-items: center; gap: .7rem; color: var(--encre); text-decoration: none; }
.brand:hover { color: var(--encre); text-decoration: none; }
.brand__mark { width: 46px; height: 46px; flex: none; }
.brand__name { display: block; font-family: var(--display); font-weight: 700; font-size: 1.55rem; line-height: 1; }
.brand__tag { display: block; font-size: .82rem; color: var(--encre-2); margin-top: .2rem; }

.nav { display: flex; align-items: center; gap: .1rem; }
.nav a { color: var(--encre); text-decoration: none; padding: .5rem .65rem; font-weight: 500; font-size: 1rem; }
.nav a:hover { color: var(--rouille); text-decoration: underline; }
.nav a[aria-current="page"] { color: var(--rouille); font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.nav .btn { margin-left: .8rem; padding: .7rem 1.1rem; min-height: 0; color: #fff; text-decoration: none; }
.nav .btn--ocre { color: var(--encre); }
.nav-toggle { display: none; align-items: center; gap: .5rem; background: var(--sable-2); color: var(--encre); border: 2px solid var(--encre); padding: .5rem .8rem; font: 700 .95rem var(--body); cursor: pointer; box-shadow: 3px 3px 0 var(--encre); }
.nav-toggle svg { width: 20px; height: 20px; }

@media (max-width: 1100px) {
  .nav-toggle { display: inline-flex; }
  .nav { position: absolute; left: 0; right: 0; top: calc(100% + 5px); display: none; flex-direction: column; align-items: stretch; background: var(--sable-2); padding: .4rem var(--gutter) 1.4rem; border-bottom: 2px solid var(--encre); max-height: calc(100vh - 90px); overflow-y: auto; }
  .nav.is-open { display: flex; }
  .nav a { padding: .9rem .2rem; border-bottom: 1px dashed var(--trait); font-size: 1.1rem; }
  .nav .btn { margin: 1.1rem 0 0; padding: .95rem; border-bottom: 2px solid var(--encre); }
}
@media (max-width: 420px) { .brand__name { font-size: 1.25rem; white-space: nowrap; } .brand__tag { display: none; } .brand__mark { width: 38px; height: 38px; } }

/* ---------- Héro ---------- */
.hero { padding-block: clamp(2.5rem, 6vw, 5rem) clamp(3rem, 6vw, 5rem); }
.hero__grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(2rem, 6vw, 5rem); align-items: end; }
.hero__kicker { font-family: var(--display); font-size: 1.15rem; color: var(--rouille); margin: 0 0 1.2rem; }
.hero h1 { max-width: 12ch; margin-bottom: .45em; }
.hero__lead { font-size: var(--s1); line-height: 1.55; max-width: 40ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem 1.2rem; margin-top: 1.8rem; }
.hero__facts { display: flex; flex-wrap: wrap; list-style: none; padding: 0; margin: 2.6rem 0 0; max-width: none; border-top: 2px solid var(--encre); }
.hero__facts li { padding: .9rem 1.4rem .2rem 0; margin-right: 1.4rem; font-size: .97rem; }
.hero__facts li + li { padding-left: 1.4rem; border-left: 1px dashed var(--encre-2); }
.hero__facts strong { display: block; font-family: var(--display); font-size: 1.2rem; }
@media (max-width: 900px) { .hero__grid { grid-template-columns: 1fr; align-items: start; } .hero__facts li + li { padding-left: 0; border-left: 0; } }

/* Portrait photo encadré façon tissu cousu */
.portrait { margin: 0; position: relative; }
.portrait__frame { position: relative; background: var(--encre); padding: 14px; color: var(--sable); box-shadow: 10px 10px 0 var(--rouille); }
.portrait__frame::after { content: ""; position: absolute; inset: 6px; border: 1.5px dashed var(--sable-3); pointer-events: none; }
.portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.portrait figcaption { font-size: .88rem; color: var(--encre-2); margin-top: 1.1rem; padding-left: 2px; }
@media (max-width: 900px) { .portrait { max-width: 360px; } }
.photo { margin: 0; }
.photo img { width: 100%; height: auto; border: 2px solid var(--encre); box-shadow: 8px 8px 0 var(--ocre); }
.photo figcaption { font-size: .88rem; color: var(--encre-2); margin-top: .9rem; }

/* ---------- En-tête de page ---------- */
.page-head { padding-block: clamp(2.4rem, 6vw, 4rem) clamp(2rem, 4vw, 3rem); border-bottom: 2px solid var(--encre); }
.page-head h1 { font-size: var(--s4); max-width: 20ch; }
.page-head p { font-size: var(--s1); line-height: 1.5; max-width: 52ch; margin: 0; color: var(--encre-2); }
.crumbs { font-size: .9rem; color: var(--encre-2); margin-bottom: 1.2rem; }
.crumbs a { color: var(--encre-2); }
.page-head + .bogolan-band { display: none; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(3.5rem, 8vw, 6rem); }
.section--white { background: var(--sable-2); border-block: 1px solid var(--trait); }
.section--dark { background: var(--encre); color: var(--sable); }
.section--dark h2, .section--dark h3 { color: var(--sable-2); }
.section--dark p { color: var(--sable-3); }
.section--dark a:not(.btn) { color: var(--ocre-2); }
.section--terre { background: var(--rouille); color: #fff; }
.head { max-width: 680px; margin-bottom: clamp(2rem, 4vw, 3rem); }
.head p { font-size: var(--s1); line-height: 1.5; color: var(--encre-2); }
.section--dark .head p { color: var(--sable-3); }
.head--row { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 1rem 2rem; flex-wrap: wrap; border-bottom: 2px solid currentColor; padding-bottom: 1.2rem; }
.head--row > div { max-width: 640px; }
.head--row h2, .head--row p { margin-bottom: 0; }
.head--row h2 + p { margin-top: .6rem; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.split--wide { grid-template-columns: 1.45fr 1fr; }
@media (max-width: 880px) { .split, .split--wide { grid-template-columns: 1fr; } }

/* Lettrine pour les textes longs */
.dropcap::first-letter { float: left; font-family: var(--display); font-weight: 700; font-size: 4.2em; line-height: .82; margin: .06em .1em 0 0; color: var(--rouille); }

/* ---------- Index des consultations ---------- */
.index { list-style: none; margin: 0; padding: 0; max-width: none; border-top: 2px solid var(--encre); }
.index li { border-bottom: 1px solid var(--trait); }
.index a { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) auto; gap: .5rem 2.5rem; align-items: baseline; padding: 1.5rem .2rem; text-decoration: none; color: var(--encre); transition: background-color .15s, padding .2s; }
.index a:hover { background: var(--sable-2); padding-left: 1rem; padding-right: 1rem; color: var(--encre); }
.index__title { font-family: var(--display); font-weight: 700; font-size: clamp(1.4rem, 2.6vw, 1.9rem); line-height: 1.1; }
.index__desc { color: var(--encre-2); }
.index__go { font-weight: 700; color: var(--rouille); white-space: nowrap; }
.index a:hover .index__go { text-decoration: underline; }
@media (max-width: 760px) { .index a { grid-template-columns: 1fr; } .index__go { display: none; } }

/* Ancienne grille de cartes (page services) */
.services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 2px solid var(--encre); border-left: 1px solid var(--trait); }
@media (max-width: 700px) { .services { grid-template-columns: 1fr; } }
.service { display: flex; flex-direction: column; padding: 2rem 1.8rem; border-right: 1px solid var(--trait); border-bottom: 1px solid var(--trait); color: var(--encre); text-decoration: none; transition: background-color .15s; }
.service:hover { background: var(--sable-2); color: var(--encre); }
.service__icon { display: none; }
.service h3 { font-size: 1.7rem; margin-bottom: .35em; }
.service p { color: var(--encre-2); }
.service__more { margin-top: auto; font-weight: 700; color: var(--rouille); }
.service--featured { background: var(--encre); color: var(--sable-2); }
.service--featured:hover { background: var(--nuit-2); color: var(--sable-2); }
.service.service--featured p { color: var(--sable-3); }
.service--featured .service__more { color: var(--ocre-2); }

/* ---------- Étapes : un fil cousu ---------- */
.steps { list-style: none; margin: 0; padding: 0; max-width: none; counter-reset: s; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; position: relative; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 1.4rem; border-top: 2px dashed currentColor; opacity: .5; }
.steps li { counter-increment: s; position: relative; }
.steps li::before { content: counter(s); position: relative; display: grid; place-items: center; width: 2.8rem; height: 2.8rem; margin-bottom: 1.1rem; font-family: var(--display); font-weight: 700; font-size: 1.4rem; background: var(--ocre); color: var(--encre); border: 2px solid currentColor; border-radius: 50%; }
.section:not(.section--dark) .steps li::before { background: var(--sable); border-color: var(--encre); color: var(--rouille); }
.steps h3 { font-size: 1.3rem; margin-bottom: .35em; }
.steps p { font-size: 1rem; margin: 0; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } .steps::before { display: none; } }
@media (max-width: 540px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Listes ---------- */
.ticks { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .75rem; }
.ticks li { display: grid; grid-template-columns: 22px 1fr; gap: .7rem; align-items: start; }
.ticks svg { width: 20px; height: 20px; margin-top: .22rem; color: var(--kola); }
.section--dark .ticks svg, .card--dark .ticks svg { color: var(--ocre-2); }
.dash-list { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.dash-list li { padding: .7rem 0; border-bottom: 1px dashed var(--trait); }
.dash-list li:first-child { border-top: 1px dashed var(--trait); }

.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 2px solid var(--encre); }
@media (max-width: 860px) { .values { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .values { grid-template-columns: 1fr; } }
.value { padding: 1.6rem 1.6rem 1.8rem 0; border-bottom: 1px solid var(--trait); }
.value h3 { font-size: 1.35rem; }
.value h3 svg { display: none; }
.value p { font-size: 1rem; margin: 0; color: var(--encre-2); }

/* Citation */
.quote { font-family: var(--display); font-weight: 600; font-size: var(--s3); line-height: 1.2; margin: 0; max-width: 24ch; }
.quote::before { content: "« "; color: var(--ocre); }
.quote::after { content: " »"; color: var(--ocre); }
.quote-by { margin-top: 1.1rem; font-weight: 700; color: var(--encre-2); }
.section--dark .quote-by { color: var(--ocre-2); }

/* Comparaison */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 2px solid var(--encre); }
@media (max-width: 720px) { .compare { grid-template-columns: 1fr; } }
.compare > div { padding: 1.6rem; }
.compare__yes { background: var(--sable-2); }
.compare__no { background: var(--encre); color: var(--sable-2); }
.compare h3 { font-size: 1.3rem; }
.compare ul { padding-left: 1.1rem; margin: 0; }
.compare li { margin-bottom: .45rem; }

/* ---------- Encadrés ---------- */
.card { position: relative; background: var(--sable-2); border: 2px solid var(--encre); padding: clamp(1.4rem, 3.5vw, 2.2rem); }
.card h3 { font-size: 1.45rem; }
.card > *:last-child { margin-bottom: 0; }
.card--dark { background: var(--encre); color: var(--sable); }
.card--dark::after { content: ""; position: absolute; inset: 6px; border: 1.5px dashed var(--sable-3); opacity: .35; pointer-events: none; }
.card--dark h2, .card--dark h3 { color: var(--sable-2); }
.card--dark p, .card--dark li { color: var(--sable-3); }
.card--dark a:not(.btn) { color: var(--ocre-2); }
.card--dark .btn { position: relative; z-index: 1; }

.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.contact-list li { display: grid; grid-template-columns: 38px 1fr; gap: .9rem; align-items: start; padding: .9rem 0; border-bottom: 1px dashed var(--trait); }
.contact-list li:last-child { border-bottom: 0; }
.contact-list .ico { width: 38px; height: 38px; display: grid; place-items: center; background: var(--encre); color: var(--sable-2); }
.contact-list .ico svg { width: 18px; height: 18px; }
.contact-list strong { display: block; }
.contact-list a { font-weight: 700; }

/* ---------- FAQ ---------- */
.faq details { border-bottom: 1px solid var(--trait); }
.faq details:first-child { border-top: 2px solid var(--encre); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; padding: 1.15rem 0; font-weight: 700; font-size: 1.08rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--display); font-size: 1.7rem; line-height: .8; color: var(--rouille); flex: none; }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 0 1.2rem; color: var(--encre-2); }
.faq details > div p:last-child { margin-bottom: 0; }

/* ---------- Témoignages : des lettres ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
@media (max-width: 960px) { .reviews { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .reviews { grid-template-columns: 1fr; } }
.reviews--masonry { display: block; columns: 3 300px; column-gap: 1.6rem; }
.reviews--masonry .review { break-inside: avoid; margin-bottom: 1.6rem; }
.review { position: relative; background: var(--sable-2); border: 2px solid var(--encre); padding: 2.4rem 1.5rem 1.3rem; display: flex; flex-direction: column; gap: .7rem; }
.review::before { content: "«"; position: absolute; top: -.55rem; left: 1rem; font-family: var(--display); font-weight: 700; font-size: 3.4rem; line-height: 1; color: var(--rouille); background: var(--sable); padding: 0 .3rem; }
.section--white .review::before { background: var(--sable-2); }
.section--dark .review { background: var(--nuit-2); border-color: #4a3a2c; color: var(--sable); }
.section--dark .review::before { background: var(--encre); color: var(--ocre-2); }
.review__stars { display: flex; gap: 2px; color: var(--ocre); }
.review__stars svg { width: 17px; height: 17px; }
.review__stars .off { color: #cdbd9c; }
.review h3 { font-size: 1.25rem; margin: 0; }
.review blockquote { margin: 0; font-size: 1.02rem; line-height: 1.6; }
.review blockquote p:last-child { margin-bottom: 0; }
.review footer { margin-top: auto; display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: .5rem; font-size: .88rem; color: var(--encre-2); border-top: 1px dashed var(--trait); padding-top: .8rem; }
.review__who strong { color: var(--encre); display: block; font-size: 1rem; font-family: var(--display); }
.section--dark .review__who strong { color: var(--sable-2); }
.review__source { display: block; font-size: .82rem; }
.badge-verified { display: inline-flex; align-items: center; gap: .3rem; font-size: .8rem; font-weight: 700; color: var(--kola); }
.badge-verified svg { width: 14px; height: 14px; }
.review__reply { border-left: 3px solid var(--ocre); padding: .2rem 0 .2rem .8rem; font-size: .95rem; color: var(--encre-2); }

.rating-summary { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; padding: 1.3rem 0; border-block: 2px solid var(--encre); margin-bottom: 2.4rem; }
.rating-summary__score { font-family: var(--display); font-size: 3.4rem; font-weight: 700; line-height: 1; }
.rating-summary .review__stars svg { width: 22px; height: 22px; }
.trustbox-slot { margin: 0 0 2rem; }
.trustbox-slot:empty { display: none; }

/* Bloc affiché tant qu'aucun avis n'est publié */
.no-reviews { display: grid; grid-template-columns: 1.2fr 1fr; gap: 2rem 3rem; align-items: center; border: 2px solid var(--encre); background: var(--sable-2); padding: clamp(1.5rem, 4vw, 2.5rem); }
.no-reviews h3 { font-size: var(--s2); }
.no-reviews p { color: var(--encre-2); }
.no-reviews ul { margin: 0; }
@media (max-width: 760px) { .no-reviews { grid-template-columns: 1fr; } }
.empty-state { border: 2px dashed var(--trait); padding: 2.2rem 1.5rem; text-align: center; color: var(--encre-2); }
.empty-state p { margin-inline: auto; }

/* ---------- Blog ---------- */
.blog-tools { display: flex; flex-wrap: wrap; gap: .75rem 1rem; align-items: center; justify-content: space-between; margin-bottom: 2.2rem; padding-bottom: 1.2rem; border-bottom: 2px solid var(--encre); }
.chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.chips button { font: 700 .93rem var(--body); padding: .45rem .9rem; border: 2px solid var(--encre); border-radius: 0; background: transparent; color: var(--encre); cursor: pointer; }
.chips button:hover { background: var(--sable-2); }
.chips button[aria-pressed="true"] { background: var(--encre); color: var(--sable-2); }
.search { position: relative; min-width: 260px; }
.search input { width: 100%; padding: .65rem 1rem .65rem 2.5rem; border: 2px solid var(--encre); border-radius: 0; font: 1rem var(--body); background: var(--sable-2); }
.search svg { position: absolute; left: .85rem; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--encre-2); }
@media (max-width: 640px) { .search { width: 100%; } }

.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.6rem 2rem; }
@media (max-width: 960px) { .posts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .posts { grid-template-columns: 1fr; } }
.post { display: flex; flex-direction: column; }
.post__img { display: block; aspect-ratio: 16/10; overflow: hidden; background: var(--encre); margin-bottom: 1.1rem; border: 2px solid var(--encre); }
.post__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.post:hover .post__img img { transform: scale(1.03); }
.post__meta { display: flex; gap: .3rem .9rem; flex-wrap: wrap; font-size: .87rem; color: var(--encre-2); margin-bottom: .5rem; }
.post__cat { font-weight: 700; color: var(--rouille); }
.post h3 { font-size: 1.45rem; margin-bottom: .45em; }
.post h3 a { color: var(--encre); text-decoration: none; }
.post h3 a:hover { color: var(--rouille); text-decoration: underline; }
.post p { font-size: 1rem; color: var(--encre-2); }
.post--featured { display: grid; grid-template-columns: 1.2fr 1fr; gap: 2.5rem; align-items: center; margin-bottom: 3.5rem; padding-bottom: 3.5rem; border-bottom: 1px dashed var(--encre-2); }
.post--featured .post__img { margin: 0; box-shadow: 8px 8px 0 var(--rouille); }
.post--featured h3 { font-size: var(--s3); }
@media (max-width: 820px) { .post--featured { grid-template-columns: 1fr; gap: 1.3rem; } }
.pagination { display: flex; justify-content: center; gap: .5rem; margin-top: 3rem; flex-wrap: wrap; }
.pagination button { min-width: 44px; min-height: 44px; border: 2px solid var(--encre); border-radius: 0; background: transparent; font: 700 1rem var(--body); cursor: pointer; color: var(--encre); padding: 0 .8rem; }
.pagination button[aria-current="page"] { background: var(--encre); color: var(--sable-2); }
.pagination button:disabled { opacity: .35; cursor: default; }

/* Article */
.article-head { padding-top: clamp(2.5rem, 6vw, 4rem); }
.article-head h1 { font-size: var(--s4); max-width: 22ch; }
.article-meta { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; color: var(--encre-2); font-size: .95rem; margin-bottom: 2rem; padding-bottom: 1.2rem; border-bottom: 2px solid var(--encre); }
.article-cover { aspect-ratio: 16/7; overflow: hidden; background: var(--encre); border: 2px solid var(--encre); box-shadow: 10px 10px 0 var(--rouille); }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 4rem; padding-top: 3.5rem; align-items: start; }
@media (max-width: 980px) { .article-layout { grid-template-columns: 1fr; } }
.article-side { position: sticky; top: 110px; display: grid; gap: 1.4rem; }
@media (max-width: 980px) { .article-side { position: static; } }
.toc { border-top: 2px solid var(--encre); padding-top: 1rem; }
.toc h2 { font-family: var(--body); font-size: 1rem; margin-bottom: .6rem; }
.toc ol { margin: 0; padding: 0; list-style: none; font-size: .95rem; }
.toc li { padding: .45rem 0; border-bottom: 1px dashed var(--trait); }
.toc a { color: var(--encre); text-decoration: none; }
.toc a:hover { color: var(--rouille); text-decoration: underline; }

.prose { font-size: 1.12rem; line-height: 1.8; }
.prose > p:first-child::first-letter { float: left; font-family: var(--display); font-weight: 700; font-size: 4.3em; line-height: .8; margin: .07em .1em 0 0; color: var(--rouille); }
.prose h2 { font-size: var(--s3); margin-top: 1.8em; scroll-margin-top: 120px; }
.prose h3 { font-size: var(--s2); margin-top: 1.4em; scroll-margin-top: 120px; }
.prose blockquote { margin: 2.2rem 0; padding: 0 0 0 1.4rem; border-left: 4px solid var(--rouille); font-family: var(--display); font-weight: 600; font-size: 1.45rem; line-height: 1.35; }
.prose blockquote p { margin: 0; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li { margin-bottom: .5rem; }
.prose li::marker { color: var(--rouille); }
.prose img { margin: 2rem 0; height: auto; border: 2px solid var(--encre); }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.1rem; margin-top: 2.5rem; padding-top: 1.3rem; border-top: 2px solid var(--encre); }
.share a { font-weight: 700; }
.author-box { display: grid; grid-template-columns: 56px 1fr; gap: 1rem; align-items: center; margin-top: 2rem; padding: 1.2rem 0; border-top: 1px dashed var(--trait); border-bottom: 1px dashed var(--trait); }
.author-box svg { width: 56px; height: 56px; }
.author-box p { margin: 0; font-size: .97rem; }

/* ---------- Formulaires ---------- */
.form { display: grid; gap: 1.2rem; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
@media (max-width: 640px) { .row2 { grid-template-columns: 1fr; } }
.field label, .field .label, .field legend { display: block; font-weight: 700; margin-bottom: .4rem; font-size: .97rem; }
.field .hint { font-weight: 400; color: var(--encre-2); font-size: .88rem; }
.field input:not([type="radio"]):not([type="checkbox"]), .field select, .field textarea {
  width: 100%; padding: .8rem .95rem; min-height: 50px;
  font: 400 1rem/1.4 var(--body); color: var(--encre);
  background: #fffaf0; border: 2px solid var(--encre); border-radius: 0;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; box-shadow: 4px 4px 0 var(--ocre); }
.field [aria-invalid="true"] { border-color: #b3261e !important; box-shadow: 4px 4px 0 #f0c2bb; }
.field-error { color: #a12a1f; font-size: .88rem; font-weight: 700; margin-top: .35rem; }
.field-error:empty { display: none; }
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.counter { text-align: right; font-size: .85rem; color: var(--encre-2); margin-top: .25rem; }
.check, .field .check { display: flex; gap: .7rem; align-items: flex-start; font-size: .95rem; font-weight: 400; cursor: pointer; }
.check input { width: 1.25rem; height: 1.25rem; margin-top: .15rem; accent-color: var(--rouille); flex: none; }
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }

.pills { display: flex; flex-wrap: wrap; gap: .5rem; }
.pill { position: relative; }
.pill input { position: absolute; opacity: 0; inset: 0; }
.pill span { display: inline-flex; align-items: center; gap: .45rem; padding: .6rem 1rem; border: 2px solid var(--encre); background: #fffaf0; cursor: pointer; font-weight: 700; font-size: .95rem; }
.pill span svg { width: 18px; height: 18px; }
.pill input:checked + span { background: var(--encre); color: var(--sable-2); }
.pill input:focus-visible + span { outline: 3px solid var(--ocre); outline-offset: 2px; }

.choice-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: .8rem; }
.choice-card { position: relative; }
.choice-card input { position: absolute; opacity: 0; inset: 0; }
.choice-card span { display: flex; flex-direction: column; gap: .35rem; height: 100%; padding: 1rem; border: 2px solid var(--encre); background: #fffaf0; cursor: pointer; transition: box-shadow .12s, transform .12s; }
.choice-card span svg { width: 26px; height: 26px; color: var(--rouille); margin-bottom: .2rem; }
.choice-card strong { font-family: var(--display); font-size: 1.15rem; line-height: 1.2; }
.choice-card small { color: var(--encre-2); font-size: .88rem; line-height: 1.4; }
.choice-card span:hover { box-shadow: 4px 4px 0 var(--encre); transform: translate(-1px, -1px); }
.choice-card input:checked + span { background: var(--encre); color: var(--sable-2); box-shadow: 4px 4px 0 var(--rouille); }
.choice-card input:checked + span small { color: var(--sable-3); }
.choice-card input:checked + span svg { color: var(--ocre-2); }
.choice-card input:focus-visible + span { outline: 3px solid var(--ocre); outline-offset: 2px; }

.star-input { display: inline-flex; flex-direction: row-reverse; gap: .2rem; }
.star-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.star-input label { cursor: pointer; color: #cdbd9c; margin: 0 !important; }
.star-input label svg { width: 34px; height: 34px; }
.star-input input:checked ~ label, .star-input label:hover, .star-input label:hover ~ label { color: var(--ocre); }
.star-input input:focus-visible + label { outline: 3px solid var(--ocre); outline-offset: 2px; }

/* Rendez-vous en étapes */
.wizard { background: var(--sable-2); border: 2px solid var(--encre); box-shadow: 10px 10px 0 var(--encre); scroll-margin-top: 110px; }
.wizard__progress { border-bottom: 2px solid var(--encre); padding: 1.1rem clamp(1.2rem, 4vw, 2.2rem); }
.wizard__steps { list-style: none; margin: 0; padding: 0; max-width: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: .6rem; }
.wizard__steps li { font-size: .9rem; font-weight: 700; color: var(--encre-2); display: flex; flex-direction: column; gap: .5rem; }
.wizard__steps li::before { content: ""; height: 6px; background: repeating-linear-gradient(90deg, var(--encre-2) 0 6px, transparent 6px 10px); opacity: .45; transition: background .3s; }
.wizard__steps li.is-done::before, .wizard__steps li.is-active::before { background: var(--rouille); opacity: 1; }
.wizard__steps li.is-active { color: var(--encre); }
@media (max-width: 560px) { .wizard__steps li span { display: none; } .wizard__steps li.is-active span { display: inline; } }
.wizard__body { padding: clamp(1.4rem, 4vw, 2.4rem); }
.wizard__step h2 { font-size: var(--s2); margin-bottom: .3em; }
.wizard__step > p.muted { margin-bottom: 1.5rem; }
.wizard__nav { display: flex; justify-content: space-between; gap: .8rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px dashed var(--trait); flex-wrap: wrap; }
.wizard__nav .btn:only-child { margin-left: auto; }
.js .wizard__step:not(.is-current) { display: none; }
.js .wizard__step.is-current { animation: stepIn .3s ease; }
@keyframes stepIn { from { opacity: 0; transform: translateX(12px); } to { opacity: 1; transform: none; } }
.recap { display: grid; grid-template-columns: 10rem 1fr; gap: .45rem 1rem; margin: 0 0 1.5rem; padding: 1.1rem 1.2rem; border: 1.5px dashed var(--encre-2); font-size: .97rem; }
.recap dt { font-weight: 700; }
.recap dd { margin: 0; white-space: pre-wrap; word-break: break-word; }
@media (max-width: 560px) { .recap { grid-template-columns: 1fr; } .recap dd { margin-bottom: .5rem; } }
.success { text-align: center; padding: 1rem 0; }
.success > svg { width: 64px; height: 64px; margin: 0 auto 1rem; color: var(--kola); }
.success h2, .success h3 { font-size: var(--s3); }
.success p { margin-inline: auto; }

.notice { padding: .95rem 1.1rem; border: 2px solid var(--kola); background: #e3e8d6; margin-bottom: 1.25rem; }
.notice--error { border-color: #a12a1f; background: #f4dcd5; }
.notice--info { border-color: var(--ocre); background: #f4e4c2; }
.notice p { margin: 0; }
.notice p + p { margin-top: .5rem; }

/* ---------- Bandeau d'appel ---------- */
.cta { background: var(--rouille); color: #fff; position: relative; }
.cta__inner { display: grid; grid-template-columns: 1fr auto; gap: 1.5rem 3rem; align-items: center; padding-block: clamp(2.8rem, 6vw, 4rem); }
.cta h2 { color: #fff; font-size: var(--s3); margin: 0 0 .3em; max-width: 24ch; }
.cta p { color: #f6d9c9; margin: 0; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 1rem; }
@media (max-width: 800px) { .cta__inner { grid-template-columns: 1fr; } }

/* ---------- Pied de page ---------- */
.footer { background: var(--encre); color: var(--sable-3); font-size: .97rem; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 2.5rem; padding-block: 3.5rem 2.5rem; }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer__grid { grid-template-columns: 1fr; } }
.footer .brand, .footer .brand:hover { color: var(--sable-2); }
.footer .brand__tag { color: var(--sable-3); }
.footer h2 { font-family: var(--body); font-size: 1rem; color: var(--sable-2); margin-bottom: .9rem; padding-bottom: .5rem; border-bottom: 1px dashed rgba(233,220,193,.3); }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: .5rem; }
.footer a:not(.btn) { color: var(--sable-3); text-decoration: none; }
.footer a:not(.btn):hover { color: var(--ocre-2); text-decoration: underline; }
.footer__about p { margin-top: 1rem; font-size: .95rem; }
.footer__bottom { border-top: 1px solid rgba(233,220,193,.15); padding-block: 1.3rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .88rem; }

.wa-float { position: fixed; right: 1rem; bottom: 1rem; z-index: 70; width: 58px; height: 58px; border-radius: 50%; background: #1f7a45; color: #fff; display: grid; place-items: center; border: 2px solid var(--encre); box-shadow: 3px 3px 0 var(--encre); }
.wa-float:hover { background: #17633a; color: #fff; }
.wa-float svg { width: 30px; height: 30px; }

/* 404 */
.notfound { min-height: 55vh; display: grid; place-items: center; text-align: center; padding-block: 4rem; }
.notfound .big { font-family: var(--display); font-weight: 700; font-size: clamp(5rem, 18vw, 10rem); line-height: 1; color: var(--rouille); margin: 0 auto; }

/* Rangée d'infos du héro : trois colonnes nettes */
.hero__facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; }
.hero__facts li { margin-right: 0; }
@media (max-width: 640px) { .hero__facts { grid-template-columns: 1fr; } .hero__facts li { padding: .7rem 0; border-bottom: 1px dashed var(--trait); } .hero__facts li + li { padding-left: 0; } }
.hero__grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); align-items: center; }
.hero h1 { max-width: 14ch; }
.portrait { max-width: 400px; justify-self: end; width: 100%; }
@media (max-width: 900px) { .portrait { justify-self: start; max-width: 340px; } }
@media (max-width: 900px) { .hero__grid { grid-template-columns: 1fr; } }

/* ============================================================
   GALERIE PHOTOS
   ============================================================ */
.photo-gallery {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}
.photo-gallery__main {
  overflow: hidden;
  border: 2px solid var(--encre);
  box-shadow: 6px 6px 0 var(--ocre);
}
.photo-gallery__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  aspect-ratio: 4 / 3;
}
.photo-gallery__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .7rem;
}
.photo-gallery__grid img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  border: 2px solid var(--encre);
  box-shadow: 3px 3px 0 var(--rouille);
  transition: box-shadow .2s;
}
.photo-gallery__grid img:hover {
  box-shadow: 5px 5px 0 var(--ocre);
}
@media (max-width: 700px) {
  .photo-gallery { grid-template-columns: 1fr; }
  .photo-gallery__main img { aspect-ratio: 16 / 9; }
  .photo-gallery__grid { grid-template-columns: repeat(4, 1fr); }
  .photo-gallery__grid img { aspect-ratio: 1 / 1; }
}
@media (max-width: 480px) {
  .photo-gallery__grid { grid-template-columns: 1fr 1fr; }
}

/* Photo en pleine largeur dans les pages de service */
.photo--service {
  margin: 2.5rem 0 0;
}
.photo--service img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  object-position: center top;
  border: 2px solid var(--encre);
  box-shadow: 8px 8px 0 var(--ocre);
}
@media (max-width: 600px) {
  .photo--service img { height: 220px; }
}

/* ============================================================
   TÉMOIGNAGES — AMÉLIORATIONS
   ============================================================ */

/* Rating summary */
.rating-summary {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  background: var(--sable-2);
  border: 2px solid var(--encre);
  box-shadow: 5px 5px 0 var(--ocre);
  padding: 1.4rem 2rem;
  margin-bottom: 2rem;
}
.rating-summary__score {
  font-family: var(--display);
  font-size: 3.8rem;
  font-weight: 700;
  color: var(--rouille);
  line-height: 1;
}
.rating-summary__label {
  font-size: .9rem;
  color: var(--encre-2);
  margin-top: .25rem;
}
.rating-summary__block {
  display: flex;
  flex-direction: column;
}

/* Chips de filtre */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .35rem .9rem;
  border: 1.5px solid var(--encre);
  background: var(--sable-2);
  font-size: .88rem;
  cursor: pointer;
  border-radius: 2px;
  transition: background .15s, color .15s;
}
.chip:hover,
.chip[aria-pressed="true"] {
  background: var(--encre);
  color: var(--sable);
}

/* Badge vérifié */
.badge-verified {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-size: .8rem;
  color: #1a7a3a;
  font-weight: 600;
}
.badge-verified svg { width: 14px; height: 14px; }

/* Empty state reviews */
.no-reviews {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem 1rem;
  border: 2px dashed var(--sable-3);
}
.no-reviews h3 { margin-bottom: .8rem; }

/* Masonry plus lisible sur grand écran */
.reviews--masonry {
  margin-top: 1.5rem;
}

/* Blockquote dans review */
.review blockquote {
  font-style: italic;
}

/* Lien Trustpilot */
[data-trustpilot-link] {
  color: var(--rouille);
  font-size: .92rem;
}
