/* maximbonnefoy.fr — direction A « Le planning » (validée le 03/11/2026).
   Papier presque blanc, encre noire, filets fins, angles droits, une seule couleur : le bleu de Maxim (celui d’agencewebm.fr).
   Schibsted Grotesk (tout) + IBM Plex Mono (heures, durées, dates). Signatures : emploi du temps d'une journée de formation, sommaire à points de suite. Aucune carte arrondie, aucune ombre. */

@font-face { font-family: "Schibsted"; font-style: normal; font-weight: 400 900; font-display: swap; src: url("/assets/fonts/schibsted-grotesk-latin-wght-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Schibsted"; font-style: normal; font-weight: 400 900; font-display: swap; src: url("/assets/fonts/schibsted-grotesk-latin-ext-wght-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/ibm-plex-mono-latin-ext-500-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --paper: #fafaf7;
  --white: #ffffff;
  --ink: #111312;
  --ink-2: #33372f;
  --text: #3d413d;
  --grey: #686d69;
  --line: #d8d9d3;
  --line-ink: rgba(250, 250, 247, .18);
  --blue: #0647ed;
  --blue-light: #8fadff;
  --sans: "Schibsted", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --container: 1240px;
  --gutter: 20px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--text); font-family: var(--sans); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; -webkit-text-fill-color: currentColor; cursor: pointer; }
h1, h2, h3 { margin: 0; color: var(--ink); font-weight: 700; letter-spacing: -.035em; line-height: 1.04; overflow-wrap: break-word; text-wrap: pretty; }
p { margin: 0 0 1em; }
em { font-style: normal; }
.mono { font-family: var(--mono); font-weight: 500; letter-spacing: -.01em; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 300; padding: .6rem 1rem; background: var(--ink); color: var(--paper); }
.skip-link:focus { top: 1rem; }
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }

h1 em { color: var(--blue); }

/* ---------- boutons : rectangles, angles droits */
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 19px; border: 1.5px solid var(--ink); font-family: var(--sans); font-size: 15px; font-weight: 600; line-height: 1.2; white-space: nowrap; transition: background-color .25s, color .25s, border-color .25s; }
.button > span[aria-hidden] { transition: transform .3s var(--ease); }
.button:hover > span[aria-hidden] { transform: translateX(3px); }
.button-large { padding: 15px 22px; font-size: 16px; }
.button-primary { background: var(--ink); color: var(--white); }
.button-primary:hover { background: var(--blue); border-color: var(--blue); }
.button-line { background: transparent; color: var(--ink); }
.button-line:hover { background: var(--ink); color: var(--white); }
.button-light { background: var(--white); border-color: var(--white); color: var(--ink); }
.button-light:hover { background: var(--blue); border-color: var(--blue); color: var(--white); }
.button-link { padding: 4px 0; border: 0; border-bottom: 1.5px solid var(--blue); color: var(--ink); }
.button-link:hover { color: var(--blue); }

/* ---------- préloader (première visite seulement) */
.preloader { position: fixed; inset: 0; z-index: 250; display: grid; place-items: center; background: var(--paper); transition: opacity .3s ease, visibility .3s; animation: preloader-out .01s linear 3s forwards; } /* sans JavaScript, il s’efface seul à 3 s */
@keyframes preloader-out { to { opacity: 0; visibility: hidden; } }
.preloader-inner { display: flex; flex-direction: column; gap: 14px; text-align: center; }
.preloader-name { font-size: clamp(30px, 6vw, 48px); font-weight: 800; letter-spacing: -.04em; color: var(--ink); }
.preloader-role { margin-top: -8px; font-size: clamp(16px, 2.6vw, 20px); color: var(--ink-2); }
.preloader-bar { display: block; height: 3px; background: var(--blue); transform: scaleX(0); transform-origin: center; animation: load-bar 1.15s cubic-bezier(.65, 0, .35, 1) .1s forwards; }
@keyframes load-bar { to { transform: scaleX(1); } }
.preloader.is-done { opacity: 0; visibility: hidden; }
html.no-preloader .preloader { display: none; }

/* ---------- en-tête */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 34px; min-height: 72px; }
.brand { font-size: 19px; font-weight: 800; letter-spacing: -.035em; color: var(--ink); white-space: nowrap; }
.main-nav { margin-left: auto; }
.nav-links { display: flex; gap: 26px; }
.nav-link { position: relative; padding: 6px 0; font-size: 15px; color: var(--ink-2); }
.nav-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); }
.header-cta { padding: 11px 16px; font-size: 14.5px; }
.menu-toggle { display: none; width: 44px; height: 44px; margin-left: auto; border: 1.5px solid var(--ink); background: transparent; color: var(--ink); }
.menu-toggle-bars, .menu-toggle-bars::before, .menu-toggle-bars::after { display: block; width: 18px; height: 2px; margin: auto; background: currentColor; transition: transform .3s var(--ease), background-color .2s; }
.menu-toggle-bars { position: relative; }
.menu-toggle-bars::before, .menu-toggle-bars::after { content: ""; position: absolute; left: 0; }
.menu-toggle-bars::before { top: -6px; } .menu-toggle-bars::after { top: 6px; }
.menu-open .menu-toggle-bars { background: transparent; }
.menu-open .menu-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }
.mobile-menu { display: none; }

/* ---------- héros de l'accueil */
.hero { padding: 56px 0 72px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(280px, 5fr); gap: 56px; align-items: end; }
.hero h1 { font-size: clamp(44px, 6vw, 84px); }
.lead { max-width: 580px; margin: 28px 0 0; font-size: 19px; color: var(--ink-2); }
.lead + .lead { margin-top: 12px; }
.hero-photo { margin: 0; }
.hero-photo img { width: 100%; height: min(64svh, 600px); object-fit: cover; object-position: 50% 28%; }
.hero-photo figcaption { display: flex; justify-content: space-between; gap: 12px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--ink); font-size: 14px; color: var(--grey); }

/* ---------- sections */
.section { padding: 88px 0; }
.section-tight { padding: 56px 0; }
.section-rule { border-top: 1px solid var(--ink); }
.section-white { background: var(--white); }
.section-ink { background: var(--ink); color: #c6c9c4; }
.section-ink h2, .section-ink h3 { color: var(--paper); }
.section-title { font-size: clamp(30px, 3.6vw, 48px); }
.section-title.small { font-size: clamp(24px, 2.4vw, 32px); }
.section-head { max-width: 760px; margin-bottom: 44px; }
.section-intro { margin: 16px 0 0; max-width: 560px; color: var(--grey); }
.section-ink .section-intro { color: #a7aba5; }
.split-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 36px; }
.sticky-col { position: sticky; top: 104px; align-self: start; }

/* ---------- signature 2 : la journée de formation */
.day { padding: 64px 0 80px; border-top: 1px solid var(--ink); }
.day-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 40px; }
.day-head .section-title { max-width: 680px; }
.day-head .section-intro { margin: 0; max-width: 380px; }
.slots-wrap { position: relative; }
.now { position: absolute; z-index: 1; top: -2px; left: 0; width: 100%; height: 3px; background: var(--blue); transform-origin: left; transform: scaleX(var(--p, 0)); transition: transform .15s linear; }
.slots { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); grid-auto-flow: column; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.slot { padding: 22px 22px 28px; border-left: 1px solid var(--line); }
.slot:first-child { padding-left: 0; border-left: 0; }
.slot .mono { display: block; margin-bottom: 14px; font-size: 14px; color: var(--grey); transition: color .3s; }
.slot h3 { margin-bottom: 8px; font-size: 21px; letter-spacing: -.02em; line-height: 1.15; transition: color .3s; }
.slot p { margin: 0; font-size: 15px; color: var(--text); line-height: 1.5; }
.js .slot:not(.on) h3 { color: #a2a5a0; }
.slot.on .mono { color: var(--blue); }

/* ---------- deux publics */
.audience-grid { display: grid; grid-template-columns: 1fr 1fr; }
.audience { padding: 8px 48px 8px 0; }
.audience + .audience { padding: 8px 0 8px 48px; border-left: 1px solid var(--line); }
.audience h2 { margin-bottom: 16px; font-size: clamp(28px, 3vw, 40px); }
.audience p { max-width: 500px; }

/* ---------- tableaux (catalogue, villes, articles) */
.table { border-top: 1px solid var(--line); }
.table-head { display: grid; grid-template-columns: minmax(0, 1fr) 210px 28px; gap: 28px; padding-bottom: 10px; font-size: 12px; color: var(--grey); }
.trow { display: grid; grid-template-columns: minmax(0, 1fr) 210px 28px; gap: 28px; align-items: baseline; padding: 22px 0; border-bottom: 1px solid var(--line); }
.trow-date { grid-template-columns: 170px minmax(0, 1fr) 28px; }
.trow-main { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.trow-title { font-size: 22px; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; color: var(--ink); text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 2px; text-underline-offset: 5px; transition: text-decoration-color .25s; }
.trow-sub { font-size: 15px; color: var(--grey); }
.trow-meta { font-size: 13.5px; color: var(--ink-2); }
.trow-arrow { color: var(--blue); font-weight: 700; transition: transform .3s var(--ease); }
.trow:hover .trow-title { text-decoration-color: var(--blue); }
.trow:hover .trow-arrow { transform: translateX(4px); }

/* ---------- signature 3 : le sommaire des formations gratuites */
.toc { columns: 2; column-gap: 64px; }
.toc-row { break-inside: avoid; display: flex; align-items: baseline; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.toc-k { flex: none; width: 30px; font-size: 12.5px; color: var(--blue); }
.toc-t { display: flex; flex-direction: column; font-weight: 600; letter-spacing: -.01em; color: var(--ink); line-height: 1.35; }
.toc-theme { font-size: 13px; font-weight: 400; color: var(--grey); letter-spacing: 0; }
.toc-dots { flex: 1; min-width: 18px; border-bottom: 1.5px dotted #b5b8b2; transform: translateY(-5px); }
.toc-d { flex: none; font-size: 13px; color: var(--grey); white-space: nowrap; }
.toc-row:hover .toc-t > span:first-child { text-decoration: underline; text-decoration-color: var(--blue); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.toc:not(.toc-all) .toc-theme { display: none; }
.filters { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-bottom: 28px; padding-bottom: 14px; border-bottom: 1px solid var(--ink); }
.filter { padding: 4px 0; border: 0; border-bottom: 1.5px solid transparent; background: none; color: var(--grey); font-size: 15px; transition: color .2s, border-color .2s; }
.filter:hover { color: var(--ink); }
.filter.is-active { color: var(--ink); border-color: var(--blue); }
.toc-row.is-filtered { display: none; }

/* ---------- avis */
.reviews-section { border-top: 1px solid var(--ink); }
.reviews-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.slider-arrows { display: flex; gap: 8px; }
.slider-arrow { width: 46px; height: 46px; border: 1.5px solid var(--ink); background: transparent; color: var(--ink); font-size: 17px; transition: background-color .25s, color .25s; }
.slider-arrow:hover { background: var(--ink); color: var(--white); }
.reviews-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc(100% / 3); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.reviews-track::-webkit-scrollbar { display: none; }
.review { display: flex; flex-direction: column; margin: 0; padding: 28px 28px 26px; border-left: 1px solid var(--line); scroll-snap-align: start; }
.review:first-child { border-left: 0; padding-left: 0; }
.review blockquote { margin: 0 0 22px; font-size: 18px; line-height: 1.5; color: var(--ink); letter-spacing: -.01em; }
.review figcaption { margin-top: auto; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.review-stars { margin-left: 6px; color: var(--blue); letter-spacing: .08em; font-size: 12px; }
.slider-progress { height: 2px; margin-top: -1px; background: transparent; }
.slider-progress span { display: block; height: 100%; background: var(--blue); transform-origin: left; transform: scaleX(.33); transition: transform .3s var(--ease); }
.reviews-source { margin: 16px 0 0; font-size: 14px; color: var(--grey); }

/* ---------- à propos (accueil), FAQ */
.about-grid, .faq-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; align-items: start; }
.about-text p { font-size: 18px; }
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item summary { position: relative; padding: 20px 40px 20px 0; list-style: none; cursor: pointer; font-size: 19px; font-weight: 600; letter-spacing: -.015em; color: var(--ink); line-height: 1.35; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 2px; top: 16px; font-family: var(--mono); font-size: 22px; color: var(--blue); transition: transform .3s var(--ease); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-answer { padding: 0 0 22px; max-width: 680px; }

/* ---------- bande de contact */
.contact-band { padding: 80px 0; background: var(--ink); color: #c6c9c4; }
.contact-band-inner { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(260px, .6fr); gap: 48px; align-items: end; }
.band-title { margin-bottom: 18px; font-size: clamp(30px, 4vw, 52px); color: var(--paper); }
.band-title span + br + span { color: var(--blue-light); }
.band-text { margin: 0; max-width: 560px; font-size: 18px; }
.band-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.band-direct { margin: 0; font-family: var(--mono); font-size: 14px; line-height: 1.9; }
.band-direct a { color: var(--paper); }
.band-direct a:hover { color: #8fadff; }

/* ---------- héros des pages intérieures */
.page-hero { padding: 64px 0 64px; border-bottom: 1px solid var(--ink); }
.page-hero h1 { max-width: 1000px; font-size: clamp(38px, 5.2vw, 72px); }
.page-hero-compact { padding-bottom: 48px; }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr); gap: 56px; align-items: end; }
.facts-list { margin: 0; border-top: 1px solid var(--ink); }
.facts-list > div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts-list dt { font-size: 14px; font-weight: 700; color: var(--ink); padding-top: 1px; }
.facts-list dd { margin: 0; font-size: 15.5px; color: var(--ink-2); }
.about-photo { margin: 0; }
.about-photo img { width: 100%; height: min(60svh, 560px); object-fit: cover; object-position: 50% 28%; }
.back-link { display: table; margin-bottom: 26px; font-size: 14px; color: var(--grey); }
.back-link:hover { color: var(--blue); }
.entry-meta { margin: 0 0 18px; font-size: 15px; color: var(--grey); }
.entry-hero h1 { font-size: clamp(34px, 4.4vw, 60px); }
.entry-hero-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(280px, .6fr); gap: 56px; align-items: start; }

/* ---------- colonnes, listes techniques */
.cols { display: grid; gap: 0; }
.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.col { padding: 0 32px; border-left: 1px solid var(--line); }
.col:first-child { padding-left: 0; border-left: 0; }
.section-ink .col { border-color: var(--line-ink); }
.col h2, .col h3 { margin-bottom: 12px; font-size: 22px; letter-spacing: -.02em; line-height: 1.2; }
.col p { margin: 0; }
.spec { border-top: 1px solid var(--line); }
.section-ink .spec { border-color: var(--line-ink); }
.spec-row { display: grid; grid-template-columns: minmax(0, .9fr) 150px minmax(0, 1.4fr); gap: 28px; align-items: baseline; padding: 20px 0; border-bottom: 1px solid var(--line); }
.section-ink .spec-row { border-color: var(--line-ink); }
.spec-row-2 { grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); }
.spec-row h3 { font-size: 21px; letter-spacing: -.02em; line-height: 1.2; }
.spec-row .mono { font-size: 13.5px; color: var(--blue); }
.section-ink .spec-row .mono { color: #8fadff; }
.spec-row p { margin: 0; }
.formats-grid, .tracks-grid { display: grid; grid-template-columns: minmax(240px, .75fr) minmax(0, 1.25fr); gap: 64px; align-items: start; }
.path { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.path-item { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 28px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.path-item h3 { font-size: 20px; letter-spacing: -.02em; line-height: 1.2; }
.path-item p { margin: 0; }
.ticks { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.ticks li { position: relative; padding: 16px 0 16px 32px; border-bottom: 1px solid var(--line); font-size: 18px; color: var(--ink-2); }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 25px; width: 12px; height: 6px; border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(-45deg); }
.ticks.small li { padding: 10px 0 10px 26px; font-size: 15px; }
.ticks.small li::before { top: 17px; width: 10px; height: 5px; }
.modules { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); counter-reset: mod; }
.module { display: grid; grid-template-columns: 54px minmax(0, 1fr); column-gap: 8px; padding: 20px 0; border-bottom: 1px solid var(--line); counter-increment: mod; }
.module::before { content: counter(mod); grid-row: 1 / span 2; font-family: var(--mono); font-size: 14px; color: var(--blue); padding-top: 4px; }
.module h3 { margin-bottom: 6px; font-size: 20px; letter-spacing: -.02em; line-height: 1.2; }
.module p { margin: 0; }
.entry-grid { display: grid; grid-template-columns: minmax(200px, .55fr) minmax(0, 1.45fr); gap: 56px; align-items: start; }
.narrow-col { max-width: 780px; }

/* ---------- formation gratuite */
.lesson-grid { display: grid; grid-template-columns: minmax(220px, .5fr) minmax(0, 1.5fr); gap: 64px; align-items: start; }
.lesson-aside { position: sticky; top: 100px; }
.aside-title { margin-bottom: 10px; font-size: 15px; font-weight: 700; color: var(--ink); }
.download { display: flex; justify-content: space-between; gap: 12px; margin-top: 24px; padding: 14px 0; border-top: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); font-weight: 600; color: var(--ink); }
.download span[aria-hidden] { color: var(--blue); }
.download:hover { color: var(--blue); }
.lesson { max-width: 760px; }
.recap { margin: 0; padding: 0; list-style: none; counter-reset: rec; border-top: 1px solid var(--line-ink); }
.recap li { position: relative; padding: 16px 0 16px 46px; border-bottom: 1px solid var(--line-ink); font-size: 18px; color: var(--paper); counter-increment: rec; }
.recap li::before { content: counter(rec); position: absolute; left: 0; top: 19px; font-family: var(--mono); font-size: 13px; color: #8fadff; }
.aside-note { margin-top: 14px; color: var(--grey); }
.aside-note a { color: var(--ink); border-bottom: 1.5px solid var(--blue); }
.next-list { border-top: 1px solid var(--line); }
.next-row { display: grid; grid-template-columns: 190px minmax(0, 1fr) 24px; gap: 20px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--line); }
.next-row .mono { font-size: 12.5px; color: var(--grey); }
.next-title { font-weight: 600; color: var(--ink); }
.next-row:hover .next-title { text-decoration: underline; text-decoration-color: var(--blue); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.map-grid { display: grid; grid-template-columns: minmax(240px, .6fr) minmax(0, 1.4fr); gap: 56px; align-items: center; }
.map-frame { min-height: 320px; border: 1px solid var(--ink); background: var(--paper); }
.map-frame iframe { display: block; width: 100%; height: 380px; border: 0; }
.entry-card-data { display: none; }

/* ---------- texte riche */
:where(.prose) > :first-child { margin-top: 0; }
:where(.prose) > :last-child { margin-bottom: 0; }
.prose { color: var(--ink-2); font-size: 18px; line-height: 1.7; }
.prose p { margin: 0 0 1.1em; }
.prose h2 { margin: 2.3em 0 .7em; padding-top: .9em; border-top: 1px solid var(--line); font-size: clamp(24px, 2.6vw, 30px); line-height: 1.15; }
.prose h3 { margin: 1.8em 0 .5em; font-size: 20px; line-height: 1.25; }
.prose ul, .prose ol { margin: 0 0 1.2em; padding-left: 1.3em; }
.prose li { margin: .35em 0; padding-left: .2em; }
.prose li::marker { color: var(--blue); font-family: var(--mono); font-size: .85em; }
.prose strong { color: var(--ink); font-weight: 700; }
.prose a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--blue); text-underline-offset: .15em; }
.prose blockquote { margin: 1.4em 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--blue); color: var(--ink); font-size: 18px; }
.prose blockquote p:last-child { margin: 0; }
.prose img { margin: 1.5em 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: 15px; }
.prose th, .prose td { padding: 10px 8px; border-bottom: 1px solid var(--line); text-align: left; }
.faq-answer.prose { font-size: 16.5px; }
.legal .prose { max-width: 780px; }

/* ---------- formulaire */
.contact-grid { display: grid; grid-template-columns: minmax(240px, .65fr) minmax(0, 1.35fr); gap: 64px; align-items: start; }
.side-title { margin-bottom: 20px; font-size: 26px; }
.mini-steps { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.mini-steps li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.mini-steps .mono { display: block; font-size: 12.5px; color: var(--blue); margin-bottom: 4px; }
.mini-steps h3 { font-size: 18px; letter-spacing: -.015em; margin-bottom: 4px; }
.mini-steps p { margin: 0; font-size: 15px; }
.side-direct { margin-top: 28px; }
.side-direct p { margin: 0 0 4px; }
.side-direct a { font-family: var(--mono); color: var(--ink); }
.form-card { padding: 32px; background: var(--white); border: 1px solid var(--ink); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field-wide { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea { width: 100%; padding: 12px 13px; border: 1px solid var(--line); border-bottom: 1.5px solid var(--ink); border-radius: 0; background: var(--paper); color: var(--ink); font: inherit; font-size: 16px; transition: border-color .2s; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 18px) 55%, calc(100% - 13px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); }
.consent { display: flex; gap: 10px; align-items: flex-start; margin: 22px 0 8px; font-size: 15px; color: var(--ink-2); }
.consent input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--blue); flex: none; }
.privacy-note { margin-bottom: 22px; font-size: 13px; color: var(--grey); }
.thanks-dialog { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; background: rgba(17, 19, 18, .55); }
.thanks-box { width: min(100%, 440px); padding: 32px; background: var(--white); border-top: 4px solid var(--blue); text-align: center; }
.thanks-title { margin-bottom: 8px; font-size: 24px; font-weight: 700; letter-spacing: -.02em; color: var(--ink); line-height: 1.2; }

/* ---------- pied de page */
.site-footer { padding: 64px 0 28px; background: var(--paper); border-top: 1px solid var(--ink); font-size: 15px; }
.footer-top { display: grid; grid-template-columns: minmax(240px, 1.2fr) minmax(0, 1.6fr) minmax(200px, .8fr); gap: 48px; }
.footer-wordmark { margin-bottom: 12px; font-size: 24px; font-weight: 800; letter-spacing: -.035em; color: var(--ink); }
.footer-text { max-width: 340px; color: var(--grey); }
.footer-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.footer-title { margin-bottom: 12px; font-weight: 700; color: var(--ink); }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a, .footer-legal a, .footer-credit a { color: var(--ink-2); }
.footer-links a:hover, .footer-legal a:hover, .footer-credit a:hover { color: var(--blue); }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; margin-top: 48px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--grey); }
.footer-bottom p { margin: 0; }
.footer-legal { display: flex; gap: 20px; }
.footer-credit { margin-left: auto !important; }

/* ---------- apparition au défilement (contenu visible sans JS) */
.will-reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s var(--ease); }
.will-reveal.is-visible { opacity: 1; transform: none; }

/* ---------- responsive */
@media (max-width: 1100px) {
  .main-nav, .header-cta { display: none; }
  .menu-toggle { display: block; }
  .mobile-menu { position: fixed; inset: 72px 0 0; z-index: 99; display: flex; flex-direction: column; align-items: center; gap: 28px; padding: 40px var(--gutter); background: var(--paper); overflow-y: auto; opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
  .menu-open .mobile-menu { opacity: 1; visibility: visible; }
  .mobile-menu-links { display: flex; flex-direction: column; align-items: center; gap: 14px; }
  .mobile-menu-links a { font-size: 28px; font-weight: 700; letter-spacing: -.03em; color: var(--ink); }
  .mobile-menu-contact a { font-family: var(--mono); color: var(--ink-2); }
}
@media (max-width: 1023px) {
  .hero-grid, .page-hero-grid, .entry-hero-grid, .about-grid, .faq-grid, .contact-band-inner, .formats-grid, .tracks-grid, .entry-grid, .lesson-grid, .map-grid, .contact-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .sticky-col, .lesson-aside { position: static; }
  .day-head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .slots { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .slot { border-top: 1px solid var(--line); }
  .slot:nth-child(-n+3) { border-top: 0; }
  .slot:nth-child(3n+1) { padding-left: 0; border-left: 0; }
  .cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
  .cols-4 .col:nth-child(3) { padding-left: 0; border-left: 0; }
  .reviews-track { grid-auto-columns: 50%; }
  .footer-top { grid-template-columns: 1fr; text-align: center; }
  .footer-text { margin-inline: auto; }
  .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-links { align-items: center; }
  .footer-bottom { justify-content: center; text-align: center; }
  .footer-credit { margin-left: 0 !important; }
}
@media (max-width: 780px) {
  :root { --gutter: 16px; }
  body { font-size: 16.5px; }
  .section { padding: 64px 0; }
  .section-tight { padding: 44px 0; }
  .hero { padding: 36px 0 56px; }
  .hero-photo img { height: 58svh; }
  .lead { font-size: 17.5px; }
  .slots { grid-template-columns: 1fr; border-top: 0; border-left: 1px solid var(--line); margin-left: 6px; }
  .slot, .slot:first-child, .slot:nth-child(3n+1) { padding: 18px 0 18px 22px; border-left: 0; border-top: 0; border-bottom: 1px solid var(--line); }
  .now { top: 0; left: 4px; width: 3px; height: 100%; transform-origin: top; transform: scaleY(var(--p, 0)); }
  .audience-grid, .cols-3, .cols-4 { grid-template-columns: 1fr; }
  .audience, .audience + .audience { padding: 28px 0; border-left: 0; border-top: 1px solid var(--line); }
  .col, .col:first-child, .cols-4 .col:nth-child(3) { padding: 22px 0; border-left: 0; border-top: 1px solid var(--line); }
  .section-ink .col { border-color: var(--line-ink); }
  .trow, .trow-date { grid-template-columns: minmax(0, 1fr) 20px; gap: 8px 14px; }
  .trow-date .trow-meta { grid-row: 1; grid-column: 1; }
  .trow .trow-meta { grid-column: 1; }
  .trow-arrow { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
  .trow-date .trow-arrow { grid-row: 1 / span 2; }
  .table-head { display: none; }
  .trow-title { font-size: 19px; }
  .toc { columns: 1; }
  .filters { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); }
  .filters::-webkit-scrollbar { display: none; }
  .filter { flex: none; }
  .spec-row, .spec-row-2, .path-item { grid-template-columns: 1fr; gap: 6px; }
  .reviews-track { grid-auto-columns: 88%; }
  .review, .review:first-child { padding: 24px 20px 22px 0; }
  .review + .review { padding-left: 20px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-card { padding: 22px; }
  .next-row { grid-template-columns: minmax(0, 1fr) 20px; gap: 4px 12px; }
  .next-row .mono { grid-column: 1; }
  .next-row .trow-arrow { grid-column: 2; grid-row: 1 / span 2; }
  .footer-cols { grid-template-columns: 1fr; }
  /* centrage mobile (règle de Maxim) */
  .hero-copy, .page-hero .container > div:first-child, .page-hero > .container, .section-head, .day-head, .split-head, .reviews-head, .about-grid, .faq-head, .contact-band-inner, .audience, .col, .side-title, .map-grid > div:first-child, .thanks-box, .entry-grid > .section-title, .entry-grid > div:first-child { text-align: center; }
  .day-head, .split-head, .reviews-head { flex-direction: column; align-items: center; }
  .lead, .section-intro, .band-text, .audience p { margin-inline: auto; }
  .actions, .band-actions { justify-content: center; align-items: center; }
  .back-link { margin-inline: auto; }
  .hero .actions, .page-hero .actions { flex-wrap: nowrap; }
  .actions .button-large { padding: 14px 13px; font-size: 14px; }
  .facts-list > div { grid-template-columns: 96px minmax(0, 1fr); }
  .lesson-aside { padding-bottom: 8px; border-bottom: 1px solid var(--line); }
}
@media (max-width: 400px) {
  .actions .button-large > span[aria-hidden] { display: none; }
  .actions .button-large { padding: 13px 11px; font-size: 13.5px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
  .will-reveal { opacity: 1; transform: none; }
}
@media (max-width: 340px) { .hero .actions, .page-hero .actions { flex-wrap: wrap; } }

