/* JwA's Formations & Performances — feuille de style du site (style « Impact »).
   Thèmes sombre et clair pilotés par des variables ; accessibilité RGAA prise en compte dès le socle. */

@font-face { font-family: "Oswald"; src: url("../fonts/oswald-latin-wght-normal.woff2") format("woff2"); font-weight: 200 700; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("../fonts/archivo-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

/* ---------- Thèmes ---------- */
:root {
  --maroon: #330600;
  --font-head: "Oswald", "Arial Narrow", sans-serif;
  --font-body: "Archivo", system-ui, sans-serif;
  --radius: 4px;
  --wrap: 1180px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --section: clamp(4rem, 9vw, 7rem);
  /* sombre (défaut) */
  color-scheme: dark;
  --bg: #141110; --surface: #1e1a18; --card: #1e1a18; --ink: #f6f1ee; --muted: #d2c9c4; --line: #3d3430;
  --accent: #ff8f87; --red: #c62a28; --red-hover: #a82322; --focus: #fff; --error: #ffb0aa;
  --band: linear-gradient(160deg, #330600, #141110 70%);
  --page-hero: linear-gradient(120deg, #141110 40%, #330600);
  --shadow: 0 0 0 1px var(--red);
}
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #faf7f5; --surface: #f1ebe6; --card: #fff; --ink: #171312; --muted: #57504b; --line: #d8cec7;
  --accent: #a82322; --red: #a82322; --red-hover: #861a19; --focus: #171312; --error: #a82322;
  --band: linear-gradient(160deg, #f1ebe6, #f6e3e0);
  --page-hero: linear-gradient(120deg, #f1ebe6 40%, #f3dcd8);
  --shadow: 0 18px 40px -22px rgb(51 6 0 / .45), 0 0 0 1px var(--red);
}
/* Sans JavaScript : on suit la préférence du système */
@media (prefers-color-scheme: light) {
  :root:not([data-theme]) {
    color-scheme: light;
    --bg: #faf7f5; --surface: #f1ebe6; --card: #fff; --ink: #171312; --muted: #57504b; --line: #d8cec7;
    --accent: #a82322; --red: #a82322; --red-hover: #861a19; --focus: #171312; --error: #a82322;
    --band: linear-gradient(160deg, #f1ebe6, #f6e3e0);
    --page-hero: linear-gradient(120deg, #f1ebe6 40%, #f3dcd8);
    --shadow: 0 18px 40px -22px rgb(51 6 0 / .45), 0 0 0 1px var(--red);
  }
}

/* ---------- Socle ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 6rem; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.0625rem/1.65 var(--font-body); overflow-x: hidden; transition: background-color .3s, color .3s; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 600; text-transform: uppercase; letter-spacing: .01em; line-height: 1.08; margin: 0 0 .6em; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 6.4vw, 5.2rem); line-height: 1; }
h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
h3 { font-size: 1.55rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-underline-offset: .2em; }
p a, li a, .link { color: var(--accent); font-weight: 600; }
strong { font-weight: 700; }
mark { background: #ffe08a; color: #171312; padding: 0 .3em; border-radius: 3px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -5rem; z-index: 100; background: #fff; color: #141110; padding: .8rem 1.2rem; border-radius: 4px; font-weight: 700; }
.skip:focus { top: 1rem; }
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.section { padding-block: var(--section); }
.alt { background: var(--surface); }
.eyebrow { display: block; font-size: .82rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 1rem; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.28rem); color: var(--muted); max-width: 60ch; }
.section-head { max-width: 62rem; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.two { display: grid; gap: clamp(2rem, 6vw, 5rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); }
.two > .section-head { margin: 0; }

/* ---------- Boutons (cible ≥ 44 px) ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 3rem; padding: .75rem 1.5rem; border: 2px solid transparent; border-radius: var(--radius); font: 700 .92rem/1.2 var(--font-body); text-transform: uppercase; letter-spacing: .06em; text-decoration: none; cursor: pointer; transition: background-color .2s, color .2s, transform .2s, border-color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-hover); }
.btn-ghost { border-color: currentColor; color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn-wa { background: #0b6b3a; color: #fff; }
.btn-wa:hover { background: #08522c; }
.btn svg { width: 1.25em; height: 1.25em; flex: none; }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }

/* ---------- En-tête ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--bg); border-bottom: 1px solid var(--line); transition: background-color .3s; }
.site-header .wrap { width: min(100% - 2 * var(--gutter), 1400px); display: flex; align-items: center; gap: 1rem; min-height: 4.5rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; margin-right: auto; text-decoration: none; font: 600 1.02rem/1.1 var(--font-head); text-transform: uppercase; }
.brand img { width: 46px; height: 46px; }
.brand > span { white-space: nowrap; }
.nav ul { display: flex; align-items: center; gap: clamp(.7rem, 1.05vw, 1.4rem); }
.nav a { white-space: nowrap; }
.nav a:not(.btn) { display: inline-block; padding: .7rem 0; font-weight: 600; font-size: .95rem; text-decoration: none; background: linear-gradient(var(--red), var(--red)) no-repeat 0 85% / 0 2px; transition: background-size .25s; }
.nav a:not(.btn):hover, .nav a:not(.btn):focus-visible, .nav a[aria-current="page"]:not(.btn) { background-size: 100% 2px; }
.nav a[aria-current="page"]:not(.btn) { color: var(--accent); }
.tools { display: flex; align-items: center; gap: .4rem; }
.tool { display: inline-flex; align-items: center; justify-content: center; min-width: 2.75rem; min-height: 2.75rem; padding: 0 .6rem; border: 1.5px solid var(--line); border-radius: var(--radius); background: none; color: var(--ink); font: 700 .88rem var(--font-body); letter-spacing: .05em; text-decoration: none; cursor: pointer; transition: border-color .2s, color .2s; }
.tool:hover { border-color: var(--red); color: var(--accent); }
.tool svg { width: 1.2rem; height: 1.2rem; }
:root[data-theme="light"] .icon-sun, :root:not([data-theme="light"]) .icon-moon { display: none; }
.nav-toggle { display: none; }
@media (max-width: 1400px) {
  .nav-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; inset: 100% 0 auto 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 1rem var(--gutter) 1.5rem; }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; gap: .2rem; }
  .nav .btn { margin-top: .6rem; width: 100%; }
}
@media (max-width: 480px) { .brand > span { white-space: normal; font-size: .9rem; max-width: 10rem; } }

/* ---------- Accueil : héros (toujours sombre, quelle que soit le thème) ---------- */
.hero-home { position: relative; isolation: isolate; overflow: hidden; padding-top: clamp(4rem, 9vw, 7rem); color: #f6f1ee; --ink: #f6f1ee; --bg: #141110; --accent: #ff8f87; --focus: #fff; --red: #c62a28; --red-hover: #a82322; }
.hero-bg { position: absolute; inset: 0; z-index: -1; background: #141110; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgb(20 17 16 / .97) 25%, rgb(51 6 0 / .82) 60%, rgb(20 17 16 / .6)); }
.hero-home h1 { max-width: 14ch; }
.hero-home h1 span { color: var(--accent); }
.hero-home .lead { color: #fff; }
.hero-home > .wrap { padding-bottom: clamp(3rem, 8vw, 6rem); }

.marquee { position: relative; display: flex; overflow: hidden; background: #c62a28; color: #fff; }
.marquee-track { display: flex; flex: none; min-width: 100%; justify-content: space-around; font: 600 1.25rem/1 var(--font-head); text-transform: uppercase; letter-spacing: .08em; }
.marquee-track li { padding: 1.1rem 1.6rem; white-space: nowrap; }
.marquee-track li::after { content: "/"; margin-left: 3.2rem; opacity: .7; }
.marquee-toggle { position: absolute; z-index: 2; left: 0; top: 0; bottom: 0; padding: 0 1rem; border: 0; background: #141110; color: #fff; font: 600 .8rem var(--font-body); cursor: pointer; }
.marquee-toggle:focus-visible { outline-offset: -4px; outline-color: #fff; }

/* ---------- Chiffres ---------- */
.proofs-section { padding-block: 3.5rem; border-bottom: 1px solid var(--line); }
.proofs { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); margin: 0; }
.proofs dt { font: 600 clamp(2rem, 4vw, 3rem)/1.1 var(--font-head); text-transform: uppercase; color: var(--accent); }
.proofs dd { margin: .3rem 0 0; color: var(--muted); font-size: .95rem; }

/* ---------- Cartes d'offres ---------- */
.offers { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 24rem), 1fr)); counter-reset: offer; }
.offer { position: relative; display: flex; flex-direction: column; padding: 2rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); overflow: hidden; counter-increment: offer; transition: transform .25s, box-shadow .25s, border-color .25s, background-color .3s; }
.offer:hover, .offer:focus-within { transform: translateY(-4px); border-color: var(--red); box-shadow: var(--shadow); }
.offer.has-img { padding-top: 0; }
.offer-img { margin: 0 -2rem 1.6rem; aspect-ratio: 16 / 9; overflow: hidden; }
.offer-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transition: transform .6s; }
.offer:hover .offer-img img { transform: scale(1.05); }
.offer .tag { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.offer h3::before { content: "0" counter(offer); display: block; font-size: 3.2rem; line-height: 1; color: var(--accent); margin-bottom: .8rem; }
.offer p { color: var(--muted); }
.offer ul { margin-bottom: 1.4rem; font-size: .97rem; }
.offer li { position: relative; padding: .3rem 0 .3rem 1.5rem; }
.offer li::before { content: ""; position: absolute; left: 0; top: .95em; width: .7rem; height: 2px; background: var(--red); }
.offer .more { margin-top: auto; font-weight: 700; color: var(--accent); text-decoration: none; }
.offer .more::after { content: ""; position: absolute; inset: 0; }
.offer .more span { display: inline-block; transition: transform .2s; }
.offer:hover .more span { transform: translateX(5px); }

/* Cadrage des photos : point de focus par image (visages toujours visibles) */
main img[src*="formation-sst-massage-cardiaque"] { object-position: 50% 4%; }
main .page-photo img[src*="formation-sst-massage-cardiaque"] { object-position: 50% 30%; }
main img[src*="josselin-wide-andre-portrait"] { object-position: 50% 12%; }
main img[src*="josselin-wide-andre-coach-sportif"] { object-position: 50% 10%; }
main img[src*="josselin-wide-andre-formateur"] { object-position: 50% 2%; }
main img[src*="formation-sst-groupe"] { object-position: 30% 30%; }
main img[src*="cours-zumba-entreprise"] { object-position: 60% 55%; }

/* ---------- À propos ---------- */
.about-grid { display: grid; gap: clamp(2rem, 6vw, 5rem); grid-template-columns: minmax(0, .75fr) 1fr; align-items: center; }
.about-photo { margin: 0; position: relative; }
.about-photo::after { content: ""; position: absolute; inset: auto 0 0 0; height: 8px; background: var(--red); }
.about-photo img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: top; }
.chips { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.5rem; }
.chips li { padding: .5rem .9rem; border: 1px solid var(--line); border-radius: var(--radius); font-size: .9rem; font-weight: 600; }
@media (max-width: 760px) { .about-grid { grid-template-columns: 1fr; } .about-photo { max-width: 20rem; } }
.reasons { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); }
.reasons li { padding: 1.8rem; border: 1px solid var(--line); border-top: 3px solid var(--red); border-radius: var(--radius); background: var(--card); }
.reasons p { color: var(--muted); margin: 0; font-size: .98rem; }
.reasons h3 { font-size: 1.3rem; }

/* ---------- Loi, étapes, FAQ ---------- */
.law { border-left: 4px solid var(--red); padding: .2rem 0 .2rem 1.4rem; margin: 0 0 1.5rem; }
.law cite { display: block; font-style: normal; font-weight: 700; margin-bottom: .3rem; }
.steps { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); counter-reset: step; }
.steps li { counter-increment: step; padding-top: 1.2rem; border-top: 2px solid var(--red); }
.steps li::before { content: "0" counter(step); display: block; font: 600 2.4rem/1 var(--font-head); color: var(--accent); margin-bottom: .6rem; }
.steps p { color: var(--muted); font-size: .97rem; margin: 0; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.2rem 0; font: 600 1.15rem/1.35 var(--font-head); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: .7rem; height: .7rem; border: solid var(--accent); border-width: 0 2px 2px 0; transform: rotate(45deg); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq details p { color: var(--muted); max-width: 70ch; padding-bottom: .6rem; }

/* ---------- Pages intérieures ---------- */
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: .5rem; font-size: .9rem; margin-bottom: 1.5rem; color: var(--muted); }
.breadcrumb li + li::before { content: "/"; margin-right: .5rem; }
.breadcrumb a { color: inherit; }
.page-hero { background: var(--page-hero); padding-block: clamp(2.5rem, 6vw, 5rem); }
.page-hero h1 { font-size: clamp(2.2rem, 4.8vw, 3.8rem); }
.page-hero-grid { display: grid; gap: clamp(2rem, 5vw, 4rem); grid-template-columns: 1.2fr .8fr; align-items: center; }
.page-photo { margin: 0; }
.page-photo img { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; object-position: 50% 25%; border-radius: var(--radius); }
@media (max-width: 800px) { .page-hero-grid { grid-template-columns: 1fr; } .page-photo { max-width: 24rem; } }
.facts-section { padding-top: 2.5rem; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(10.5rem, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin: 0; }
.facts div { background: var(--card); padding: 1.2rem 1.3rem; transition: background-color .3s; }
.facts dt { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.facts dd { margin: .3rem 0 0; font: 600 1.2rem/1.25 var(--font-head); text-transform: uppercase; }
.block + .block { padding-top: 0; }
.ticks li { position: relative; padding: .85rem 0 .85rem 2.2rem; border-bottom: 1px solid var(--line); font-weight: 600; }
.ticks li::before { content: ""; position: absolute; left: .2rem; top: 1.25em; width: .9rem; height: .45rem; border: solid var(--accent); border-width: 0 0 2.5px 2.5px; transform: rotate(-45deg); }
.others { padding-top: 0; }
.others h2 { font-size: 1.5rem; }
.others-list { display: flex; flex-wrap: wrap; gap: .8rem; }
.others-list a { display: inline-flex; align-items: center; gap: .5rem; min-height: 3rem; padding: .6rem 1.2rem; border: 1.5px solid var(--line); border-radius: var(--radius); font-weight: 700; text-decoration: none; color: var(--ink); transition: border-color .2s, color .2s; }
.others-list a:hover { border-color: var(--red); color: var(--accent); }
.crumb-only { padding-top: 2rem; }
.crumb-only .breadcrumb ol { margin: 0; }
.crumb-only + .contact { background: none; padding-top: 2.5rem; }
.prose { max-width: 46rem; }
.prose h2 { font-size: 1.6rem; margin-top: 2.5rem; }
.prose ul { list-style: disc; padding-left: 1.3rem; margin-bottom: 1em; }
.prose li { padding: .15rem 0; }
.prose li a, .prose p a { font-weight: 600; }

/* ---------- Contact ---------- */
.contact { background: var(--band); }
.contact-grid { display: grid; gap: clamp(2rem, 5vw, 4rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); align-items: start; }
.contact-list li { padding: .5rem 0; }
.form { display: grid; gap: 1.1rem; padding: clamp(1.4rem, 3vw, 2.2rem); background: var(--card); border-radius: var(--radius); border: 1px solid var(--line); transition: background-color .3s; }
.form .row { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); }
.field label { display: block; font-weight: 700; font-size: .95rem; margin-bottom: .35rem; }
.field .hint { display: block; font-size: .85rem; color: var(--muted); margin-bottom: .35rem; }
.field input, .field select, .field textarea { width: 100%; min-height: 3rem; padding: .7rem .9rem; border: 1.5px solid #6b655f; border-radius: 4px; background: #fff; color: #171312; font: inherit; color-scheme: light; }
.field textarea { min-height: 8rem; resize: vertical; }
.field [aria-invalid="true"] { border-color: #a82322; border-width: 2.5px; }
.field .error { display: block; margin-top: .35rem; color: var(--error); font-weight: 700; font-size: .9rem; }
.field .error:empty { display: none; }
.check { display: grid; grid-template-columns: auto 1fr; gap: .7rem; align-items: start; font-size: .92rem; }
.check input { width: 1.4rem; height: 1.4rem; min-height: 0; margin-top: .15rem; accent-color: #c62a28; }
.check label { font-weight: 500; margin: 0; }
.hp { position: absolute; left: -9999px; }
.form-note { font-size: .85rem; color: var(--muted); margin: 0; }
.form-status { margin: 0; padding: 1rem 1.2rem; border-radius: 4px; font-weight: 700; background: #e6f3ea; color: #0b4d2a; border: 1.5px solid #0b6b3a; }
.form-status.is-error { background: #fbeaea; color: #7a1413; border-color: #a82322; }
.form-status:empty { display: none; }

.wa-float { position: fixed; right: 1rem; bottom: 1rem; z-index: 40; box-shadow: 0 10px 30px -10px rgb(0 0 0 / .6); }
@media (max-width: 520px) { .wa-float span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); } .wa-float { padding: .75rem; } }

/* ---------- Pied de page (toujours sombre) ---------- */
.site-footer { background: #0b0908; color: #fff; padding-block: 3.5rem 5rem; font-size: .95rem; --focus: #fff; }
.site-footer .cols { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); }
.site-footer h2 { font: 700 1rem var(--font-body); letter-spacing: .08em; margin-bottom: 1rem; }
.site-footer li { padding: .25rem 0; }
.site-footer a { color: #fff; font-weight: 400; }
.site-footer .brand { margin: 0; }
.site-footer .legal { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgb(255 255 255 / .25); color: #e9dcd9; font-size: .87rem; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; }
.site-footer .legal ul { display: flex; flex-wrap: wrap; gap: .3rem 1.2rem; }

/* ---------- Animations (uniquement si non réduites — RGAA 13.8) ---------- */
@media (prefers-reduced-motion: no-preference) {
  @keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
  @keyframes slide { to { transform: translateX(-100%); } }
  [data-in]:nth-child(2) { --i: 1; } [data-in]:nth-child(3) { --i: 2; } [data-in]:nth-child(4) { --i: 3; } [data-in]:nth-child(5) { --i: 4; }
  figure[data-in] { --i: 2; }
  [data-in] { animation: rise .8s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(var(--i, 0) * 110ms); }
  .marquee-track { animation: slide 32s linear infinite; }
  .marquee.is-paused .marquee-track { animation-play-state: paused; }
  @supports (animation-timeline: view()) {
    [data-reveal] { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 38%; }
  }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .marquee-toggle, .marquee-track + .marquee-track { display: none; }
  .marquee-track { flex-wrap: wrap; }
}

/* ---------- Zone d'intervention ---------- */
.zone { margin: 0; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.zone div { background: var(--card); padding: 1.2rem 1.4rem; }
.zone dt { font: 600 1.15rem/1.3 var(--font-head); text-transform: uppercase; color: var(--accent); margin-bottom: .3rem; }
.zone dd { margin: 0; color: var(--muted); }
.zone-note { margin-top: 1rem; color: var(--muted); font-size: .95rem; }

/* Pied de page : la marque revient à la ligne normalement, mentions alignées */
.site-footer .brand > span { white-space: normal; max-width: 15rem; }
.site-footer .legal { align-items: center; }
.site-footer .legal li { padding: 0; }

/* ---------- Blog ---------- */
.posts { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); }
.post-card { position: relative; display: flex; flex-direction: column; padding: 0 1.6rem 1.6rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); overflow: hidden; transition: transform .25s, box-shadow .25s, border-color .25s; }
.post-card:hover, .post-card:focus-within { transform: translateY(-4px); border-color: var(--red); box-shadow: var(--shadow); }
.post-img { margin: 0 -1.6rem 1.2rem; aspect-ratio: 16 / 9; overflow: hidden; }
.post-img img { width: 100%; height: 100%; object-fit: cover; }
.post-card h2, .post-card h3 { font-size: 1.35rem; }
.post-card p:not(.post-meta) { color: var(--muted); font-size: .97rem; }
.post-card .more { margin-top: auto; font-weight: 700; color: var(--accent); text-decoration: none; }
.post-card .more::after { content: ""; position: absolute; inset: 0; }
.post-meta { font-size: .85rem; font-weight: 600; letter-spacing: .04em; color: var(--muted); margin-bottom: .6rem; }
.section-head-row { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem; max-width: none; }
.section-head-row h2 { margin: 0; }
.article-grid { display: grid; gap: clamp(2rem, 5vw, 4rem); grid-template-columns: minmax(0, 1fr) minmax(16rem, 22rem); align-items: start; }
.article-body h2 { margin-top: 2.2rem; }
.article-body h2:first-child { margin-top: 0; }
.article-body .ticks { margin-bottom: 1.2rem; }
.takeaway { position: sticky; top: 6rem; padding: 1.6rem; border: 1px solid var(--line); border-top: 3px solid var(--red); border-radius: var(--radius); background: var(--card); }
.takeaway h2 { font-size: 1.4rem; }
.takeaway .ticks li { font-size: .95rem; }
.takeaway .btn { margin-top: 1.2rem; width: 100%; }
@media (max-width: 900px) { .article-grid { grid-template-columns: 1fr; } .takeaway { position: static; } }
.prose ul.ticks { list-style: none; padding-left: 0; }
.prose .ticks li { padding: .7rem 0 .7rem 2.2rem; }

/* ---------- Avis clients ---------- */
.stars { display: inline-flex; gap: .1rem; vertical-align: -.15em; }
.stars svg { width: 1.05em; height: 1.05em; fill: #f5b301; }
.rating-badge { display: inline-flex; align-items: center; gap: .5rem; min-height: 2.75rem; padding: .45rem 1rem; border: 1.5px solid var(--line); border-radius: 999px; background: var(--card); color: var(--ink); font-size: .95rem; text-decoration: none; white-space: nowrap; transition: border-color .2s; }
.rating-badge:hover { border-color: #f5b301; }
.rating-badge strong { font: 600 1.2rem/1 var(--font-head); }
.hero-rating { margin: 1.4rem 0 0; }
.hero-home .rating-badge { background: rgb(20 17 16 / .75); border-color: rgb(255 255 255 / .35); color: #fff; }
.reviews { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); }
.review figure { margin: 0; height: 100%; display: flex; flex-direction: column; gap: .9rem; padding: 1.6rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.review blockquote { margin: 0; flex: 1; }
.review blockquote p { margin: 0; font-size: 1rem; line-height: 1.6; }
.review blockquote p::before { content: "« "; color: var(--accent); font-weight: 700; }
.review blockquote p::after { content: " »"; color: var(--accent); font-weight: 700; }
:root[lang="en"] .review blockquote p::before { content: "“"; }
:root[lang="en"] .review blockquote p::after { content: "”"; }
.review figcaption { font-size: .9rem; color: var(--muted); }
.review figcaption strong { color: var(--ink); }
.reviews-more { margin: 1.5rem 0 0; }
.section-head-row .lead { margin: .4rem 0 0; }
.page-photo.cover img { aspect-ratio: 16 / 9; object-position: center; }
main img[src*="josselin-wide-andre-portrait-bleu"] { object-position: 50% 30%; }
main img[src*="josselin-wide-andre-gainage"] { object-position: 62% 60%; }
.facts dd, .chips li, .proofs dd { overflow-wrap: anywhere; }
