:root {
    --ink: #17201e;
    --ink-soft: #33413e;
    --forest: #1f302c;
    --forest-2: #29423b;
    --ivory: #f7f3ea;
    --paper: #fffdf8;
    --sand: #e9dfcf;
    --champagne: #c7a66b;
    --gold: #ac8141;
    --blue: #284a6b;
    --red: #9d3434;
    --sage: #83928b;
    --muted: #69736f;
    --line: rgba(23, 32, 30, 0.14);
    --white: #fff;
    --shadow: 0 24px 70px rgba(21, 36, 32, 0.12);
    --serif: Georgia, "Times New Roman", serif;
    --sans: Inter, "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); line-height: 1.6; -webkit-font-smoothing: antialiased; }
body.nav-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
::selection { background: var(--champagne); color: var(--ink); }
.shell { width: min(1180px, calc(100% - 44px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 999; padding: 10px 16px; border-radius: 3px; background: var(--forest); color: white; transform: translateY(-150%); }
.skip-link:focus { transform: none; }

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.05; letter-spacing: -.035em; }
h1 { font-size: clamp(3.1rem, 7vw, 6.4rem); }
h2 { font-size: clamp(2.35rem, 4.5vw, 4.2rem); }
h3 { font-size: 1.55rem; }
.eyebrow { display: flex; align-items: center; gap: 11px; margin-bottom: 20px; color: var(--gold); font-size: .74rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow > span { width: 34px; height: 1px; background: currentColor; }
.eyebrow-light { color: #e0c28e; }
.large-text { font-family: var(--serif); font-size: 1.35rem; line-height: 1.55; }

.site-header { position: fixed; inset: 0 0 auto; z-index: 100; padding: 17px 0; border-bottom: 1px solid transparent; background: rgba(255, 253, 248, .92); backdrop-filter: blur(16px); transition: padding .25s ease, border-color .25s ease, box-shadow .25s ease; }
.site-header.scrolled { padding: 9px 0; border-color: var(--line); box-shadow: 0 10px 35px rgba(23, 32, 30, .07); }
.nav-shell, .brand, .site-nav { display: flex; align-items: center; }
.nav-shell { position: relative; justify-content: space-between; }
.brand { gap: 12px; }
.brand-monogram { display: grid; width: 43px; height: 43px; place-items: center; border: 1px solid var(--gold); border-radius: 50%; background: var(--forest); color: var(--champagne); font-family: var(--serif); font-size: 1.25rem; font-style: italic; }
.brand-copy strong, .brand-copy small { display: block; line-height: 1.1; }
.brand-copy strong { font-family: var(--serif); font-size: 1.25rem; letter-spacing: .12em; }
.brand-copy small { max-width: 220px; margin-top: 5px; color: var(--muted); font-size: .58rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.brand-inverse { color: white; }
.brand-inverse .brand-copy small { color: rgba(255,255,255,.56); }
.site-nav { gap: 27px; font-size: .82rem; font-weight: 650; }
.site-nav > a:not(.button) { position: relative; padding: 10px 0; }
.site-nav > a:not(.button)::after { position: absolute; right: 0; bottom: 2px; left: 0; height: 1px; background: var(--gold); content: ""; transform: scaleX(0); transform-origin: right; transition: transform .2s ease; }
.site-nav > a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-toggle { display: none; width: 45px; height: 45px; padding: 10px; border: 0; background: transparent; cursor: pointer; }
.nav-toggle > span { display: block; width: 24px; height: 2px; margin: 5px auto; background: var(--ink); transition: .2s ease; }

.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; gap: 10px; padding: 13px 25px; border: 1px solid var(--forest); border-radius: 2px; background: var(--forest); color: white; font-size: .83rem; font-weight: 750; letter-spacing: .02em; box-shadow: 0 12px 25px rgba(31, 48, 44, .18); cursor: pointer; transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.button:hover { background: #111a18; box-shadow: 0 16px 31px rgba(31, 48, 44, .25); transform: translateY(-2px); }
.button-small { min-height: 42px; padding: 9px 18px; }
.button-wide { width: 100%; }
.button-gold { border-color: var(--champagne); background: var(--champagne); color: var(--ink); }
.button-gold:hover { background: #dfc28d; }
.button-outline-light { border-color: rgba(255,255,255,.45); background: transparent; box-shadow: none; }
.button-outline-light:hover { border-color: white; background: white; color: var(--ink); }
.arrow-link { display: inline-flex; align-items: center; gap: 9px; font-size: .85rem; font-weight: 750; }
.arrow-link span, .category-card a span { transition: transform .2s ease; }
.arrow-link:hover span, .category-card a:hover span { transform: translateX(5px); }

.hero { position: relative; min-height: 820px; padding: 170px 0 100px; background: var(--ivory); overflow: hidden; }
.hero::before { position: absolute; top: -220px; right: -170px; width: 640px; height: 640px; border: 1px solid rgba(172,129,65,.2); border-radius: 50%; box-shadow: 0 0 0 60px rgba(172,129,65,.03), 0 0 0 120px rgba(172,129,65,.02); content: ""; }
.hero-grid { display: grid; align-items: center; grid-template-columns: 1.03fr .97fr; gap: 85px; }
.hero-copy { position: relative; z-index: 2; }
.hero h1 { max-width: 680px; margin-bottom: 28px; }
.hero h1 em { color: var(--gold); font-weight: inherit; }
.hero-lead { max-width: 620px; margin-bottom: 34px; color: var(--muted); font-size: 1.08rem; }
.hero-actions { display: flex; align-items: center; gap: 27px; }
.hero-facts { display: grid; max-width: 640px; margin-top: 54px; padding-top: 25px; border-top: 1px solid var(--line); grid-template-columns: repeat(3,1fr); gap: 20px; }
.hero-facts strong, .hero-facts span { display: block; }
.hero-facts strong { font-family: var(--serif); font-size: 1.3rem; font-weight: 500; }
.hero-facts span { margin-top: 3px; color: var(--muted); font-size: .72rem; }
.hero-media { position: relative; min-height: 550px; }
.hero-photo-frame { position: absolute; inset: 0 0 0 35px; border-radius: 240px 240px 8px 8px; box-shadow: var(--shadow); overflow: hidden; }
.hero-photo-frame::after { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(17,27,24,.35)); content: ""; }
.hero-photo-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 52% center; }
.hero-seal { position: absolute; bottom: 34px; left: -12px; z-index: 2; display: grid; width: 150px; height: 150px; place-items: center; align-content: center; border: 1px solid rgba(255,255,255,.6); border-radius: 50%; background: rgba(31,48,44,.92); color: white; box-shadow: 0 16px 40px rgba(20,31,28,.23); text-align: center; }
.hero-seal strong { margin: -8px 0; color: var(--champagne); font-family: var(--serif); font-size: 3.4rem; font-weight: 500; }
.hero-seal span { max-width: 90px; font-size: .6rem; font-weight: 700; letter-spacing: .12em; line-height: 1.35; text-transform: uppercase; }
.hero-thread { position: absolute; top: 23px; right: -45px; width: 145px; height: 260px; border: 1px solid rgba(157,52,52,.28); border-radius: 50%; transform: rotate(-25deg); }

.intake-bar { padding: 42px 0; background: var(--forest); color: white; }
.intake-grid { display: grid; align-items: center; grid-template-columns: 1.05fr 1.25fr auto; gap: 42px; }
.intake-grid h2 { margin: 0; font-size: 1.7rem; letter-spacing: -.02em; }
.intake-grid .eyebrow { margin-bottom: 7px; }
.intake-dates { display: grid; grid-template-columns: repeat(3,1fr); border-left: 1px solid rgba(255,255,255,.18); }
.intake-date { display: grid; padding: 4px 18px; border-right: 1px solid rgba(255,255,255,.18); grid-template-columns: auto 1fr; align-items: center; gap: 12px; }
.intake-date strong { color: var(--champagne); font-family: var(--serif); font-size: 2.2rem; font-weight: 500; line-height: 1; }
.intake-date span { color: rgba(255,255,255,.7); font-size: .68rem; line-height: 1.35; }

.section { padding: 115px 0; }
.section-heading { display: grid; align-items: end; margin-bottom: 58px; grid-template-columns: 1.2fr .8fr; gap: 85px; }
.section-heading h2 { margin-bottom: 0; }
.section-heading > p { max-width: 470px; margin-bottom: 7px; color: var(--muted); }
.category-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.category-card { position: relative; min-height: 455px; padding: 37px; border: 1px solid var(--line); background: var(--paper); overflow: hidden; transition: transform .25s ease, box-shadow .25s ease; }
.category-card:hover { box-shadow: var(--shadow); transform: translateY(-7px); }
.category-card::after { position: absolute; right: -70px; bottom: -100px; width: 250px; height: 250px; border: 1px solid rgba(255,255,255,.15); border-radius: 50%; box-shadow: 0 0 0 40px rgba(255,255,255,.03); content: ""; }
.category-index { position: absolute; top: 31px; right: 34px; color: rgba(23,32,30,.28); font-family: var(--serif); font-size: 2.9rem; }
.category-icon { display: grid; width: 63px; height: 63px; margin-bottom: 61px; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--gold); font-size: 1.6rem; }
.card-kicker { margin-bottom: 9px; color: var(--gold); font-size: .66rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.category-card h3 { margin-bottom: 16px; font-size: 2rem; }
.category-card > p:not(.card-kicker) { color: var(--muted); font-size: .9rem; }
.category-card a { position: absolute; bottom: 32px; z-index: 2; display: flex; justify-content: space-between; width: calc(100% - 74px); padding-top: 16px; border-top: 1px solid var(--line); font-size: .75rem; font-weight: 750; }
.category-industry { border-color: var(--forest); background: var(--forest); color: white; }
.category-industry .category-index, .category-industry > p:not(.card-kicker) { color: rgba(255,255,255,.58); }
.category-industry .category-icon, .category-industry a { border-color: rgba(255,255,255,.18); }
.category-deco { background: #f1eee7; }

.legacy { background: #ece5d8; }
.legacy-grid { display: grid; align-items: center; grid-template-columns: .95fr 1.05fr; gap: 95px; }
.legacy-media { position: relative; min-height: 620px; }
.legacy-media > img { width: calc(100% - 42px); height: 560px; border-radius: 220px 220px 4px 4px; object-fit: cover; object-position: 47% center; box-shadow: var(--shadow); }
.legacy-caption { position: absolute; right: 0; bottom: 0; width: 260px; padding: 24px; border-left: 3px solid var(--gold); background: var(--paper); box-shadow: var(--shadow); }
.legacy-caption strong, .legacy-caption span { display: block; }
.legacy-caption strong { font-family: var(--serif); font-size: 1.05rem; }
.legacy-caption span { margin-top: 5px; color: var(--muted); font-size: .75rem; }
.legacy-copy > h2 { margin-bottom: 27px; }
.legacy-copy > .large-text { color: var(--ink-soft); }
.principles { margin-top: 36px; }
.principles > div { display: grid; padding: 20px 0; border-top: 1px solid var(--line); grid-template-columns: 45px 1fr; gap: 15px; }
.principles > div > span { color: var(--gold); font-family: var(--serif); }
.principles p { margin: 0; color: var(--muted); font-size: .84rem; }
.principles strong { display: block; margin-bottom: 4px; color: var(--ink); font-family: var(--serif); font-size: 1.15rem; font-weight: 500; }

.signature-programs { background: var(--forest); color: white; }
.signature-programs .section-heading > p { color: rgba(255,255,255,.6); }
.program-strip { display: grid; border-top: 1px solid rgba(255,255,255,.15); border-bottom: 1px solid rgba(255,255,255,.15); grid-template-columns: repeat(4,1fr); }
.program-mini { min-height: 335px; padding: 30px; border-right: 1px solid rgba(255,255,255,.15); }
.program-mini:last-child { border-right: 0; }
.program-mini > p { color: var(--champagne); font-size: .62rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.program-mini h3 { min-height: 92px; margin: 35px 0; font-size: 1.7rem; }
.program-mini > div { padding-top: 17px; border-top: 1px solid rgba(255,255,255,.15); }
.program-mini span, .program-mini strong { display: block; }
.program-mini span { color: rgba(255,255,255,.58); font-size: .72rem; }
.program-mini strong { margin-top: 4px; color: var(--champagne); font-family: var(--serif); font-size: 1.3rem; font-weight: 500; }
.program-mini a { display: inline-block; margin-top: 27px; font-size: .75rem; font-weight: 750; }
.centered-action { margin-top: 38px; text-align: center; }

.centres { background: var(--ivory); }
.centres-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 95px; }
.centres-copy { position: sticky; top: 130px; align-self: start; }
.centres-copy p:not(.eyebrow) { margin: 25px 0 30px; color: var(--muted); }
.centre-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 35px; }
.centre-list > div { display: grid; padding: 18px 0; border-bottom: 1px solid var(--line); grid-template-columns: 38px 1fr auto; align-items: center; gap: 12px; }
.centre-list span { color: var(--gold); font-family: var(--serif); font-size: .75rem; }
.centre-list strong { font-family: var(--serif); font-size: 1rem; font-weight: 500; }
.centre-list small { color: var(--muted); font-size: .65rem; }

.final-cta { background: linear-gradient(120deg, #1b2a26, #314b43); color: white; }
.final-cta-inner { display: grid; grid-template-columns: 1.1fr .9fr; align-items: end; gap: 100px; }
.final-cta h2 { margin: 0; }
.final-cta-inner > div:last-child p { margin-bottom: 28px; color: rgba(255,255,255,.67); }

.site-footer { padding: 75px 0 24px; background: #121a18; color: rgba(255,255,255,.66); }
.footer-grid { display: grid; grid-template-columns: 1.5fr .75fr 1fr 1fr; gap: 55px; }
.footer-grid h2 { margin-bottom: 22px; color: white; font-family: var(--serif); font-size: 1rem; letter-spacing: 0; }
.footer-grid a, .footer-grid p { font-size: .75rem; }
.footer-grid > div:not(.footer-intro) > a { display: block; width: max-content; max-width: 100%; margin: 9px 0; }
.footer-grid a:hover { color: white; }
.footer-intro > p { max-width: 300px; margin-top: 25px; }
.footer-bottom { display: flex; justify-content: space-between; margin-top: 55px; padding-top: 21px; border-top: 1px solid rgba(255,255,255,.1); font-size: .65rem; }
.floating-cta { position: fixed; right: 22px; bottom: 22px; z-index: 90; display: flex; min-height: 49px; align-items: center; gap: 8px; padding: 0 18px; border-radius: 28px; background: var(--champagne); color: var(--ink); box-shadow: 0 12px 30px rgba(21,30,27,.28); font-size: .72rem; }

.page-hero, .program-hero { padding: 190px 0 105px; background: var(--ivory); }
.page-hero-grid { display: grid; grid-template-columns: 1.25fr .75fr; align-items: end; gap: 90px; }
.page-hero h1 { max-width: 790px; margin-bottom: 0; font-size: clamp(3.6rem,7vw,6.1rem); }
.page-hero-grid > p { margin-bottom: 8px; color: var(--muted); }
.catalogue-section { padding: 90px 0; border-top: 1px solid var(--line); }
.catalogue-section:nth-child(odd) { background: #f3eee4; }
.catalogue-title { display: grid; margin-bottom: 40px; grid-template-columns: 50px 1fr auto; align-items: end; }
.catalogue-title > span { color: var(--gold); font-family: var(--serif); }
.catalogue-title h2 { margin: 0; font-size: 2.7rem; }
.catalogue-title p { margin: 0 0 4px; color: var(--muted); font-size: .75rem; }
.catalogue-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.catalogue-card { position: relative; min-height: 460px; padding: 31px; border: 1px solid var(--line); background: var(--paper); }
.catalogue-card h3 { margin-bottom: 15px; font-size: 1.7rem; }
.catalogue-card > p:not(.card-kicker) { color: var(--muted); font-size: .83rem; }
.featured-label { position: absolute; top: 20px; right: 20px; padding: 5px 8px; border-radius: 2px; background: var(--forest); color: white; font-size: .55rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.catalogue-card dl { margin: 26px 0 70px; }
.catalogue-card dl > div { display: grid; padding: 10px 0; border-top: 1px solid var(--line); grid-template-columns: 68px 1fr; gap: 12px; }
.catalogue-card dt { color: var(--muted); font-size: .66rem; }
.catalogue-card dd { margin: 0; font-size: .72rem; font-weight: 650; }
.catalogue-actions { position: absolute; right: 31px; bottom: 27px; left: 31px; display: flex; justify-content: space-between; gap: 10px; font-size: .72rem; font-weight: 750; }
.catalogue-actions a:last-child { color: var(--gold); }

.program-hero { background: linear-gradient(120deg, var(--ivory), #ebe3d3); }
.program-hero-grid { display: grid; grid-template-columns: 1fr 380px; align-items: center; gap: 100px; }
.program-hero h1 { max-width: 780px; margin: 25px 0; font-size: clamp(3.5rem,6vw,5.7rem); }
.back-link { display: inline-block; margin-bottom: 55px; color: var(--muted); font-size: .74rem; font-weight: 700; }
.price-card { padding: 40px; border-top: 3px solid var(--gold); background: var(--forest); color: white; box-shadow: var(--shadow); }
.price-card p { margin-bottom: 12px; color: rgba(255,255,255,.55); font-size: .7rem; text-transform: uppercase; letter-spacing: .12em; }
.price-card > strong { display: block; margin-bottom: 27px; color: var(--champagne); font-family: var(--serif); font-size: 2.8rem; font-weight: 500; }
.price-card > span { display: block; padding: 10px 0; border-top: 1px solid rgba(255,255,255,.12); font-size: .78rem; }
.price-card > small { display: block; margin-top: 20px; color: rgba(255,255,255,.48); font-size: .65rem; }
.program-content-grid { display: grid; grid-template-columns: 1fr 370px; gap: 100px; }
.module-grid { display: grid; margin-top: 45px; grid-template-columns: 1fr 1fr; gap: 0 30px; }
.module-grid > div { display: grid; padding: 20px 0; border-top: 1px solid var(--line); grid-template-columns: 38px 1fr; gap: 10px; }
.module-grid span { color: var(--gold); font-family: var(--serif); font-size: .75rem; }
.module-grid p { margin: 0; font-size: .85rem; font-weight: 600; }
.details-panel { align-self: start; padding: 8px 30px; border: 1px solid var(--line); background: var(--ivory); }
.details-panel > div { padding: 22px 0; border-bottom: 1px solid var(--line); }
.details-panel > div:last-child { border-bottom: 0; }
.details-panel span, .details-panel strong { display: block; }
.details-panel span { margin-bottom: 4px; color: var(--muted); font-size: .65rem; text-transform: uppercase; letter-spacing: .1em; }
.details-panel strong { font-family: var(--serif); font-size: 1rem; font-weight: 500; }
.practical-section { background: var(--forest); color: white; }
.practical-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 100px; }
.practical-notes > div { display: grid; padding: 27px 0; border-top: 1px solid rgba(255,255,255,.16); grid-template-columns: 45px 1fr; gap: 15px; }
.practical-notes span { color: var(--champagne); font-family: var(--serif); }
.practical-notes p { margin: 0; color: rgba(255,255,255,.65); font-size: .86rem; }
.practical-notes strong { display: block; margin-bottom: 5px; color: white; font-family: var(--serif); font-size: 1.15rem; font-weight: 500; }
.program-intakes { background: var(--ivory); }
.program-intakes-inner { display: grid; grid-template-columns: 1fr 1fr auto; align-items: center; gap: 50px; }
.program-intakes h2 { margin-bottom: 0; font-size: 2.7rem; }
.date-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.date-pills span { padding: 9px 13px; border: 1px solid var(--line); background: white; font-size: .7rem; }

.registration-hero { padding: 170px 0 75px; background: var(--forest); color: white; }
.registration-hero-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 80px; }
.registration-hero h1 { margin-bottom: 17px; font-size: clamp(3.5rem,6vw,5.2rem); }
.registration-hero p:not(.eyebrow) { max-width: 600px; color: rgba(255,255,255,.65); }
.registration-steps { display: grid; margin: 0; padding: 0; list-style: none; grid-template-columns: repeat(3,1fr); }
.registration-steps li { padding: 20px 12px; border-top: 1px solid rgba(255,255,255,.18); color: rgba(255,255,255,.48); font-size: .7rem; }
.registration-steps li span { display: block; margin-bottom: 5px; color: var(--champagne); font-family: var(--serif); font-size: 1.2rem; }
.registration-steps li.active { border-color: var(--champagne); color: white; }
.registration-section { padding: 90px 0 120px; background: var(--ivory); }
.registration-grid { display: grid; grid-template-columns: 340px 1fr; align-items: start; gap: 75px; }
.registration-aside { position: sticky; top: 120px; }
.registration-aside h2 { font-size: 2.6rem; }
.check-list { margin: 30px 0; padding: 0; list-style: none; }
.check-list li { padding: 12px 0 12px 25px; border-bottom: 1px solid var(--line); font-size: .8rem; }
.check-list li::before { margin-left: -25px; margin-right: 10px; color: var(--gold); content: "✓"; }
.privacy-note { display: flex; gap: 13px; margin-top: 28px; padding: 20px; border: 1px solid var(--line); background: rgba(255,255,255,.45); }
.privacy-note > span { color: var(--gold); }
.privacy-note p { margin: 0; color: var(--muted); font-size: .72rem; }
.privacy-note strong { display: block; margin-bottom: 4px; color: var(--ink); }
.registration-form { padding: 43px; background: var(--paper); box-shadow: var(--shadow); }
.registration-form fieldset { margin: 0 0 42px; padding: 0; border: 0; }
.registration-form legend { width: 100%; margin-bottom: 25px; padding-bottom: 14px; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: 1.3rem; }
.registration-form legend span { margin-right: 12px; color: var(--gold); font-size: .8rem; }
.form-grid-two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.registration-form label, .auth-form label, .status-form-card label, .payment-instructions form label { display: block; margin-bottom: 18px; font-size: .72rem; font-weight: 750; }
.optional { color: var(--muted); font-size: .62rem; font-weight: 500; }
input, select, textarea { width: 100%; margin-top: 8px; padding: 13px 14px; border: 1px solid var(--line); border-radius: 2px; outline: none; background: white; color: var(--ink); transition: border-color .2s ease, box-shadow .2s ease; }
input:focus, select:focus, textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(172,129,65,.11); }
textarea { resize: vertical; }
.field-error { display: block; margin-top: 5px; color: var(--red); font-size: .65rem; }
.selected-price { min-height: 20px; color: var(--gold); font-family: var(--serif); font-size: 1rem; }
.payment-options { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.payment-options label { position: relative; margin: 0; cursor: pointer; }
.payment-options input { position: absolute; opacity: 0; pointer-events: none; }
.payment-options span { display: block; height: 100%; min-height: 105px; padding: 17px; border: 1px solid var(--line); background: white; transition: border-color .2s ease, background .2s ease; }
.payment-options strong, .payment-options small { display: block; }
.payment-options strong { font-family: var(--serif); font-size: 1rem; }
.payment-options small { margin-top: 8px; color: var(--muted); font-size: .62rem; font-weight: 500; }
.payment-options input:checked + span { border-color: var(--gold); background: #f5eddf; box-shadow: inset 0 0 0 1px var(--gold); }
.consent-check { display: grid !important; grid-template-columns: 18px 1fr; gap: 10px; align-items: start; font-weight: 500 !important; }
.consent-check input { width: 16px; height: 16px; margin: 3px 0 0; accent-color: var(--forest); }
.form-footnote { margin: 12px 0 0; color: var(--muted); font-size: .63rem; text-align: center; }
.alert { margin-bottom: 22px; padding: 14px 16px; border-left: 3px solid; font-size: .75rem; }
.alert-error { border-color: var(--red); background: #f9eaea; color: #6e2424; }
.alert-success { border-color: #47755f; background: #e8f3ed; color: #28503d; }

.confirmation-section { min-height: 100vh; padding: 160px 0 100px; background: var(--ivory); }
.confirmation-shell { max-width: 880px; text-align: center; }
.confirmation-mark { display: grid; width: 72px; height: 72px; margin: 0 auto 30px; place-items: center; border-radius: 50%; background: var(--forest); color: var(--champagne); font-size: 1.6rem; }
.confirmation-shell > .eyebrow { justify-content: center; }
.confirmation-shell h1 { margin-bottom: 20px; font-size: 4.5rem; }
.confirmation-lead { color: var(--muted); }
.reference-box { width: max-content; margin: 20px auto 35px; padding: 12px 22px; border: 1px dashed var(--gold); background: white; font-family: monospace; font-size: 1.1rem; font-weight: 700; letter-spacing: .08em; }
.confirmation-summary { display: grid; margin: 35px 0; border: 1px solid var(--line); background: white; grid-template-columns: repeat(4,1fr); }
.confirmation-summary > div { padding: 20px; border-right: 1px solid var(--line); }
.confirmation-summary > div:last-child { border-right: 0; }
.confirmation-summary span, .confirmation-summary strong { display: block; }
.confirmation-summary span { color: var(--muted); font-size: .6rem; text-transform: uppercase; letter-spacing: .1em; }
.confirmation-summary strong { margin-top: 5px; font-family: var(--serif); font-size: .9rem; font-weight: 500; }
.next-step-card { padding: 40px; background: white; box-shadow: var(--shadow); text-align: left; }
.next-step-card h2 { font-size: 2.2rem; }
.next-step-card p:last-child { color: var(--muted); }
.payment-instructions { display: grid; margin: 35px 0; background: var(--forest); color: white; grid-template-columns: 1fr 1fr; text-align: left; }
.payment-instructions > div, .payment-instructions > form { padding: 38px; }
.payment-instructions > form { background: white; color: var(--ink); }
.payment-instructions h2 { font-size: 2.4rem; }
.payment-instructions > div > p:not(.eyebrow) { color: rgba(255,255,255,.65); }
.payment-instructions dl > div { display: grid; padding: 10px 0; border-top: 1px solid rgba(255,255,255,.14); grid-template-columns: 1fr 1fr; }
.payment-instructions dt { color: rgba(255,255,255,.55); font-size: .68rem; }
.payment-instructions dd { margin: 0; font-weight: 700; text-align: right; }
.payment-instructions > div > small { display: block; margin-top: 15px; color: var(--champagne); font-size: .66rem; }
.confirmation-contact { margin-top: 28px; color: var(--muted); font-size: .75rem; }
.confirmation-contact a { color: var(--gold); font-weight: 700; }

.error-page { min-height: 80vh; padding: 200px 22px 100px; background: var(--ivory); text-align: center; }
.error-page .eyebrow { justify-content: center; }
.error-page h1 { margin-bottom: 20px; }
.error-page p:not(.eyebrow) { margin-bottom: 28px; color: var(--muted); }

.auth-body { background: var(--ivory); }
.auth-shell { display: grid; min-height: 100vh; grid-template-columns: 1fr 1fr; }
.auth-brand-panel { display: flex; padding: 55px 8vw; background: linear-gradient(145deg, var(--forest), #101816); color: white; flex-direction: column; justify-content: space-between; }
.auth-brand-panel > div { max-width: 620px; }
.auth-brand-panel h1 { font-size: clamp(3.5rem,6vw,5.8rem); }
.auth-brand-panel > div > p:last-child { color: rgba(255,255,255,.58); }
.auth-form-panel { display: grid; padding: 50px; place-items: center; }
.auth-form { width: min(430px,100%); padding: 43px; background: white; box-shadow: var(--shadow); }
.auth-form h2 { margin-bottom: 9px; font-size: 3rem; }
.auth-form > p:not(.eyebrow) { margin-bottom: 30px; color: var(--muted); }
.auth-form > a { display: block; margin-top: 20px; color: var(--muted); font-size: .7rem; text-align: center; }

.admin-body { min-height: 100vh; background: #f1f0eb; }
.admin-sidebar { position: fixed; inset: 0 auto 0 0; z-index: 5; display: flex; width: 255px; padding: 28px 24px; background: #15211e; color: white; flex-direction: column; }
.admin-sidebar nav { display: grid; margin-top: 70px; gap: 7px; }
.admin-sidebar nav a { padding: 11px 13px; border-radius: 3px; color: rgba(255,255,255,.64); font-size: .75rem; }
.admin-sidebar nav a:hover { background: rgba(255,255,255,.08); color: white; }
.admin-user { margin-top: auto; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); }
.admin-user span, .admin-user small { display: block; }
.admin-user span { font-family: var(--serif); }
.admin-user small { margin-top: 3px; color: rgba(255,255,255,.43); font-size: .62rem; }
.admin-user button { margin-top: 15px; padding: 0; border: 0; background: none; color: var(--champagne); font-size: .68rem; cursor: pointer; }
.admin-main { min-height: 100vh; margin-left: 255px; padding: 34px 40px 70px; }
.admin-topbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 32px; }
.admin-topbar p, .admin-card-heading p, .admin-kicker { margin-bottom: 2px; color: var(--gold); font-size: .62rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.admin-topbar h1 { margin: 0; font-size: 2.3rem; }
.stat-grid { display: grid; margin-bottom: 20px; grid-template-columns: repeat(4,1fr); gap: 15px; }
.stat-grid article { padding: 24px; border: 1px solid var(--line); background: white; }
.stat-grid span, .stat-grid strong, .stat-grid small { display: block; }
.stat-grid span { color: var(--muted); font-size: .65rem; text-transform: uppercase; }
.stat-grid strong { margin: 12px 0 3px; font-family: var(--serif); font-size: 2.7rem; font-weight: 500; }
.stat-grid small { color: var(--muted); font-size: .65rem; }
.admin-card { margin-bottom: 20px; padding: 26px; border: 1px solid var(--line); background: white; }
.admin-card-heading { display: flex; align-items: end; justify-content: space-between; margin-bottom: 22px; }
.admin-card-heading h2 { margin: 0; font-size: 1.65rem; }
.admin-card-heading > a { color: var(--gold); font-size: .7rem; font-weight: 700; }
.table-wrap { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; font-size: .72rem; }
.admin-table th { padding: 11px 12px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .6rem; letter-spacing: .08em; text-align: left; text-transform: uppercase; }
.admin-table td { padding: 14px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.admin-table td > strong, .admin-table td > small { display: block; }
.admin-table td > small { margin-top: 3px; color: var(--muted); font-size: .6rem; }
.admin-table td > a { color: var(--gold); font-family: monospace; font-weight: 700; }
.empty-cell { padding: 45px !important; color: var(--muted); text-align: center; }
.status { display: inline-block; padding: 5px 8px; border-radius: 20px; background: #e9ecea; color: var(--ink-soft); font-size: .56rem; font-weight: 800; text-transform: uppercase; }
.status-paiement_a_verifier { background: #fff0d4; color: #7a5313; }
.status-confirme, .status-inscrit { background: #e1f1e8; color: #285a41; }
.status-refuse { background: #f6e2e2; color: #7b2f2f; }
.intake-admin-list { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.intake-admin-list > div { padding: 15px; border: 1px solid var(--line); }
.intake-admin-list strong, .intake-admin-list span, .intake-admin-list small { display: block; }
.intake-admin-list strong { font-family: var(--serif); font-weight: 500; }
.intake-admin-list span, .intake-admin-list small { margin-top: 4px; color: var(--muted); font-size: .62rem; }
.admin-filters { display: flex; margin-bottom: 20px; gap: 7px; flex-wrap: wrap; }
.admin-filters a { padding: 8px 11px; border: 1px solid var(--line); background: white; font-size: .63rem; }
.admin-filters a.active { border-color: var(--forest); background: var(--forest); color: white; }
.admin-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.detail-card h2 { font-size: 2rem; }
.detail-reference { color: var(--gold); font-family: monospace; font-size: .72rem; font-weight: 700; }
.detail-list { margin: 25px 0 0; }
.detail-list > div { display: grid; padding: 12px 0; border-top: 1px solid var(--line); grid-template-columns: 145px 1fr; gap: 14px; }
.detail-list dt { color: var(--muted); font-size: .65rem; }
.detail-list dd { margin: 0; font-size: .75rem; font-weight: 650; }
.detail-list a { color: var(--gold); }
.status-form-card { display: grid; grid-template-columns: .7fr 1.3fr; gap: 60px; }
.status-form-card h2 { font-size: 1.9rem; }
.status-form-card > div > p:not(.admin-kicker) { color: var(--muted); font-size: .72rem; }
.admin-intakes-grid { align-items: start; }
.admin-intakes-grid .status-form-card { display: block; }
.intake-admin-list-large { grid-template-columns: 1fr; }
.intake-admin-list-large > div.past { opacity: .45; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
    .reveal { opacity: 1; transform: none; }
}

@media (max-width: 1050px) {
    .site-nav { gap: 17px; }
    .hero-grid { gap: 40px; }
    .hero-photo-frame { left: 10px; }
    .intake-grid { grid-template-columns: 1fr 1fr; }
    .intake-grid > .button { grid-column: 2; width: max-content; }
    .category-card { padding: 29px; }
    .legacy-grid, .centres-grid { gap: 55px; }
    .program-strip { grid-template-columns: repeat(2,1fr); }
    .program-mini:nth-child(2) { border-right: 0; }
    .program-mini:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.15); }
    .catalogue-grid { grid-template-columns: repeat(2,1fr); }
    .program-hero-grid, .program-content-grid { gap: 55px; }
    .footer-grid { grid-template-columns: 1.3fr .7fr 1fr; }
    .footer-grid > div:last-child { grid-column: 3; }
}

@media (max-width: 850px) {
    .nav-toggle { position: relative; z-index: 103; display: block; border: 1px solid transparent; border-radius: 50%; transition: background .2s ease, border-color .2s ease, box-shadow .2s ease; }
    .nav-toggle[aria-expanded="true"] { border-color: rgba(177, 133, 61, .55); background: #fffdf8; box-shadow: 0 9px 25px rgba(23, 32, 30, .13); }
    .nav-toggle[aria-expanded="true"] > span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .nav-toggle[aria-expanded="true"] > span:nth-child(2) { opacity: 0; }
    .nav-toggle[aria-expanded="true"] > span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    .site-nav { position: absolute; top: calc(100% + 13px); right: 0; left: 0; z-index: 102; max-height: calc(100svh - 92px); align-items: stretch; flex-direction: column; gap: 0; padding: 10px; overflow-y: auto; border: 1px solid rgba(177, 133, 61, .28); border-radius: 6px; background: linear-gradient(145deg, rgba(255,253,248,.99), rgba(247,241,229,.99)); box-shadow: 0 24px 55px rgba(23, 32, 30, .18); opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(-9px) scale(.985); transform-origin: top right; transition: opacity .2s ease, visibility .2s ease, transform .2s ease; }
    .site-nav.open { opacity: 1; visibility: visible; pointer-events: auto; transform: none; }
    .site-nav > a { width: 100%; }
    .site-nav > a:not(.button) { padding: 14px 12px; border-bottom: 1px solid rgba(23, 32, 30, .09); font-family: var(--serif); font-size: 1.18rem; font-weight: 600; }
    .site-nav > a:not(.button)::after { display: none; }
    .site-nav > a:not(.button):hover { padding-left: 18px; color: var(--gold); }
    .site-nav > .button { margin-top: 10px; }
    .hero { padding-top: 140px; }
    .hero-grid, .legacy-grid, .centres-grid, .final-cta-inner, .page-hero-grid, .program-hero-grid, .program-content-grid, .practical-grid, .registration-hero-grid, .registration-grid { grid-template-columns: 1fr; }
    .hero-media { width: min(580px,100%); margin: 20px auto 0; }
    .hero-photo-frame { inset: 0 20px 0 55px; }
    .hero-seal { left: 0; }
    .intake-grid { grid-template-columns: 1fr; }
    .intake-grid > .button { grid-column: auto; }
    .intake-dates { border-left: 0; }
    .section-heading { grid-template-columns: 1fr; gap: 20px; }
    .category-grid { grid-template-columns: 1fr; }
    .category-card { min-height: 390px; }
    .legacy-media { width: min(560px,100%); margin: 0 auto; }
    .centres-copy, .registration-aside { position: static; }
    .catalogue-title { grid-template-columns: 42px 1fr; }
    .catalogue-title p { grid-column: 2; }
    .program-hero-grid { align-items: stretch; }
    .price-card { max-width: 520px; }
    .program-intakes-inner { grid-template-columns: 1fr; }
    .registration-steps { margin-top: 30px; }
    .payment-instructions { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid > div:last-child { grid-column: auto; }
    .auth-shell { grid-template-columns: 1fr; }
    .auth-brand-panel { min-height: 420px; }
    .admin-sidebar { position: static; width: 100%; }
    .admin-sidebar nav { margin-top: 25px; grid-template-columns: repeat(4,auto); overflow-x: auto; }
    .admin-user { margin-top: 25px; }
    .admin-main { margin-left: 0; padding: 28px 22px 60px; }
    .stat-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 590px) {
    .shell { width: min(100% - 28px,1180px); }
    .site-header { padding: 10px 0; }
    .brand-monogram { width: 39px; height: 39px; }
    .brand-copy strong { font-size: 1.05rem; }
    .brand-copy small { max-width: 180px; font-size: .5rem; }
    .section { padding: 82px 0; }
    .hero { min-height: auto; padding: 125px 0 75px; }
    .hero h1 { font-size: 3.65rem; }
    .hero-actions { align-items: flex-start; flex-direction: column; }
    .hero-facts { grid-template-columns: 1fr; }
    .hero-facts > div { display: grid; grid-template-columns: 90px 1fr; align-items: center; }
    .hero-media { min-height: 420px; }
    .hero-photo-frame { inset: 0 0 0 30px; }
    .hero-seal { bottom: 20px; width: 120px; height: 120px; }
    .hero-seal strong { font-size: 2.6rem; }
    .intake-dates { grid-template-columns: 1fr; }
    .intake-date { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.15); }
    .category-card { min-height: 420px; }
    .legacy-media { min-height: 470px; }
    .legacy-media > img { width: calc(100% - 15px); height: 430px; }
    .legacy-caption { width: 220px; padding: 18px; }
    .program-strip, .centre-list, .catalogue-grid, .module-grid, .form-grid-two, .payment-options, .confirmation-summary, .admin-detail-grid { grid-template-columns: 1fr; }
    .program-mini { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.15); }
    .program-mini h3 { min-height: auto; }
    .centre-list > div { grid-template-columns: 34px 1fr; }
    .centre-list small { grid-column: 2; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .footer-bottom { align-items: flex-start; flex-direction: column; }
    .floating-cta { right: 14px; bottom: 14px; width: 48px; height: 48px; min-height: 48px; padding: 0; justify-content: center; }
    .floating-cta b { display: none; }
    .page-hero, .program-hero { padding: 145px 0 75px; }
    .page-hero h1, .program-hero h1 { font-size: 3.5rem; }
    .catalogue-title { grid-template-columns: 34px 1fr; }
    .catalogue-card { min-height: 500px; }
    .price-card, .registration-form { padding: 27px 20px; }
    .registration-hero { padding-top: 135px; }
    .registration-hero h1 { font-size: 3.5rem; }
    .registration-steps { grid-template-columns: 1fr; }
    .registration-steps li { display: grid; padding: 10px; grid-template-columns: 35px 1fr; align-items: center; }
    .registration-steps li span { margin: 0; }
    .confirmation-shell h1 { font-size: 3.2rem; }
    .confirmation-summary > div { border-right: 0; border-bottom: 1px solid var(--line); }
    .payment-instructions > div, .payment-instructions > form { padding: 25px 20px; }
    .auth-form-panel { padding: 25px 14px; }
    .auth-form { padding: 32px 22px; }
    .admin-sidebar nav { grid-template-columns: 1fr 1fr; }
    .admin-topbar { align-items: flex-start; flex-direction: column; gap: 15px; }
    .stat-grid { grid-template-columns: 1fr; }
    .status-form-card { grid-template-columns: 1fr; gap: 20px; }
    .intake-admin-list { grid-template-columns: 1fr; }
}


/* Photo insertion finalisée */
.photo-story { background: linear-gradient(180deg, var(--paper), var(--ivory)); }
.photo-story-grid { display: grid; grid-template-columns: .75fr 1.25fr; align-items: center; gap: 70px; }
.photo-story-copy .large-text { color: var(--ink-soft); }
.photo-mosaic { display: grid; min-height: 560px; grid-template-columns: 1.25fr .75fr; grid-template-rows: 1fr 1fr; gap: 16px; }
.photo-tile { position: relative; margin: 0; overflow: hidden; border: 1px solid rgba(23,32,30,.11); border-radius: 4px; background: var(--sand); box-shadow: var(--shadow); }
.photo-tile-large { grid-row: span 2; }
.photo-tile img { width: 100%; height: 100%; min-height: 260px; object-fit: cover; object-position: center; transition: transform .7s ease; }
.photo-tile-large img { object-position: center 44%; }
.photo-tile:hover img { transform: scale(1.045); }
.photo-tile::after { position: absolute; inset: auto 0 0; height: 45%; background: linear-gradient(180deg, transparent, rgba(17,27,24,.72)); content: ""; }
.photo-tile figcaption { position: absolute; right: 18px; bottom: 15px; left: 18px; z-index: 1; color: var(--white); font-size: .62rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.formation-visuals { margin-top: -45px; padding: 0 0 65px; }
.formation-visuals-grid { display: grid; grid-template-columns: 1fr 1.25fr 1fr; gap: 16px; }
.formation-visuals figure { position: relative; height: 290px; margin: 0; overflow: hidden; border: 1px solid rgba(23,32,30,.12); border-radius: 4px; background: var(--sand); box-shadow: var(--shadow); }
.formation-visuals figure:nth-child(2) { height: 340px; margin-top: -28px; }
.formation-visuals img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.formation-visuals figure::after { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(23,32,30,0), rgba(23,32,30,.58)); content: ""; }
.formation-visuals figcaption { position: absolute; right: 18px; bottom: 16px; left: 18px; z-index: 1; color: var(--white); font-size: .6rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.price-card-photo { width: calc(100% + 70px); height: 220px; margin: -35px -35px 30px; overflow: hidden; border-radius: 3px 3px 0 0; }
.price-card-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 44%; filter: saturate(.95) contrast(1.03); }

@media (max-width: 1050px) {
    .photo-story-grid { grid-template-columns: 1fr; gap: 42px; }
    .formation-visuals-grid { grid-template-columns: 1fr; }
    .formation-visuals figure, .formation-visuals figure:nth-child(2) { height: 310px; margin-top: 0; }
}

@media (max-width: 590px) {
    .photo-mosaic { min-height: auto; grid-template-columns: 1fr; grid-template-rows: none; }
    .photo-tile-large { grid-row: auto; }
    .photo-tile img { min-height: 300px; }
    .formation-visuals { margin-top: -25px; padding-bottom: 35px; }
    .formation-visuals figure, .formation-visuals figure:nth-child(2) { height: 250px; }
    .price-card-photo { width: calc(100% + 40px); height: 190px; margin: -27px -20px 25px; }
}

/* Galerie finale issue des photos sélectionnées */
.gallery-premium { background: var(--paper); }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery-card { position: relative; min-height: 330px; margin: 0; overflow: hidden; border: 1px solid rgba(23,32,30,.11); border-radius: 4px; background: var(--sand); box-shadow: var(--shadow); }
.gallery-card-wide { grid-column: span 2; }
.gallery-card img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .7s ease, filter .7s ease; }
.gallery-card:nth-child(4) img,
.gallery-card:nth-child(6) img { object-position: center 38%; }
.gallery-card::after { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(23,32,30,0) 45%, rgba(17,27,24,.72)); content: ""; }
.gallery-card figcaption { position: absolute; right: 18px; bottom: 15px; left: 18px; z-index: 1; color: var(--white); font-size: .62rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.gallery-card:hover img { transform: scale(1.045); filter: saturate(1.04) contrast(1.04); }

@media (max-width: 1050px) {
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 590px) {
    .gallery-grid { grid-template-columns: 1fr; }
    .gallery-card-wide { grid-column: auto; }
    .gallery-card { min-height: 310px; }
}

/* Vérification finale logo, cadres et alignements */
.brand-image {
    position: relative;
    width: clamp(176px, 18vw, 232px);
    min-width: 176px;
    padding: 0;
    overflow: hidden;
}
.brand-logo {
    width: 100%;
    max-height: 58px;
    object-fit: contain;
    object-position: left center;
    filter: drop-shadow(0 2px 4px rgba(23,32,30,.08));
}
.brand-name-fallback {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}
.nav-shell { min-height: 58px; gap: 20px; }
.site-nav { gap: clamp(14px, 1.7vw, 24px); }
.site-nav > a:not(.button) { white-space: nowrap; }

.hero-lead,
.section-heading > p,
.page-hero-grid > p,
.photo-story-copy .large-text,
.centres-copy p:not(.eyebrow),
.final-cta-inner > div:last-child p {
    padding: 17px 19px;
    border: 1px solid rgba(23, 32, 30, .10);
    border-left: 3px solid var(--champagne);
    border-radius: 3px;
    background: rgba(255, 253, 248, .56);
}
.final-cta-inner > div:last-child p,
.signature-programs .section-heading > p {
    border-color: rgba(255,255,255,.16);
    border-left-color: var(--champagne);
    background: rgba(255,255,255,.055);
}
.intake-bar { overflow: visible; }
.intake-grid { grid-template-columns: minmax(280px, .95fr) minmax(450px, 1.25fr) minmax(170px, auto); gap: clamp(24px, 4vw, 48px); }
.intake-grid h2 { line-height: 1.14; }
.intake-dates { min-width: 0; }
.intake-date span { overflow-wrap: anywhere; }
.category-card,
.catalogue-card,
.program-mini,
.price-card,
.details-panel,
.registration-form,
.next-step-card,
.payment-instructions {
    overflow-wrap: break-word;
}
.category-card a,
.catalogue-actions,
.program-mini a,
.arrow-link {
    text-wrap: balance;
}
.footer-logo-link {
    display: inline-flex;
    max-width: 310px;
    padding: 8px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 4px;
    background: rgba(255,255,255,.96);
    box-shadow: 0 16px 42px rgba(0,0,0,.22);
}
.footer-logo {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 2px;
}
.footer-intro > p { margin-top: 22px; }

@media (max-width: 1050px) {
    .brand-image { width: 205px; min-width: 175px; }
    .nav-shell { min-height: 54px; }
    .intake-grid { grid-template-columns: 1fr; }
}
@media (max-width: 590px) {
    .brand-image { width: 166px; min-width: 150px; }
    .brand-logo { max-height: 44px; }
    .nav-shell { min-height: 48px; }
    .hero-lead,
    .section-heading > p,
    .page-hero-grid > p,
    .photo-story-copy .large-text,
    .centres-copy p:not(.eyebrow),
    .final-cta-inner > div:last-child p {
        padding: 14px 15px;
    }
    .intake-grid { gap: 20px; }
    .footer-logo-link { max-width: 260px; }
}

/* =========================================================
   ECCOVA — finition premium, contacts et robustesse 2026-07
   ========================================================= */
:root {
    --header-height: 108px;
    --luxury-shadow: 0 28px 80px rgba(19, 32, 28, .15);
}

.site-header,
.site-header.scrolled {
    padding: 0;
    border-bottom-color: rgba(23, 32, 30, .10);
    background: rgba(255, 253, 248, .965);
}
.contact-topbar {
    min-height: 34px;
    background: var(--forest);
    color: rgba(255,255,255,.88);
}
.contact-topbar-inner {
    display: flex;
    min-height: 34px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.contact-topbar-label {
    color: var(--champagne);
    font-size: .62rem;
    font-weight: 850;
    letter-spacing: .16em;
    text-transform: uppercase;
    white-space: nowrap;
}
.contact-topbar-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(16px, 3vw, 38px);
    font-size: .72rem;
    font-weight: 750;
    letter-spacing: .025em;
}
.contact-topbar-links a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap;
}
.contact-topbar-links a:hover { color: var(--champagne); }
.contact-topbar-links span {
    color: rgba(255,255,255,.48);
    font-size: .52rem;
    font-weight: 800;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.nav-shell {
    min-height: 73px;
    gap: 24px;
}
.brand-image {
    display: inline-flex;
    width: auto;
    min-width: 248px;
    max-width: 300px;
    align-items: center;
    gap: 12px;
    overflow: visible;
}
.brand-logo {
    width: 128px;
    height: 49px;
    max-height: none;
    object-fit: contain;
    object-position: center;
    filter: drop-shadow(0 3px 5px rgba(23,32,30,.10));
}
.brand-school-name {
    display: block;
    padding-left: 11px;
    border-left: 1px solid rgba(172,129,65,.35);
    line-height: 1.15;
}
.brand-school-name strong,
.brand-school-name small { display: block; }
.brand-school-name strong {
    color: var(--ink);
    font-family: var(--serif);
    font-size: .9rem;
    font-weight: 600;
    letter-spacing: .14em;
}
.brand-school-name small {
    max-width: 126px;
    margin-top: 4px;
    color: var(--muted);
    font-size: .48rem;
    font-weight: 750;
    letter-spacing: .075em;
    line-height: 1.35;
    text-transform: uppercase;
}
.site-nav { gap: clamp(12px, 1.45vw, 22px); font-size: .82rem; }
.site-nav > a:not(.button) { white-space: nowrap; }

.hero {
    min-height: 880px;
    padding: 225px 0 105px;
    background:
        radial-gradient(circle at 92% 12%, rgba(172,129,65,.12), transparent 26%),
        linear-gradient(135deg, #faf7ef 0%, #f4ecdf 100%);
}
.hero-grid { gap: clamp(50px, 7vw, 92px); }
.hero-copy { max-width: 690px; }
.hero h1 { font-size: clamp(3.1rem, 6.5vw, 5.25rem); }
.hero h1 { text-wrap: balance; }
.hero-lead {
    box-shadow: 0 14px 38px rgba(31,48,44,.05);
}
.hero-media { min-height: 620px; }
.hero-photo-frame {
    inset: 0 0 0 28px;
    border: 8px solid rgba(255,255,255,.64);
    border-radius: 255px 255px 8px 8px;
    box-shadow: var(--luxury-shadow);
}
.hero-photo-frame img { object-position: 57% center; }
.hero-photo-frame::after {
    background: linear-gradient(180deg, rgba(17,27,24,.02) 25%, rgba(17,27,24,.42) 100%);
}
.hero-media-note {
    position: absolute;
    right: -18px;
    bottom: 26px;
    z-index: 3;
    width: 215px;
    padding: 17px 19px;
    border: 1px solid rgba(255,255,255,.52);
    border-left: 3px solid var(--champagne);
    border-radius: 3px;
    background: rgba(18,26,24,.90);
    color: white;
    box-shadow: 0 18px 45px rgba(18,26,24,.25);
    backdrop-filter: blur(8px);
}
.hero-media-note span,
.hero-media-note strong { display: block; }
.hero-media-note span {
    color: var(--champagne);
    font-size: .53rem;
    font-weight: 850;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.hero-media-note strong {
    margin-top: 5px;
    font-family: var(--serif);
    font-size: .98rem;
    font-weight: 500;
    line-height: 1.3;
}
.hero-seal { bottom: 42px; left: -24px; }

.intake-bar {
    position: relative;
    z-index: 3;
    box-shadow: 0 20px 50px rgba(16,26,23,.14);
}
.intake-grid {
    grid-template-columns: minmax(270px,.95fr) minmax(440px,1.2fr) minmax(165px,auto);
}
.intake-date { min-width: 0; }
.intake-date span { line-height: 1.28; }

.section-heading > p,
.page-hero-grid > p,
.hero-lead,
.photo-story-copy .large-text,
.centres-copy p:not(.eyebrow),
.final-cta-inner > div:last-child p {
    border-radius: 5px;
    box-shadow: 0 12px 32px rgba(31,48,44,.035);
}
.category-card,
.catalogue-card,
.details-panel,
.registration-form,
.price-card,
.gallery-card,
.photo-tile {
    border-radius: 5px;
}
.category-card { box-shadow: 0 18px 45px rgba(31,48,44,.035); }
.category-card:hover { box-shadow: var(--luxury-shadow); }

.page-hero,
.program-hero { padding-top: 225px; }
.registration-hero { padding-top: 205px; }
.formation-visuals figure { box-shadow: var(--luxury-shadow); }

.registration-contact-card {
    display: grid;
    margin-top: 20px;
    padding: 21px;
    border: 1px solid var(--line);
    border-top: 3px solid var(--gold);
    background: var(--paper);
    box-shadow: 0 16px 40px rgba(31,48,44,.06);
    gap: 5px;
}
.registration-contact-card > span {
    color: var(--gold);
    font-size: .57rem;
    font-weight: 850;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.registration-contact-card > strong {
    margin-bottom: 8px;
    font-family: var(--serif);
    font-size: 1.05rem;
    font-weight: 500;
}
.registration-contact-card > a {
    width: max-content;
    max-width: 100%;
    color: var(--ink-soft);
    font-size: .75rem;
    font-weight: 750;
}
.registration-contact-card > a:hover { color: var(--gold); }

.contact-showcase {
    padding: 92px 0;
    overflow: hidden;
    background:
        radial-gradient(circle at 10% 10%, rgba(199,166,107,.15), transparent 28%),
        linear-gradient(125deg, #1a2925, #2d463f);
    color: white;
}
.contact-showcase-inner {
    display: grid;
    grid-template-columns: .82fr 1.18fr;
    align-items: center;
    gap: clamp(48px, 8vw, 105px);
}
.contact-showcase h2 {
    max-width: 560px;
    margin-bottom: 20px;
    font-size: clamp(2.7rem, 5vw, 4.6rem);
}
.contact-showcase-copy > p:not(.eyebrow):not(.contact-principal-line) {
    max-width: 570px;
    color: rgba(255,255,255,.65);
}
.contact-principal-line {
    margin: 25px 0 0;
    padding: 15px 17px;
    border: 1px solid rgba(255,255,255,.16);
    border-left: 3px solid var(--champagne);
    background: rgba(255,255,255,.055);
    color: var(--champagne);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .025em;
}
.contact-number-grid {
    display: grid;
    gap: 11px;
}
.contact-number-grid > a {
    display: grid;
    padding: 20px 22px;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 4px;
    background: rgba(255,255,255,.055);
    transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
.contact-number-grid > a:hover {
    border-color: rgba(199,166,107,.72);
    background: rgba(255,255,255,.09);
    transform: translateX(5px);
}
.contact-number-grid span,
.contact-number-grid strong,
.contact-number-grid small { display: block; }
.contact-number-grid span {
    color: rgba(255,255,255,.48);
    font-size: .56rem;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
}
.contact-number-grid strong {
    margin: 5px 0 2px;
    color: white;
    font-family: var(--serif);
    font-size: 1.52rem;
    font-weight: 500;
}
.contact-number-grid small { color: var(--champagne); font-size: .64rem; font-weight: 750; }

.footer-logo-link {
    max-width: 285px;
    padding: 6px;
}
.footer-logo { aspect-ratio: 1516 / 1037; object-fit: cover; }

/* Le contenu reste visible même si JavaScript est bloqué. */
.reveal { opacity: 1; transform: none; }
.reveal.reveal-ready { opacity: 0; transform: translateY(24px); }
.reveal.reveal-ready.visible { opacity: 1; transform: none; }

img { height: auto; }
.hero-photo-frame img,
.legacy-media > img,
.photo-tile img,
.gallery-card img,
.formation-visuals img,
.price-card-photo img { height: 100%; }

@media (max-width: 1100px) {
    .brand-image { min-width: 210px; }
    .brand-school-name { display: none; }
    .site-nav { gap: 13px; }
    .intake-grid { grid-template-columns: 1fr; }
    .intake-grid > .button { grid-column: auto; }
}

@media (max-width: 850px) {
    :root { --header-height: 98px; }
    .contact-topbar-label { display: none; }
    .contact-topbar-inner { justify-content: center; }
    .contact-topbar-links { width: 100%; justify-content: space-between; gap: 7px; }
    .contact-topbar-links a { gap: 0; font-size: .61rem; }
    .contact-topbar-links span { display: none; }
    .nav-shell { min-height: 64px; }
    .brand-image { min-width: 0; }
    .brand-logo { width: 128px; height: 48px; }
    .site-nav { top: calc(100% + 7px); }
    .hero { min-height: auto; padding-top: 175px; }
    .page-hero, .program-hero { padding-top: 180px; }
    .registration-hero { padding-top: 170px; }
    .contact-showcase-inner { grid-template-columns: 1fr; gap: 38px; }
}

@media (max-width: 590px) {
    .site-header, .site-header.scrolled { padding: 0; }
    .contact-topbar-inner { min-height: 32px; }
    .contact-topbar-links { gap: 4px; }
    .contact-topbar-links a { font-size: clamp(.51rem, 2.55vw, .61rem); letter-spacing: -.01em; }
    .nav-shell { min-height: 60px; }
    .brand-logo { width: 116px; height: 44px; }
    .hero { padding: 153px 0 72px; }
    .hero h1 { font-size: clamp(3.05rem, 15vw, 3.7rem); }
    .hero-lead { font-size: .95rem; }
    .hero-media { min-height: 505px; }
    .hero-photo-frame { inset: 0 0 0 18px; border-width: 5px; }
    .hero-photo-frame img { object-position: 57% center; }
    .hero-seal { left: -5px; bottom: 28px; }
    .hero-media-note { right: -2px; bottom: 18px; width: 185px; padding: 14px 15px; }
    .page-hero, .program-hero { padding: 158px 0 72px; }
    .registration-hero { padding-top: 150px; }
    .intake-bar { padding: 35px 0; }
    .intake-grid h2 { font-size: 1.55rem; }
    .contact-showcase { padding: 76px 0; }
    .contact-showcase h2 { font-size: 2.8rem; }
    .contact-principal-line { font-size: .69rem; line-height: 1.7; }
    .contact-number-grid strong { font-size: 1.34rem; }
    .footer-logo-link { max-width: 250px; }
}

/* Fiabilité prioritaire : aucune section ne dépend de JavaScript pour apparaître. */
.reveal,
.reveal.reveal-ready,
.reveal.reveal-ready.visible {
    opacity: 1 !important;
    transform: none !important;
}

/* Derniers raffinements UX, vitesse perçue et administration mobile */
html { scroll-padding-top: 118px; }
section[id] { scroll-margin-top: 118px; }
.brand-logo { contain: layout paint; }
.hero-photo-frame,
.photo-tile,
.gallery-card,
.formation-visuals figure { background-color: #e9dfcf; }

@media (max-width: 590px) {
    html { scroll-padding-top: 100px; }
    section[id] { scroll-margin-top: 100px; }
    input, select, textarea { font-size: 16px; }
    .floating-cta {
        right: 12px;
        bottom: 12px;
        width: auto;
        height: 46px;
        min-height: 46px;
        padding: 0 15px;
        gap: 7px;
        border: 1px solid rgba(23,32,30,.12);
        font-weight: 800;
    }
    .floating-cta b { display: inline; }

    .admin-card { padding: 20px 16px; }
    .admin-card-heading { align-items: flex-start; gap: 14px; }
    .table-wrap { overflow: visible; }
    .admin-table,
    .admin-table tbody,
    .admin-table tr,
    .admin-table td { display: block; width: 100%; }
    .admin-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
    .admin-table tr {
        margin-bottom: 13px;
        padding: 13px 14px;
        border: 1px solid var(--line);
        background: #fff;
    }
    .admin-table tr:last-child { margin-bottom: 0; }
    .admin-table td {
        display: grid;
        grid-template-columns: minmax(78px,.7fr) minmax(0,1.3fr);
        align-items: start;
        gap: 12px;
        padding: 9px 0;
        border-bottom: 1px solid rgba(23,32,30,.09);
        overflow-wrap: anywhere;
    }
    .admin-table td:last-child { border-bottom: 0; }
    .admin-table td::before {
        content: attr(data-label);
        color: var(--muted);
        font-size: .56rem;
        font-weight: 800;
        letter-spacing: .08em;
        text-transform: uppercase;
    }
    .admin-table .empty-cell { display: block; padding: 28px 10px !important; text-align: center; }
    .admin-table .empty-cell::before { display: none; }
}

/* Sur petit écran, les appels à l’action intégrés évitent tout recouvrement du contenu. */
@media (max-width: 590px) {
    .floating-cta { display: none; }
}

/* Déploiement final — logo officiel entièrement visible */
.brand-image {
    min-width: 255px;
    max-width: 315px;
    gap: 12px;
}
.brand-logo {
    width: 112px;
    height: 70px;
    object-fit: contain;
    object-position: center;
    filter: drop-shadow(0 3px 5px rgba(23,32,30,.09));
}
.nav-shell { min-height: 82px; }
@media (max-width: 1100px) {
    .brand-image { min-width: 126px; }
    .brand-school-name { display: none; }
    .brand-logo { width: 112px; height: 70px; }
}
@media (max-width: 850px) {
    .nav-shell { min-height: 72px; }
    .brand-logo { width: 100px; height: 64px; }
}
@media (max-width: 590px) {
    .nav-shell { min-height: 68px; }
    .brand-logo { width: 90px; height: 60px; }
}

/* Accessibilité discrète et logo footer sans cadre blanc */
.skip-link:not(:focus):not(:focus-visible) {
    opacity: 0;
    pointer-events: none;
    transform: translateY(-220%);
}
.skip-link:focus,
.skip-link:focus-visible {
    opacity: 1;
    pointer-events: auto;
    transform: none;
}
.footer-logo-link {
    display: block;
    max-width: 220px;
    padding: 0;
}
.footer-logo {
    width: 100%;
    aspect-ratio: 720 / 478;
    object-fit: contain;
    object-position: left center;
    filter: drop-shadow(0 5px 10px rgba(0,0,0,.18));
}
.footer-logo-link {
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}
.footer-logo { border-radius: 0; }

/* FAQ utile aux visiteurs et aux moteurs de recherche */
.faq-section {
    background: #f6f0e5;
}
.faq-grid {
    display: grid;
    grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
    gap: clamp(42px, 7vw, 96px);
    align-items: start;
}
.faq-intro {
    position: sticky;
    top: 138px;
}
.faq-intro h2 {
    max-width: 640px;
    margin-bottom: 22px;
}
.faq-intro > p:not(.eyebrow) {
    max-width: 560px;
    margin-bottom: 30px;
    color: var(--muted);
}
.faq-list {
    border-top: 1px solid var(--line);
}
.faq-list details {
    border-bottom: 1px solid var(--line);
}
.faq-list summary {
    position: relative;
    padding: 25px 52px 25px 0;
    color: var(--ink);
    font-family: var(--serif);
    font-size: clamp(1.15rem, 2vw, 1.45rem);
    font-weight: 700;
    cursor: pointer;
    list-style: none;
}
.faq-list summary::-webkit-details-marker {
    display: none;
}
.faq-list summary::after {
    content: "+";
    position: absolute;
    right: 4px;
    top: 50%;
    width: 34px;
    height: 34px;
    border: 1px solid var(--line);
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-family: var(--sans);
    font-size: 1.15rem;
    transform: translateY(-50%);
    transition: transform .2s ease, background-color .2s ease;
}
.faq-list details[open] summary::after {
    content: "−";
    background: var(--ink);
    color: #fff;
}
.faq-list details p {
    max-width: 720px;
    padding: 0 52px 26px 0;
    color: var(--muted);
}

@media (max-width: 850px) {
    .faq-grid {
        grid-template-columns: 1fr;
    }
    .faq-intro {
        position: static;
    }
}
