:root {
  color-scheme: dark;
  --night: #0b1029;
  --marine: #1e2744;
  --cobalt: #1a2573;
  --sky: #a9bcff;
  --ink: #141a44;
  --text: #f6f8ff;
  --muted: #c8d4f3;
  --paper: #e0e8fc;
  --line: #8095d653;
  --panel: #111a3c;
  --amber: #f2b544;
  --amber-hover: #ffc65c;
  --serif: "Georgia Pro Condensed", Georgia, serif;
  --sans: Avenir, Lato, Calibri, "Segoe UI", sans-serif;
  --gutter: clamp(1.25rem, 5.3vw, 5.25rem);
  --measure: 78rem;
}

*, *::after, *::before { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-top: 1rem; }
body { margin: 0; background: var(--night); color: var(--text); font: 1.125rem/1.5 var(--sans); }
main {
  background:
    radial-gradient(ellipse at -8% 12%, #263a814d, transparent 32rem),
    radial-gradient(ellipse at 106% 37%, #354a9b53, transparent 38rem),
    radial-gradient(ellipse at -8% 73%, #354a9b42, transparent 34rem),
    linear-gradient(175deg, #151f48 0%, #121b40 51%, #162149 76%, #101632 100%);
}
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .22em; }
a:hover { text-decoration-thickness: 2px; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 4px; }
#main:focus { outline: none; }
p, h1, h2, h3, dl, dd { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -.052em; }
h2 { font-size: clamp(2.25rem, 5vw, 4.625rem); line-height: 1; }
p { text-wrap: pretty; }

.wrap { width: min(var(--measure), calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.skip {
  position: fixed;
  z-index: 4;
  top: .7rem;
  left: .7rem;
  padding: .6rem .9rem;
  background: white;
  color: var(--ink);
  transform: translateY(-160%);
}
.skip:focus { transform: none; }

header { position: relative; z-index: 2; color: #fff; background: var(--night); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  min-height: 5.5rem;
  gap: .7rem 1.5rem;
  border-bottom: 1px solid #8490c145;
}
.logo-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  padding: .35rem .65rem;
  background: white;
  border-radius: .4rem;
}
.logo-box img { width: 7rem; height: 3.25rem; object-fit: contain; }
header nav { display: flex; align-items: center; flex-wrap: wrap; gap: 0 clamp(.7rem, 1.7vw, 1.8rem); }
header nav a { display: inline-flex; align-items: center; min-height: 2.75rem; font-size: .94rem; text-decoration: none; }
header nav a:hover { text-decoration: underline; }
.nav-contact { padding-inline: 1rem; border: 1px solid #9da9d661; border-radius: .35rem; }
.nav-contact:hover { background: #aabcff20; }
.menu-toggle { color: white; background: transparent; min-height: 2.75rem; border: 1px solid #9da9d680; border-radius: .35rem; padding: .4rem .8rem; }

.hero {
  background: radial-gradient(ellipse at 85% 45%, #253972 0%, #131d45 43%, var(--night) 82%);
  color: #fff;
}
.vitrine-hero {
  display: grid;
  grid-template-columns: 1.17fr 1fr;
  align-items: stretch;
  gap: clamp(1.4rem, 4vw, 4rem);
  padding-block: clamp(3.4rem, 6vw, 5.5rem) clamp(2.55rem, 5vw, 4.2rem);
}
.hero-copy { align-self: center; position: relative; z-index: 1; }
.eyebrow {
  color: var(--sky);
  font-size: .77rem;
  line-height: 1.5;
  font-weight: 700;
  letter-spacing: .125em;
  text-transform: uppercase;
}
.hero .eyebrow {
  color: var(--sky);
  max-width: 53ch;
  margin-bottom: 1.25rem;
}
h1 {
  font-size: clamp(3.5rem, 5.2vw, 5.375rem);
  line-height: .99;
  text-wrap: initial;
}
h1 span { display: block; color: var(--sky); }
.hero-positioning { margin-top: 1.4rem; color: #f2f4ff; font-size: clamp(.97rem, 1.4vw, 1.16rem); font-weight: 700; }
.hero-lead { max-width: 56ch; margin-top: .6rem; color: #d4dcf7; font-size: 1.07rem; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem 1.2rem; margin-top: 1.55rem; }
.hero .actions { gap: .6rem 1.1rem; }
.hero .actions a { font-size: .92rem; }
.hero .actions .text-link { min-height: 2.75rem; display: inline-flex; align-items: center; }
.hero-visual {
  overflow: hidden;
  position: relative;
  isolation: isolate;
  align-self: center;
  justify-self: end;
  width: 89%;
  aspect-ratio: 1.07;
  background: #10173a;
  border-radius: .55rem;
  border: 1px solid #879ad090;
  box-shadow: 0 32px 60px -37px #020619e0;
}
.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(145deg, #080d271f 5%, transparent 45%, #080d275c 100%);
}
.hero-photo { display: block; width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; object-position: 42% 28%; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 2.875rem;
  padding: .6rem 1rem;
  border: 1px solid transparent;
  border-radius: .35rem;
  font-weight: 700;
  font-size: .96rem;
  text-align: center;
  text-decoration: none;
}
.hero .btn, .booking { background: var(--amber); color: var(--ink); }
.hero .btn:hover, .booking:hover { background: var(--amber-hover); }
.text-link { color: #dce6ff; font-weight: 700; }
.hero .text-link, .linktree-band .text-link { color: #e2e8ff; }
.trust-strip { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #8796cc61; }
.trust-strip div { display: grid; gap: .1rem; padding: 1.15rem 1.35rem 1.4rem; }
.trust-strip div:first-child { padding-left: 0; }
.trust-strip div + div { border-left: 1px solid #8796cc42; }
.trust-strip strong { font-family: var(--serif); font-weight: 400; font-size: clamp(1.4rem, 2.5vw, 2.2rem); line-height: 1.15; }
.trust-strip span { color: #c0cbed; font-size: .91rem; }

.section { padding-block: clamp(3.5rem, 7vw, 6.8rem); border-top: 1px solid var(--line); }
.section-head { display: grid; grid-template-columns: 1.5fr 1fr; align-items: end; gap: 1.5rem 3rem; margin-bottom: clamp(1.75rem, 4vw, 3.3rem); }
.section-head p:not(.eyebrow) { color: var(--muted); max-width: 39ch; padding-bottom: .15rem; }
.eyebrow + h2 { margin-top: .65rem; }

.metiers-directs { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .9rem 1.5rem; padding-block: 1.8rem; }
.metiers-directs h2 { font: 700 1.05rem/1.3 var(--sans); letter-spacing: 0; }
.metiers-directs ul { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: .45rem; }
.secondary { background: #243568; border-color: #788cc480; color: #f5f7ff; }
.secondary:hover { background: #344c91; border-color: #a7baff; }
.needs-grid, .module-grid.two, .map-links, .steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(.8rem, 2vw, 1.6rem); }
.needs-grid { margin-top: 2.4rem; }
.need-card, .steps article {
  padding: clamp(1.2rem, 2.65vw, 2.1rem);
  background: linear-gradient(135deg, #1c2b59, var(--panel) 78%);
  border: 1px solid var(--line);
  border-top: 2px solid #9bacdd;
  border-radius: .4rem;
}
.need-card h3, .steps h3 { font: 400 clamp(1.35rem, 2.4vw, 2rem)/1.12 var(--serif); letter-spacing: -.02em; }
.need-card p, .steps p { margin-top: .55rem; color: var(--muted); }
.need-card a { display: block; margin-top: .75rem; color: #dae6ff; font-size: .96rem; font-weight: 700; }

.module-grid.one { margin-bottom: clamp(.8rem, 2vw, 1.6rem); }
.module-card {
  display: flex;
  flex-direction: column;
  border-radius: .55rem;
  background: linear-gradient(132deg, #1c2a54, #111938 78%);
  border: 1px solid var(--line);
  box-shadow: 0 20px 32px -26px #020618d4;
}
.module-media { position: relative; isolation: isolate; display: block; aspect-ratio: 16 / 8.5; overflow: hidden; border-radius: .5rem .5rem 0 0; background: #253459; }
.module-media img { width: 100%; height: 100%; object-fit: cover; }
.module-media.media-full { aspect-ratio: 3 / 2; }
.module-media.media-full img { object-fit: contain; object-position: top; }
.module-tag { position: absolute; top: .9rem; left: .9rem; padding: .23rem .65rem; border-radius: .25rem; width: fit-content; background: var(--paper); color: var(--ink); font-weight: 700; font-size: .82rem; }
.module-body { display: flex; flex-direction: column; align-items: start; flex: 1; padding: clamp(1.3rem, 3vw, 2.45rem); }
.module-num { color: var(--sky); font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.module-card h3 { margin-top: .55rem; font: 400 clamp(1.72rem, 2.8vw, 2.6rem)/1.06 var(--serif); letter-spacing: -.027em; }
.module-card h3 a { text-decoration: none; }
.module-card h3 a:hover { text-decoration: underline; }
.module-promise { margin-top: .75rem; color: var(--muted); }
.module-points { margin: .85rem 0 1.2rem; padding-left: 1.1rem; font-size: 1rem; }
.module-points li + li { margin-top: .18rem; }
.module-points li::marker { color: var(--sky); }
.module-facts { width: 100%; margin: auto 0 1.1rem; padding-inline: .75rem; background: var(--paper); color: var(--ink); border-radius: .24rem; font-size: .95rem; }
.module-facts div { display: grid; grid-template-columns: 4.7rem 1fr; gap: .45rem; padding-block: .5rem; }
.module-facts div + div { border-top: 1px solid #a6b7dc; }
.module-facts dt { font-weight: 700; }
.module-facts dd { color: #24345d; }
.module-cta { background: #293e85; color: white; border-color: #94a7e080; }
.module-cta:hover { background: #3652a0; }
.module-url { margin-top: .5rem; color: var(--muted); font-size: .82rem; overflow-wrap: anywhere; }
.module-feature { display: grid; grid-template-columns: .95fr 1.05fr; }
.module-feature .module-media { aspect-ratio: auto; min-height: 22rem; border-radius: .5rem 0 0 .5rem; }
.module-feature .module-media img { position: absolute; inset: 0; object-position: 42% center; }
.module-feature .module-body { padding: clamp(1.6rem, 4vw, 3.1rem); }
.catalog-aside { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .4rem 1rem; margin-top: 1.3rem; padding: 1rem 1.3rem; border-left: 3px solid #93a6e3; background: #243364; color: var(--muted); }
.catalog-aside strong { color: var(--text); }
.hero-map { margin-top: 2rem; padding: 1.4rem clamp(1.15rem, 3vw, 2rem); border-radius: .4rem; background: var(--panel); border: 1px solid var(--line); }
.hero-map h3 { margin-bottom: .9rem; font-size: 1.1rem; }
.map-links { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 1.2rem; }
.map-links a { display: flex; align-items: baseline; justify-content: space-between; gap: .25rem .5rem; border-top: 1px solid var(--line); padding-block: .65rem; text-decoration: none; color: #dfe7ff; font-size: .98rem; }
.map-links a:hover strong { text-decoration: underline; }
.map-links small { display: block; font-size: .86rem; color: var(--muted); }

.linktree-band { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; background: linear-gradient(115deg, var(--night), #253c81); color: #fff; border: 1px solid var(--line); border-radius: .55rem; padding: clamp(1.5rem, 5vw, 4rem); margin-bottom: clamp(3.5rem, 7vw, 6.8rem); }
.linktree-band .eyebrow, .contact-panel .eyebrow { color: var(--sky); }
.linktree-band h2 { font-size: clamp(2.25rem, 4.5vw, 4rem); }
.linktree-band p:not(.eyebrow) { margin-top: .85rem; color: #d8e1ff; }
.linktree-band .btn { flex: none; border-color: #a0b1e580; color: #fff; }
.linktree-band .btn:hover { background: #a9bcff29; }
.trainer-layout { display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 48rem); justify-content: center; gap: clamp(1.8rem, 6vw, 6rem); align-items: center; }
.portrait-shell { width: min(100%, 15rem); padding: .4rem; border: 1px solid #8da4dbad; border-radius: .55rem; background: var(--marine); box-shadow: 0 18px 36px -25px #000; }
.portrait-shell img { width: 100%; height: auto; border-radius: .3rem; }
.trainer-layout h2 { font-size: clamp(2.1rem, 4.3vw, 4.1rem); }
.trainer-layout p:not(.eyebrow) { margin-top: .85rem; color: var(--muted); }
.trainer-layout p.lead { font-size: 1.22rem; color: var(--text); }
.trainer-links { display: flex; flex-wrap: wrap; gap: .6rem 1.3rem; margin-top: 1.2rem; }
.steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.two-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(1.5rem, 5vw, 5rem); }
summary { cursor: pointer; }
.faq-list details { padding: 1rem 0; border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary, .legal summary { font-weight: 700; }
.faq-list details p { margin-top: .65rem; color: var(--muted); }
.contact-panel { color: white; background: radial-gradient(ellipse at 95% 45%, #2d48a3, var(--cobalt) 40%, var(--night) 82%); padding: clamp(1.5rem, 7vw, 6rem); border: 1px solid var(--line); border-radius: .55rem; }
.contact-panel h2 { font-size: clamp(2.25rem, 5vw, 4.8rem); }
.contact-panel p:not(.eyebrow) { margin-top: .85rem; color: #d4dcf7; }
.contact-panel .micro { font-size: .9rem; }
footer { background: linear-gradient(155deg, #12204d 0%, var(--night) 66%); color: #d9e0fa; border-top: 1px solid var(--line); font-size: .99rem; }
.footer-inner { padding-block: 2.4rem 1.4rem; }
.footer-main, .footer-bottom, .footer-brand { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .75rem 1.3rem; }
.footer-main { margin-bottom: 1.5rem; align-items: start; }
.footer-links { display: grid; gap: .45rem; }
.footer-bottom { border-top: 1px solid #8292ca65; margin-top: .8rem; padding-top: .55rem; }
.legal { border-top: 1px solid #8292ca65; padding-block: .6rem; }
.legal p { padding-block: .3rem .55rem; max-width: 83ch; }
.motion-toggle { color: #e2e8ff; background: none; border: 0; padding: .2rem 0; min-height: 2.75rem; text-decoration: underline; text-underline-offset: .2em; }
.motion-toggle:disabled { opacity: .72; cursor: default; }

@media (max-width: 62rem) {
  .header-inner { padding-block: .75rem; }
  header nav { gap: 0 .7rem; font-size: .88rem; }
  .vitrine-hero { gap: 1.4rem; }
  h1 { font-size: clamp(2.85rem, 6.1vw, 4rem); }
  .module-feature { grid-template-columns: .8fr 1.2fr; }
}

@media (max-width: 53rem) {
  .header-inner { min-height: 4.5rem; padding-block: .55rem; }
  .logo-box img { width: 5.75rem; height: 2.75rem; }
  header nav { width: 100%; align-items: stretch; }
  .menu-ready nav { display: none; }
  .menu-ready nav.is-open { display: grid; padding-bottom: .35rem; gap: 0; }
  header nav a { padding-inline: .4rem; }
  .nav-contact { padding-inline: .7rem; justify-self: start; }
}

@media (max-width: 43.75rem) {
  .vitrine-hero { grid-template-columns: 1fr; padding-block: 2.45rem 1.45rem; gap: 1.45rem; }
  .hero .eyebrow { margin-bottom: .9rem; }
  h1 { font-size: clamp(2.52rem, 9.2vw, 4rem); line-height: 1.01; }
  .hero-positioning { margin-top: 1rem; }
  .hero-lead { font-size: 1rem; }
  .hero .actions { margin-top: 1.05rem; gap: .28rem 1rem; }
  .hero-visual { justify-self: center; aspect-ratio: 1.38; }
  .hero-photo { object-position: 42% 24%; }

  .trust-strip { grid-template-columns: 1fr; padding-bottom: .5rem; }
  .trust-strip div { grid-template-columns: .78fr 1.22fr; align-items: center; gap: .5rem; padding: .65rem 0; }
  .trust-strip div + div { border-left: 0; border-top: 1px solid #8796cc42; }
  .trust-strip strong { font-size: 1.27rem; }
  .trust-strip span { font-size: .87rem; }
  .section-head, .needs-grid, .module-grid.two, .module-feature, .trainer-layout, .two-grid, .steps, .map-links {
    grid-template-columns: minmax(0, 1fr);
  }
  .section-head { gap: .75rem; }
  .module-feature .module-media { aspect-ratio: 16 / 8.5; min-height: 0; border-radius: .5rem .5rem 0 0; }
  .linktree-band { align-items: start; flex-direction: column; }
  .portrait-shell { width: min(100%, 14rem); }
  .contact-panel h2 br, .two-grid h2 br { display: none; }
}

@media (max-width: 25rem) {
  .module-facts div { grid-template-columns: 1fr; gap: .1rem; }
}

/* 16 nov. 2026 : équilibrage des cartes publics et des images du catalogue */
.needs-grid .need-card { display: flex; flex-direction: column; }
.need-card h3 { min-height: 2.24em; display: flex; align-items: flex-end; }
.need-card p { flex: 1; }
.need-links { margin-top: auto; padding-top: .35rem; }
@supports (grid-template-rows: subgrid) {
  .needs-grid { row-gap: 0; column-gap: clamp(.8rem, 2vw, 1.6rem); grid-auto-rows: auto; }
  .needs-grid .need-card { display: grid; grid-template-rows: subgrid; grid-row: span 3; row-gap: 0; margin-bottom: clamp(.8rem, 2vw, 1.6rem); }
  .need-card h3 { min-height: 0; align-items: flex-start; }
  .need-card p { flex: none; }
  .need-links { margin-top: 0; padding-top: .35rem; align-self: end; }
}
.module-grid.two .module-media,
.module-grid.two .module-media.media-full { aspect-ratio: 3 / 2; }
.module-grid.two .module-media img,
.module-grid.two .module-media.media-full img { object-fit: cover; object-position: 50% 30%; }
.module-grid.two .module-media img[src*="cat-canva"] { object-position: 50% 0; }
@media (max-width: 52rem) {
  .needs-grid .need-card { display: flex; grid-row: auto; margin-bottom: 0; }
  .need-card h3 { min-height: 0; }
  .need-links { margin-top: auto; }
}

/* Ligne animée (machine à écrire), rétablie le 16 nov. 2026 */
.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; }
.hero-positioning.type-area { min-height: 1.7em; font-family: Georgia, serif; font-weight: 400; font-size: clamp(1.6rem, 3vw, 2.5rem); line-height: 1.3; color: var(--sky); white-space: nowrap; }
.type-area .cursor { display: inline-block; width: 2px; height: .85em; margin-left: 5px; vertical-align: -.04em; background: var(--sky); animation: blink 1s steps(1) infinite; }
.type-area.is-paused .cursor { display: none; }
@keyframes blink { 50% { opacity: 0; } }
@media (max-width: 43.75rem) { .hero-positioning.type-area { font-size: 1.6rem; } }
@media (prefers-reduced-motion: reduce) { .type-area .cursor { display: none; } }
