/* 3A-RL Locquirec : feuille de style (mobile d'abord) */
@font-face { font-family: "Playfair Display"; font-weight: 600; font-style: normal; font-display: swap; src: url(../fonts/playfair-display-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Playfair Display"; font-weight: 400; font-style: italic; font-display: swap; src: url(../fonts/playfair-display-latin-400-italic.woff2) format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-weight: 600; font-style: normal; font-display: swap; src: url(../fonts/cormorant-garamond-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 300; font-style: normal; font-display: swap; src: url(../fonts/montserrat-latin-300-normal.woff2) format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 400; font-style: normal; font-display: swap; src: url(../fonts/source-sans-3-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 400; font-style: italic; font-display: swap; src: url(../fonts/source-sans-3-latin-400-italic.woff2) format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 600; font-style: normal; font-display: swap; src: url(../fonts/source-sans-3-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 700; font-style: normal; font-display: swap; src: url(../fonts/source-sans-3-latin-700-normal.woff2) format("woff2"); }

:root {
  --paper: #f8f6f3;
  --paper-2: #efebe5;
  --card: #fffdf9;
  --ink: #2b2b2b;
  --muted: #5d574e;
  --line: #e3ddd4;
  /* Charte de l'ancien site : anthracite #3A3A3A et terracotta #C0573C */
  --charcoal: #3a3a3a;
  --terra: #c0573c;      /* teinte du logo : décor, filets, pastilles */
  --terra-ink: #a3452b;  /* terracotta assombri : textes et boutons (contraste AA) */
  --link: #a3452b;
  --hover: #7f3320;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(35, 32, 27, .06), 0 8px 24px rgba(35, 32, 27, .08);
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1180px;
  --gutter: 16px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 64px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
main { display: block; overflow-x: clip; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.65 var(--sans); overflow-x: clip; }
html { overflow-x: clip; }
@media (min-width: 900px) { body { font-size: 1.125rem; } }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--hover); }
:focus-visible { outline: 3px solid var(--terra); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.2; color: var(--charcoal); margin: 0 0 .6em; text-wrap: balance; }
h1 { font-size: clamp(2rem, 6vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 3.6vw, 2.05rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.i { width: 1.2em; height: 1.2em; flex: none; vertical-align: -.2em; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 700px) { :root { --gutter: 28px; } }

.skip { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--charcoal); color: #fff; padding: 10px 14px; border-radius: 8px; }
.skip:focus { top: 8px; }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 48px; padding: .7em 1.3em; border-radius: 999px; border: 2px solid var(--terra-ink); background: var(--terra-ink); color: #fff; font: 600 1rem/1.2 var(--sans); text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.btn:hover { background: var(--charcoal); border-color: var(--charcoal); color: #fff; }
.btn-light { background: #fff; border-color: #fff; color: var(--charcoal); }
.btn-light:hover { background: var(--terra-ink); border-color: var(--terra-ink); color: #fff; }
.btn-outline { background: transparent; border-color: rgba(255, 255, 255, .8); color: #fff; }
.btn-outline:hover { background: #fff; color: var(--charcoal); border-color: #fff; }
.btn-outline-dark { background: transparent; color: var(--charcoal); }
.btn-outline-dark:hover { color: #fff; }
.btn-ghost { background: transparent; color: var(--charcoal); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--charcoal); background: var(--charcoal); color: #fff; }
.btn-small { min-height: 40px; padding: .45em 1.1em; font-size: .95rem; }
.more { display: inline-flex; gap: .4em; align-items: center; font-weight: 600; text-decoration: none; }

/* ---------- En-tête et navigation ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner > * { min-width: 0; }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); min-width: 0; }
.logo { display: block; height: 60px; width: auto; overflow: visible; --logo-ink: var(--charcoal); --logo-accent: var(--terra); }
@media (min-width: 1024px) { :root { --header-h: 96px; } .logo { height: 84px; } }
.logo path, .logo line { vector-effect: non-scaling-stroke; }
.logo .lk, .logo .lt { fill: none; stroke-linecap: round; }
.logo .lk { stroke: var(--logo-ink); }
.logo .lt { stroke: var(--logo-accent); }
.logo .lf { fill: var(--logo-ink); }

.menu-toggle, .menu-close, .mega-toggle { background: none; border: 0; color: var(--charcoal); cursor: pointer; font: 600 .95rem var(--sans); }
.menu-toggle { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); }
.menu-toggle .i { width: 22px; height: 22px; }

/* Mobile : panneau latéral */
.main-nav { position: fixed; inset: 0 0 0 auto; width: min(420px, 100%); background: var(--paper); z-index: 60; transform: translateX(100%); transition: transform .28s ease; overflow-y: auto; overscroll-behavior: contain; padding: 0 0 32px; box-shadow: -20px 0 40px rgba(0, 0, 0, .15); visibility: hidden; }
.nav-open .main-nav { transform: none; visibility: visible; }
.nav-open { overflow: hidden; }
.nav-open .site-header { z-index: 70; }
.nav-backdrop { position: fixed; inset: 0; background: rgba(20, 20, 20, .45); z-index: 55; opacity: 0; pointer-events: none; transition: opacity .28s; }
.nav-open .nav-backdrop { opacity: 1; pointer-events: auto; }
.nav-head { display: flex; justify-content: space-between; align-items: center; padding: 10px var(--gutter); border-bottom: 1px solid var(--line); font: 600 1.1rem var(--serif); color: var(--charcoal); position: sticky; top: 0; background: var(--paper); z-index: 1; }
.menu-close { width: 44px; height: 44px; display: grid; place-items: center; }
.menu-close .i { width: 24px; height: 24px; }
.nav-list { list-style: none; margin: 0; padding: 8px var(--gutter); }
.nav-list > li { border-bottom: 1px solid var(--line); }
.nav-list > li > a, .nav-split > a { display: flex; align-items: center; min-height: 54px; font: 600 1.15rem var(--serif); color: var(--ink); text-decoration: none; }
.nav-list a[aria-current] { color: var(--hover); }
.nav-split { display: flex; align-items: center; justify-content: space-between; }
.nav-split > a { flex: 1; }
.mega-toggle { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; }
.mega-toggle .i { transition: transform .2s; width: 24px; height: 24px; }
.mega-toggle[aria-expanded="true"] .i { transform: rotate(180deg); }
.mega { display: none; padding: 0 0 14px; }
.mega.is-open { display: block; }
.mega-title { font: 700 .78rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--terra-ink); margin: 14px 0 6px; }
.mega ul { list-style: none; margin: 0; padding: 0; }
.mega li a, .mega-overview { display: flex; gap: 12px; align-items: flex-start; padding: 9px 8px; border-radius: 10px; text-decoration: none; color: var(--ink); }
.mega li a:hover, .mega-overview:hover { background: var(--paper-2); color: var(--ink); }
.mega a[aria-current] { background: var(--paper-2); }
.mega a[aria-current] strong { color: var(--hover); }
.mega strong { display: block; font-weight: 600; line-height: 1.3; }
.mega small { display: block; color: var(--muted); font-size: .88rem; line-height: 1.35; }
.mega-overview { flex-direction: column; gap: 2px; border: 1px solid var(--line); background: var(--card); }
.num { flex: none; display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--terra-ink); color: #fff; font: 600 .85rem/1 var(--sans); }
.nav-cta { border-bottom: 0 !important; padding-top: 16px; }
.nav-cta .btn { width: 100%; }
.nav-list .nav-cta .btn, .nav-list .nav-cta .btn:hover { color: #fff; }

@media (min-width: 1024px) {
  .menu-toggle, .nav-head, .nav-backdrop { display: none; }
  .main-nav { position: static; transform: none; visibility: visible; width: auto; background: none; box-shadow: none; overflow: visible; padding: 0; }
  .nav-list { display: flex; align-items: center; gap: 4px; padding: 0; }
  .nav-list > li { border: 0; position: static; }
  .nav-list > li > a, .nav-split > a { min-height: 44px; padding: 0 12px; font: 600 1rem var(--sans); border-radius: 999px; color: var(--ink); }
  .nav-list > li > a:hover, .nav-split > a:hover { color: var(--hover); }
  .nav-list a[aria-current], .is-section .nav-split > a { color: var(--hover); }
  .nav-split > a { padding-right: 2px; }
  .mega-toggle { width: 32px; height: 44px; }
  .mega-toggle .i { width: 18px; height: 18px; }
  .nav-cta { padding: 0 0 0 10px; }
  .nav-cta .btn { width: auto; }
  .mega { display: block; position: absolute; left: 0; right: 0; top: 100%; padding: 0; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px rgba(35, 32, 27, .12); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s, transform .18s, visibility 0s .18s; }
  .has-mega:hover .mega, .has-mega:focus-within .mega, .mega.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .has-mega.is-closed .mega { opacity: 0; visibility: hidden; }
  .mega-inner { max-width: var(--wrap); margin: 0 auto; padding: 18px var(--gutter) 26px; display: grid; grid-template-columns: 1fr 1fr 1.25fr; gap: 28px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; display: grid; min-height: min(78vh, 680px); color: #fff; isolation: isolate; overflow: hidden; background: var(--charcoal); }
.hero-small { min-height: clamp(300px, 46vh, 460px); }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(28, 28, 28, .25) 0%, rgba(28, 28, 28, .2) 35%, rgba(28, 28, 28, .82) 100%); }
.hero-text { align-self: end; padding-top: 80px; padding-bottom: clamp(28px, 6vw, 64px); }
.hero h1 { color: #fff; max-width: 18ch; text-shadow: 0 2px 18px rgba(0, 0, 0, .35); margin-bottom: .35em; }
.hero-small h1 { font-size: clamp(1.8rem, 5vw, 2.9rem); max-width: 24ch; }
.kicker { display: inline-block; font: 700 .78rem/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: #fff; background: rgba(192, 87, 60, .9); padding: 6px 10px; border-radius: 6px; margin-bottom: 14px; }
.lead { font-size: clamp(1.05rem, 2.4vw, 1.3rem); max-width: 46ch; color: rgba(255, 255, 255, .94); margin-bottom: 1.2em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }

/* ---------- Barre de parcours ---------- */
.visit-bar { position: sticky; top: var(--header-h); z-index: 40; background: var(--charcoal); color: #fff; box-shadow: 0 6px 18px rgba(0, 0, 0, .12); }
.visit-inner { display: flex; align-items: center; gap: 10px; padding-top: 8px; padding-bottom: 8px; }
.visit-home { flex: none; color: #fff; font: 600 .95rem var(--serif); text-decoration: none; padding: 6px 12px 6px 0; border-right: 1px solid rgba(255, 255, 255, .25); }
.visit-home:hover { color: var(--terra); }
.visit-steps { flex: 1; min-width: 0; list-style: none; display: flex; gap: 6px; margin: 0; padding: 2px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; -webkit-mask-image: linear-gradient(90deg, #000 90%, transparent); mask-image: linear-gradient(90deg, #000 90%, transparent); }
.visit-steps::-webkit-scrollbar { display: none; }
.visit-steps li { scroll-snap-align: start; }
.visit-steps a { display: flex; align-items: center; gap: 8px; white-space: nowrap; color: rgba(255, 255, 255, .88); text-decoration: none; padding: 6px 12px 6px 6px; border-radius: 999px; font-size: .95rem; min-height: 40px; }
.visit-steps a:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.visit-steps .num { background: rgba(255, 255, 255, .16); width: 26px; height: 26px; }
.visit-steps a[aria-current] { background: #fff; color: var(--charcoal); font-weight: 600; }
.visit-steps a[aria-current] .num { background: var(--terra-ink); color: #fff; }
@media (max-width: 699px) { .visit-steps a:not([aria-current]) .lbl { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } .visit-steps a:not([aria-current]) { padding: 6px; } }

/* ---------- Fil d'Ariane ---------- */
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; margin: 0; padding: 18px 0 0; font-size: .92rem; color: var(--muted); }
.breadcrumbs li + li::before { content: "›"; margin-right: 4px; color: var(--terra-ink); }
.breadcrumbs a { color: var(--muted); }

/* ---------- Contenu ---------- */
.content { padding-top: 24px; padding-bottom: 40px; }
.block { margin: 0 0 40px; }
.block > p, .block > ul, .block > ol, .block > h2, .block > h3, .block > blockquote { max-width: 72ch; }
.block h2 { margin-top: .4em; padding-top: 4px; }
.block h2::after { content: ""; display: block; width: 56px; height: 3px; background: var(--terra); border-radius: 2px; margin-top: 12px; }
.block ul, .block ol { padding-left: 1.3em; }
.block li { margin: .35em 0; }
.block strong { color: var(--ink); }
.lead-text { font-size: 1.2em; line-height: 1.55; color: var(--ink); }
.section-intro { color: var(--muted); max-width: 60ch; }
.content > .block + .block { border-top: 1px solid var(--line); padding-top: 36px; }

.toc { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; margin: 0 0 32px; }
.toc p { font: 700 .78rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--terra-ink); margin: 0 0 10px; }
.toc ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.toc a { display: inline-block; padding: 7px 12px; border-radius: 999px; background: var(--paper-2); color: var(--ink); text-decoration: none; font-size: .95rem; }
.toc a:hover { background: var(--charcoal); color: #fff; }

/* ---------- Galeries ---------- */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 20px 0 8px; }
@media (min-width: 700px) { .gallery { grid-template-columns: repeat(3, 1fr); gap: 14px; } }
@media (min-width: 1024px) { .gallery { grid-template-columns: repeat(4, 1fr); } }
.gallery.g-1 { grid-template-columns: 1fr; max-width: 760px; }
.gallery.g-2 { grid-template-columns: repeat(2, 1fr); max-width: 900px; }
.gallery figure { margin: 0; }
.gallery a { display: block; border-radius: 10px; overflow: hidden; background: var(--paper-2); aspect-ratio: 4 / 3; box-shadow: var(--shadow); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.gallery a:hover img { transform: scale(1.04); }
.gallery figcaption { font-size: .9rem; color: var(--muted); padding: 6px 2px 0; line-height: 1.35; }
.gallery figcaption span { display: block; font-size: .85rem; }
.figure-wide { margin: 20px 0; max-width: 900px; }
.figure-wide a { display: block; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.figure-wide figcaption { font-size: .95rem; color: var(--muted); padding-top: 8px; }
.figure-wide figcaption span { display: block; }

/* ---------- Œuvres décrites ---------- */
.art-list { display: grid; gap: 18px; margin: 20px 0; }
@media (min-width: 900px) { .art-list { grid-template-columns: 1fr 1fr; gap: 22px; } }
.art { display: grid; grid-template-columns: 1fr; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); scroll-margin-top: calc(var(--header-h) + 70px); }
@media (min-width: 560px) { .art { grid-template-columns: minmax(150px, 38%) 1fr; } }
.art-media { position: relative; display: block; background: var(--paper-2); aspect-ratio: 4 / 5; max-height: 460px; }
@media (min-width: 560px) { .art-media { aspect-ratio: auto; max-height: none; min-height: 260px; } }
.art-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; position: absolute; inset: 0; }
.art-media .zoom { position: absolute; left: 8px; bottom: 8px; background: rgba(20, 20, 20, .75); color: #fff; font-size: .78rem; padding: 4px 8px; border-radius: 6px; }
.art-body { padding: 18px 20px 14px; }
.art-body h2, .art-body h3 { font-size: 1.3rem; margin-bottom: .4em; }
.art-body h2::after { display: none; }
.art-body p { font-size: .98rem; }
.ref { color: var(--terra-ink); font-weight: 600; font-size: .92rem !important; }

/* ---------- Plan interactif ---------- */
.plan { display: grid; gap: 28px; }
@media (min-width: 1000px) { .plan { grid-template-columns: 1.4fr 1fr; align-items: start; } }
.plan-map { position: relative; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.plan-img { display: block; }
.plan-zone { position: absolute; border-radius: 10px; border: 2px dashed rgba(58, 58, 58, .35); background: rgba(192, 87, 60, .08); display: flex; align-items: center; justify-content: center; text-decoration: none; transition: background .2s, border-color .2s; }
.plan-zone span { opacity: 0; background: var(--charcoal); color: #fff; font-size: .82rem; line-height: 1.25; padding: 5px 8px; border-radius: 6px; max-width: 180px; text-align: center; transition: opacity .2s; pointer-events: none; }
.plan-zone:hover, .plan-zone:focus-visible { background: rgba(192, 87, 60, .28); border-color: var(--terra-ink); }
.plan-zone:hover span, .plan-zone:focus-visible span { opacity: 1; }
@media (max-width: 699px) { .plan-zone span { display: none; } }
.plan-legend ul { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 8px; }
.plan-legend a { display: flex; justify-content: space-between; align-items: center; gap: 10px; background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; text-decoration: none; color: var(--ink); font-weight: 600; }
.plan-legend a:hover { border-color: var(--charcoal); color: var(--charcoal); }
.note { font-size: .92rem; color: var(--muted); }

/* ---------- Précédent / suivant ---------- */
.prev-next { display: grid; grid-template-columns: 1fr; gap: 12px; padding-bottom: 56px; }
@media (min-width: 700px) { .prev-next { grid-template-columns: 1fr 1fr; } }
.pn { display: flex; align-items: center; gap: 14px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); min-height: 88px; }
.pn:hover { border-color: var(--charcoal); color: var(--ink); }
.pn img { width: 92px; height: 68px; object-fit: cover; border-radius: 8px; flex: none; }
.pn small { display: flex; align-items: center; gap: 6px; color: var(--terra-ink); font-weight: 600; font-size: .85rem; }
.pn strong { display: block; font: 600 1.08rem/1.3 var(--serif); color: var(--charcoal); }
.pn-next { flex-direction: row-reverse; text-align: right; }
.pn-next small { justify-content: flex-end; }

/* ---------- Bandes et cartes ---------- */
.band { background: var(--paper-2); padding: 48px 0 40px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band h2::after { content: ""; display: block; width: 56px; height: 3px; background: var(--terra); border-radius: 2px; margin-top: 12px; }
.step-group h3 { font: 700 .8rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--terra-ink); margin: 26px 0 12px; }
.step-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
@media (min-width: 600px) { .step-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .step-cards { grid-template-columns: repeat(3, 1fr); } }
.step-card, .feature { display: flex; flex-direction: column; height: 100%; background: var(--card); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); border: 1px solid var(--line); transition: transform .2s, box-shadow .2s; }
.step-card:hover, .feature:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(35, 32, 27, .16); color: var(--ink); }
.step-card img, .feature img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.step-body { display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; padding: 14px 16px 18px; align-items: center; }
.step-body strong { font: 600 1.15rem/1.25 var(--serif); color: var(--charcoal); }
.step-body small { grid-column: 2; color: var(--muted); font-size: .95rem; }
.feature-grid { display: grid; gap: 16px; }
@media (min-width: 800px) { .feature-grid { grid-template-columns: repeat(3, 1fr); } }
.feature > span { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 6px; }
.feature strong { font: 600 1.25rem/1.25 var(--serif); color: var(--charcoal); }
.feature small { font-size: 1rem; color: var(--muted); }

.step-list { list-style: none; padding: 0 !important; margin: 0; display: grid; gap: 8px; max-width: none !important; }
@media (min-width: 800px) { .step-list { grid-template-columns: 1fr 1fr; gap: 10px 20px; } }
.step-list a { display: flex; align-items: center; gap: 14px; padding: 12px 14px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; text-decoration: none; color: var(--ink); }
.step-list a:hover { border-color: var(--charcoal); }
.step-list a > span:nth-child(2) { flex: 1; }
.step-list strong { display: block; font-weight: 600; }
.step-list small { color: var(--muted); font-size: .92rem; }
.step-list .i { color: var(--terra-ink); }
.step-list li { margin: 0; }

.about { display: grid; gap: 24px; align-items: center; }
@media (min-width: 900px) { .about { grid-template-columns: 1fr 360px; gap: 48px; } }
.about-logo { margin: 0; }
.about-logo img { border-radius: var(--radius); box-shadow: var(--shadow); }

.mosaic { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 16px; }
@media (min-width: 800px) { .mosaic { grid-template-columns: repeat(4, 1fr); gap: 14px; } .mosaic a:first-child { grid-column: span 2; grid-row: span 2; } }
.mosaic a { display: block; border-radius: 10px; overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow); }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.mosaic a:hover img { transform: scale(1.04); }

.cta-band { background: var(--charcoal); color: #fff; padding: 52px 0; text-align: center; background-image: radial-gradient(circle at 20% 0%, rgba(192, 87, 60, .25), transparent 55%); }
.cta-band h2 { color: #fff; }
.cta-band p { max-width: 58ch; margin-left: auto; margin-right: auto; color: rgba(255, 255, 255, .9); }
.cta-band .hero-cta { justify-content: center; margin-top: 20px; }

/* Dates et FAQ */
.two-col { display: grid; gap: 8px; }
@media (min-width: 1000px) { .two-col { grid-template-columns: 1fr 1fr; gap: 56px; } .two-col > .block { border-top: 0 !important; padding-top: 0 !important; } }
.timeline { list-style: none; padding: 0 !important; margin: 0; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 0 0 16px 22px; margin: 0; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 7px; width: 12px; height: 12px; border-radius: 50%; background: var(--terra); border: 2px solid var(--paper); }
.timeline time { display: block; font-weight: 700; color: var(--charcoal); }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 14px 44px 14px 16px; font-weight: 600; position: relative; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 16px; top: 10px; font-size: 1.5rem; color: var(--terra-ink); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 16px 14px; margin: 0; }

/* Adhésion */
.join-grid { display: grid; gap: 12px; }
@media (min-width: 800px) { .join-grid { grid-template-columns: repeat(3, 1fr); } }
.join-card { display: flex; gap: 14px; align-items: flex-start; padding: 18px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); }
a.join-card:hover { border-color: var(--charcoal); color: var(--ink); }
.join-card .i { width: 28px; height: 28px; color: var(--terra-ink); }
.join-card strong { display: block; color: var(--charcoal); }
.join-card small { color: var(--muted); font-size: .95rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 16px; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1.7fr 1fr; gap: 56px; } .contact-grid > .block { border-top: 0 !important; padding-top: 0 !important; } }
.contact-form { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
@media (min-width: 700px) { .contact-form { padding: 28px; } .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; } }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; }
.field label small { font-weight: 400; color: var(--muted); }
.field input[type=text], .field input[type=email], .field input[type=tel], .field textarea { width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: #fff; border: 1.5px solid #cfc5b3; border-radius: 10px; padding: 12px 14px; min-height: 48px; }
.field textarea { resize: vertical; min-height: 160px; }
.field input:focus, .field textarea:focus { border-color: var(--charcoal); outline: 3px solid rgba(192, 87, 60, .22); outline-offset: 0; }
.field [aria-invalid="true"] { border-color: var(--hover); }
.field .err { color: var(--hover); font-size: .9rem; margin: 4px 0 0; }
.check { display: flex; gap: 10px; align-items: flex-start; }
.check input { width: 22px; height: 22px; margin-top: 3px; flex: none; accent-color: var(--charcoal); }
.check label { font-weight: 400; font-size: .95rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .9rem; color: var(--muted); }
.form-status { border-radius: 12px; padding: 14px 16px; margin-bottom: 16px; font-weight: 600; }
.form-status.ok { background: #e7f3ea; color: #1d5c32; border: 1px solid #b9dcc3; }
.form-status.ko { background: #fbeaea; color: #7d2323; border: 1px solid #efc2c2; }
.contact-form button[disabled] { opacity: .6; cursor: wait; }
.contact-aside h2 { font-size: 1.35rem; }

.prose-page { max-width: 820px; padding-top: 32px; }
.prose-page h2 { font-size: 1.4rem; margin-top: 1.4em; }
.sitemap ol { margin-top: 6px; }
.notfound { text-align: center; padding: 80px var(--gutter); }
.notfound .hero-cta { justify-content: center; }

/* ---------- Pied de page ---------- */
.site-footer { background: #2e2e2e; color: rgba(255, 255, 255, .82); font-size: .98rem; padding-top: 48px; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: #e8957c; }
.footer-grid { display: grid; gap: 32px; padding-bottom: 32px; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; gap: 48px; } }
.footer-brand { margin: 0 0 16px; }
.footer-brand .logo { height: 110px; --logo-ink: #fff; --logo-accent: #e07a5c; }
.footer-title { font: 700 .78rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: #e8957c; margin: 0 0 12px; }
.footer-addr { display: flex; gap: 10px; }
.footer-addr .i { margin-top: 3px; color: #e8957c; }
.site-footer .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .35); }
.site-footer .btn-ghost:hover { background: #fff; color: var(--charcoal); }
.footer-steps, .footer-links { margin: 0 0 20px; padding-left: 1.2em; }
.footer-links { list-style: none; padding: 0; }
.footer-steps li, .footer-links li { margin: 6px 0; }
.footer-sources { border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 24px; padding-bottom: 12px; font-size: .9rem; color: rgba(255, 255, 255, .7); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 16px; padding-bottom: 24px; font-size: .9rem; }
.footer-bottom p { margin: 0; }

/* ---------- Visionneuse ---------- */
.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(12, 15, 20, .96); color: #fff; }
.lightbox::backdrop { background: rgba(12, 15, 20, .9); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox figure { margin: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%; height: 100%; padding: 56px 12px 64px; }
.lightbox img { max-width: 100%; max-height: calc(100dvh - 140px); width: auto; height: auto; object-fit: contain; border-radius: 4px; touch-action: pan-y; }
.lightbox figcaption { margin-top: 12px; text-align: center; font-size: 1rem; max-width: 70ch; padding: 0 12px; }
.lightbox button { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: #fff; display: grid; place-items: center; cursor: pointer; }
.lightbox button:hover { background: rgba(255, 255, 255, .25); }
.lightbox button .i { width: 24px; height: 24px; }
.lb-close { top: 10px; right: 10px; }
.lb-prev { left: 10px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 10px; top: 50%; transform: translateY(-50%); }
@media (max-width: 699px) { .lb-prev, .lb-next { top: auto; bottom: 10px; transform: none; } }
.lb-count { position: absolute; top: 20px; left: 16px; margin: 0; font-size: .9rem; color: rgba(255, 255, 255, .7); }

@media print {
  .site-header, .visit-bar, .prev-next, .site-footer, .lightbox, .toc { display: none !important; }
  .hero { min-height: 0; color: var(--ink); background: none; } .hero-img, .hero::after { display: none; } .hero h1, .lead { color: var(--ink); text-shadow: none; }
}
