/* =========================================================
   CAMpus · feuille de style du site
   Couleurs de la marque : marine #152033 · orange #FF5A1F
   ========================================================= */

@font-face { font-family: "Inter"; src: url("../fonts/Inter-Regular.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/Inter-Medium.woff") format("woff"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/Inter-SemiBold.woff") format("woff"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Inter Display"; src: url("../fonts/InterDisplay-SemiBold.woff") format("woff"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Inter Display"; src: url("../fonts/InterDisplay-Bold.woff") format("woff"); font-weight: 700; font-display: swap; }

:root {
  --navy: #152033;
  --navy-deep: #0E1626;
  --navy-soft: #1C2A43;
  --orange: #FF5A1F;
  --orange-hover: #FF7140;
  --orange-text: #B33A0C;
  --paper: #F4F2EE;
  --white: #FFFFFF;
  --ink: #152033;
  --muted: #545C6B;
  --muted-light: #A3ADBD;
  --line: #E3DFD8;
  --line-dark: rgba(255, 255, 255, 0.12);
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(21, 32, 51, .05), 0 12px 32px rgba(21, 32, 51, .08);
  --shadow-lg: 0 2px 4px rgba(21, 32, 51, .06), 0 28px 60px rgba(21, 32, 51, .18);
  --gutter: clamp(20px, 4vw, 40px);
  --maxw: 1200px;
  --header-h: 68px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-display: "Inter Display", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: 600; color: inherit; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
[hidden] { display: none !important; }
.nowrap { white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--orange); color: var(--navy); padding: 10px 16px; border-radius: 10px; font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 12px; }
.container { width: min(var(--maxw), 100% - 2 * var(--gutter)); margin-inline: auto; }
.icon { width: 20px; height: 20px; flex: none; }

/* ---------------- texte ---------------- */
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--orange); }
.eyebrow-dark { color: var(--orange-text); }
.lead { font-size: clamp(18px, 1.55vw, 21px); line-height: 1.55; color: var(--muted); }
h2 { font-size: clamp(34px, 4.6vw, 58px); line-height: 1.04; letter-spacing: -.03em; }
h3 { font-size: 21px; line-height: 1.25; letter-spacing: -.01em; }

/* ---------------- boutons ---------------- */
.btn { --h: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: var(--h); padding: 0 22px; border-radius: 999px; border: 1px solid transparent; font-size: 16px; font-weight: 600; line-height: 1.2; text-decoration: none; cursor: pointer; white-space: nowrap; transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease); }
.btn .icon { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.btn:hover .icon:last-child { transform: translateX(3px); }
.btn-sm { --h: 40px; padding: 0 18px; font-size: 15px; }
.btn-lg { --h: 56px; padding: 0 28px; font-size: 17px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--orange); color: var(--navy); }
.btn-primary:hover { background: var(--orange-hover); transform: translateY(-1px); box-shadow: 0 10px 24px rgba(255, 90, 31, .28); }
.btn-dark { background: var(--navy); color: var(--white); }
.btn-dark:hover { background: var(--navy-soft); transform: translateY(-1px); }
.btn-ghost { border-color: rgba(255, 255, 255, .3); color: var(--white); }
.btn-ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, .06); }
.btn-outline { border-color: rgba(21, 32, 51, .2); color: var(--navy); background: transparent; }
.btn-outline:hover { border-color: var(--navy); }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15px; text-decoration: none; color: var(--navy); }
.link-arrow .icon { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.link-arrow:hover .icon { transform: translateX(3px); }

/* ---------------- en-tête ---------------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h); background: rgba(21, 32, 51, .96); backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px); border-bottom: 1px solid transparent; transition: border-color .3s, background-color .3s; }
.site-header.is-scrolled { border-bottom-color: var(--line-dark); background: rgba(14, 22, 38, .9); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { height: 30px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav a:not(.btn) { color: rgba(255, 255, 255, .78); text-decoration: none; font-size: 15px; font-weight: 500; transition: color .2s; }
.site-nav a:not(.btn):hover { color: var(--white); }
.nav-cta { margin-left: 6px; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; border-radius: 12px; background: transparent; color: var(--white); cursor: pointer; place-items: center; }
.nav-toggle .icon { width: 26px; height: 26px; }

/* ---------------- hero ---------------- */
.hero { position: relative; background: var(--navy); color: var(--white); padding: calc(var(--header-h) + clamp(56px, 8vw, 104px)) 0 clamp(40px, 5vw, 64px); overflow: hidden; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(ellipse 90% 80% at 70% 40%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 90% 80% at 70% 40%, #000 30%, transparent 75%); }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.hero h1 { margin-top: 18px; font-size: clamp(50px, 7.4vw, 100px); line-height: .96; letter-spacing: -.045em; font-weight: 600; }
.hero .lead { margin-top: 26px; color: rgba(255, 255, 255, .72); max-width: 34ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-points { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: clamp(56px, 7vw, 88px); padding-top: 28px; border-top: 1px solid var(--line-dark); }
.hero-points li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.45; color: rgba(255, 255, 255, .66); }
.hero-points strong { color: var(--white); font-weight: 600; }
.hero-points .icon { color: var(--orange); margin-top: 1px; }

/* fenêtre « logiciel » */
.viewport { margin: 0; background: linear-gradient(180deg, #111B2D, #0D1524); border: 1px solid rgba(255, 255, 255, .1); border-radius: 22px; box-shadow: 0 40px 80px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .05); overflow: hidden; }
.viewport-bar { display: flex; align-items: center; gap: 6px; padding: 14px 18px; border-bottom: 1px solid rgba(255, 255, 255, .07); font-size: 12px; }
.vp-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); margin-right: 8px; box-shadow: 0 0 0 4px rgba(255, 90, 31, .15); }
.vp-tab { padding: 5px 10px; border-radius: 8px; color: rgba(255, 255, 255, .5); font-weight: 500; transition: background-color .3s, color .3s; }
.vp-tab.is-active { background: rgba(255, 255, 255, .08); color: var(--white); }
.vp-name { margin-left: auto; color: rgba(255, 255, 255, .38); font-family: var(--mono); font-size: 11px; }
.hero-svg { width: 100%; height: auto; padding: 8px 12px 0; }
.viewport-readout { display: flex; justify-content: space-between; gap: 16px; padding: 12px 18px 14px; border-top: 1px solid rgba(255, 255, 255, .07); font-family: var(--mono); font-size: 12.5px; color: rgba(255, 255, 255, .78); }
.viewport-readout .vp-tool { color: var(--orange); white-space: nowrap; }
[data-readout-line] { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.hero-svg .hv-center path { stroke: rgba(163, 173, 189, .55); stroke-width: 1; stroke-dasharray: 16 4 3 4; fill: none; }
.hero-svg .hv-part { stroke: #FFFFFF; stroke-width: 1.8; fill: rgba(255, 255, 255, .025); stroke-linejoin: round; }
.hero-svg .hv-holes circle { stroke: #FFFFFF; stroke-width: 1.5; fill: #0F1828; }
.hero-svg .hv-dims path { stroke: var(--muted-light); stroke-width: 1; fill: none; }
.hero-svg .hv-dims text { fill: var(--muted-light); font-family: var(--font); font-size: 12px; font-weight: 500; }
.hero-svg .hv-arrowhead { fill: var(--muted-light); }
.hero-svg .hv-toolpath { stroke: var(--orange); stroke-width: 2.4; fill: none; stroke-linejoin: round; stroke-linecap: round; }
.hero-svg .hv-rapid { stroke: rgba(255, 255, 255, .5); stroke-width: 1.2; stroke-dasharray: 4 5; fill: none; }
.hero-svg .hv-tool-body { fill: rgba(255, 90, 31, .18); stroke: var(--orange); stroke-width: 1.6; }
.hero-svg .hv-tool-center { fill: var(--orange); }
.hero-svg .hv-drills circle { fill: none; stroke: var(--orange); stroke-width: 2; }

/* ---------------- sections ---------------- */
.section { padding: clamp(64px, 8vw, 112px) 0; }
.section-paper { background: var(--paper); }
.section-navy { background: var(--navy); color: var(--white); }
.section-navy .lead { color: rgba(255, 255, 255, .7); }
.section-head { max-width: 780px; margin-bottom: clamp(30px, 4.5vw, 56px); }
.section-head h2 { margin-top: 14px; }
.section-head .lead { margin-top: 20px; max-width: 60ch; }
.section-head-row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.section-head-row > div { max-width: 780px; }

/* ---------------- formations ---------------- */
.rail-nav { display: flex; gap: 10px; flex: none; }
.rail-btn { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(21, 32, 51, .18); background: var(--white); color: var(--navy); cursor: pointer; transition: border-color .2s, opacity .2s; }
.rail-btn:hover:not(:disabled) { border-color: var(--navy); }
.rail-btn:disabled { opacity: .35; cursor: default; }
.rail-prev .icon { transform: scaleX(-1); }

.packs { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.pack { position: relative; display: flex; flex-direction: column; min-width: 0; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.pack-media { position: relative; aspect-ratio: 16 / 9; background: var(--navy); }
.pack-media img { width: 100%; height: 100%; object-fit: cover; }
.badge { position: absolute; top: 12px; left: 12px; padding: 5px 11px; border-radius: 999px; font-size: 11.5px; font-weight: 600; letter-spacing: .04em; }
.badge-orange { background: var(--orange); color: var(--navy); }
.badge-line { background: rgba(21, 32, 51, .72); color: var(--white); border: 1px solid rgba(255, 255, 255, .35); backdrop-filter: blur(6px); }
.pack-body { display: flex; flex-direction: column; flex: 1; padding: 20px 18px 18px; }
.pack-label { font-size: 11.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.pack h3 { font-size: 23px; letter-spacing: -.02em; margin-top: 4px; }
.pack-tagline { margin-top: 8px; min-height: 3em; color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.pack-price { margin: 14px 0 18px; font-family: var(--font-display); font-size: 30px; font-weight: 600; letter-spacing: -.025em; line-height: 1; }
/* toute la carte ouvre l'inscription du pack */
.pack-link { margin-top: auto; }
.pack-link::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.pack .btn:hover { transform: none; box-shadow: none; }
.checklist { display: grid; gap: 10px; margin-top: 22px; font-size: 15px; line-height: 1.45; }
.checklist li { display: flex; gap: 10px; }
.checklist .icon { width: 18px; height: 18px; color: var(--orange); stroke-width: 2.4; margin-top: 2px; }
.pack-featured { background: var(--navy); color: var(--white); box-shadow: var(--shadow-lg); outline: 2px solid var(--orange); outline-offset: -2px; }
.pack-featured .pack-label, .pack-featured .pack-tagline { color: rgba(255, 255, 255, .68); }

.rail-dots { display: flex; justify-content: center; gap: 2px; margin-top: 6px; }
.rail-dot { position: relative; width: 26px; height: 26px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.rail-dot::before { content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; border-radius: 999px; background: rgba(21, 32, 51, .22); transform: translate(-50%, -50%); transition: width .25s var(--ease), background-color .25s; }
.rail-dot[aria-current="true"]::before { width: 22px; background: var(--orange); }
.fine-print { margin-top: 18px; font-size: 14px; color: var(--muted); }

/* signe plus / moins des panneaux dépliables */
.plus { position: relative; flex: none; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); transition: border-color .2s; }
.plus::before, .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 2px; border-radius: 1px; background: var(--navy); transform: translate(-50%, -50%); transition: transform .25s var(--ease); }
.plus::after { transform: translate(-50%, -50%) rotate(90deg); }
details[open] > summary .plus::after { transform: translate(-50%, -50%) rotate(0deg); }

@media (hover: hover) {
  .pack:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
  .module summary:hover .plus { border-color: var(--navy); }
}

/* ---------------- programme ---------------- */
.modules { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(28px, 5vw, 72px); align-items: start; }
.module { border-bottom: 1px solid var(--line); }
.module:nth-child(-n+2) { border-top: 1px solid var(--line); }
.module summary { display: grid; grid-template-columns: 34px minmax(0, 1fr) 26px; align-items: center; gap: 14px; padding: 18px 0; cursor: pointer; list-style: none; }
.module summary::-webkit-details-marker { display: none; }
.module-n { font-family: var(--mono); font-size: 14px; color: var(--orange-text); font-weight: 600; }
.module-title { min-width: 0; }
.module-title strong { display: block; font-family: var(--font-display); font-size: 19px; font-weight: 600; line-height: 1.3; letter-spacing: -.01em; }
.module-title small { display: block; margin-top: 2px; font-size: 13px; color: var(--muted); }
.module ul { display: grid; gap: 8px; padding: 0 40px 22px 48px; font-size: 15.5px; color: #333B49; }
.module li { position: relative; padding-left: 18px; }
.module li::before { content: ""; position: absolute; left: 0; top: .72em; width: 9px; height: 2px; background: var(--orange); }

/* ---------------- méthode ---------------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; position: relative; counter-reset: s; }
.steps::before { content: ""; position: absolute; top: 25px; left: 26px; right: calc((100% - 96px) / 4 - 26px); border-top: 2px dashed rgba(255, 90, 31, .55); }
.step { position: relative; }
.step-n { position: relative; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--navy); border: 2px solid var(--orange); color: var(--white); font-family: var(--font-display); font-weight: 600; font-size: 19px; }
.step h3 { margin-top: 24px; font-size: 22px; }
.step p { margin-top: 10px; color: rgba(255, 255, 255, .7); font-size: 16px; }

/* ---------------- pied de page ---------------- */
.site-footer { background: var(--navy-deep); color: rgba(255, 255, 255, .7); padding: clamp(72px, 9vw, 112px) 0 32px; font-size: 15px; }
.footer-cta { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding-bottom: clamp(56px, 7vw, 80px); border-bottom: 1px solid var(--line-dark); }
.footer-cta h2 { color: var(--white); font-size: clamp(32px, 4.2vw, 54px); max-width: 16ch; }
.footer-cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding: 56px 0; }
.footer-brand img { width: 220px; height: auto; }
.footer-brand p { margin-top: 18px; max-width: 32ch; }
.footer-grid h3 { font-family: var(--font); font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .45); margin-bottom: 16px; }
.footer-nav, .footer-contact { display: flex; flex-direction: column; gap: 10px; }
.footer-grid a { color: rgba(255, 255, 255, .78); text-decoration: none; display: inline-flex; align-items: center; gap: 10px; }
.footer-grid a:hover { color: var(--white); }
.footer-grid .icon { width: 18px; height: 18px; color: var(--orange); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--line-dark); font-size: 13px; color: rgba(255, 255, 255, .5); }
.footer-bottom a { color: rgba(255, 255, 255, .6); }

.page-form .footer-cta { display: none; }
.page-form .footer-grid { padding-top: 0; }

/* ---------------- visionneuse ---------------- */
.lightbox { width: min(1200px, 94vw); max-height: 92vh; padding: 0; border: 0; border-radius: 16px; background: var(--white); box-shadow: var(--shadow-lg); }
.lightbox::backdrop { background: rgba(14, 22, 38, .82); backdrop-filter: blur(4px); }
.lightbox img { width: 100%; height: auto; max-height: 92vh; object-fit: contain; }
.lightbox-close { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--navy); color: var(--white); display: grid; place-items: center; cursor: pointer; }

/* ---------------- inscription ---------------- */
.page-form, .page-text { background: var(--paper); }
.form-page { padding: calc(var(--header-h) + clamp(44px, 6vw, 80px)) 0 clamp(72px, 9vw, 112px); }
.form-head { max-width: 720px; margin-bottom: 40px; }
.form-head h1 { margin-top: 12px; font-size: clamp(38px, 5vw, 60px); letter-spacing: -.035em; line-height: 1.02; }
.form-head .lead { margin-top: 16px; }
.form-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.reg-form { background: var(--white); border-radius: var(--radius); padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow); }
.reg-form fieldset { border: 0; padding: 0; margin: 0 0 32px; min-width: 0; }
.reg-form legend { padding: 0; margin-bottom: 18px; font-family: var(--font-display); font-weight: 600; font-size: 20px; }
.pack-choice { display: grid; gap: 10px; }
.pack-option { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 18px 16px 52px; border: 1.5px solid var(--line); border-radius: 14px; cursor: pointer; transition: border-color .2s, background-color .2s, box-shadow .2s; }
.pack-option:hover { border-color: #C9C3B8; }
.pack-option input { position: absolute; left: 18px; top: 50%; width: 20px; height: 20px; margin: -10px 0 0; accent-color: var(--orange); cursor: pointer; }
.pack-option:has(input:checked) { border-color: var(--orange); background: #FFF6F1; box-shadow: 0 0 0 3px rgba(255, 90, 31, .12); }
.po-name { font-weight: 600; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.po-name em { font-style: normal; font-size: 11px; font-weight: 600; letter-spacing: .05em; padding: 3px 8px; border-radius: 999px; background: var(--orange); color: var(--navy); }
.po-price { font-weight: 600; white-space: nowrap; color: var(--muted); }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { margin-bottom: 18px; }
.field label { display: block; margin-bottom: 8px; font-size: 15px; font-weight: 600; }
.label-hint { font-weight: 400; color: var(--muted); }
.field input[type=text], .field input[type=email], .field input[type=tel] { width: 100%; height: 54px; padding: 0 16px; border: 1.5px solid #D6D1C8; border-radius: 12px; background: var(--white); font: inherit; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.field input:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(21, 32, 51, .1); }
.field input[aria-invalid=true] { border-color: #C4320A; }
.field-error { margin-top: 7px; color: #B42318; font-size: 14px; font-weight: 500; }
.field-check { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; margin: 4px 0 26px; }
.field-check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--orange); }
.field-check label { margin: 0; font-weight: 400; font-size: 14.5px; line-height: 1.5; color: var(--muted); }
.field-check .field-error { grid-column: 2; margin-top: 0; }
.form-alert { margin-bottom: 24px; padding: 14px 16px; border-radius: 12px; background: #FEF1EC; color: #9A2A09; font-weight: 500; font-size: 15px; }
.form-note { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 16px; font-size: 13.5px; color: var(--muted); text-align: center; }
.form-note .icon { width: 16px; height: 16px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.summary { position: sticky; top: calc(var(--header-h) + 24px); background: var(--navy); color: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.summary-media { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.summary-body { padding: 28px; }
.summary-kicker { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); }
.summary h2 { margin-top: 8px; font-size: 30px; letter-spacing: -.02em; }
.summary-tagline { margin-top: 6px; color: rgba(255, 255, 255, .7); font-size: 15px; }
.summary-price { margin-top: 16px; font-family: var(--font-display); font-size: 34px; font-weight: 600; letter-spacing: -.02em; }
.summary .checklist { margin-top: 18px; }
.summary-support { display: flex; gap: 10px; align-items: flex-start; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line-dark); font-size: 14px; color: rgba(255, 255, 255, .72); }
.summary-support .icon { width: 18px; height: 18px; color: var(--orange); }

.success { max-width: 680px; margin: 0 auto; background: var(--white); border-radius: var(--radius); padding: clamp(32px, 5vw, 56px); box-shadow: var(--shadow); text-align: center; }
.success-icon { display: inline-grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--orange); color: var(--navy); }
.success-icon .icon { width: 36px; height: 36px; stroke-width: 2.4; }
.success h1 { margin-top: 24px; font-size: clamp(36px, 5vw, 52px); letter-spacing: -.035em; }
.success .lead { margin-top: 12px; color: var(--ink); }
.success > p:not(.lead) { margin-top: 12px; color: var(--muted); }
.next-steps { display: grid; gap: 12px; margin: 32px auto 0; max-width: 420px; text-align: left; }
.next-steps li { display: flex; gap: 14px; align-items: center; font-weight: 500; }
.next-steps span { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: var(--white); font-size: 14px; font-weight: 600; }
.success-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 36px; }

/* ---------------- page texte ---------------- */
.text-page { padding: calc(var(--header-h) + clamp(44px, 6vw, 80px)) 0 clamp(72px, 9vw, 112px); }
.prose { max-width: 760px; }
.prose h1 { margin-top: 12px; font-size: clamp(36px, 5vw, 56px); letter-spacing: -.035em; line-height: 1.04; }
.prose .lead { margin-top: 16px; }
.prose h2 { font-size: 24px; letter-spacing: -.01em; margin-top: 44px; }
.prose p { margin-top: 12px; color: #333B49; }

/* ---------------- apparition au défilement ---------------- */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------------- responsive ---------------- */
@media (max-width: 1239px) {
  /* formations : une rangée qui défile horizontalement */
  .packs { display: flex; gap: 14px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); margin: -8px calc(-1 * var(--gutter)) -14px; padding: 8px var(--gutter) 30px; scrollbar-width: none; }
  .packs::-webkit-scrollbar { display: none; }
  .pack { flex: 0 0 clamp(252px, 76vw, 300px); scroll-snap-align: start; }
  .pack, .pack-featured { box-shadow: 0 1px 2px rgba(21, 32, 51, .05), 0 8px 18px rgba(21, 32, 51, .08); }
}
@media (max-width: 1100px) {
  .site-nav { gap: 22px; }
}
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero .lead { max-width: 46ch; }
  .hero-points { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 44px; }
  .steps::before { display: none; }
  .form-layout { grid-template-columns: 1fr; }
  .summary { position: static; order: -1; display: grid; grid-template-columns: 220px 1fr; }
  .summary-media { height: 100%; aspect-ratio: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .nav-toggle { display: grid; }
  .site-nav { position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; padding: 12px var(--gutter) 28px; background: var(--navy-deep); border-bottom: 1px solid var(--line-dark); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s, visibility .25s; }
  .site-nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .site-nav a:not(.btn) { padding: 15px 0; font-size: 18px; border-bottom: 1px solid var(--line-dark); }
  .nav-cta { margin: 20px 0 0; --h: 52px; font-size: 17px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  h2 { font-size: 31px; }
  .lead { font-size: 17px; }
  .section { padding: 56px 0; }
  .section-head { margin-bottom: 26px; }
  .section-head h2 { margin-top: 10px; }
  .section-head .lead { margin-top: 12px; }
  .rail-nav { display: none; }

  .hero { padding: calc(var(--header-h) + 36px) 0 32px; }
  .hero h1 { margin-top: 12px; }
  .hero .lead { margin-top: 18px; }
  .hero-inner { gap: 32px; }
  .hero-cta { margin-top: 26px; gap: 10px; }
  .hero-cta .btn { width: 100%; --h: 52px; }
  .hero-points { gap: 16px 14px; margin-top: 32px; padding-top: 22px; }
  .hero-points li { gap: 9px; font-size: 14px; }
  .hero-points .icon { width: 18px; height: 18px; }
  .viewport-bar .vp-name { display: none; }

  .modules { grid-template-columns: 1fr; }
  .module:nth-child(2) { border-top: 0; }
  .module summary { grid-template-columns: 30px minmax(0, 1fr) 26px; gap: 12px; padding: 16px 0; }
  .module-title strong { font-size: 17.5px; }
  .module ul { padding: 0 0 18px 42px; font-size: 15px; }

  /* méthode : frise verticale compacte */
  .steps { grid-template-columns: 1fr; row-gap: 0; }
  .step { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 16px; padding-bottom: 24px; }
  .step:last-child { padding-bottom: 0; }
  .step:not(:last-child)::before { content: ""; position: absolute; left: 21px; top: 50px; bottom: 6px; border-left: 2px dashed rgba(255, 90, 31, .5); }
  .step-n { grid-row: 1 / span 2; width: 44px; height: 44px; font-size: 17px; }
  .step h3 { margin-top: 9px; font-size: 19px; }
  .step p { grid-column: 2; margin-top: 4px; font-size: 15px; }

  .site-footer { padding-top: 56px; }
  .footer-cta { padding-bottom: 40px; gap: 24px; }
  .footer-cta .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; padding: 40px 0; }
  .footer-brand img { width: 180px; }
  .footer-brand p { margin-top: 12px; }
  .footer-nav { flex-direction: row; flex-wrap: wrap; gap: 8px 22px; }
  .footer-nav h3 { width: 100%; margin-bottom: 4px; }
  .footer-contact h3 { margin-bottom: 4px; }

  .field-row { grid-template-columns: 1fr; gap: 0; }
  .summary { grid-template-columns: 1fr; }
  .summary-media { aspect-ratio: 16 / 9; }
  .summary-body { padding: 20px 22px; }
  .summary h2 { font-size: 24px; }
  .summary-price { font-size: 26px; margin-top: 8px; }
  .pack-option { padding: 14px 14px 14px 48px; }
}

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