@font-face { font-family: "Plex Sans"; src: url(fonts/plex-sans.woff2) format("woff2"); font-weight: 100 700; font-display: swap; }
@font-face { font-family: "Plex Serif"; src: url(fonts/plex-serif-500.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Plex Serif"; src: url(fonts/plex-serif-600.woff2) format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --navy: #12304f;
  --navy-deep: #0b2038;
  --ink: #17212c;
  --text: #2c3845;
  --muted: #5d6b79;
  --line: #d9dee4;
  --line-soft: #e8ecf0;
  --bg: #ffffff;
  --bg-alt: #f3f5f7;
  --brass: #94743f;
  --focus: #2d6cb5;
  --wrap: 1160px;
  --radius: 2px;
  --sans: "Plex Sans", "Segoe UI", Arial, sans-serif;
  --serif: "Plex Serif", Georgia, "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); font-size: 16px; line-height: 1.65; color: var(--text); background: var(--bg); }
img, svg { display: block; max-width: 100%; }
a { color: var(--navy); text-underline-offset: 3px; }
a:hover { color: var(--brass); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--ink); font-weight: 600; line-height: 1.25; margin: 0 0 .6em; }
h1 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.45rem, 2.4vw, 1.95rem); }
h3 { font-size: 1.15rem; }
h4 { font-family: var(--sans); font-size: 1rem; font-weight: 600; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
li { margin-bottom: .35em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: #fff; padding: 8px 12px; z-index: 100; }
mark.todo { background: #fff2a8; color: #5b4700; padding: 0 4px; border-radius: 2px; font-style: normal; }

/* Barre utilitaire */
.topbar { background: var(--navy-deep); color: #c3cdd8; font-size: .8rem; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 16px; padding-top: 7px; padding-bottom: 7px; flex-wrap: wrap; }
.topbar a { color: #e3e9ef; text-decoration: none; }
.topbar span + span::before { content: "|"; margin: 0 10px; color: #56697d; }

/* En-tête */
.header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand svg { width: 38px; height: 38px; flex: none; }
.brand-name { font-family: var(--serif); font-weight: 600; font-size: 1.2rem; letter-spacing: .08em; text-transform: uppercase; line-height: 1.1; display: block; }
.brand-sub { display: block; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { text-decoration: none; color: var(--text); font-size: .92rem; font-weight: 500; padding: 8px 12px; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--navy); border-bottom-color: var(--brass); }
.nav a.btn { margin-left: 10px; border-bottom: 0; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); padding: 8px 10px; font: inherit; font-size: .85rem; cursor: pointer; color: var(--ink); }

/* Boutons */
.btn { display: inline-block; background: var(--navy); color: #fff !important; text-decoration: none; font-weight: 500; font-size: .92rem; padding: 11px 20px; border: 1px solid var(--navy); border-radius: var(--radius); cursor: pointer; font-family: var(--sans); line-height: 1.3; }
.btn:hover { background: var(--navy-deep); border-color: var(--navy-deep); }
.btn-ghost { background: transparent; color: var(--navy) !important; }
.btn-ghost:hover { background: var(--bg-alt); }
.btn-light { background: #fff; color: var(--navy) !important; border-color: #fff; }
.btn-light:hover { background: var(--bg-alt); border-color: var(--bg-alt); }
.btn-outline-light { background: transparent; color: #fff !important; border-color: rgba(255,255,255,.55); }
.btn-outline-light:hover { background: rgba(255,255,255,.08); border-color: #fff; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Bandeau d'en-tête de page */
.hero { background: var(--navy); color: #d5dde6; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, transparent 0 119px, rgba(255,255,255,.035) 119px 120px); pointer-events: none; }
.hero .wrap { position: relative; z-index: 1; padding-top: 72px; padding-bottom: 72px; }
.hero h1 { color: #fff; max-width: 20ch; }
.hero .lead { font-size: 1.12rem; max-width: 60ch; color: #d5dde6; }
.hero-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 56px; align-items: end; }
.facts { border-top: 1px solid rgba(255,255,255,.2); }
.facts div { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.2); font-size: .92rem; }
.facts dt { color: #9fb0c2; }
.facts dd { margin: 0; color: #fff; font-weight: 500; text-align: right; }
.breadcrumb { font-size: .82rem; color: #9fb0c2; margin-bottom: 22px; }
.breadcrumb a { color: #c9d4df; text-decoration: none; }
.breadcrumb a:hover { color: #fff; }
.page-hero .wrap { padding-top: 48px; padding-bottom: 52px; }
.page-hero h1 { max-width: 28ch; }

/* Sections */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.section-head { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; margin-bottom: 44px; align-items: end; }
.section-head p { margin: 0; color: var(--muted); }
.rule { width: 48px; height: 2px; background: var(--brass); margin: 0 0 20px; border: 0; }

/* Cartes programmes */
.programmes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); background: #fff; }
.prog { padding: 32px 28px; display: flex; flex-direction: column; border-right: 1px solid var(--line); }
.prog:last-child { border-right: 0; }
.prog-ref { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.prog h3 { font-size: 1.22rem; margin-bottom: 14px; }
.prog p { color: var(--muted); font-size: .95rem; }
.prog dl { margin: auto 0 24px; border-top: 1px solid var(--line); }
.prog dl div { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid var(--line-soft); font-size: .9rem; }
.prog dt { color: var(--muted); }
.prog dd { margin: 0; font-weight: 600; color: var(--ink); }

/* Grilles d'information */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); }
.grid-4 > div { padding: 28px 24px 8px 0; border-right: 1px solid var(--line); padding-left: 24px; }
.grid-4 > div:first-child { padding-left: 0; }
.grid-4 > div:last-child { border-right: 0; }
.num { font-family: var(--serif); color: var(--brass); font-size: .95rem; font-weight: 600; margin-bottom: 10px; display: block; }
.grid-4 p { font-size: .94rem; color: var(--muted); }

.tiles { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); background: #fff; }
.tiles > div { padding: 26px 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tiles h3 { font-size: 1.05rem; margin-bottom: 8px; }
.tiles p { margin: 0; font-size: .94rem; color: var(--muted); }
.callout { border-left: 3px solid var(--brass); background: var(--bg-alt); padding: 18px 22px; font-size: .95rem; margin-top: 24px; }
.callout p:last-child { margin: 0; }

.grid-4.grid-3 { grid-template-columns: repeat(3, 1fr); }
.tiles-2 { grid-template-columns: repeat(2, 1fr); }
.offers .box { display: flex; flex-direction: column; align-items: flex-start; }
.offers .box h3 { font-family: var(--serif); font-size: 1.2rem; text-transform: none; letter-spacing: 0; color: var(--ink); }
.offers .box p { color: var(--muted); flex: 1; }
.founder { display: grid; grid-template-columns: 360px 1fr; gap: 64px; align-items: start; }
.founder .lead-dark { font-family: var(--serif); font-size: 1.2rem; color: var(--ink); line-height: 1.5; }
.signature { margin-top: 1.6em; padding-top: 1em; border-top: 1px solid var(--line); color: var(--muted); }
.signature strong { color: var(--ink); }
.team { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; align-items: start; }
.team figure { margin: 0; }
.photo { width: 100%; object-fit: cover; background: var(--bg-alt); border: 1px solid var(--line); }
.photo.portrait { aspect-ratio: 4 / 5; }
.photo.paysage { aspect-ratio: 16 / 10; }
.photo-vide { display: flex; align-items: center; justify-content: center; text-align: center; color: var(--muted); font-size: .9rem; background: repeating-linear-gradient(45deg, var(--bg-alt) 0 12px, #edf0f3 12px 24px); }
.photo-vide small { font-size: .75rem; }
.team figcaption { padding-top: 20px; }
.team h3 { margin-bottom: 2px; }
.team .role { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--brass); margin-bottom: 10px; }
.team figcaption p { color: var(--muted); font-size: .95rem; }

.steps { list-style: none; padding: 0; margin: 0; counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 64px 1fr; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); margin: 0; }
.steps li:first-child { border-top: 1px solid var(--line); }
.steps li::before { content: counter(s, decimal-leading-zero); font-family: var(--serif); font-weight: 600; font-size: 1.3rem; color: var(--navy); }
.steps h3 { margin-bottom: 4px; font-size: 1.05rem; }
.steps p { margin: 0; color: var(--muted); font-size: .95rem; }

.check { list-style: none; padding: 0; }
.check li { position: relative; padding-left: 26px; }
.check li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 10px; height: 5px; border-left: 2px solid var(--brass); border-bottom: 2px solid var(--brass); transform: rotate(-45deg); }

/* Bandeau d'appel */
.cta { background: var(--navy-deep); color: #c9d4df; }
.cta .wrap { display: flex; justify-content: space-between; align-items: center; gap: 32px; padding-top: 56px; padding-bottom: 56px; flex-wrap: wrap; }
.cta h2 { color: #fff; margin-bottom: 8px; }
.cta p { margin: 0; max-width: 58ch; }

/* Page programme */
.prog-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 64px; align-items: start; }
.prog-main section { padding-bottom: 40px; margin-bottom: 40px; border-bottom: 1px solid var(--line); }
.prog-main section:last-child { border-bottom: 0; }
.objectifs { list-style: none; padding: 0; counter-reset: o; }
.objectifs li { counter-increment: o; display: grid; grid-template-columns: 40px 1fr; padding: 12px 0; border-bottom: 1px solid var(--line-soft); margin: 0; }
.objectifs li::before { content: counter(o) "."; font-weight: 600; color: var(--navy); }
.module { border: 1px solid var(--line); margin-bottom: -1px; }
.module summary { display: grid; grid-template-columns: 1fr auto 20px; gap: 16px; align-items: center; padding: 16px 20px; cursor: pointer; list-style: none; font-weight: 600; color: var(--ink); }
.module summary::-webkit-details-marker { display: none; }
.module summary::after { content: "+"; font-weight: 400; font-size: 1.2rem; color: var(--muted); text-align: center; }
.module[open] summary::after { content: "\2212"; }
.module summary .h { font-weight: 500; color: var(--muted); font-size: .88rem; white-space: nowrap; }
.module .body { padding: 0 20px 18px; }
.module .body ul { margin: 0; font-size: .95rem; }
.total { display: flex; justify-content: space-between; padding: 14px 20px; background: var(--bg-alt); border: 1px solid var(--line); font-weight: 600; color: var(--ink); margin-top: -1px; }
.fiche { position: sticky; top: 100px; border: 1px solid var(--line); background: #fff; }
.fiche h2 { font-size: 1.05rem; font-family: var(--sans); text-transform: uppercase; letter-spacing: .1em; padding: 18px 22px; margin: 0; background: var(--navy); color: #fff; }
.fiche dl { margin: 0; padding: 6px 22px; }
.fiche dl div { padding: 11px 0; border-bottom: 1px solid var(--line-soft); }
.fiche dl div:last-child { border-bottom: 0; }
.fiche dt { font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.fiche dd { margin: 2px 0 0; font-weight: 500; color: var(--ink); }
.fiche .price { font-family: var(--serif); font-size: 1.6rem; font-weight: 600; }
.fiche .actions { padding: 18px 22px 22px; border-top: 1px solid var(--line); flex-direction: column; }
.fiche .actions .btn { text-align: center; }
.note { font-size: .85rem; color: var(--muted); }
.table { width: 100%; border-collapse: collapse; font-size: .95rem; margin-bottom: 1em; }
.table th, .table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { background: var(--bg-alt); font-weight: 600; color: var(--ink); width: 34%; }

/* Textes légaux */
.legal { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 64px; align-items: start; }
.toc { position: sticky; top: 100px; font-size: .88rem; border-left: 2px solid var(--line); padding-left: 18px; }
.toc p { font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.toc ol { padding-left: 1.1em; margin: 0; }
.toc a { text-decoration: none; color: var(--muted); }
.toc a:hover { color: var(--navy); }
.prose { max-width: 76ch; }
.prose h2 { font-size: 1.3rem; margin-top: 2.2em; padding-top: 1.2em; border-top: 1px solid var(--line); }
.prose h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.prose h3 { font-size: 1.05rem; margin-top: 1.6em; }
.meta { font-size: .85rem; color: var(--muted); border: 1px solid var(--line); background: var(--bg-alt); padding: 14px 18px; margin-bottom: 36px; }

/* Formulaire */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.form .full { grid-column: 1 / -1; }
.form label { display: block; font-size: .85rem; font-weight: 500; color: var(--ink); margin-bottom: 6px; }
.form input, .form select, .form textarea { width: 100%; font: inherit; font-size: .95rem; padding: 11px 12px; border: 1px solid #c3cbd4; border-radius: var(--radius); background: #fff; color: var(--ink); }
.form textarea { min-height: 140px; resize: vertical; }
.form .consent { display: flex; gap: 10px; align-items: flex-start; font-size: .85rem; color: var(--muted); }
.form .consent input { width: auto; margin-top: 4px; }
.form-status { font-size: .9rem; color: var(--navy); }
.box { border: 1px solid var(--line); padding: 28px; background: #fff; }
.box h3 { font-family: var(--sans); font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 10px; }
.box address { font-style: normal; margin-bottom: 1.2em; }

/* Pied de page */
.footer { background: var(--navy-deep); color: #a9b7c6; font-size: .88rem; }
.footer .wrap { padding-top: 64px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer h3 { font-family: var(--sans); color: #fff; font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 9px; }
.footer a { color: #d3dce5; text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer address { font-style: normal; line-height: 1.7; }
.footer .brand { color: #fff; margin-bottom: 18px; }
.footer .brand-sub { color: #8fa1b4; }
.footer-bottom { border-top: 1px solid #22395a; padding: 20px 0 28px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .8rem; color: #8597aa; }

/* Responsive */
@media (max-width: 1020px) {
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 8px 24px 20px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
  .nav a.btn { margin: 12px 0 0; text-align: center; }
  .header .wrap { position: relative; }
  .hero-grid, .section-head, .grid-2, .prog-layout, .legal { grid-template-columns: 1fr; gap: 36px; }
  .programmes { grid-template-columns: 1fr; }
  .tiles { grid-template-columns: 1fr 1fr; }
  .team, .founder { grid-template-columns: 1fr; gap: 32px; }
  .grid-4.grid-3 { grid-template-columns: 1fr; }
  .photo.portrait { max-width: 360px; }
  .prog { border-right: 0; border-bottom: 1px solid var(--line); }
  .prog:last-child { border-bottom: 0; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .grid-4 > div { padding-left: 0 !important; border-right: 0; border-bottom: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .fiche, .toc { position: static; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .section { padding: 56px 0; }
  .hero .wrap { padding-top: 48px; padding-bottom: 48px; }
  .topbar .hide-sm { display: none; }
  .topbar .hide-sm + span::before { display: none; }
  .grid-4, .footer-grid, .form, .tiles, .tiles-2 { grid-template-columns: 1fr; }
  .steps li { grid-template-columns: 44px 1fr; }
  .table th { width: 42%; }
  .module summary { grid-template-columns: 1fr 20px; }
  .module summary .h { grid-column: 1; }
}

@media print {
  .topbar, .header, .footer, .cta, .fiche .actions, .breadcrumb, .no-print { display: none !important; }
  .hero { background: none; color: #000; }
  .hero::after { display: none; }
  .hero h1, .hero .lead { color: #000; }
  .facts dt, .facts dd { color: #000; }
  .prog-layout { grid-template-columns: 1fr; }
  .module { break-inside: avoid; }
  .module .body { display: block !important; }
  .section { padding: 24px 0; }
  .fiche { position: static; }
  .fiche h2 { background: none; color: #000; border-bottom: 1px solid #000; }
}
