:root {
  --cream: #fffbf5;
  --linen: #f4ece1;
  --sand: #eedfbe;
  --gold: #d9bd7e;
  --brown: #956736;
  --brown-deep: #6d4a25;
  --espresso: #3f2c1b;
  --slate: #304254;
  --ink: #3a3631;
  --muted: #625d55;
  --line: #e6d9c6;
  --radius: 20px;
  --maxw: 1160px;
  --display: "Gilda Display", Georgia, serif;
  --body: "Hanken Grotesk", system-ui, sans-serif;
  --shadow: 0 18px 40px -18px rgba(109, 74, 37, .35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 1.0625rem/1.65 var(--body); }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 400; color: var(--slate); line-height: 1.1; }
p { margin: 0; }
a { color: var(--brown-deep); }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--brown); outline-offset: 3px; border-radius: 8px; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--brown); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 200; }
.skip:focus { left: 8px; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(18px, 4vw, 40px); }
.wrap-narrow { max-width: 820px; }

/* Boutons */
.btn { display: inline-block; border: 0; cursor: pointer; text-decoration: none; background: var(--brown); color: #fff; font-weight: 600; font-size: 1rem; padding: 13px 26px; border-radius: 999px; transition: background .2s, transform .15s, box-shadow .2s; box-shadow: 0 10px 22px -12px rgba(109, 74, 37, .7); }
.btn:hover { background: var(--brown-deep); transform: translateY(-1px); }
.btn:active { transform: scale(.98); }
.btn-lg { padding: 16px 32px; font-size: 1.05rem; }
.btn-block { width: 100%; text-align: center; }
.btn-ghost { background: transparent; color: var(--brown-deep); box-shadow: inset 0 0 0 2px var(--brown); }
.btn-ghost:hover { background: var(--brown); color: #fff; }
.btn-nav { padding: 9px 20px; font-size: .95rem; color: #fff; box-shadow: none; }

/* En-tête */
.header { position: sticky; top: 0; z-index: 100; background: rgba(255, 251, 245, .92); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 24px rgba(109, 74, 37, .08); }
.header-in { max-width: 1260px; margin: 0 auto; padding: 10px clamp(18px, 3vw, 36px); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-mark { height: 42px; width: auto; }
.logo-txt { display: flex; flex-direction: column; line-height: 1.1; }
.logo-ar { font-family: "Cairo", "Amiri", sans-serif; font-size: 1.55rem; font-weight: 800; color: #1c1713; line-height: 1.15; }
.logo-fr { font-family: "Cairo", var(--body); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: #1c1713; font-weight: 600; }

.nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); }
.nav a:not(.btn) { text-decoration: none; color: var(--slate); font-weight: 500; font-size: .97rem; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:not(.btn):hover, .nav a.is-active { border-bottom-color: var(--brown); color: var(--brown-deep); }

.burger { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; padding: 10px; flex-direction: column; justify-content: center; gap: 6px; }
.burger span { display: block; height: 2px; background: var(--slate); border-radius: 2px; transition: transform .25s, opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Accueil */
.hero { position: relative; overflow: hidden; padding: clamp(40px, 7vw, 96px) 0 clamp(56px, 8vw, 112px); }
.hero::before { content: ""; position: absolute; right: -14%; top: -30%; width: 70vmin; height: 70vmin; max-width: 720px; max-height: 720px; background: var(--sand); opacity: .55; transform: rotate(45deg); border-radius: 12%; }
.hero-in { position: relative; max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(18px, 4vw, 40px); display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 6vw, 72px); align-items: center; }
.hero-badge { display: inline-block; background: #fff; color: var(--brown-deep); font-weight: 600; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; padding: 8px 18px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--gold); }
.hero h1 { font-size: clamp(2.8rem, 6.6vw, 5.2rem); letter-spacing: -.015em; margin: 22px 0 0; line-height: 1.04; }
.hero h1 em { font-style: normal; color: var(--brown); background: linear-gradient(transparent 82%, var(--sand) 82%); }
.hero-lead { margin-top: 26px; max-width: 33em; font-size: 1.15rem; }
.hero-actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-facts { list-style: none; padding: 0; margin: 32px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.hero-facts li { background: #fff; color: var(--brown-deep); font-weight: 600; font-size: .95rem; padding: 7px 16px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); }

.hero-card { position: relative; background: #fff; border-radius: 36px; aspect-ratio: 1 / 1; display: grid; place-items: center; padding: 6%; box-shadow: var(--shadow); animation: rise .9s ease-out both; }
.hero-card::before { content: ""; position: absolute; inset: 14px; border: 1.5px solid var(--sand); border-radius: 26px; }
.hero-logo { position: relative; width: 100%; height: auto; display: block; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* Sections et titres */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-sand { background: var(--linen); }
.section-dark { background: var(--espresso); color: #f1e6d4; }

.sec-head { margin-bottom: clamp(32px, 5vw, 56px); max-width: 44em; }
.sec-head::before { content: ""; display: block; width: 72px; height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--gold), var(--brown)); margin-bottom: 22px; }
.sec-head h2 { font-size: clamp(2.4rem, 6vw, 4rem); letter-spacing: -.01em; }
.sec-head p { margin-top: 14px; color: var(--muted); font-size: 1.2rem; }
.sec-head-light h2 { color: #fff; }
.sec-head-light p { color: #dccdb6; }
.ar-inline { font-family: "Amiri", serif; font-size: 1.3em; color: var(--brown-deep); }

/* Pourquoi */
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.why article, .why-soon { display: grid; grid-template-columns: 64px 1fr; grid-template-rows: auto auto; column-gap: 18px; align-items: center; background: #fff; border-radius: var(--radius); padding: 22px 24px; box-shadow: inset 0 0 0 1px var(--line); text-decoration: none; transition: transform .25s, box-shadow .25s; }
.why article:hover, .why-soon:hover { transform: translateY(-4px); box-shadow: var(--shadow), inset 0 0 0 1px var(--gold); }
.icon { grid-row: 1 / 3; width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; background: var(--brown); color: #fff; }
.icon svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.why h3 { font-size: 1.4rem; line-height: 1.15; align-self: end; }
.why p { color: var(--muted); font-size: 1rem; align-self: start; margin-top: 2px; }
.why-soon { background: var(--sand); box-shadow: none; }
.why-soon .icon { background: #fff; color: var(--brown-deep); }

/* Enseignements */
.seg { display: inline-flex; background: #fff; border-radius: 999px; padding: 6px; box-shadow: inset 0 0 0 1px var(--line); }
.seg-btn { border: 0; background: transparent; padding: 12px 28px; border-radius: 999px; cursor: pointer; color: var(--brown-deep); font-weight: 600; font-size: 1.02rem; transition: background .2s, color .2s; }
.seg-btn:hover { background: var(--linen); }
.seg-btn.is-on { background: var(--brown); color: #fff; }

.subjects { margin: 24px 0 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.subj { display: inline-flex; align-items: center; gap: 12px; border: 1.5px solid var(--line); background: #fff; color: var(--brown-deep); padding: 11px 24px 11px 12px; border-radius: 999px; cursor: pointer; font-weight: 600; font-size: 1.02rem; transition: border-color .2s, background .2s, color .2s; }
.subj span { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--sand); color: var(--brown-deep); font-family: "Amiri", serif; font-size: 1.25rem; line-height: 1; }
.subj:hover { border-color: var(--brown); }
.subj.is-on { border-color: var(--brown); background: var(--brown); color: #fff; }
.subj.is-on span { background: rgba(255, 255, 255, .22); color: #fff; }

.panel-note { display: inline-block; margin-bottom: 18px; background: #fff; color: var(--brown-deep); font-weight: 600; font-size: .95rem; padding: 7px 16px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); }
.sessions { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.session { background: #fff; border-radius: var(--radius); padding: 26px 24px 22px; display: flex; flex-direction: column; gap: 10px; box-shadow: inset 0 0 0 1px var(--line); border-top: 5px solid var(--gold); animation: pop .35s ease-out both; transition: transform .2s, box-shadow .2s; }
.session:hover { transform: translateY(-4px); box-shadow: var(--shadow), inset 0 0 0 1px var(--line); }
.session h3 { font-size: 1.45rem; }
.session p { color: var(--muted); flex: 1; }
.pick { align-self: flex-start; margin-top: 8px; border: 0; background: var(--sand); color: var(--brown-deep); font-weight: 600; cursor: pointer; padding: 9px 18px; border-radius: 999px; transition: background .2s, color .2s; }
.pick:hover { background: var(--brown); color: #fff; }
@keyframes pop { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.reg-note { margin-top: 30px; color: var(--muted); max-width: 46em; }

/* Tarifs */
.formats { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 36px; }
.formats article { padding: 30px 30px; border-radius: var(--radius); background: var(--linen); }
.formats h3 { font-size: 1.6rem; margin-bottom: 10px; }
.formats p { color: var(--muted); }

.prices { border: 0; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.price { cursor: pointer; display: block; }
.price input { position: absolute; opacity: 0; }
.price-in { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 34px 16px; border-radius: var(--radius); background: #fff; box-shadow: inset 0 0 0 1.5px var(--line); transition: box-shadow .2s, background .2s, color .2s, transform .2s; }
.price:hover .price-in { box-shadow: inset 0 0 0 2px var(--brown); transform: translateY(-3px); }
.price input:checked + .price-in { background: var(--brown); box-shadow: var(--shadow); color: #fff; }
.price input:focus-visible + .price-in { outline: 3px solid var(--brown-deep); outline-offset: 3px; }
.price-dur { font-weight: 600; font-size: 1.05rem; letter-spacing: .02em; }
.price-amt { font-family: var(--display); font-size: 3.6rem; line-height: 1.1; }
.price-per { font-size: .92rem; opacity: .8; }
.price-note { margin-top: 20px; color: var(--muted); }
.price-cta { margin-top: 24px; }

/* Inscription */
.reg { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.reg h3 { color: #fff; font-size: 1.8rem; margin-bottom: 20px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.steps li { border-radius: 16px; background: rgba(255, 255, 255, .07); overflow: hidden; transition: background .2s; }
.steps button { all: unset; box-sizing: border-box; width: 100%; display: flex; align-items: center; gap: 16px; padding: 16px 18px; cursor: pointer; color: #fff; font-weight: 600; }
.steps button:focus-visible { outline: 3px solid var(--sand); outline-offset: -3px; }
.steps .n { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--sand); color: var(--espresso); font: 400 1.2rem var(--display); }
.steps p { display: none; padding: 0 18px 18px 70px; color: #e6d8c2; }
.steps li.is-on { background: rgba(255, 255, 255, .14); }
.steps li.is-on p { display: block; }

.reg-form { background: var(--cream); color: var(--ink); border-radius: 26px; padding: clamp(24px, 3vw, 38px); display: grid; gap: 16px; }
.reg-form h3 { color: var(--slate); margin-bottom: 0; }
.form-help { color: var(--muted); font-size: .96rem; margin-top: -8px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { min-width: 0; }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; color: var(--brown-deep); }
.field input, .field select, .field textarea { width: 100%; font: inherit; color: var(--ink); background: #fff; border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brown); box-shadow: 0 0 0 4px rgba(149, 103, 54, .18); }
.field input[readonly] { background: var(--linen); }
.field textarea { resize: vertical; }
.form-err { color: #a13a2a; font-weight: 500; }

/* Avis */
.slider { max-width: 860px; background: #fff; border-radius: 28px; padding: clamp(28px, 5vw, 56px); box-shadow: var(--shadow), inset 0 0 0 1px var(--line); }
.slides { display: grid; }
.slide { grid-area: 1 / 1; margin: 0; opacity: 0; visibility: hidden; transition: opacity .35s; }
.slide.is-on { opacity: 1; visibility: visible; }
.slide blockquote { margin: 0; font: 400 clamp(1.4rem, 3vw, 2rem)/1.4 var(--display); color: var(--slate); }
.slide blockquote::before { content: "“"; display: block; font-size: 5rem; line-height: .7; color: var(--gold); margin-bottom: 12px; }
.slide figcaption { margin-top: 24px; font-weight: 600; color: var(--brown-deep); display: flex; align-items: center; gap: 12px; }
.av { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--brown); color: #fff; font-family: var(--display); font-size: 1.15rem; }
.slider-ctl { margin-top: 30px; display: flex; align-items: center; gap: 16px; }
.arrow { width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--brown); background: transparent; color: var(--brown-deep); font-size: 1.6rem; line-height: 1; cursor: pointer; display: grid; place-items: center; padding: 0 0 4px; transition: background .2s, color .2s; }
.arrow:hover { background: var(--brown); color: #fff; }
.dots { display: flex; gap: 8px; }
.dot { width: 11px; height: 11px; border-radius: 50%; border: 0; background: var(--line); cursor: pointer; padding: 0; transition: background .2s, transform .2s; }
.dot.is-on { background: var(--brown); transform: scale(1.25); }
.more-reviews { margin-top: 28px; font-weight: 600; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border-radius: 18px; box-shadow: inset 0 0 0 1px var(--line); padding: 0 24px; transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--shadow), inset 0 0 0 1px var(--gold); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 0; font-weight: 600; font-size: 1.1rem; color: var(--slate); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--sand); color: var(--brown-deep); font-size: 1.4rem; line-height: 1; padding-bottom: 3px; transition: transform .25s, background .2s, color .2s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--brown); color: #fff; }
.faq details p { padding: 0 0 22px; color: var(--muted); max-width: 42em; }
.faq-more { margin-top: 26px; font-weight: 500; }

/* PDF */
.pdf-card { background: var(--sand); border-radius: 32px; padding: clamp(36px, 6vw, 72px); text-align: center; position: relative; overflow: hidden; }
.pdf-card::before, .pdf-card::after { content: ""; position: absolute; width: 220px; height: 220px; border: 1.5px solid rgba(149, 103, 54, .25); transform: rotate(45deg); border-radius: 16%; }
.pdf-card::before { left: -90px; top: -90px; }
.pdf-card::after { right: -90px; bottom: -90px; }
.pdf-card > * { position: relative; }
.pdf-card h2 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.pdf-lead { margin: 16px auto 30px; max-width: 34em; color: var(--brown-deep); font-size: 1.15rem; }

/* Pied de page */
.footer { background: var(--espresso); color: #eadfcb; padding: 56px 0 26px; }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px; }
.foot-brand .logo-ar { color: #fff; font-size: 2rem; display: block; }
.foot-brand .logo-fr { color: var(--gold); }
.foot-brand p { margin-top: 12px; max-width: 24em; color: #d6c8b0; }
.foot-links { display: flex; flex-direction: column; gap: 10px; }
.foot-links a, .legal a { color: #fff; }
.legal { max-width: var(--maxw); margin: 36px auto 0; padding: 20px clamp(18px, 4vw, 40px) 0; border-top: 1px solid rgba(255, 255, 255, .15); font-size: .9rem; color: #bfae92; }

.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 90; width: 56px; height: 56px; border-radius: 50%; background: var(--brown); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px rgba(63, 44, 27, .35); transition: transform .2s, background .2s; }
.wa-float:hover { transform: scale(1.07); background: var(--brown-deep); }

/* Mobile */
@media (max-width: 960px) {
  .burger { display: flex; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--cream); flex-direction: column; align-items: stretch; gap: 0; padding: 8px clamp(18px, 4vw, 40px) 20px; border-bottom: 1px solid var(--line); box-shadow: 0 18px 28px rgba(109, 74, 37, .1); display: none; }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .btn-nav { margin-top: 14px; text-align: center; }
  .hero-in, .reg, .formats { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 360px; }
  .why { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .why, .prices, .row { grid-template-columns: 1fr; }
  .why article, .why-soon { padding: 16px 18px; }
  .seg { display: flex; }
  .seg-btn { flex: 1; padding-left: 12px; padding-right: 12px; }
  .logo-fr { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
.panel-note[hidden], .form-err[hidden] { display: none; }

.price-in { cursor: default; }
.price:hover .price-in { transform: none; box-shadow: inset 0 0 0 1.5px var(--line); }
.price .price-in { background: var(--brown); color: #fff; }
.formats { margin-top: 0; }

/* Pages internes */
.page-hero { background: var(--linen); padding: clamp(40px, 6vw, 80px) 0 clamp(32px, 5vw, 56px); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2.6rem, 6.4vw, 4.6rem); letter-spacing: -.015em; margin-top: 10px; }
.page-lead { margin-top: 16px; max-width: 38em; font-size: 1.18rem; color: var(--muted); }
.crumb { font-size: .9rem; color: var(--muted); }
.crumb a { color: var(--brown-deep); text-decoration: none; font-weight: 600; }
.crumb a:hover { text-decoration: underline; }
.subject-page .seg { margin-bottom: 28px; }
.subj[aria-current="page"] { background: var(--brown); border-color: var(--brown); color: #fff; }
.subj[aria-current="page"] span { background: rgba(255,255,255,.22); color: #fff; }
a.subj { text-decoration: none; }
.subj-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.subj-card { display: flex; flex-direction: column; gap: 8px; background: #fff; border-radius: var(--radius); padding: 26px 24px 22px; text-decoration: none; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); transition: transform .25s, box-shadow .25s; }
.subj-card:hover { transform: translateY(-5px); box-shadow: var(--shadow), inset 0 0 0 1px var(--gold); }
.subj-ar { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--brown); color: #fff; font-family: "Amiri", serif; font-size: 1.9rem; line-height: 1; }
.subj-card h3 { font-size: 1.7rem; margin-top: 8px; }
.subj-card p { color: var(--muted); font-size: 1rem; flex: 1; }
.subj-card .more { color: var(--brown-deep); font-weight: 600; margin-top: 6px; }
.cta-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; background: var(--espresso); color: #f1e6d4; border-radius: 28px; padding: clamp(28px, 5vw, 52px); }
.cta-band h2 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.6rem); }
.cta-band p { margin-top: 10px; color: #dccdb6; max-width: 34em; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-band .btn-ghost { color: #fff; box-shadow: inset 0 0 0 2px var(--gold); }
.cta-band .btn-ghost:hover { background: var(--gold); color: var(--espresso); }
.session a.pick { display: inline-block; text-decoration: none; }
@media (max-width: 960px) { .subj-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .subj-grid { grid-template-columns: 1fr; } }

/* Wordmark */
.logo-word { height: 34px; width: auto; display: block; }
.foot-word { height: 60px; width: auto; display: block; margin-bottom: 8px; filter: brightness(0) invert(1); }
/* Menu latéral (toutes tailles) */
.header { backdrop-filter: none; background: var(--cream); }
.burger { display: flex; }
.nav { position: fixed; top: 0; right: 0; bottom: 0; left: auto; width: min(88vw, 340px); height: 100vh; height: 100dvh; background: var(--cream); display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 78px 26px 28px; border: 0; box-shadow: -24px 0 48px rgba(63, 44, 27, .22); transform: translateX(105%); visibility: hidden; transition: transform .3s ease, visibility .3s; z-index: 300; overflow-y: auto; }
.nav.is-open { transform: none; visibility: visible; }
.nav a:not(.btn) { padding: 15px 4px; border-bottom: 1px solid var(--line); font-size: 1.1rem; }
.nav a:not(.btn):hover, .nav a.is-active { border-bottom-color: var(--line); color: var(--brown); }
.nav a.is-active { font-weight: 700; }
.btn-nav { margin-top: 22px; text-align: center; padding: 14px 20px; font-size: 1.02rem; }
.nav-close { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--linen); color: var(--brown-deep); font-size: 1.6rem; line-height: 1; cursor: pointer; }
.nav-close:hover { background: var(--sand); }
.scrim { position: fixed; inset: 0; background: rgba(28, 23, 19, .45); opacity: 0; pointer-events: none; transition: opacity .3s; z-index: 99; }
.scrim.is-on { opacity: 1; pointer-events: auto; }
.burger[aria-expanded="true"] span:nth-child(1), .burger[aria-expanded="true"] span:nth-child(3) { transform: none; }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 1; }
body.menu-open { overflow: hidden; }
@media (prefers-reduced-motion: reduce) { .nav, .scrim { transition: none; } }

.checks { border: 0; padding: 0; margin: 0 0 18px; min-width: 0; }
.checks legend { padding: 0; margin-bottom: 8px; font-weight: 600; font-size: .95rem; }
.checks label { display: flex; align-items: center; gap: 10px; padding: 9px 0; cursor: pointer; font-weight: 500; }
.checks input[type=checkbox] { width: 20px; height: 20px; accent-color: var(--brown); flex: none; }
.checks legend { color: var(--brown-deep); }
#inscription-matiere { scroll-margin-top: 80px; }
#inscription-matiere .reg-form { border: 1.5px solid var(--line); box-shadow: var(--shadow); }
