/* ============================================================
   CRISALIDA — styles des pages
   ============================================================ */

/* ============================================================ ACCUEIL — HERO */
.hero { position: relative; background: var(--charcoal); color: #fff; overflow: hidden; min-height: 620px; display: flex; align-items: center; isolation: isolate; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; filter: brightness(.6); }
.hero-overlay { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20, 22, 27, .70) 0%, rgba(20, 22, 27, .82) 100%), radial-gradient(800px 400px at 50% 110%, rgba(192, 32, 58, .35), transparent 70%); }
.hero-inner { position: relative; text-align: center; max-width: 900px; margin: 0 auto; padding-top: 96px; padding-bottom: 90px; }
.hero-kicker { display: inline-flex; align-items: center; gap: 9px; padding: 7px 15px; border-radius: var(--r-pill); background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); font-family: var(--font-head); font-weight: 600; font-size: 12.5px; letter-spacing: .04em; color: #fff; margin-bottom: 22px; }
.hero-kicker .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 4px rgba(232, 83, 106, .25); }
.hero h1 { font-size: clamp(34px, 4.6vw, 58px); font-weight: 700; color: #fff; margin: 0 0 18px; letter-spacing: -.02em; }
.hero h1 em { font-style: normal; color: var(--coral-light); }
.hero-sub { font-size: 18px; color: #d2d5dd; max-width: 620px; margin: 0 auto; }

.hero-search { position: relative; margin: 34px auto 0; background: var(--surface); border-radius: var(--r-lg); box-shadow: 0 24px 60px rgba(0, 0, 0, .4); padding: 11px; max-width: 680px; text-align: left; }
.search-tabs { display: flex; gap: 4px; padding: 4px 4px 10px; }
.search-tab { font-family: var(--font-head); font-weight: 700; font-size: 13px; color: var(--slate); padding: 8px 14px; border-radius: var(--r-sm); transition: all .15s; }
.search-tab:hover { color: var(--ink); }
.search-tab.is-active { background: var(--mist); color: var(--crimson); }
.search-row { display: flex; gap: 8px; }
.search-field { flex: 1; display: flex; align-items: center; gap: 10px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: var(--r-sm); background: var(--field-bg); }
.search-field:focus-within { border-color: var(--crimson); box-shadow: 0 0 0 4px rgba(192, 32, 58, .1); }
.search-field svg { width: 18px; height: 18px; color: var(--slate); }
.search-field input { border: none; outline: none; padding: 14px 0; font-size: 15px; width: 100%; color: var(--ink); background: transparent; }
.search-go { background: var(--grad-solid); color: #fff; padding: 0 22px; border-radius: var(--r-sm); font-family: var(--font-head); font-weight: 700; font-size: 14px; display: inline-flex; align-items: center; gap: 8px; transition: box-shadow .2s; }
.search-go:hover { box-shadow: var(--sh-crimson); }
.search-go svg { width: 17px; height: 17px; }
.ac-panel { position: absolute; left: 11px; right: 11px; top: calc(100% - 4px); background: var(--surface); border: 1px solid var(--line); border-radius: 0 0 var(--r-md) var(--r-md); box-shadow: var(--sh-xl); padding: 8px; z-index: 5; max-height: 380px; overflow-y: auto; }
.ac-panel .so-item { color: var(--ink); }
.ac-all { display: flex; justify-content: center; padding: 10px; font-family: var(--font-head); font-weight: 700; font-size: 13.5px; color: var(--crimson); border-top: 1px solid var(--line-soft); margin-top: 6px; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; align-items: center; justify-content: center; }
.hero-chips .lbl { font-size: 13px; color: #aeb2be; margin-right: 2px; }
.hero-chip { font-size: 13px; font-weight: 600; color: #e8eaef; padding: 6px 13px; border-radius: var(--r-pill); border: 1px solid rgba(255, 255, 255, .2); transition: all .15s; white-space: nowrap; }
.hero-chip:hover { background: #fff; color: #1d1f26; border-color: #fff; }
.hero-assurances { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 26px; margin-top: 34px; font-size: 13.5px; color: #c9cdd6; }
.hero-assurances span { display: inline-flex; align-items: center; gap: 8px; }
.hero-assurances svg { width: 16px; height: 16px; color: var(--coral-light); }

/* bande de confiance */
.trust { background: var(--charcoal-2); border-top: 1px solid rgba(255, 255, 255, .06); }
.trust .wrap { display: flex; align-items: center; gap: 40px; min-height: 84px; overflow: hidden; }
.trust-lbl { font-family: var(--font-head); font-weight: 700; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #8a8f9c; white-space: nowrap; }
.trust-logos { display: flex; align-items: center; gap: 42px; flex: 1; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.trust-track { display: flex; gap: 52px; animation: marquee 32s linear infinite; }
.trust-logos .tlogo { color: #9aa0ac; font-family: var(--font-head); font-weight: 800; letter-spacing: .04em; font-size: 17px; opacity: .8; white-space: nowrap; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* domaines */
.domains { background: var(--section-alt); }
.dom-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.dom-card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; transition: transform .25s var(--ease), box-shadow .25s ease, border-color .25s ease; }
.dom-card:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); border-color: rgba(192, 32, 58, .3); }
.dom-thumb { position: relative; aspect-ratio: 16 / 7; overflow: hidden; background: var(--charcoal); }
.dom-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease, filter .35s; filter: brightness(.88); }
.dom-card:hover .dom-thumb img { transform: scale(1.07); filter: brightness(1); }
.dom-thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(29, 31, 38, .65) 100%); }
.dom-body { padding: 22px 24px; display: flex; flex-direction: column; flex: 1; }
.dom-ic { width: 44px; height: 44px; border-radius: 12px; background: var(--d-bg); color: var(--d); display: grid; place-items: center; margin: -44px 0 14px; position: relative; z-index: 1; box-shadow: 0 6px 16px rgba(28, 31, 38, .14); border: 3px solid var(--surface); transition: all .25s; }
.dom-ic svg { width: 22px; height: 22px; }
.dom-card:hover .dom-ic { background: var(--grad-solid); color: #fff; }
.dom-card h3 { font-size: 19px; font-weight: 700; margin-bottom: 7px; }
.dom-card h3 a::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.dom-card p { font-size: 14px; color: var(--slate); margin-bottom: 16px; flex: 1; line-height: 1.5; }
.dom-meta { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; border-top: 1px solid var(--line-soft); margin-top: auto; }
.dom-count { font-size: 13px; color: var(--slate-light); font-weight: 600; }
.dom-count b { color: var(--ink); font-family: var(--font-head); }
.dom-card .go { color: var(--crimson); display: inline-flex; transition: transform .2s ease; }
.dom-card .go svg { width: 18px; height: 18px; }
.dom-card:hover .go { transform: translateX(4px); }
.dom-card.featured { background: var(--charcoal); border-color: var(--charcoal); }
.dom-card.featured::after { content: ""; position: absolute; inset: 0; background: radial-gradient(360px 240px at 100% 0%, rgba(192, 32, 58, .5), transparent 60%); pointer-events: none; }
.dom-card.featured h3 { color: #fff; }
.dom-card.featured p { color: #c2c6d0; }
.dom-card.featured .dom-ic { border-color: var(--charcoal); background: var(--grad-solid); color: #fff; }
.dom-card.featured .dom-meta { border-color: rgba(255, 255, 255, .12); }
.dom-card.featured .dom-count { color: #aab0bd; }
.dom-card.featured .dom-count b { color: #fff; }
.dom-tag { position: absolute; top: 14px; right: 14px; z-index: 3; font-family: var(--font-head); font-weight: 700; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; background: var(--coral); color: #fff; padding: 4px 10px; border-radius: var(--r-pill); box-shadow: 0 4px 12px rgba(232, 83, 106, .4); }
.dom-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.dom-chips span { font-size: 11.5px; font-weight: 700; color: var(--slate); background: var(--mist); border-radius: var(--r-pill); padding: 3px 9px; }
.dom-card.featured .dom-chips span { background: rgba(255, 255, 255, .08); color: #d5d8df; }

/* chiffres */
.stats { background: var(--charcoal); color: #fff; position: relative; overflow: hidden; }
.stats::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 300px at 50% -40%, rgba(192, 32, 58, .32), transparent 60%); }
.stats .wrap { position: relative; }
.stats-grid { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; gap: 24px; }
.stat { text-align: center; padding: 12px; }
.stat .num { font-family: var(--font-head); font-weight: 800; font-size: clamp(38px, 4.6vw, 56px); color: #fff; line-height: 1; letter-spacing: -.02em; }
.stat .num span { color: var(--coral-light); }
.stat .lbl { font-size: 14px; color: #b9bdc8; margin-top: 12px; font-weight: 600; }
.stats-divider { width: 1px; background: rgba(255, 255, 255, .1); }

/* carrousel */
.carousel { position: relative; }
.carousel-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 60px) / 4); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 6px 2px 18px; scrollbar-width: none; }
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track > * { scroll-snap-align: start; }
.carousel-nav { display: flex; gap: 8px; }
.carousel-nav button { width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--surface); display: grid; place-items: center; color: var(--text-strong); transition: all .15s; }
.carousel-nav button:hover:not([disabled]) { border-color: var(--crimson); color: var(--crimson); }
.carousel-nav button[disabled] { opacity: .35; cursor: default; }
.carousel-nav svg { width: 18px; height: 18px; }

/* offres */
.offer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.offer-card { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px; transition: all .2s; display: flex; flex-direction: column; background: var(--surface); }
.offer-card:hover { box-shadow: var(--sh-lg); transform: translateY(-3px); }
.offer-num { font-family: var(--font-head); font-weight: 800; font-size: 15px; color: var(--crimson); margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.offer-num::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.offer-card h3 { font-size: 22px; font-weight: 800; margin-bottom: 10px; }
.offer-card > p { color: var(--slate); font-size: 15px; margin-bottom: 20px; }
.offer-card .check-list { margin-bottom: 24px; flex: 1; }
.offer-card .check-list li { font-size: 14.5px; }
.offer-card .btn { align-self: flex-start; }

/* projecteur IA */
.spotlight { background: var(--charcoal); color: #fff; position: relative; overflow: hidden; }
.spotlight::before { content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: 55%; background: radial-gradient(540px 420px at 80% 50%, rgba(192, 32, 58, .45), transparent 62%); }
.spot-inner { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.spot-copy h2 { font-size: clamp(30px, 3.8vw, 46px); font-weight: 800; color: #fff; margin: 16px 0; }
.spot-copy > p { color: #c5c9d3; font-size: 17px; max-width: 500px; margin-bottom: 26px; }
.spot-feats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 30px; }
.spot-feat { display: flex; gap: 12px; }
.spot-feat .sf-ic { flex: 0 0 40px; height: 40px; border-radius: 10px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .1); display: grid; place-items: center; color: var(--coral-light); }
.spot-feat .sf-ic svg { width: 20px; height: 20px; }
.spot-feat h4 { font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 2px; }
.spot-feat p { font-size: 13px; color: #aab0bd; }
.spot-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.spot-card { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--r-xl); padding: 8px; }
.media-ph { position: relative; aspect-ratio: 4 / 3.6; border-radius: calc(var(--r-xl) - 6px); overflow: hidden; background: #24262d; }
.media-ph video, .media-ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.media-ph video { filter: brightness(.8); }
.spot-float { position: absolute; left: -22px; bottom: 30px; background: var(--surface); color: var(--ink); border-radius: var(--r-lg); box-shadow: var(--sh-xl); padding: 16px 18px; display: flex; gap: 14px; align-items: center; max-width: 300px; }
.spot-float .sfl-ic { width: 42px; height: 42px; border-radius: 11px; background: var(--grad-solid); color: #fff; display: grid; place-items: center; flex: 0 0 auto; }
.spot-float .sfl-ic svg { width: 21px; height: 21px; }
.spot-float b { display: block; font-family: var(--font-head); font-size: 14px; }
.spot-float span { font-size: 12.5px; color: var(--slate); }
.spot-visual { position: relative; }

/* sessions (accueil) */
.sess-filters { display: flex; gap: 8px; flex-wrap: wrap; }
.sess-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.sess-card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px 22px; display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center; transition: all .2s; }
.sess-card:hover { box-shadow: var(--sh-md); border-color: transparent; }
.sess-date { text-align: center; background: var(--mist); border-radius: var(--r-md); padding: 12px 14px; min-width: 76px; }
.sess-date .d { font-family: var(--font-head); font-weight: 800; font-size: 24px; color: var(--crimson); line-height: 1; }
.sess-date .m { font-size: 12px; font-weight: 700; text-transform: uppercase; color: var(--slate); letter-spacing: .06em; margin-top: 4px; }
.sess-body .dtag { font-size: 11px; }
.sess-body h4 { font-size: 16px; font-weight: 700; margin: 5px 0 8px; line-height: 1.3; }
.sess-body h4 a::after { content: ""; position: absolute; inset: 0; }
.sess-card:hover h4 { color: var(--crimson); }
.sess-attrs { display: flex; gap: 8px 16px; flex-wrap: wrap; align-items: center; }
.sess-attr { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--slate); font-weight: 600; }
.sess-attr svg { width: 14px; height: 14px; color: var(--slate-light); }
.sess-cta { text-align: right; }
.sess-price { font-family: var(--font-head); font-weight: 800; font-size: 18px; color: var(--ink); white-space: nowrap; }
.sess-price span { font-size: 12px; color: var(--slate-light); font-weight: 600; }
.sess-cta .link-btn { margin-top: 6px; font-size: 12.5px; }

/* pourquoi nous */
.why-inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: center; }
.why-visual { position: relative; }
.why-visual .media-ph { aspect-ratio: 1 / 1; border-radius: var(--r-xl); }
.why-badge { position: absolute; right: -18px; bottom: 34px; background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--sh-xl); padding: 16px 20px; display: flex; align-items: center; gap: 14px; }
.why-badge b { font-family: var(--font-head); font-size: 28px; font-weight: 800; color: var(--crimson); line-height: 1; }
.why-badge span { font-size: 12.5px; color: var(--slate); font-weight: 600; line-height: 1.3; }
.why-list { display: grid; gap: 14px; }
.why-item { display: flex; gap: 18px; padding: 20px; border-radius: var(--r-lg); border: 1px solid transparent; transition: all .2s; }
.why-item:hover { background: var(--mist); border-color: var(--line); }
.why-item .wi-ic { flex: 0 0 52px; height: 52px; border-radius: 13px; background: var(--grad-solid); color: #fff; display: grid; place-items: center; box-shadow: var(--sh-crimson); }
.why-item .wi-ic svg { width: 24px; height: 24px; }
.why-item h4 { font-size: 18px; font-weight: 700; margin-bottom: 5px; }
.why-item p { font-size: 14.5px; color: var(--slate); }

/* centres */
.centres { background: var(--charcoal); color: #fff; position: relative; overflow: hidden; }
.centres .section-head h2 { color: #fff; }
.centres .section-head p { color: #b9bdc8; }
.centres-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; }
.map-wrap { position: relative; aspect-ratio: 5 / 4.4; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--r-xl); overflow: hidden; }
/* Cadre carré centré : le tracé (viewBox 300 × 300) et les repères partagent les mêmes coordonnées en % */
.map-canvas { position: absolute; top: 24px; bottom: 24px; left: 50%; transform: translateX(-50%); aspect-ratio: 1; }
.map-canvas svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.map-pin { position: absolute; width: 14px; height: 14px; border-radius: 50%; background: var(--coral); border: 2.5px solid #fff; transform: translate(-50%, -50%); }
.map-pin::after { content: attr(data-city); position: absolute; left: 50%; top: -30px; transform: translateX(-50%); font-size: 11px; font-weight: 700; font-family: var(--font-head); color: #fff; background: rgba(0, 0, 0, .55); padding: 3px 8px; border-radius: 5px; white-space: nowrap; opacity: 0; transition: opacity .15s; pointer-events: none; }
.map-pin:hover::after, .map-pin.is-main::after { opacity: 1; }
.map-pin.is-main { width: 18px; height: 18px; background: var(--crimson); }
.map-pin::before { content: ""; position: absolute; inset: -2.5px; border-radius: 50%; border: 2px solid rgba(232, 83, 106, .6); pointer-events: none; animation: pin-ring 2.4s ease-out infinite; }
.map-pin:nth-child(3)::before { animation-delay: .4s; } .map-pin:nth-child(4)::before { animation-delay: .8s; } .map-pin:nth-child(5)::before { animation-delay: 1.2s; }
@keyframes pin-ring { from { transform: scale(1); opacity: .9; } to { transform: scale(2.6); opacity: 0; } }
.centres-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 26px; }
.centre-item { display: flex; align-items: center; gap: 10px; padding: 13px 15px; border-radius: var(--r-md); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); }
.centre-item svg { width: 16px; height: 16px; color: var(--coral-light); }
.centre-item b { font-family: var(--font-head); font-size: 14.5px; }
.centre-item span { display: block; font-size: 12px; color: #a4aab6; }

/* témoignages */
.testi { background: var(--section-alt); }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.testi-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; display: flex; flex-direction: column; }
.testi-stars { color: #f6a609; font-size: 15px; letter-spacing: 2px; margin-bottom: 14px; }
.testi-card blockquote { font-size: 15.5px; color: var(--text-strong); line-height: 1.6; margin: 0 0 22px; flex: 1; }
.testi-who { display: flex; align-items: center; gap: 13px; }
.testi-av { width: 46px; height: 46px; border-radius: 50%; background: var(--grad-solid); color: #fff; display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; font-size: 16px; }
.tw-name { font-family: var(--font-head); font-weight: 700; font-size: 14.5px; }
.tw-role { font-size: 12.5px; color: var(--slate); }

/* actualités */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.news-card { position: relative; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--surface); transition: transform .25s var(--ease), box-shadow .25s ease; display: flex; flex-direction: column; }
.news-card:hover { box-shadow: var(--sh-lg); transform: translateY(-5px); }
.news-thumb { aspect-ratio: 16 / 9; background: var(--charcoal); overflow: hidden; position: relative; }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; filter: brightness(.92); }
.news-card:hover .news-thumb img { transform: scale(1.06); filter: brightness(1); }
.news-cat { position: absolute; top: 14px; left: 14px; z-index: 2; font-family: var(--font-head); font-weight: 700; font-size: 11px; letter-spacing: .05em; text-transform: uppercase; background: rgba(255, 255, 255, .94); color: #b01c35; padding: 5px 12px; border-radius: var(--r-pill); box-shadow: var(--sh-sm); }
.news-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.news-date { font-size: 12.5px; color: var(--slate-light); font-weight: 600; margin-bottom: 9px; }
.news-body h3 { font-size: 17.5px; font-weight: 700; line-height: 1.3; margin-bottom: 10px; }
.news-body h3 a::after { content: ""; position: absolute; inset: 0; }
.news-body p { font-size: 14px; color: var(--slate); margin-bottom: 14px; }
.news-body .link-arrow { margin-top: auto; font-size: 13.5px; }

/* histoire */
.heritage-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.heritage-figure { position: relative; padding-left: 40px; }
.heritage-figure::before { content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 4px; border-radius: 4px; background: var(--grad-solid); }
.big-year { font-family: var(--font-head); font-weight: 800; font-size: clamp(80px, 12vw, 150px); line-height: .9; background: var(--grad-solid); -webkit-background-clip: text; background-clip: text; color: transparent; letter-spacing: -.03em; }
.big-year small { display: block; font-size: 18px; color: var(--text-strong); -webkit-text-fill-color: var(--text-strong); font-weight: 700; letter-spacing: 0; margin-top: 8px; }
.heritage h2 { font-size: clamp(28px, 3.4vw, 42px); font-weight: 800; margin: 14px 0 16px; }
.heritage p { color: var(--slate); font-size: 16px; margin-bottom: 16px; }
.heritage-mini { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 28px; }
.hm-num { font-family: var(--font-head); font-weight: 800; font-size: 28px; color: var(--crimson); }
.hm-lbl { font-size: 13px; color: var(--slate); font-weight: 600; }

/* contact */
.cta { background: var(--charcoal); color: #fff; position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(620px 420px at 85% 120%, rgba(192, 32, 58, .5), transparent 60%), radial-gradient(420px 320px at 10% -20%, rgba(232, 83, 106, .28), transparent 60%); }
.cta-inner { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 50px; align-items: center; }
.cta h2 { font-size: clamp(30px, 4vw, 50px); font-weight: 800; color: #fff; margin: 14px 0 16px; }
.cta-copy > p { color: #c5c9d3; font-size: 18px; max-width: 500px; }
.cta-actions { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.cta-card { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--r-xl); padding: 30px; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.cta-card h3 { font-size: 20px; color: #fff; margin-bottom: 18px; }
.cta-form { display: grid; gap: 12px; }
.cta-form .input, .cta-form .textarea, .cta-form .select { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .15); color: #fff; }
.cta-form .select { background-color: rgba(255, 255, 255, .06); }
.cta-form .select option { color: var(--ink); }
.cta-form .input::placeholder, .cta-form .textarea::placeholder { color: #9aa0ac; }
.cta-form .input:focus, .cta-form .textarea:focus, .cta-form .select:focus { border-color: var(--coral); box-shadow: 0 0 0 4px rgba(232, 83, 106, .16); }
.cta-form .check { color: #c5c9d3; font-size: 12.5px; }
.cta-form .check input { background: transparent; border-color: rgba(255, 255, 255, .35); }
.cta-form .check a { color: var(--coral-light); }
.cta-form .field-error { color: #ff9aa8; }

/* ============================================================ CATALOGUE */
.cat-hero .page-hero-inner { padding-bottom: 44px; }
.cat-search { display: flex; gap: 10px; margin-top: 26px; max-width: 760px; }
.cat-search .search-field { border-color: transparent; box-shadow: var(--sh-lg); }
.cat-search .search-field input { font-size: 15.5px; }
.cat-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 32px; align-items: start; padding-top: 36px; padding-bottom: 80px; }
.filters { position: sticky; top: calc(var(--header-h) + 18px); max-height: calc(var(--screen-h) - var(--header-h) - 36px); overflow-y: auto; scrollbar-width: thin; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.filters-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: var(--surface); z-index: 1; }
.filters-head h2 { font-size: 16px; font-weight: 800; display: flex; align-items: center; gap: 8px; }
.filters-head h2 svg { width: 17px; height: 17px; color: var(--crimson); }
.fgroup { border-bottom: 1px solid var(--line-soft); }
.fgroup:last-child { border-bottom: none; }
.fgroup summary { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; cursor: pointer; list-style: none; font-family: var(--font-head); font-weight: 700; font-size: 14px; }
.fgroup summary::-webkit-details-marker { display: none; }
.fgroup summary svg { width: 15px; height: 15px; color: var(--slate-light); transition: transform .2s; }
.fgroup[open] summary svg { transform: rotate(180deg); }
.fgroup-body { padding: 0 18px 16px; display: grid; gap: 9px; }
.fopt { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text-strong); cursor: pointer; }
.fopt .check { flex: 1; font-size: 14px; align-items: center; }
.fopt .fcount { font-size: 12px; font-weight: 700; color: var(--slate-light); background: var(--mist); border-radius: var(--r-pill); padding: 1px 8px; min-width: 26px; text-align: center; }
.fopt.is-empty { opacity: .45; }
.fopt .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--d); flex: 0 0 auto; }
.price-range { display: grid; gap: 10px; }
.price-range input[type="range"] { width: 100%; accent-color: var(--crimson); }
.price-range .pr-vals { display: flex; justify-content: space-between; font-size: 13px; font-weight: 700; color: var(--text-strong); }
.toggle { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 14px; cursor: pointer; }
.toggle input { appearance: none; -webkit-appearance: none; width: 40px; height: 23px; border-radius: 23px; background: var(--line-strong); position: relative; cursor: pointer; transition: background .2s; flex: 0 0 auto; }
.toggle input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 17px; height: 17px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); transition: transform .2s var(--ease); }
.toggle input:checked { background: var(--crimson); }
.toggle input:checked::after { transform: translateX(17px); }

.results-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; }
.results-count { font-size: 15px; color: var(--slate); }
.results-count b { font-family: var(--font-head); font-size: 18px; color: var(--ink); }
.results-tools { display: flex; align-items: center; gap: 10px; }
.results-tools .select { width: auto; padding-top: 9px; padding-bottom: 9px; font-size: 14px; }
.view-toggle { display: inline-flex; border: 1.5px solid var(--line); border-radius: var(--r-sm); overflow: hidden; }
.view-toggle button { width: 40px; height: 38px; display: grid; place-items: center; color: var(--slate-light); }
.view-toggle button svg { width: 17px; height: 17px; }
.view-toggle button[aria-pressed="true"] { background: var(--inverse-bg); color: var(--inverse-fg); }
.filters-open { display: none; }
.active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; align-items: center; }
.active-filters .chip { background: var(--crimson-50); border-color: transparent; color: var(--crimson-dark); }
.active-filters .chip:hover { background: var(--crimson-100); }
.results-list { display: grid; gap: 14px; }
.results-list.is-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.results-list.is-grid .crow { grid-template-columns: 1fr; gap: 16px; padding: 22px 22px 22px 26px; }
.results-list.is-grid .crow-side { padding-left: 0; border-left: none; border-top: 1px solid var(--line-soft); padding-top: 14px; display: grid; grid-template-columns: 1fr auto; align-items: center; }
.results-list.is-grid .crow-actions { grid-column: 1 / -1; }
.results-list.is-grid .crow-meta li:nth-child(n+3) { display: none; }
.results-help { margin-top: 30px; }

/* ============================================================ DOMAINE */
.dom-hero { min-height: 380px; }
.dom-hero .ph-bg { opacity: .22; }
.dom-hero-ic { width: 60px; height: 60px; border-radius: 16px; background: var(--grad-solid); color: #fff; display: grid; place-items: center; box-shadow: var(--sh-crimson); margin-bottom: 18px; }
.dom-hero-ic svg { width: 30px; height: 30px; }
.fw-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.path { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 30px; }
.path-head { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 22px; }
.path-head h2 { font-size: 24px; font-weight: 800; margin-bottom: 6px; }
.path-head p { color: var(--slate); max-width: 680px; font-size: 15px; }
.path-steps { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 0; position: relative; }
.path-step { position: relative; padding: 0 16px; }
.path-step:first-child { padding-left: 0; }
.path-step:last-child { padding-right: 0; }
.path-step-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.path-step-num { width: 34px; height: 34px; border-radius: 50%; background: var(--inverse-bg); color: var(--inverse-fg); display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; font-size: 14px; flex: 0 0 auto; position: relative; z-index: 1; }
.path-steps:not(.parallel) .path-step:not(:last-child) .path-step-head::after { content: ""; flex: 1; height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 6px, transparent 6px 11px); margin-right: -16px; }
.path-step-label { font-family: var(--font-head); font-weight: 700; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--crimson); }
.path-step h3 { font-size: 15px; font-weight: 700; margin-bottom: 10px; color: var(--slate); }
.path-courses { display: grid; gap: 8px; }
.path-course { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-md); transition: all .15s; background: var(--surface); }
.path-course:hover { border-color: var(--crimson); box-shadow: var(--sh-sm); }
.path-course .pc-ref { font-family: var(--font-mono); font-size: 11px; font-weight: 600; color: var(--d); background: var(--d-bg); border-radius: 5px; padding: 3px 6px; }
.path-course .pc-title { flex: 1; font-family: var(--font-head); font-weight: 700; font-size: 13.5px; line-height: 1.3; }
.path-course .pc-meta { font-size: 12px; color: var(--slate-light); white-space: nowrap; }
.path-alt { margin-top: 20px; padding-top: 18px; border-top: 1px dashed var(--line); display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.path-alt .path-step-label { white-space: nowrap; }
.path-alt .path-course { flex: 1; min-width: 260px; }
.path-steps.parallel { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.path-steps.parallel .path-step { padding: 0; }

.dom-section { padding: 56px 0; }
.dom-section + .dom-section { padding-top: 0; }
.other-domains { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.od-card { display: flex; flex-direction: column; gap: 10px; padding: 18px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); transition: all .2s; }
.od-card:hover { border-color: var(--d); transform: translateY(-3px); box-shadow: var(--sh-md); }
.od-card .od-ic { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: var(--d-bg); color: var(--d); }
.od-card .od-ic svg { width: 20px; height: 20px; }
.od-card b { font-family: var(--font-head); font-size: 14.5px; line-height: 1.25; }
.od-card span { font-size: 12.5px; color: var(--slate-light); }

/* ============================================================ FICHE FORMATION */
.c-hero { position: relative; background: var(--charcoal); color: #fff; overflow: hidden; isolation: isolate; }
.c-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(640px 380px at 72% -10%, rgba(192, 32, 58, .45), transparent 62%), linear-gradient(90deg, var(--charcoal) 42%, color-mix(in srgb, var(--charcoal) 55%, transparent) 100%); }
.c-hero-bg { position: absolute; top: 0; right: 0; bottom: 0; width: 58%; z-index: -2; background-size: cover; background-position: center; opacity: .5; filter: grayscale(.35); mask-image: linear-gradient(90deg, transparent, #000 45%); -webkit-mask-image: linear-gradient(90deg, transparent, #000 45%); }
.c-hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 40px; padding-top: 30px; padding-bottom: 46px; }
.c-hero .crumbs { margin-bottom: 26px; }
.c-badges { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 16px; }
.c-badges .dtag { color: #fff; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); padding: 5px 11px; border-radius: var(--r-pill); font-size: 11px; }
.c-hero h1 { color: #fff; font-size: clamp(28px, 3.6vw, 44px); font-weight: 800; letter-spacing: -.02em; line-height: 1.12; margin-bottom: 14px; max-width: 820px; }
.c-sub { font-size: 15px; color: #c5c9d3; display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; }
.c-sub .sep { width: 4px; height: 4px; border-radius: 50%; background: rgba(255, 255, 255, .35); }
.c-sub .mono { color: #fff; font-weight: 600; }
.c-lede { margin-top: 18px; font-size: 16px; color: #d6d9e0; max-width: 760px; line-height: 1.6; }
.c-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: 28px; border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--r-lg); background: rgba(255, 255, 255, .04); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); max-width: 820px; }
.c-facts li { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-right: 1px solid rgba(255, 255, 255, .1); }
.c-facts li:last-child { border-right: none; }
.c-facts svg { width: 20px; height: 20px; color: var(--coral-light); margin-top: 2px; }
.c-facts small { display: block; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: #9ea4b1; font-weight: 700; margin-bottom: 3px; }
.c-facts b { display: block; font-family: var(--font-head); font-size: 15px; color: #fff; line-height: 1.3; }

.c-tabs { position: sticky; top: var(--header-h); z-index: 40; background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: 0 1px 0 rgba(0, 0, 0, .01); }
.c-tabs .wrap { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 40px; }
.c-tabs ul { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.c-tabs ul::-webkit-scrollbar { display: none; }
.c-tabs a { display: block; padding: 17px 14px 15px; font-family: var(--font-head); font-weight: 700; font-size: 14px; color: var(--slate); white-space: nowrap; border-bottom: 3px solid transparent; transition: color .15s, border-color .15s; }
.c-tabs a:hover { color: var(--ink); }
.c-tabs a.is-active { color: var(--crimson); border-bottom-color: var(--crimson); }

.c-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 40px; align-items: start; padding-bottom: 70px; }
.c-main { padding-top: 34px; min-width: 0; }
.c-aside { position: sticky; top: calc(var(--header-h) + 70px); margin-top: -330px; z-index: 45; }
.c-section { padding: 34px 0; border-bottom: 1px solid var(--line-soft); }
.c-section:first-child { padding-top: 6px; }
.c-section:last-child { border-bottom: none; }
.c-section > h2 { font-size: 26px; font-weight: 800; margin-bottom: 18px; display: flex; align-items: center; gap: 12px; }
.c-section > h2 .h-ic { width: 38px; height: 38px; border-radius: 10px; background: var(--crimson-50); color: var(--crimson); display: grid; place-items: center; flex: 0 0 auto; }
.c-section > h2 .h-ic svg { width: 19px; height: 19px; }
.c-section > p.intro { color: var(--slate); margin: -6px 0 18px; }
.prose p { color: var(--text-strong); font-size: 16px; line-height: 1.7; }
.prose p + p { margin-top: 14px; }

.highlights { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 22px; }
.hl { display: flex; gap: 14px; padding: 16px; border-radius: var(--r-md); background: var(--mist); border: 1px solid var(--line-soft); }
.hl .hl-ic { flex: 0 0 40px; height: 40px; border-radius: 10px; background: var(--raised); color: var(--crimson); display: grid; place-items: center; box-shadow: var(--sh-sm); }
.hl .hl-ic svg { width: 19px; height: 19px; }
.hl b { display: block; font-family: var(--font-head); font-size: 14.5px; margin-bottom: 2px; }
.hl span { font-size: 13.5px; color: var(--slate); line-height: 1.45; }

.kv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 22px; }
.kv { padding: 20px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); }
.kv h3 { font-family: var(--font-head); font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--crimson); margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.kv h3 svg { width: 16px; height: 16px; }
.kv p { color: var(--text-strong); font-size: 14.5px; line-height: 1.6; }
.kv ul { display: grid; gap: 7px; }
.kv li { position: relative; padding-left: 16px; font-size: 14.5px; color: var(--text-strong); line-height: 1.5; }
.kv li::before { content: ""; position: absolute; left: 0; top: 9px; width: 6px; height: 6px; border-radius: 50%; background: var(--coral); }
.kv .prereq-links { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px; }

.obj-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 22px; }
.obj-list li { display: flex; gap: 12px; font-size: 15px; color: var(--text-strong); line-height: 1.5; }
.obj-list .ok { flex: 0 0 24px; width: 24px; height: 24px; border-radius: 50%; background: var(--grad-solid); color: #fff; display: grid; place-items: center; margin-top: 1px; }
.obj-list .ok svg { width: 13px; height: 13px; }

.prog-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.prog-toolbar .muted { font-size: 14px; }
.acc { display: grid; gap: 10px; }
.acc-item { border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); transition: border-color .2s, box-shadow .2s; }
.acc-item[open] { border-color: var(--line-strong); box-shadow: var(--sh-sm); }
.acc-item summary { display: flex; align-items: center; gap: 14px; padding: 16px 18px; cursor: pointer; list-style: none; }
.acc-item summary::-webkit-details-marker { display: none; }
.acc-num { flex: 0 0 34px; width: 34px; height: 34px; border-radius: 9px; background: var(--inverse-bg); color: var(--inverse-fg); display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; font-size: 14px; transition: background .2s; }
.acc-item[open] .acc-num { background: var(--grad-solid); }
.acc-title { flex: 1; font-family: var(--font-head); font-weight: 700; font-size: 16px; line-height: 1.35; }
.acc-count { font-size: 12.5px; color: var(--slate-light); font-weight: 600; white-space: nowrap; }
.acc-item summary > svg { width: 18px; height: 18px; color: var(--slate-light); transition: transform .2s; }
.acc-item[open] summary > svg { transform: rotate(180deg); color: var(--crimson); }
.acc-body { padding: 0 18px 18px 66px; }
.prog-list { display: grid; gap: 8px; }
.prog-list li { position: relative; padding-left: 18px; font-size: 14.5px; color: var(--text-strong); line-height: 1.55; }
.prog-list li::before { content: ""; position: absolute; left: 0; top: 9px; width: 6px; height: 6px; border-radius: 50%; background: var(--coral); }
.prog-list li.is-activity { padding: 10px 12px 10px 14px; background: var(--mist); border-radius: var(--r-sm); border-left: 3px solid var(--crimson); }
.prog-list li.is-activity::before { display: none; }
.act-badge { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-head); font-weight: 700; font-size: 12px; color: var(--crimson); margin-right: 6px; text-transform: uppercase; letter-spacing: .05em; }
.act-badge svg { width: 14px; height: 14px; }

.cert-card { display: grid; grid-template-columns: auto 1fr; gap: 20px; padding: 24px; border-radius: var(--r-lg); background: var(--charcoal); color: #fff; position: relative; overflow: hidden; }
.cert-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(360px 220px at 100% 0%, rgba(192, 32, 58, .45), transparent 60%); pointer-events: none; }
.cert-card > * { position: relative; }
.cert-mono { width: 64px; height: 64px; border-radius: 16px; background: var(--grad-solid); display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; font-size: 18px; letter-spacing: .04em; box-shadow: var(--sh-crimson); }
.cert-card h3 { color: #fff; font-size: 19px; margin-bottom: 4px; }
.cert-card .cert-org { font-size: 13.5px; color: #b9bdc8; margin-bottom: 12px; }
.cert-card p { color: #d6d9e0; font-size: 14.5px; line-height: 1.6; }
.cert-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.trademark { font-size: 12px; color: var(--slate-light); margin-top: 14px; line-height: 1.5; }

.loc-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.loc-filter .chip .n { font-size: 11.5px; opacity: .75; }
.sess-list { display: grid; gap: 10px; }
.sess-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; gap: 18px; align-items: center; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); transition: border-color .15s, box-shadow .15s; }
.sess-row:hover { border-color: var(--line-strong); box-shadow: var(--sh-sm); }
.sess-row.is-selected { border-color: var(--crimson); box-shadow: 0 0 0 3px rgba(192, 32, 58, .12); }
.sr-date { width: 60px; text-align: center; background: var(--mist); border-radius: var(--r-sm); padding: 8px 0; }
.sr-date b { display: block; font-family: var(--font-head); font-weight: 800; font-size: 20px; color: var(--crimson); line-height: 1; }
.sr-date span { font-size: 11px; font-weight: 700; text-transform: uppercase; color: var(--slate); letter-spacing: .05em; }
.sr-info strong { display: block; font-family: var(--font-head); font-size: 15px; }
.sr-info span { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--slate); }
.sr-info svg { width: 14px; height: 14px; color: var(--slate-light); }
.no-session { display: grid; grid-template-columns: auto 1fr; gap: 18px; padding: 24px; border-radius: var(--r-lg); background: var(--mist); border: 1px solid var(--line-soft); }
.no-session .ns-ic { width: 48px; height: 48px; border-radius: 12px; background: var(--raised); color: var(--crimson); display: grid; place-items: center; box-shadow: var(--sh-sm); }
.no-session .ns-ic svg { width: 22px; height: 22px; }
.no-session h3 { font-size: 17px; margin-bottom: 6px; }
.no-session p { color: var(--slate); font-size: 14.5px; margin-bottom: 14px; }
.alert-form { display: flex; gap: 8px; flex-wrap: wrap; }
.alert-form .input { flex: 1; min-width: 220px; }

.info-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.info-card { padding: 20px; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--surface); }
.info-card .ic-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.info-card .ic-head span { width: 34px; height: 34px; border-radius: 9px; background: var(--crimson-50); color: var(--crimson); display: grid; place-items: center; flex: 0 0 auto; }
.info-card .ic-head svg { width: 17px; height: 17px; }
.info-card h3 { font-size: 15px; font-weight: 700; }
.info-card p { font-size: 14px; color: var(--slate); line-height: 1.6; }
.info-card p + p { margin-top: 8px; }
.info-card a { color: var(--crimson); font-weight: 700; }

.fin-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 18px 0; }
.fin-tile { padding: 16px; border-radius: var(--r-md); background: var(--mist); border: 1px solid var(--line-soft); }
.fin-tile svg { width: 22px; height: 22px; color: var(--crimson); margin-bottom: 10px; }
.fin-tile b { display: block; font-family: var(--font-head); font-size: 14.5px; margin-bottom: 3px; }
.fin-tile span { font-size: 12.5px; color: var(--slate); line-height: 1.4; display: block; }
.fin-tile.is-highlight { background: var(--info-bg); border-color: transparent; }

/* Carte de réservation */
.booking { background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--sh-xl); border: 1px solid var(--line); overflow: hidden; }
.bk-price { padding: 22px 24px 18px; background: var(--grad-dark); color: #fff; position: relative; overflow: hidden; }
.bk-price::before { content: ""; position: absolute; inset: 0; background: radial-gradient(260px 160px at 100% 0%, rgba(192, 32, 58, .5), transparent 60%); }
.bk-price > * { position: relative; }
.bk-label { font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: #aab0bd; font-weight: 700; }
.bk-amount { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; margin-top: 6px; }
.bk-amount span { white-space: nowrap; }
.bk-amount b { font-family: var(--font-head); font-size: 34px; font-weight: 800; line-height: 1; }
.bk-amount span { font-size: 13px; color: #c5c9d3; font-weight: 600; }
.bk-ttc { font-size: 12.5px; color: #9ea4b1; margin-top: 6px; }
.bk-body { padding: 20px 24px 22px; }
.bk-field { border: none; padding: 0; margin: 0 0 16px; min-width: 0; }
.bk-field legend { font-family: var(--font-head); font-weight: 700; font-size: 13px; color: var(--text-strong); margin-bottom: 8px; padding: 0; }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; background: var(--mist); border-radius: var(--r-sm); padding: 4px; gap: 4px; }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; text-align: center; padding: 8px 6px; border-radius: 5px; font-family: var(--font-head); font-weight: 700; font-size: 12.5px; color: var(--slate); transition: all .15s; line-height: 1.25; }
.seg span small { font-weight: 600; font-size: 11px; color: var(--slate-light); }
.seg input:checked + span { background: var(--raised); color: var(--ink); box-shadow: var(--sh-sm); }
.seg input:focus-visible + span { outline: 2px solid var(--crimson); }
.seg input:disabled + span { opacity: .45; cursor: not-allowed; }
.bk-dates { display: grid; gap: 7px; max-height: 214px; overflow-y: auto; padding-right: 2px; }
.bk-date { position: relative; cursor: pointer; }
.bk-date input { position: absolute; opacity: 0; pointer-events: none; }
.bk-date span { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: var(--r-sm); font-size: 14px; font-weight: 600; color: var(--text-strong); transition: all .15s; }
.bk-date span::before { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid var(--line-strong); flex: 0 0 auto; transition: all .15s; }
.bk-date span small { margin-left: auto; font-size: 11.5px; color: var(--success); font-weight: 700; }
.bk-date:hover span { border-color: var(--line-strong); }
.bk-date input:checked + span { border-color: var(--crimson); background: var(--crimson-50); color: var(--ink); }
.bk-date input:checked + span::before { border: 5px solid var(--crimson); }
.bk-date input:focus-visible + span { outline: 2px solid var(--crimson); outline-offset: 1px; }
.bk-none { font-size: 13.5px; color: var(--slate); background: var(--mist); border-radius: var(--r-sm); padding: 12px; }
.bk-option { display: flex; align-items: flex-start; gap: 10px; padding: 12px; border: 1.5px dashed var(--line); border-radius: var(--r-sm); margin-bottom: 14px; cursor: pointer; font-size: 13.5px; color: var(--text-strong); }
.bk-option b { white-space: nowrap; }
.bk-option:hover { border-color: var(--line-strong); }
.bk-actions { display: grid; gap: 8px; }
.bk-links { border-top: 1px solid var(--line-soft); padding: 8px 12px; }
.bk-link { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: var(--r-sm); font-family: var(--font-head); font-weight: 700; font-size: 14px; color: var(--text-strong); transition: background .15s, color .15s; }
.bk-link:hover { background: var(--mist); color: var(--crimson); }
.bk-link svg { width: 18px; height: 18px; color: var(--crimson); }
.bk-link small { margin-left: auto; font-family: var(--font-body); font-weight: 600; font-size: 12px; color: var(--slate-light); }
.bk-tools { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-soft); }
.bk-tools button { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px 6px; font-size: 12px; font-weight: 700; color: var(--slate); transition: color .15s, background .15s; }
.bk-tools button + button { border-left: 1px solid var(--line-soft); }
.bk-tools button:hover { color: var(--crimson); background: var(--mist); }
.bk-tools svg { width: 18px; height: 18px; }
.bk-tools button[aria-pressed="true"] { color: var(--crimson); }
.bk-tools button[aria-pressed="true"] svg { fill: currentColor; }
.bk-assure { padding: 14px 24px 18px; background: var(--mist); display: grid; gap: 7px; }
.bk-assure li { display: flex; gap: 9px; font-size: 12.5px; color: var(--slate); font-weight: 600; }
.bk-assure svg { width: 15px; height: 15px; color: var(--success); flex: 0 0 auto; margin-top: 1px; }

.mobile-book { display: none; }

.related { background: var(--section-alt); padding: 64px 0; }

/* ============================================================ CALENDRIER DES SESSIONS */
.cal-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); margin: -34px 0 30px; position: relative; z-index: 2; box-shadow: var(--sh-md); }
.cal-toolbar .select, .cal-toolbar .input { width: auto; flex: 1 1 180px; }
.cal-toolbar .search-field { flex: 2 1 260px; }
.cal-toolbar .search-field input { padding: 11px 0; }
.cal-month { margin-bottom: 34px; }
.cal-month-head { display: flex; align-items: baseline; gap: 12px; padding-bottom: 12px; margin-bottom: 12px; border-bottom: 2px solid var(--ink); position: sticky; top: var(--header-h); background: var(--bg); z-index: 5; padding-top: 12px; }
.cal-month-head h2 { font-size: 22px; font-weight: 800; }
.cal-month-head span { font-size: 13.5px; color: var(--slate); font-weight: 600; }
.cal-rows { display: grid; gap: 10px; }
.cal-row { position: relative; display: grid; grid-template-columns: 74px minmax(0, 1fr) 180px 120px auto; gap: 18px; align-items: center; padding: 14px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); transition: all .15s; }
.cal-row:hover { box-shadow: var(--sh-md); border-color: var(--line-strong); }
.cal-row .sr-date { width: 100%; }
.cal-row .cr-title { font-family: var(--font-head); font-weight: 700; font-size: 15px; line-height: 1.3; }
.cal-row .cr-title a:hover { color: var(--crimson); }
.cal-row .cr-sub { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 4px; font-size: 12.5px; color: var(--slate); }
.cal-row .cr-loc { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--text-strong); }
.cal-row .cr-loc svg { width: 16px; height: 16px; color: var(--slate-light); }
.cal-row .cr-price { font-family: var(--font-head); font-weight: 800; font-size: 16px; text-align: right; white-space: nowrap; }
.cal-row .cr-price small { font-size: 11.5px; color: var(--slate-light); font-weight: 600; }

/* ============================================================ CERTIFICATIONS */
.certifier { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 32px; padding: 34px 0; border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 20px); }
.certifier:last-child { border-bottom: none; }
.certifier-id { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; }
.certifier-mono { width: 64px; height: 64px; border-radius: 16px; background: var(--inverse-bg); color: var(--inverse-fg); display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; font-size: 19px; margin-bottom: 16px; }
.certifier h2 { font-size: 24px; font-weight: 800; margin-bottom: 4px; }
.certifier .fw { font-size: 13px; font-weight: 700; color: var(--crimson); margin-bottom: 10px; }
.certifier .desc { font-size: 14.5px; color: var(--slate); }
.certifier-courses { display: grid; gap: 12px; }
.cert-index { display: flex; flex-wrap: wrap; gap: 10px; }
.cert-index a { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px; border-radius: var(--r-pill); background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 14px; transition: all .15s; }
.cert-index a:hover { background: #fff; color: #1d1f26; }
.cert-index .m { width: 30px; height: 30px; border-radius: 50%; background: var(--grad-solid); display: grid; place-items: center; font-size: 10.5px; color: #fff; }
.cert-index small { opacity: .7; font-weight: 600; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: step; }
.step { position: relative; padding: 24px 20px 20px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); counter-increment: step; }
.step::before { content: counter(step, decimal-leading-zero); font-family: var(--font-head); font-weight: 800; font-size: 13px; color: var(--crimson); display: block; margin-bottom: 12px; }
.step h3 { font-size: 16.5px; font-weight: 700; margin-bottom: 6px; }
.step p { font-size: 14px; color: var(--slate); line-height: 1.5; }

/* ============================================================ PAGES DE CONTENU */
.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 50px; align-items: start; padding-top: 56px; padding-bottom: 80px; }
.content-aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 16px; }
.toc { padding: 20px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.toc h3 { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--slate-light); margin-bottom: 12px; }
.toc a { display: block; padding: 7px 0 7px 14px; border-left: 2px solid var(--line); font-size: 14px; font-weight: 600; color: var(--slate); transition: all .15s; }
.toc a:hover, .toc a.is-active { color: var(--crimson); border-left-color: var(--crimson); }
.article { font-size: 16.5px; line-height: 1.75; color: var(--text-strong); }
.article > * + * { margin-top: 18px; }
.article h2 { font-size: 26px; font-weight: 800; margin-top: 42px; line-height: 1.2; scroll-margin-top: calc(var(--header-h) + 24px); }
.article h3 { font-size: 19px; font-weight: 700; margin-top: 28px; }
.article ul { display: grid; gap: 9px; }
.article ul li { position: relative; padding-left: 22px; }
.article ul li::before { content: ""; position: absolute; left: 4px; top: 12px; width: 7px; height: 7px; border-radius: 50%; background: var(--coral); }
.article ol { counter-reset: ol; display: grid; gap: 10px; }
.article ol li { counter-increment: ol; position: relative; padding-left: 38px; }
.article ol li::before { content: counter(ol); position: absolute; left: 0; top: 2px; width: 26px; height: 26px; border-radius: 50%; background: var(--crimson-50); color: var(--crimson); font-family: var(--font-head); font-weight: 800; font-size: 13px; display: grid; place-items: center; }
.article a { color: var(--crimson); font-weight: 700; }
.article a:hover { text-decoration: underline; text-underline-offset: 3px; }
.article blockquote { margin: 26px 0; padding: 20px 24px; border-left: 4px solid var(--crimson); background: var(--mist); border-radius: 0 var(--r-md) var(--r-md) 0; font-size: 17px; color: var(--ink); }
.article .lead { font-size: 19px; color: var(--slate); line-height: 1.65; }
.article .placeholder { background: var(--warning-bg); color: var(--warning); padding: 1px 6px; border-radius: 4px; font-weight: 700; font-size: .92em; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; color: #c5c9d3; font-size: 14px; margin-top: 18px; }
.article-meta span { display: inline-flex; align-items: center; gap: 7px; }
.article-meta svg { width: 15px; height: 15px; color: var(--coral-light); }
.article-cover { border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 21 / 9; margin-top: -60px; position: relative; z-index: 2; box-shadow: var(--sh-lg); }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { padding: 26px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); }
.feature .f-ic { width: 48px; height: 48px; border-radius: 12px; background: var(--crimson-50); color: var(--crimson); display: grid; place-items: center; margin-bottom: 16px; }
.feature .f-ic svg { width: 23px; height: 23px; }
.feature h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.feature p { font-size: 14.5px; color: var(--slate); line-height: 1.6; }
.feature .check-list { margin-top: 14px; }
.feature .check-list li { font-size: 14px; }

.faq { display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; cursor: pointer; list-style: none; font-family: var(--font-head); font-weight: 700; font-size: 15.5px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 18px; height: 18px; color: var(--slate-light); transition: transform .2s; flex: 0 0 auto; }
.faq details[open] summary svg { transform: rotate(45deg); color: var(--crimson); }
.faq .faq-body { padding: 0 20px 18px; color: var(--slate); font-size: 15px; line-height: 1.65; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split .media-ph { aspect-ratio: 4 / 3.3; border-radius: var(--r-xl); }
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

.contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 40px; align-items: start; padding-top: 0; padding-bottom: 80px; }
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 34px; box-shadow: var(--sh-md); margin-top: -40px; position: relative; z-index: 2; }
.form-card h2 { font-size: 22px; font-weight: 800; margin-bottom: 6px; }
.form-card > p { color: var(--slate); margin-bottom: 22px; }
.form-section { padding: 22px 0; border-top: 1px solid var(--line-soft); }
.form-section:first-of-type { border-top: none; padding-top: 0; }
.form-section h3 { font-size: 16px; font-weight: 800; margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.form-section h3 .n { width: 26px; height: 26px; border-radius: 50%; background: var(--crimson-50); color: var(--crimson); display: grid; place-items: center; font-size: 13px; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line-soft); }
.form-foot .muted { font-size: 12.5px; max-width: 420px; }
.contact-aside { display: grid; gap: 14px; padding-top: 30px; }
.contact-tile { display: flex; gap: 14px; padding: 18px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.contact-tile .ct-ic { flex: 0 0 44px; height: 44px; border-radius: 11px; background: var(--crimson-50); color: var(--crimson); display: grid; place-items: center; }
.contact-tile .ct-ic svg { width: 20px; height: 20px; }
.contact-tile b { display: block; font-family: var(--font-head); font-size: 15px; }
.contact-tile span, .contact-tile a { font-size: 14px; color: var(--slate); }
.contact-tile a:hover { color: var(--crimson); }
.seg-choice { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.seg-choice label { cursor: pointer; }
.seg-choice input { position: absolute; opacity: 0; pointer-events: none; }
.seg-choice span { display: flex; flex-direction: column; gap: 3px; padding: 13px 14px; border: 1.5px solid var(--line); border-radius: var(--r-md); transition: all .15s; height: 100%; }
.seg-choice span b { font-family: var(--font-head); font-size: 14px; }
.seg-choice span small { font-size: 12.5px; color: var(--slate); line-height: 1.35; }
.seg-choice input:checked + span { border-color: var(--crimson); background: var(--crimson-50); }
.seg-choice input:focus-visible + span { outline: 2px solid var(--crimson); }

/* ============================================================ PANIER / INSCRIPTION */
.stepper { display: flex; align-items: center; gap: 10px; margin-top: 24px; flex-wrap: wrap; }
.stepper li { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 700; font-size: 14px; color: #9ea4b1; }
.stepper li .n { width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .25); display: grid; place-items: center; font-size: 13px; }
.stepper li.is-done { color: #c5c9d3; }
.stepper li.is-done .n { background: rgba(255, 255, 255, .12); border-color: transparent; }
.stepper li.is-current { color: #fff; }
.stepper li.is-current .n { background: var(--grad-solid); border-color: transparent; color: #fff; }
.stepper .bar { width: 46px; height: 2px; background: rgba(255, 255, 255, .18); border-radius: 2px; }
.cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 32px; align-items: start; padding-top: 40px; padding-bottom: 80px; }
.cart-lines { display: grid; gap: 14px; }
.cart-line { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px; padding: 22px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); position: relative; }
.cart-line::before { content: ""; position: absolute; left: -1px; top: 16px; bottom: 16px; width: 4px; border-radius: 0 4px 4px 0; background: var(--d, var(--crimson)); }
.cl-title { font-size: 17px; font-weight: 700; line-height: 1.3; margin: 6px 0 10px; }
.cl-title a:hover { color: var(--crimson); }
.cl-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13.5px; color: var(--slate); }
.cl-meta span { display: inline-flex; align-items: center; gap: 7px; }
.cl-meta svg { width: 15px; height: 15px; color: var(--slate-light); }
.cl-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 16px; }
.cl-controls .select { width: auto; padding-top: 8px; padding-bottom: 8px; font-size: 13.5px; max-width: 100%; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: var(--r-sm); overflow: hidden; }
.qty button { width: 36px; height: 36px; display: grid; place-items: center; color: var(--text-strong); }
.qty button:hover { background: var(--mist); color: var(--crimson); }
.qty button svg { width: 15px; height: 15px; }
.qty input { width: 44px; text-align: center; border: none; border-left: 1px solid var(--line-soft); border-right: 1px solid var(--line-soft); height: 36px; font-weight: 700; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.cl-side { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; gap: 12px; }
.cl-price { font-family: var(--font-head); font-weight: 800; font-size: 21px; white-space: nowrap; }
.cl-price small { display: block; text-align: right; font-size: 12px; font-weight: 600; color: var(--slate-light); }
.cl-remove { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--slate-light); }
.cl-remove:hover { color: var(--danger); }
.cl-remove svg { width: 15px; height: 15px; }
.summary { position: sticky; top: calc(var(--header-h) + 24px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-md); overflow: hidden; }
.summary h2 { font-size: 18px; font-weight: 800; padding: 20px 22px; border-bottom: 1px solid var(--line-soft); }
.summary-rows { padding: 16px 22px; display: grid; gap: 10px; }
.summary-row { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--slate); }
.summary-row b { color: var(--ink); white-space: nowrap; }
.summary-total { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 22px; border-top: 1px solid var(--line-soft); background: var(--mist); }
.summary-total span { font-family: var(--font-head); font-weight: 700; }
.summary-total b { font-family: var(--font-head); font-size: 24px; font-weight: 800; }
.summary-actions { padding: 18px 22px 22px; display: grid; gap: 10px; }
.summary-note { font-size: 12.5px; color: var(--slate); display: flex; gap: 8px; }
.summary-note svg { width: 15px; height: 15px; color: var(--success); flex: 0 0 auto; margin-top: 2px; }
.summary-items { padding: 14px 22px; display: grid; gap: 12px; border-bottom: 1px solid var(--line-soft); }
.summary-item { font-size: 13.5px; }
.summary-item b { display: block; font-family: var(--font-head); line-height: 1.3; }
.summary-item span { color: var(--slate); font-size: 12.5px; }
.participants { display: grid; gap: 10px; }
.participant-row { display: grid; grid-template-columns: 30px 1fr 1fr; gap: 10px; align-items: center; }
.participant-row .pn { width: 28px; height: 28px; border-radius: 50%; background: var(--mist); display: grid; place-items: center; font-weight: 800; font-size: 12.5px; color: var(--slate); }
.participant-block { padding: 18px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--mist); }
.participant-block + .participant-block { margin-top: 12px; }
.participant-block h4 { font-size: 14.5px; margin-bottom: 4px; }
.participant-block .pb-sub { font-size: 12.5px; color: var(--slate); margin-bottom: 12px; }

.confirm-card { max-width: 820px; margin: -60px auto 0; position: relative; z-index: 2; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--sh-lg); overflow: hidden; }
.confirm-head { text-align: center; padding: 38px 30px 28px; }
.confirm-head .fs-ic { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 18px; background: var(--success-bg); color: var(--success); }
.confirm-head .fs-ic svg { width: 34px; height: 34px; }
.confirm-head h1 { font-size: 28px; font-weight: 800; margin-bottom: 8px; }
.confirm-head p { color: var(--slate); max-width: 560px; margin: 0 auto; }
.confirm-ref { display: inline-flex; gap: 8px; align-items: center; margin-top: 16px; padding: 8px 14px; border-radius: var(--r-pill); background: var(--mist); font-size: 13.5px; }
.confirm-ref b { font-family: var(--font-mono); }
.confirm-body { padding: 24px 30px 30px; border-top: 1px solid var(--line-soft); }
.confirm-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.confirm-table th { text-align: left; font-family: var(--font-head); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--slate-light); padding: 0 0 10px; }
.confirm-table td { padding: 12px 0; border-top: 1px solid var(--line-soft); vertical-align: top; }
.confirm-table td:last-child, .confirm-table th:last-child { text-align: right; white-space: nowrap; }
.confirm-next { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 24px; }
.confirm-next div { padding: 16px; border-radius: var(--r-md); background: var(--mist); font-size: 13.5px; color: var(--slate); }
.confirm-next b { display: block; font-family: var(--font-head); color: var(--ink); margin-bottom: 4px; font-size: 14px; }

/* ============================================================ 404 */
.notfound { text-align: center; padding: 90px 0 100px; }
.notfound .code { font-family: var(--font-head); font-weight: 800; font-size: clamp(90px, 16vw, 170px); line-height: .9; background: var(--grad-solid); -webkit-background-clip: text; background-clip: text; color: transparent; }
.notfound h1 { font-size: 30px; margin: 18px 0 10px; }
.notfound p { color: var(--slate); max-width: 520px; margin: 0 auto 26px; }
.notfound .actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* ============================================================ MODE SOMBRE (pages) */
@media screen {
  [data-theme="dark"] .dom-card.featured { background: linear-gradient(160deg, #2b1820 0%, var(--charcoal) 68%); border-color: rgba(236, 77, 104, .3); }
  [data-theme="dark"] .acc-item[open] { border-color: var(--line-strong); }
  [data-theme="dark"] .booking, [data-theme="dark"] .summary, [data-theme="dark"] .confirm-card, [data-theme="dark"] .form-card { box-shadow: 0 18px 48px rgba(0, 0, 0, .45); }
  [data-theme="dark"] .hero-search { box-shadow: 0 24px 60px rgba(0, 0, 0, .6); border: 1px solid var(--line); }
  [data-theme="dark"] .testi-stars { color: #f5b73b; }
  [data-theme="dark"] .mobile-book { box-shadow: 0 -8px 24px rgba(0, 0, 0, .45); }
  [data-theme="dark"] .big-year small { -webkit-text-fill-color: var(--text-strong); }
}
.acc-item[open] .acc-num { color: #fff; }

/* ============================================================ RESPONSIVE PAGES */
@media (max-width: 1180px) {
  .carousel-track { grid-auto-columns: calc((100% - 40px) / 3); }
  .c-hero-inner, .c-layout, .c-tabs .wrap { grid-template-columns: minmax(0, 1fr) 340px; gap: 30px; }
  .c-facts { grid-template-columns: repeat(2, 1fr); }
  .c-facts li:nth-child(2) { border-right: none; }
  .c-facts li:nth-child(-n+2) { border-bottom: 1px solid rgba(255, 255, 255, .1); }
  .other-domains { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1080px) {
  .dom-grid, .offer-grid, .testi-grid, .news-grid, .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .spot-inner, .why-inner, .centres-inner, .heritage-inner, .cta-inner, .split { grid-template-columns: 1fr; gap: 40px; }
  .cat-layout { grid-template-columns: 1fr; }
  .filters { position: fixed; inset: 0 auto 0 0; width: min(380px, 92vw); max-height: none; border-radius: 0; z-index: 115; transform: translateX(-105%); transition: transform .3s var(--ease); box-shadow: var(--sh-xl); }
  .filters.is-open { transform: none; }
  .filters-backdrop { position: fixed; inset: 0; background: rgba(20, 22, 27, .5); z-index: 114; }
  .filters-open { display: inline-flex; }
  .content-layout, .contact-layout, .cart-layout { grid-template-columns: 1fr; }
  .content-aside, .summary { position: static; }
  .certifier { grid-template-columns: 1fr; gap: 18px; }
  .certifier-id { position: static; }
  .steps, .values { grid-template-columns: repeat(2, 1fr); }
  .path-steps.parallel { grid-template-columns: repeat(2, 1fr); }
  .cal-row { grid-template-columns: 70px minmax(0, 1fr) auto; }
  .cal-row .cr-loc { grid-column: 2; }
  .cal-row .cr-price { grid-column: 3; grid-row: 1; }
  .cal-row .cr-action { grid-column: 3; }
}
@media (max-width: 960px) {
  .c-hero-inner, .c-layout, .c-tabs .wrap { grid-template-columns: 1fr; }
  .c-aside { position: static; margin-top: 24px; }
  .c-main { padding-top: 10px; }
  .mobile-book { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(28, 31, 38, .1); padding: 12px var(--gut); align-items: center; justify-content: space-between; gap: 14px; transform: translateY(110%); transition: transform .25s var(--ease); }
  .mobile-book.is-visible { transform: none; }
  .mobile-book .mb-price b { font-family: var(--font-head); font-size: 20px; font-weight: 800; display: block; line-height: 1.1; }
  .mobile-book .mb-price span { font-size: 12px; color: var(--slate); }
  .has-mobile-book .to-top { bottom: 86px; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 30px 16px; }
  .stats-divider { display: none; }
  .sess-grid { grid-template-columns: 1fr; }
  .carousel-track { grid-auto-columns: calc((100% - 20px) / 2); }
  .path-steps { grid-auto-flow: row; gap: 18px; }
  .path-step { padding: 0; }
  .path-steps:not(.parallel) .path-step:not(:last-child) .path-step-head::after { display: none; }
}
@media (max-width: 760px) {
  .hero { min-height: 0; }
  .hero-inner { padding-top: 64px; padding-bottom: 60px; }
  .search-row { flex-direction: column; }
  .search-go { padding: 13px; justify-content: center; }
  .dom-grid, .offer-grid, .testi-grid, .news-grid, .feature-grid, .centres-list, .results-list.is-grid { grid-template-columns: 1fr; }
  .sess-card { grid-template-columns: auto 1fr; }
  .sess-cta { grid-column: 1 / -1; text-align: left; display: flex; justify-content: space-between; align-items: center; }
  .heritage-mini { grid-template-columns: 1fr 1fr; }
  .carousel-track { grid-auto-columns: 86%; }
  .spot-feats { grid-template-columns: 1fr; }
  .spot-float, .why-badge { position: static; margin-top: 14px; max-width: none; }
  .c-facts { grid-template-columns: 1fr 1fr; }
  .obj-list, .highlights, .kv-grid, .info-cards { grid-template-columns: 1fr; }
  .fin-grid { grid-template-columns: 1fr 1fr; }
  .acc-body { padding: 0 16px 16px 16px; }
  .sess-row { grid-template-columns: auto 1fr; }
  .sess-row .badge { display: none; }
  .sess-row .btn { grid-column: 1 / -1; }
  .other-domains { grid-template-columns: 1fr 1fr; }
  .steps, .values, .confirm-next, .seg-choice { grid-template-columns: 1fr; }
  .path-steps.parallel { grid-template-columns: 1fr; }
  .cal-row { grid-template-columns: 60px minmax(0, 1fr); }
  .cal-row .cr-loc, .cal-row .cr-price, .cal-row .cr-action { grid-column: 2; grid-row: auto; text-align: left; }
  .cal-toolbar { margin-top: -24px; }
  .cart-line { grid-template-columns: 1fr; }
  .cl-side { flex-direction: row; align-items: center; }
  .participant-row { grid-template-columns: 1fr; }
  .participant-row .pn { display: none; }
  .form-card { padding: 24px 20px; }
  .no-session { grid-template-columns: 1fr; }
}

/* ============================================================ IMPRESSION */
@media print {
  .utility, .header, .footer, .c-tabs, .c-aside, .mobile-book, .related, .to-top, .toasts, .cta-band, .prog-toolbar button, .search-overlay { display: none !important; }
  body { font-size: 11pt; }
  .c-hero { background: #fff !important; color: #000; }
  .c-hero::before, .c-hero-bg { display: none; }
  .c-hero h1, .c-hero .c-lede, .c-sub, .c-facts b { color: #000 !important; }
  .c-facts { border-color: #ccc; }
  .c-layout { grid-template-columns: 1fr; }
  .acc-item { break-inside: avoid; }
  .acc-item:not([open]) .acc-body { display: block; }
  a { color: inherit; }
}

/* Grilles à nombre de colonnes imposé : se replient sur mobile */
.other-domains.six { grid-template-columns: repeat(6, 1fr); }
.feature-grid.two { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 1080px) { .other-domains.six { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) {
  .other-domains.six { grid-template-columns: repeat(2, 1fr); }
  .feature-grid.two { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .results-tools { flex-wrap: wrap; min-width: 0; max-width: 100%; }
  .results-tools .select { max-width: 100%; }
}
