/* preloader.css */
/* Preloader v2 : symbole assemblé par ressort, compteur en trois paliers, fenêtre masquée. */
.site-preloader { display: none; }
.site-preloader .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.preloader-pending { overflow: hidden; }
.preloader-pending:not(.preloader-revealing) .sana-hero .hero-title-line { visibility: hidden; }
.preloader-pending .site-preloader { position: fixed; inset: 0; z-index: 1000; display: block; color: var(--blue-200, #c8e3ff); }
.preloader-veil { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.preloader-veil-fill { fill: var(--blue-950, #071a35); }
.preloader-mark { position: absolute; left: 50%; top: 50%; width: clamp(88px, 9.2vw, 132px); aspect-ratio: 309 / 291; translate: -50% -50%; overflow: visible; }
.preloader-mark path { transform-box: fill-box; transform-origin: center; will-change: transform, opacity; }
.preloader-label { position: absolute; right: clamp(24px, 4vw, 56px); bottom: clamp(28px, 5vh, 48px); margin: 0; font: 500 15px/1.4 "Inter", Arial, sans-serif; letter-spacing: -.01em; }
.preloader-line { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--blue-500, #68a7f0); transform: scaleX(0); transform-origin: left center; }
@media (max-width: 650px) {
  .preloader-label { right: 24px; bottom: 36px; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .preloader-pending { overflow: visible; }
  .preloader-pending .site-preloader { display: none; }
}

/* tokens.css */
/* Direction Sana : dix couleurs exactement, blanc compris. */
:root {
  --blue-950: #071a35;
  --blue-900: #123d7a;
  --blue-800: #135ac3;
  --blue-600: #347ed7;
  --blue-500: #68a7f0;
  --blue-400: #9bc9ff;
  --blue-200: #c8e3ff;
  --blue-100: #e5f1ff;
  --blue-50: #f4f9ff;
  --white: #ffffff;
  --color-background: var(--white);
  --color-surface: var(--white);
  --color-surface-tinted: var(--blue-100);
  --color-text: var(--blue-950);
  --color-text-secondary: var(--blue-900);
  --color-primary: var(--blue-800);
  --color-primary-hover: var(--blue-900);
  --color-on-primary: var(--white);
  --color-link: var(--blue-800);
  --color-accent: var(--blue-200);
  --color-border: var(--blue-400);
  --color-focus: var(--blue-800);
  --color-white: var(--white);
}

/* site.css */
@font-face { font-family: "Inter"; src: url("../fonts/inter-latin.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
/* Secours aux mesures d’Inter (Arial ajustée) : le texte ne bouge plus quand Inter arrive. Inter reste la police affichée. */
@font-face { font-family: "Inter Fallback"; src: local("Arial"), local("Helvetica"); ascent-override: 90.2%; descent-override: 22.48%; line-gap-override: 0%; size-adjust: 107.4%; }
:root { --gutter: clamp(1.5rem,10.4vw,9rem); --radius: 32px; --space: clamp(4.5rem,8vw,8rem); }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 2rem; }
body { margin: 0; background: var(--white); color: var(--blue-950); font-family: "Inter","Inter Fallback",Arial,sans-serif; font-size: 1.125rem; line-height: 1.5; }
[hidden] { display: none !important; }
img { display: block; max-width: 100%; height: auto; }
svg { flex-shrink: 0; }
a { color: inherit; text-underline-offset: .2em; }
a:hover { text-decoration-thickness: .12em; }
button,input,select,textarea { font: inherit; color: inherit; }
button,summary { cursor: pointer; }
button { border: 0; }
input,textarea,select { width: 100%; min-width: 0; }
:focus-visible { outline: 3px solid var(--blue-600); outline-offset: 5px; }
::selection { color: var(--blue-950); background: var(--blue-200); }
h1,h2,h3,p,ul,ol { margin-top: 0; }
h1,h2,h3 { font-weight: 400; }
h1 { font-size: clamp(2.8rem,6.4vw,6.5rem); line-height: 1.02; letter-spacing: -.065em; margin-bottom: 1.5rem; }
h2 { font-size: clamp(2rem,4vw,3.6rem); line-height: 1.08; letter-spacing: -.055em; margin-bottom: 1.5rem; }
h3 { font-size: 1.5rem; line-height: 1.2; letter-spacing: -.035em; }
p { margin-bottom: 1.5rem; max-width: 65ch; }
p:last-child { margin-bottom: 0; }
.wrap { width: 100%; max-width: 1440px; padding-inline: var(--gutter); margin-inline: auto; }
.section-space { margin-block: var(--space); }
.arrow { width: 19px; height: 19px; }
.lead { font-size: 1.25rem; }
.skip-link { position: fixed; top: 1rem; left: 1rem; z-index: 100; padding: 1rem; color: var(--blue-950); background: var(--white); transform: translateY(-180%); }
.skip-link:focus { transform: none; }
.site-header { position: relative; z-index: 30; color: var(--blue-950); }
.header-inner { min-height: 82px; max-width: 1600px; padding-inline: 3rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem; position: relative; }
.brand-symbol-link { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; }
.brand-symbol { display: block; width: 33px; height: 33px; background: url("../logo/formaness-symbol.svg") center/contain no-repeat; }
.brand-word { font-size: 1.65rem; letter-spacing: -.065em; text-decoration: none; font-weight: 400; }
.main-navigation { display: flex; align-items: center; justify-content: center; gap: 1.7rem; font-size: .875rem; }
.main-navigation > a,.nav-disclosure > summary { display: flex; align-items: center; gap: .35rem; min-height: 44px; text-decoration: none; list-style: none; }
.nav-disclosure > summary::-webkit-details-marker { display: none; }
.main-navigation > a:hover,.nav-disclosure > summary:hover,.main-navigation [aria-current="page"] { text-decoration: underline; }
.nav-disclosure[open] > summary svg { transform: rotate(180deg); }
.dropdown { position: absolute; top: calc(100% - .5rem); right: 3rem; padding: 1.8rem; max-height: min(70svh,650px); overflow-y: auto; color: var(--blue-950); background: var(--white); border-radius: 16px; border: 1px solid var(--blue-100); }
.products-dropdown { width: min(700px,calc(100vw - 6rem)); }
.services-dropdown { width: 350px; }
.dropdown-groups { display: grid; grid-template-columns: 1.5fr 1fr; gap: 2rem; padding-top: 1rem; }
.dropdown ul { padding: 0; margin: 0; list-style: none; }
.dropdown a { display: block; padding-block: .6rem; min-height: 44px; text-decoration: none; }
.dropdown li a:hover { text-decoration: underline; }
.dropdown-heading { font-weight: 600; }
.menu-toggle { display: none; min-width: 60px; min-height: 44px; padding: .5rem 0 .5rem .5rem; background: transparent; color: inherit; align-items: center; gap: .7rem; font-size: .9rem; }
/* One visual envelope; the live panel remains inside its native disclosure. */
.nav-morph { position: absolute; top: 100%; isolation: isolate; clip-path: inset(0 round 0 0 3px 3px); }
.nav-morph-surface { position: absolute; inset: 0; border-radius: 0 0 3px 3px; background: var(--white); transform-origin: left top; }
.nav-morph > .dropdown { position: absolute; inset: 0 0 auto auto; width: 100%; padding: 0; border: 0; border-radius: 0; background: transparent; }
.nav-morph > .dropdown-ghost { pointer-events: none; }
.nav-backdrop { display: none; }
.mega-mobile-overview { display: none !important; }
.mega-link-title,.mega-link-description { display: block; }
.mega-link-description { font-size: .85rem; }
@media (min-width: 901px) {
  .site-header { padding-top: 18px; }
  .header-inner { width: calc(100% - clamp(64px,11.111vw,160px)); min-height: 64px; max-width: 1440px; padding-inline: 24px; gap: 40px; background: var(--white); color: var(--blue-950); border-radius: 3px; }
  .home-page .site-header { color: var(--blue-950); }
  .main-navigation { justify-content: flex-start; margin-right: auto; gap: 32px; }
  .brand-word { margin-left: auto; font-size: 1.5rem; }
  .dropdown { top: 100%; left: 0; right: 0; width: 100%; padding: 0; border: 0; border-radius: 0 0 3px 3px; }
  .has-open-navigation .header-inner { border-radius: 3px 3px 0 0; }
  .nav-backdrop { display: block; position: fixed; inset: 0; z-index: 20; background: rgb(7 26 53 / 30%); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 280ms ease, visibility 0s linear 280ms; }
  .has-open-navigation .nav-backdrop { opacity: 1; visibility: visible; pointer-events: auto; transition-delay: 0s; }
  .mega-columns { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); border-top: 1px solid var(--blue-100); } /* taste-skill-ignore: séparateur de la navbar Osmo explicitement demandé. */
  .mega-column { min-width: 0; padding: 32px; border-right: 1px solid var(--blue-100); } /* taste-skill-ignore: colonnes séparées comme dans la référence validée. */
  .mega-column:last-child { border-right: 0; }
  .mega-column--tinted { background: var(--blue-50); }
  .mega-column .dropdown-heading,.mega-heading { display: block; font-size: .65rem; letter-spacing: .06em; text-transform: uppercase; font-weight: 400; padding: 0; min-height: 0; margin-bottom: 24px; color: var(--blue-900); }
  .mega-column li + li { margin-top: 14px; }
  .mega-column > .mega-link + .mega-link { margin-top: 14px; }
  .mega-column > .mega-link { padding: 0; min-height: 44px; }
  .mega-column li a { padding: 0; min-height: 44px; }
  .mega-link-title { display: block; font-size: .9rem; font-weight: 500; line-height: 1.4; }
  .mega-link-description { display: block; font-size: .75rem; line-height: 1.45; color: var(--blue-900); margin-top: 2px; }
  .mega-footer { border-top: 1px solid var(--blue-100); padding: 10px 32px; font-size: .8rem; } /* taste-skill-ignore: séparation fonctionnelle du lien vers tout le catalogue. */
  .mega-footer a { min-height: 32px; padding: 6px 0; }
  .mega-feature { display: block; padding: 0 !important; text-decoration: none; }
  .mega-feature img { width: 100%; height: 180px; object-fit: cover; border-radius: 3px; }
  .mega-feature .mega-link-title { margin-top: 16px; }
  .mega-feature .mega-link-description { margin-top: 6px; }
}
@media (max-width: 900px) {
  .mega-mobile-overview { display: block !important; font-weight: 600; }
  .mega-column { margin-bottom: 1rem; }
  .mega-heading { font-size: .9rem; font-weight: 600; }
  .services-dropdown .mega-column:nth-child(n+2) { display: none; }
}
@media (prefers-reduced-motion: reduce) { .nav-backdrop { transition: none; } }
@media (min-width: 901px) and (prefers-reduced-motion: no-preference) {
  .navigation-fluid .nav-disclosure > summary svg { transition: transform 220ms cubic-bezier(.22,1,.36,1); }
}
.home-page .site-header { position: absolute; inset: 0 0 auto; color: var(--blue-200); }
.sana-hero { min-height: 880px; height: min(91vw,1400px); position: relative; background: var(--blue-950); color: var(--blue-200); border-radius: 0 0 var(--radius) var(--radius); overflow: clip; }
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%; mask-image: linear-gradient(to bottom,var(--white) 0%,var(--white) 75%,transparent 100%); } /* taste-skill-ignore: masque de transparence photographique neutre, aucun dégradé coloré de surface. */
html:not(.js) .home-page .site-header { position: relative; background: var(--blue-950); }
.hero-content { height: 100%; position: relative; padding-top: clamp(120px,9.5vw,160px); display: flex; flex-direction: column; }
.sana-hero h1 { margin: 0 auto; max-width: 12ch; text-align: center; font-size: clamp(5rem,10.3vw,9.5rem); line-height: .96; letter-spacing: -.075em; }
.hero-description { margin-top: auto; margin-left: 60%; width: 40%; padding-block: 2rem; font-size: 1.05rem; }
.hero-description > p { max-width: 32ch; }
.hero-actions { display: flex; align-items: center; gap: .4rem; flex-wrap: wrap; }
.sana-hero :focus-visible { outline-color: var(--white); }
.hero-references { display: grid; grid-template-columns: 1fr 3fr; align-items: start; gap: 3rem; margin-top: 8%; padding-bottom: 9%; }
.hero-references > p { font-size: .9rem; }
.hero-references ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 1.6rem 2rem; }
.hero-references li a { display: block; font-size: 1.2rem; font-weight: 500; text-decoration: none; line-height: 1.2; letter-spacing: -.04em; }
.hero-references li a:hover { text-decoration: underline; }
.sana-feature { padding-top: clamp(5rem,8.5vw,8rem); overflow: clip; }
.feature-intro h2 { max-width: 710px; }
.feature-label { font-size: .9rem; margin-bottom: 1rem; }
.feature-label:empty { display: none; }
.feature-description { max-width: 37ch; font-size: 1.125rem; line-height: 1.45; margin-bottom: 2rem; }
.feature-intro .arrow { display: none; }
.color-chapter { border-radius: var(--radius); overflow: clip; }
.create-chapter { background: var(--blue-200); }
.live-chapter { background: var(--blue-950); color: var(--white); }
.live-chapter .feature-description { color: var(--blue-200); }
.device-stage { max-width: 1440px; margin: 1rem auto 0; position: relative; height: clamp(600px,76vw,1080px); overflow: clip; isolation: isolate; }
.device { background: var(--blue-950); padding: 15px; border-radius: 36px; box-shadow: 0 30px 50px -25px var(--blue-900); position: absolute; color: var(--blue-950); } /* taste-skill-ignore: relief des appareils demandé dans la référence. */
.device-glass { overflow: hidden; border-radius: 22px; background: var(--white); height: 100%; }
.device-tablet { width: 78%; aspect-ratio: 1.48; left: 4%; top: 18%; }
.device-toolbar { height: 38px; padding: 0 22px; display: flex; align-items: center; justify-content: space-between; gap: .7rem; font-size: 11px; background: var(--blue-50); }
.device-toolbar span:first-child { font-weight: 600; }
.device-phone { width: 20%; max-width: 250px; aspect-ratio: .48; padding: 8px; border-radius: 35px; }
.device-phone .device-glass { border-radius: 27px; }
.phone-top { height: 27px; display: flex; align-items: center; justify-content: space-between; padding: 0 15px; font-size: 9px; font-weight: 600; }
.phone-top i { width: 42%; height: 17px; border-radius: 0 0 12px 12px; background: var(--blue-950); align-self: flex-start; }
.stage-welcome .device-tablet { transform: rotate(-24deg); top: 20%; left: 4%; width: 80%; }
.phone-front { right: 8%; top: 21%; z-index: 3; }
.stage-welcome .phone-front { transform: rotate(15deg); right: 14%; top: 8%; }
.phone-back { right: 3%; top: 30%; z-index: 2; transform: rotate(30deg); }
.preview-body { padding: 5% 5% 6%; }
.preview-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-size: 11px; }
.preview-kicker { font-size: 11px; display: block; }
.preview-search { background: var(--blue-100); border-radius: 100px; padding: .5rem 1rem; }
.preview-body h3 { font-size: clamp(25px,3.5vw,50px); letter-spacing: -.07em; line-height: 1.05; margin-block: 5% 6%; }
.preview-tiles { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.preview-tile { min-width: 0; text-decoration: none; background: var(--blue-100); border-radius: 10px; overflow: hidden; padding-bottom: 12px; }
.preview-tile:nth-child(2n) { background: var(--blue-400); }
.preview-tile:nth-child(3n) { background: var(--blue-500); }
.preview-tile img { width: 100%; height: 110px; object-fit: cover; }
.preview-tile > span,.preview-tile strong { display: block; margin: 7px 12px 0; font-size: 11px; line-height: 1.2; }
.preview-tile strong { font-size: 15px; font-weight: 500; }
.preview-tile:hover strong { text-decoration: underline; }
.device-phone .preview-body { padding: 14px 12px; }
.device-phone .preview-body h3 { font-size: 25px; margin-block: 20px; }
.device-phone .preview-kicker { font-size: 9px; }
.preview-tiles-phone { grid-template-columns: 1fr; gap: 10px; }
.preview-tiles-phone .preview-tile img { height: 86px; }
.preview-tiles-phone .preview-tile strong { font-size: 12px; }
.preview-tiles-phone .preview-tile > span { font-size: 10px; }
.stage-editor { height: auto; padding: 5% 4% 6%; }
.device-window { position: relative; width: 100%; padding: 0; border-radius: 10px; background: var(--white); }
.device-window .device-glass { border-radius: 10px; }
.preview-studio { display: grid; grid-template-columns: 17% 1fr; min-height: 650px; }
.device-tablet .preview-studio { min-height: 0; height: 100%; }
.preview-studio aside { font-size: 12px; padding: 2rem 1rem; }
.preview-studio aside > span { display: block; margin-bottom: 2rem; font-weight: 600; }
.preview-studio aside a { display: block; padding-block: .65rem; min-height: 40px; text-decoration: none; }
.preview-studio aside a:hover { text-decoration: underline; }
.preview-lesson { position: relative; margin: 20px; min-width: 0; border-radius: 9px; overflow: hidden; background: var(--blue-900); }
.preview-lesson > img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.45); }
.preview-lesson > div { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; color: var(--white); padding: 2rem; }
.preview-lesson h3 { font-size: clamp(3rem,8vw,8rem); text-align: center; line-height: 1; margin: 2rem 0; letter-spacing: -.075em; }
.preview-lesson > div > span { font-size: 13px; }
.preview-lesson a { font-size: 14px; padding: .8rem 1rem; border-radius: 100px; background: var(--white); color: var(--blue-950); text-decoration: none; }
.story-split { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 2.5rem; align-items: start; padding-block: 4rem 6rem; }
.story-copy { grid-column: 2; }
.story-brand { font-size: 1.5rem; font-weight: 500; letter-spacing: -.06em; margin-bottom: 1.5rem; }
.story-copy h3 { font-size: clamp(1.35rem,2vw,1.75rem); line-height: 1.25; margin-bottom: 1.5rem; }
.story-copy > p:last-child { font-size: .9rem; }
.story-image { position: relative; display: block; height: 430px; border-radius: 20px; overflow: hidden; background: var(--blue-900); color: var(--white); }
.story-image > img { height: 100%; width: 100%; object-fit: cover; filter: brightness(.45); }
.story-image > span { position: absolute; inset: auto 20px 22px; display: flex; gap: 1rem; align-items: center; justify-content: space-between; font-size: 14px; }
.story-image i { font-size: 24px; font-style: normal; }
.story-image:hover > span { text-decoration: underline; }
.stage-learn .device-tablet { transform: rotate(-25deg); top: 18%; width: 77%; }
.stage-learn .phone-front { transform: rotate(12deg); top: 26%; right: 8%; }
.stage-learn .device-tablet .preview-body { background: var(--blue-950); color: var(--white); }
.stage-learn .device-tablet .preview-search { background: var(--blue-900); }
.stage-learn .preview-tile { color: var(--blue-950); }
.scope-photo { position: relative; height: min(72vw,950px); min-height: 600px; border-radius: 0 0 var(--radius) var(--radius); overflow: hidden; }
.scope-photo > img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.scope-strip { position: absolute; inset: auto 0 0; padding-block: 3.5rem; display: grid; grid-template-columns: 1fr 3fr; align-items: start; gap: 3rem; color: var(--white); background: color-mix(in srgb,var(--blue-950) 75%,transparent); }
.scope-strip > p { font-size: .95rem; margin-top: 1rem; }
.scope-strip dl { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; margin: 0; }
.scope-strip dt { font-size: clamp(4rem,8vw,8rem); line-height: 1; letter-spacing: -.065em; }
.scope-strip dd { margin: 1rem 0 0; font-size: .95rem; }
.stage-live { height: clamp(640px,70vw,1000px); }
.device-laptop { width: 86%; left: 3%; top: 15%; aspect-ratio: 1.65; padding: 15px; border-radius: 30px 30px 12px 12px; }
.device-laptop .device-glass { border-radius: 16px 16px 5px 5px; background: var(--blue-800); color: var(--white); }
.device-laptop .device-toolbar { background: var(--blue-900); }
.device-laptop .preview-tile { color: var(--blue-950); }
.device-laptop .preview-search { background: var(--blue-900); }
.laptop-base { position: absolute; inset: 100% -5% auto; height: 27px; background: var(--blue-400); border-radius: 0 0 30px 30px; }
.stage-live .phone-front { top: 34%; right: 2%; }
.catalogue-chapter { display: grid; grid-template-columns: 1fr 3fr; gap: 3rem; padding-block: 3rem 7rem; }
.catalogue-chapter > h2 { font-size: 1rem; letter-spacing: -.025em; line-height: 1.4; margin-top: .5rem; }
.category-panels { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1.2rem; }
.category-panels > a { border-radius: 16px; padding: 1.5rem; background: var(--blue-900); text-decoration: none; }
.category-panels h3 { font-size: 1rem; line-height: 1.4; letter-spacing: -.025em; font-weight: 500; }
.category-panels p { font-size: .875rem; line-height: 1.45; margin-bottom: 1.5rem; }
.category-panels > a > span { color: var(--blue-200); font-size: .8rem; }
.category-panels > a:hover { background: var(--blue-800); }
.stage-manage .device-tablet { transform: none; top: 12%; width: 86%; left: 4%; aspect-ratio: 1.65; }
.stage-manage .phone-front { top: 30%; right: 3%; }
.brief-field { padding: 2% 3%; background: var(--blue-50); border-radius: 10px; margin-bottom: 3%; }
.brief-panels { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; margin-block: 6%; }
.brief-panels .brief-field { min-height: 180px; padding: 1.5rem; margin: 0; background: var(--blue-200); }
.brief-panels .brief-field:nth-child(2) { color: var(--white); background: var(--blue-800); }
.brief-panels .brief-field:nth-child(2) span { color: var(--white); }
.brief-panels .brief-field:nth-child(3) { background: var(--blue-100); }
.preview-stat { background: var(--blue-200); border-radius: 12px; padding: 15px; margin-bottom: 12px; }
.preview-stat:nth-of-type(2) { background: var(--blue-800); color: var(--white); }
.preview-stat:nth-of-type(3) { background: var(--blue-100); }
.preview-stat strong { display: block; font-weight: 400; font-size: 55px; line-height: 1.05; letter-spacing: -.06em; }
.preview-stat span { display: block; font-size: 10px; margin-top: 7px; }
.brief-field span,.brief-field strong { display: block; font-size: clamp(12px,1.3vw,18px); font-weight: 400; }
.brief-field span { color: var(--blue-800); font-size: 12px; margin-bottom: .4rem; }
.preview-action { display: inline-block; margin-top: 2%; padding: 10px 16px; border-radius: 100px; color: var(--white); background: var(--blue-800); text-decoration: none; font-size: 13px; }
.device-phone .preview-brief h3 { font-size: 23px; }
.device-phone .brief-field { padding: 12px; margin-bottom: 12px; }
.device-phone .brief-field strong { font-size: 12px; }
.device-phone .brief-field span { font-size: 9px; }
.device-phone .preview-action { font-size: 11px; padding: 10px; }
.brand-statement { padding-block: 1rem 9rem; }
.brand-statement > div { margin-left: 30%; max-width: 650px; }
.brand-statement h2 { font-size: clamp(2rem,3.5vw,3.1rem); }
.brand-statement > div > p:not(.story-brand) { font-size: .95rem; }
.photo-paths { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); height: 600px; }
.photo-paths > a { position: relative; display: block; overflow: hidden; color: var(--white); }
.photo-paths img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.5); transition: transform 400ms ease; }
.photo-paths > a > div { position: absolute; inset: 3rem 1.2rem auto; text-align: center; }
.photo-paths h2 { font-size: clamp(1.8rem,3vw,2.8rem); }
.photo-paths a:hover img { transform: scale(1.025); }
.site-footer { padding-top: 4rem; background: var(--white); }
.footer-top { display: grid; grid-template-columns: 1fr 2fr; gap: 3rem; align-items: start; margin-bottom: 4rem; }
.footer-panels { display: grid; grid-template-columns: 1.6fr 1fr; gap: 1.5rem; }
.footer-panels > section { background: var(--blue-200); border-radius: 14px; padding: 1.8rem; }
.footer-panels > section:last-child { background: var(--blue-950); color: var(--white); }
.footer-panels h2 { font-size: 1.05rem; letter-spacing: -.025em; line-height: 1.3; }
.footer-panels p { font-size: .9rem; }
.footer-panels .arrow { display: none; }
.footer-links { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 2rem; padding-block: 1rem 3rem; }
.footer-links h2 { font-size: .95rem; letter-spacing: 0; margin-bottom: .75rem; }
.footer-links a { display: block; padding-block: .6rem; min-height: 44px; font-size: .875rem; text-decoration: none; overflow-wrap: anywhere; }
.footer-links a:hover { text-decoration: underline; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding-bottom: 2rem; font-size: .8rem; }
.footer-bottom a { min-height: 44px; padding-block: .7rem; }
.breadcrumbs { font-size: .85rem; margin-top: 1rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .75rem; margin: 0; padding: 0; list-style: none; }
.breadcrumbs li:not(:first-child)::before { content: "/"; margin-right: .75rem; }
.breadcrumbs a { display: inline-flex; align-items: center; min-height: 44px; }
.page-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; margin-top: 4rem; margin-bottom: 7rem; }
.hero-intro { font-size: 1.2rem; line-height: 1.5; }
.product-objectives { padding-left: 1.2rem; margin-bottom: 0; }
.product-objectives li + li { margin-top: .65rem; }
.product-elearning { display: flow-root; background: var(--blue-50); }
.product-benefits { margin-block: 2rem; }
.product-benefits > div + div { margin-top: 1.75rem; }
.product-benefits dt { font-size: 1.15rem; font-weight: 500; line-height: 1.3; margin-bottom: .65rem; }
.product-benefits dd { margin: 0; }
.product-revision > div + div { margin-top: 1.75rem; }
.product-revision-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.product-references ul { list-style: none; padding: 0; margin: 0; font-size: .95rem; }
.product-references a { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; padding-block: .5rem; }
.training-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.training-copy h1 { font-size: clamp(2.5rem,5.5vw,5rem); }
.training-copy p { max-width: 36ch; }
.training-offer { background: var(--blue-50); border-radius: 20px; padding: clamp(1.5rem,3vw,3rem); }
.training-offer h2 { font-size: 1.5rem; letter-spacing: -.035em; margin-bottom: 2rem; }
.training-price { font-size: clamp(2rem,3.2vw,3rem); line-height: 1.1; letter-spacing: -.05em; margin-bottom: 1rem; }
.training-price-note { font-size: .95rem; }
.training-conditions { margin-block: 1.5rem 2rem; }
.training-conditions > div + div { margin-top: 1rem; }
.training-conditions dt { font-size: .85rem; }
.training-conditions dd { margin: .25rem 0 0; }
.training-request-note { font-size: .85rem; margin-top: 1rem; }
.training-topics { display: grid; grid-template-columns: 1fr 1.2fr; gap: 5rem; }
.training-topics p { max-width: 32ch; }
.training-topic-groups { display: grid; gap: 2rem; }
.training-topic-groups ul { list-style: none; padding: 0; margin: 0; }
.training-topic-groups a { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 44px; padding-block: .65rem; text-decoration: none; }
.training-topic-groups a:hover { text-decoration: underline; }
@media (max-width: 900px) { .training-intro,.training-topics { gap: 2rem; } }
@media (max-width: 700px) { .training-intro,.training-topics { grid-template-columns: 1fr; } }
.hero-media img { height: 520px; width: 100%; object-fit: cover; border-radius: 20px; }
.text-hero { padding-top: 4rem; }
.text-hero h1 { max-width: 18ch; }
.text-hero > p { font-size: 1.25rem; max-width: 52ch; }
.section-heading { display: flex; justify-content: space-between; gap: 2rem; align-items: flex-end; margin-bottom: 2.5rem; }
.section-heading h2 { margin: 0; }
.editorial-section { display: grid; grid-template-columns: 1fr 1.2fr; gap: 5rem; }
.editorial-section > div { max-width: 60ch; }
.software-index { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin-block: 2rem; font-size: .9rem; }
.software-index a { display: inline-flex; align-items: center; min-height: 44px; }
.software-feature + .software-feature { margin-top: 3rem; }
.software-feature { scroll-margin-top: 2rem; }
.software-chapter-label,.software-note,.software-source-link { font-size: .85rem; }
.software-chapter-label { color: var(--blue-900); margin-bottom: 2rem; }
.software-source-link { display: inline-flex; align-items: center; min-height: 44px; }
.software-plans { margin: 2rem 0; }
.software-plans > div { display: grid; grid-template-columns: 1fr 1.5fr; gap: 2rem; padding: 2rem; border-radius: 16px; }
.software-plans > div:nth-child(odd) { background: var(--blue-50); }
.software-plans dt > span { display: block; font-size: 1rem; margin-bottom: .5rem; }
.software-plans strong { display: block; font-size: clamp(1.4rem,2.5vw,2rem); font-weight: 400; line-height: 1.2; }
.software-plans small { font-size: .8rem; white-space: nowrap; }
.software-plans dd { margin: 0; }
.software-plans ul { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem 1.5rem; margin: 0; padding: 0; list-style: none; font-size: .9rem; }
.software-testimonial { margin-top: 2.5rem; }
.software-testimonial h3 { margin-bottom: .4rem; }
.software-testimonial .software-note { margin-bottom: 1rem; }
.software-resources { list-style: none; padding: 0; margin: 0; }
.software-resources li + li { margin-top: 2rem; }
.software-resources time { display: block; font-size: .85rem; margin-bottom: .5rem; }
.software-resources a { display: inline-flex; align-items: center; min-height: 44px; }
.software-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2rem; }
.software-page a { overflow-wrap: anywhere; }
@media (max-width: 650px) {
  .software-plans > div { grid-template-columns: 1fr; gap: 1.5rem; padding: 1.5rem; }
  .software-plans ul { grid-template-columns: 1fr; }
  .software-page .section-heading { flex-wrap: wrap; align-items: flex-start; }
}
.category-enquiry,.service-detail,.news-row { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.category-enquiry img,.service-detail img,.news-picture img { width: 100%; aspect-ratio: 1.4; object-fit: cover; border-radius: 20px; }
.service-detail:nth-child(even) > div:first-child { order: 2; }
.contact-band { padding-block: 6rem; background: var(--blue-200); border-radius: var(--radius); }
.contact-band h2 { font-size: clamp(2.5rem,5vw,4.5rem); }
.contact-band p { max-width: 40ch; }
.catalogue-controls { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 1.5rem; margin-bottom: 1.5rem; }
.filter-group { display: flex; gap: .5rem; flex-wrap: wrap; }
.catalogue-search { width: min(100%,360px); }
.result-count { font-size: .9rem; }
.catalogue-groups { display: grid; gap: 3rem; }
.catalogue-group h3 { margin-bottom: 1.5rem; }
.category-list { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 2rem; list-style: none; margin: 0; padding: 0; }
.category-row { display: grid; grid-template-columns: 1fr auto; gap: 1rem .5rem; text-decoration: none; }
.category-thumbnail { grid-column: 1 / -1; overflow: hidden; aspect-ratio: 1.5; border-radius: 14px; }
.category-thumbnail img { width: 100%; height: 100%; object-fit: cover; transition: transform 350ms ease; }
.category-row:hover img { transform: scale(1.035); }
.category-row:hover strong { text-decoration: underline; }
.category-reference { font-size: .8rem; display: block; margin-bottom: .3rem; }
.category-copy strong { font-size: 1.1rem; font-weight: 400; line-height: 1.3; display: block; }
.category-row .arrow { align-self: center; }
.catalogue-empty { padding: 2rem; border-radius: 16px; background: var(--blue-100); }
.module-list { list-style: none; padding: 0; }
.module-list > li { padding: 2rem; border-radius: 16px; background: var(--blue-50); margin-bottom: 1rem; }
.news-row { margin-top: 3rem; }
.news-row h3 { font-size: 1.8rem; }
.article-body { max-width: 1050px; }
.article-body > section { margin-bottom: 3rem; }
.article-body h2 { font-size: 2.2rem; margin-top: 3rem; }
/* Pages légales (12 novembre 2026) : sous-titres, listes et tableaux des textes fournis par Formaness. */
.legal-page .article-body h3 { font-size: 1.25rem; margin: 2rem 0 .75rem; }
.legal-page .article-body ul { padding-left: 1.25rem; }
.legal-page .article-body li + li { margin-top: .4rem; }
.legal-table { overflow-x: auto; margin: 1.5rem 0; border: 1px solid var(--blue-100); border-radius: 12px; }
.legal-table table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: .9375rem; line-height: 1.5; }
.legal-table th, .legal-table td { padding: .75rem 1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--blue-100); }
.legal-table thead th { background: var(--blue-50); font-weight: 600; }
.legal-table tbody th { font-weight: 500; }
.legal-table tbody tr:last-child > * { border-bottom: 0; }
/* Tableau comparatif des modules (audit SEO du 12 novembre 2026), même dessin que les tableaux légaux. */
.data-table td { font-variant-numeric: tabular-nums; }
.data-table th[scope="row"] a { text-decoration-thickness: 1px; text-underline-offset: 3px; }
.compare-note { margin-top: .75rem; font-size: .875rem; color: var(--blue-800); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.article-page .page-hero h1 { font-size: clamp(2rem,3.8vw,3.75rem); line-height: 1.06; letter-spacing: -.055em; }
.article-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.article-sources ul { list-style: none; padding: 0; font-size: .95rem; }
.article-sources a { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; padding-block: .5rem; }
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; margin-top: 4rem; }
.contact-intro h1 { font-size: clamp(2.5rem,5.5vw,5rem); }
.contact-intro img { width: 100%; margin-top: 2rem; border-radius: 16px; }
.contact-email { display: inline-block; padding-block: .8rem; font-size: 1.1rem; overflow-wrap: anywhere; }
.contact-phone { margin: 0; font-size: 1.1rem; } .contact-phone a { display: inline-block; padding-block: .6rem; }
.contact-address { margin: .4rem 0 1.5rem; font-style: normal; color: var(--blue-800); line-height: 1.5; }
.contact-form-panel { padding: 2.5rem; border-radius: 20px; background: var(--blue-100); }
.contact-form-panel h2 { font-size: 2rem; }
.contact-form-panel > p { font-size: 1rem; }
#message-preview label { display: block; font-size: 1rem; font-weight: 500; margin-bottom: .75rem; }
/* Champs de formulaire : src/styles/forms.css. */
.form-note,.form-status { font-size: .875rem; }
#message-preview { margin-top: 2rem; }
.error-page { padding-bottom: 5rem; }
@media (max-width: 1100px) {
  .main-navigation { gap: 1rem; font-size: .8rem; }
  .header-inner { padding-inline: 2rem; }
  .hero-description { margin-left: 58%; width: 42%; }
  .hero-references { gap: 2rem; }
  .hero-references ul { gap: 1.3rem; }
  .hero-references li a { font-size: 1rem; }
  .story-split { grid-template-columns: .6fr 1fr 1fr; gap: 2rem; }
  .story-image { height: 350px; }
  .preview-studio { min-height: 500px; }
  .category-panels { gap: .8rem; }
  .category-panels > a { padding: 1.2rem; }
}
@media (max-width: 900px) {
  :root { --gutter: 2rem; }
  .header-inner { min-height: 74px; flex-wrap: wrap; gap: 0; }
  .brand-symbol-link { display: none; }
  .brand-word { order: -1; font-size: 1.5rem; }
  .menu-toggle { display: inline-flex; margin-left: auto; }
  /* Barre collante sur téléphone et tablette ; fond blanc dès que la page défile dessous (9 novembre 2026). */
  html { scroll-padding-top: 88px; }
  .site-header { position: sticky; top: 0; transition: background-color 200ms ease; }
  .js .home-page .site-header { position: fixed; inset: 0 0 auto; }
  .site-header.is-stuck { background: var(--white); color: var(--blue-950); }
  .nav-disclosure > summary svg { transition: transform 300ms cubic-bezier(.22,1,.36,1); }
  .nav-disclosure[data-closing] > summary svg { transform: none; }
  .main-navigation { width: 100%; flex-direction: column; align-items: stretch; gap: .4rem; padding: 1rem 1.5rem 1.5rem; font-size: 1rem; color: var(--blue-950); background: var(--blue-50); border-radius: 16px; }
  .js .main-navigation:not([data-open]) { display: none; }
  .js .main-navigation { position: absolute; inset: 70px 2rem auto; justify-content: flex-start; width: auto; max-height: calc(100dvh - 90px); overflow: auto; }
  .nav-disclosure > summary { justify-content: space-between; }
  .dropdown { position: static; width: 100%; padding: .8rem 0; border: 0; background: transparent; max-height: none; overflow: visible; }
  .dropdown-groups { grid-template-columns: 1fr; gap: 1rem; }
  .sana-hero { min-height: 900px; height: 115svh; max-height: 1100px; }
  .sana-hero h1 { font-size: clamp(3.3rem,9.6vw,6rem); }
  .hero-description { margin-left: 53%; width: 47%; font-size: 1rem; }
  .hero-references { grid-template-columns: 1fr 3fr; }
  .hero-references ul { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .story-split { grid-template-columns: 1fr 1fr; }
  .story-copy { grid-column: 1; }
  .catalogue-chapter { grid-template-columns: 1fr; }
  .catalogue-chapter > h2 { font-size: 1.3rem; }
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .page-hero { gap: 2rem; }
  .hero-media img { height: 420px; }
  .editorial-section,.category-enquiry,.service-detail,.news-row,.contact-layout { gap: 2rem; }
  .contact-form-panel { padding: 1.5rem; }
}
@media (max-width: 650px) {
  :root { --gutter: 1.5rem; --radius: 24px; }
  body { font-size: 1rem; }
  .header-inner { padding-inline: 1.5rem; }
  .js .main-navigation { inset-inline: 1rem; }
  h1 { font-size: clamp(2.5rem,10vw,3.4rem); }
  h2 { font-size: clamp(1.9rem,7.8vw,2.5rem); }
  .sana-hero { min-height: 900px; height: 112svh; max-height: 1020px; }
  .hero-content { padding-top: 112px; }
  .sana-hero h1 { font-size: clamp(2.7rem,11.4vw,4.2rem); max-width: 14ch; letter-spacing: -.065em; }
  .hero-photo { top: -16%; object-position: 50% 100%; }
  .hero-description { margin: auto 0 0; padding-block: 1rem; width: 100%; text-align: center; font-size: .95rem; }
  .hero-description > p { margin-inline: auto; max-width: 32ch; }
  .hero-actions { justify-content: center; flex-wrap: nowrap; gap: .35rem; }
  .hero-references { display: block; margin-top: 1.5rem; padding-bottom: 3rem; }
  .hero-references > p { text-align: center; font-size: .8rem; margin-bottom: 1.5rem; }
  .hero-references > p br { display: none; }
  .hero-references ul { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1.2rem .8rem; align-items: center; }
  .hero-references li a { font-size: .83rem; text-align: center; }
  .feature-intro h2 { max-width: 20ch; }
  .feature-description { font-size: 1rem; max-width: 37ch; }
  .feature-label { font-size: .85rem; }
  .sana-feature { padding-top: 4.5rem; }
  .device-stage { height: 400px; margin-top: 2rem; }
  .device { padding: 6px; border-radius: 18px; }
  .device-glass { border-radius: 12px; }
  .device-tablet { width: 88%; left: -4%; top: 16%; }
  .stage-welcome .device-tablet { width: 87%; left: -4%; top: 15%; }
  .device-phone { padding: 3px; width: 25%; border-radius: 15px; }
  .device-phone .device-glass { border-radius: 12px; }
  .stage-welcome .phone-front { top: 8%; right: 12%; }
  .phone-back { right: 1%; top: 30%; }
  .device-toolbar { height: 18px; padding-inline: 9px; gap: .3rem; font-size: 5px; }
  .preview-body { padding: 5%; }
  .preview-body h3 { font-size: 22px; }
  .preview-heading,.preview-kicker { font-size: 5px; }
  .preview-search { display: none; }
  .preview-tiles { gap: 5px; }
  .preview-tile { border-radius: 5px; padding-bottom: 5px; }
  .preview-tile img { height: 42px; }
  .preview-tile > span,.preview-tile strong { margin: 4px 5px 0; font-size: 5px; }
  .preview-tile strong { font-size: 7px; }
  .phone-top { height: 13px; padding-inline: 5px; font-size: 4px; }
  .phone-top i { height: 8px; border-radius: 0 0 5px 5px; }
  .device-phone .preview-body { padding: 8px 5px; }
  .device-phone .preview-kicker { font-size: 4px; }
  .device-phone .preview-body h3 { font-size: 13px; margin-block: 10px; }
  .preview-tiles-phone { gap: 5px; }
  .preview-tiles-phone .preview-tile img { height: 31px; }
  .preview-tiles-phone .preview-tile strong { font-size: 6px; }
  .preview-tiles-phone .preview-tile > span { font-size: 4px; }
  .stage-editor { height: auto; padding: 2rem .75rem 3rem; margin-top: 1rem; }
  .device-window { padding: 0; border-radius: 7px; }
  .preview-studio { min-height: 300px; grid-template-columns: 18% 1fr; }
  .preview-studio aside { padding: 1rem .3rem; font-size: 6px; }
  .preview-studio aside > span { margin-bottom: 1rem; }
  .preview-studio aside a { min-height: 28px; padding-block: .4rem; }
  .preview-lesson { margin: 7px; }
  .preview-lesson > div { padding: .7rem; }
  .preview-lesson > div > span { font-size: 7px; }
  .preview-lesson h3 { font-size: 2.5rem; margin-block: 1rem; }
  .preview-lesson a { font-size: 7px; padding: .5rem; }
  .story-split { display: block; padding-block: 1rem 3.5rem; }
  .story-copy { max-width: 32ch; margin-bottom: 2rem; }
  .story-brand { font-size: 1.3rem; margin-bottom: 1rem; }
  .story-copy h3 { font-size: 1.5rem; }
  .story-image { height: 360px; }
  .stage-learn .device-tablet { width: 84%; top: 18%; left: -3%; }
  .stage-learn .phone-front { width: 26%; top: 26%; right: 5%; }
  .scope-photo { min-height: 580px; height: 150vw; }
  .scope-photo > img { object-position: 50% center; }
  .scope-strip { padding-block: 1.5rem; display: block; }
  .scope-strip > p { font-size: .85rem; margin-top: 0; margin-bottom: 1rem; }
  .scope-strip > p br { display: none; }
  .scope-strip dl { gap: 1rem; }
  .scope-strip dt { font-size: 3.5rem; }
  .scope-strip dd { font-size: .7rem; margin-top: .5rem; }
  .stage-live { height: 390px; }
  .device-laptop { top: 15%; width: 88%; left: 1%; }
  .device-laptop .device-glass { border-radius: 8px 8px 3px 3px; }
  .laptop-base { height: 10px; }
  .stage-live .phone-front { top: 30%; right: 2%; }
  .catalogue-chapter { gap: 1.5rem; padding-block: 1rem 4rem; }
  .category-panels { grid-template-columns: 1fr; gap: .8rem; }
  .category-panels h3 { font-size: 1rem; }
  .category-panels p { font-size: .9rem; }
  .category-panels > a > span { font-size: .8rem; }
  .stage-manage { height: 380px; }
  .stage-manage .device-tablet { width: 86%; left: 2%; top: 10%; }
  .stage-manage .phone-front { top: 25%; right: 2%; }
  .preview-brief h3 { font-size: 24px; }
  .brief-field span { font-size: 5px; margin-bottom: .2rem; }
  .brief-panels { gap: 5px; }
  .brief-panels .brief-field { min-height: 75px; padding: .6rem; }
  .preview-stat { padding: 6px; border-radius: 5px; margin-bottom: 5px; }
  .preview-stat strong { font-size: 27px; }
  .preview-stat span { font-size: 5px; margin-top: 3px; }
  .brief-field strong { font-size: 8px; }
  .preview-action { padding: 6px 9px; font-size: 6px; }
  .device-phone .preview-brief h3 { font-size: 12px; }
  .device-phone .brief-field { padding: 5px; margin-bottom: 5px; }
  .device-phone .brief-field strong { font-size: 6px; }
  .device-phone .brief-field span { font-size: 4px; }
  .device-phone .preview-action { font-size: 5px; padding: 5px; }
  .brand-statement { padding-block: 0 5rem; }
  .brand-statement > div { margin-left: 0; }
  .brand-statement h2 { font-size: 2rem; }
  .photo-paths { grid-template-columns: 1fr; height: auto; }
  .photo-paths > a { height: 410px; }
  .photo-paths h2 { font-size: 2rem; }
  .photo-paths > a > div { inset-block-start: 2rem; }
  .footer-top { margin-bottom: 2rem; }
  .footer-panels { grid-template-columns: 1fr; }
  .footer-panels > section { padding: 1.5rem; }
  .footer-links { grid-template-columns: 1fr 1fr; gap: 2rem 1rem; }
  .footer-links > div:last-child { grid-column: 1 / -1; }
  .footer-bottom { font-size: .75rem; }
  .page-hero { display: flex; flex-direction: column; align-items: stretch; margin-top: 2rem; margin-bottom: 4rem; gap: 2rem; }
  .hero-media img { height: 300px; }
  .hero-intro { font-size: 1.1rem; }
  .text-hero { padding-top: 2.5rem; }
  .text-hero > p { font-size: 1.1rem; }
  .editorial-section,.category-enquiry,.service-detail,.news-row,.contact-layout { display: flex; flex-direction: column; align-items: stretch; gap: 1.5rem; }
  .service-detail:nth-child(even) > div:first-child { order: 0; }
  .section-heading { display: block; }
  .section-heading > .text-link { margin-top: 1rem; }
  .category-list,.related-list { grid-template-columns: 1fr; }
  .category-copy strong { font-size: 1.25rem; }
  .contact-band { padding-block: 4rem; }
  .contact-layout { margin-top: 2rem; }
  .contact-form-panel { padding: 1.25rem; }
  .contact-intro h1 { font-size: 2.8rem; }
}
@media (min-width: 651px) and (max-width: 1000px) { .category-list { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 350px) { :root { --gutter: 1.1rem; } .sana-hero h1 { font-size: 2.35rem; } .contact-intro h1 { font-size: 2.4rem; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *,*::before,*::after { animation: none !important; transition: none !important; } }
/* Suivi des stagiaires sur /services/elearning/ (audit SEO du 12 novembre 2026). */
.suivi-liste { margin: 1.25rem 0 2rem; padding-left: 1.25rem; } .suivi-liste li + li { margin-top: .6rem; }
/* Page VGP : liste des gains (texte de formaness.fr, 12 novembre 2026). */
.vgp-gains-titre { margin: 2.5rem 0 1rem; font-size: 1.25rem; } .vgp-gains { margin: 0 0 1.5rem; padding-left: 1.25rem; } .vgp-gains li + li { margin-top: .5rem; }
.article-dates { margin-top: 1.5rem; color: var(--blue-800); font-size: .9375rem; }
/* Valeurs de la page À propos (12 novembre 2026). */
.about-values { margin: 1rem 0 0; padding-left: 1.25rem; } .about-values li + li { margin-top: .75rem; }
/* Page « Se former en centre » (12 novembre 2026) : formations de Formaphenix en lignes, comme les listes du catalogue. */
.reference-head { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.1fr); gap: clamp(2rem,5vw,5rem); align-items: end; margin-bottom: 2.5rem; }
.reference-head h2 { margin: 0; } .reference-head p { margin: 0; max-width: 52ch; }
.reference-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--blue-100); }
.reference-row { display: grid; grid-template-columns: 5.5rem minmax(0,1fr) auto; gap: 1.5rem 2rem; align-items: start; padding: 1.75rem 0; border-bottom: 1px solid var(--blue-100); scroll-margin-top: 6rem; }
.reference-sigle { display: grid; place-items: center; height: 3rem; border-radius: 999px; background: var(--blue-50); color: var(--blue-950); font-weight: 600; font-size: .9375rem; }
.reference-copy h3 { margin: 0 0 .5rem; font-size: 1.35rem; } .reference-copy p { margin: 0; max-width: 64ch; } .reference-copy p + p { margin-top: .6rem; }
.reference-revisions { font-size: .9375rem; color: var(--blue-800); }
.reference-link { display: inline-flex; align-items: center; gap: .35rem; min-height: 44px; font-weight: 500; white-space: nowrap; }
@media (max-width: 760px) { .reference-head { grid-template-columns: minmax(0,1fr); } .reference-row { grid-template-columns: minmax(0,1fr); gap: .75rem; } .reference-sigle { display: none; } }

/* buttons.css */
/* Peachworlds reference: 48px pill, 20/12px horizontal padding, 24px icon. */
.button,.text-link,.filter-button,.mega-feature-action {
  --button-background: var(--blue-950);
  --button-foreground: var(--white);
  --button-disc: var(--blue-950);
  --button-glyph: var(--white);
  --button-fill: var(--blue-800);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 0;
  min-height: 48px;
  max-width: 100%;
  padding: 12px 12px 12px 20px;
  border: 0;
  border-radius: 999px;
  background: var(--button-background);
  color: var(--button-foreground);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  vertical-align: middle;
  touch-action: manipulation;
  transition: background-color 180ms ease, color 180ms ease, transform 120ms ease;
}
.text-link,.filter-button { --button-background: var(--white); --button-foreground: var(--blue-950); --button-fill: var(--blue-200); }
.text-link:hover,.filter-button:hover { text-decoration: none; }
.button:active,.text-link:active,.filter-button:active { transform: scale(.97); }
.filter-button { --button-disc: var(--blue-100); --button-glyph: var(--blue-950); }
.filter-button .button-icon-glyph { opacity: 0; }
.filter-button[aria-pressed="true"] { --button-background: var(--blue-950); --button-foreground: var(--white); --button-disc: var(--white); --button-fill: var(--blue-800); }
.filter-button[aria-pressed="true"] .button-icon-glyph { opacity: 1; }
.footer-panels > section:last-child .button { --button-background: var(--white); --button-foreground: var(--blue-950); --button-fill: var(--blue-200); }
.mega-feature-action { margin-top: 16px; }
.menu-toggle { --button-disc: var(--blue-950); --button-glyph: var(--white); --button-fill: var(--blue-200); min-height: 48px; gap: 10px; padding: 12px 12px 12px 20px; border-radius: 999px; background: var(--white); color: var(--blue-950); font-size: 16px; font-weight: 500; line-height: 1.2; }
/* Signe du menu mobile : + fermé, − ouvert (aria-expanded posé par navigation.js). */
.menu-toggle[aria-expanded="true"] .button-icon-bar { opacity: 0; }
.training-nav-action { margin-left: auto; flex-shrink: 0; white-space: nowrap; }
.site-header .brand-symbol-link { flex-shrink: 0; }
.hero-actions { gap: 16px; }

/* Survol d'après Osmo « Button with Rotating Icon » (concept/formaness-boutons-rotation).
   Une seule courbe et une seule durée pour les quatre couches, sans décalage, mesurées sur la vidéo publique :
   le panneau incliné de 15° monte depuis 120 % de la hauteur avec un pivot en haut à gauche, le libellé
   roule d'une hauteur plus 0,33 em dans son masque, le carré tourne de 90° (sens horaire) et ses trois
   glyphes, contre-tournés pour rester droits, défilent de deux cases. La sortie rejoue la transition à l'envers.
   --button-on vaut 1 au survol et au focus clavier ; chaque couche transitionne sa propre valeur calculée.
   Les propriétés individuelles translate / rotate laissent transform libre pour cart.js, l'aimant du hero et :active. */
:root { --button-ease: cubic-bezier(.625,.05,0,1); --button-duration: 525ms; }
.button,.text-link,.filter-button,.mega-feature-action,.menu-toggle,.cart-link,.quantity-control button,.pv-bascule button { position: relative; isolation: isolate; }
.pv-bascule button { --button-fill: var(--blue-200); }
.button-fill { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; pointer-events: none; }
.button-fill::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 105%;
  height: 200%;
  background: var(--button-fill,var(--blue-800));
  transform-origin: 0 0;
  translate: 0 calc(60% * (1 - var(--button-on,0)));
  rotate: calc(15deg * (1 - var(--button-on,0)));
  transition: translate var(--button-duration) var(--button-ease), rotate var(--button-duration) var(--button-ease), background-color 180ms ease;
}
.button-mask { position: relative; display: block; min-width: 0; margin-block: -.2em; padding-block: .2em; overflow: hidden; }
.button-label { position: relative; display: block; min-width: 0; overflow-wrap: anywhere; translate: 0 calc((-100% - .33em) * var(--button-on,0)); transition: translate var(--button-duration) var(--button-ease); }
.button-label::after { content: attr(data-label); content: attr(data-label) / ""; position: absolute; top: calc(100% + .33em); left: 0; right: 0; }
.button-icon { position: relative; display: block; flex: 0 0 24px; width: 24px; height: 24px; border-radius: 6px; background: var(--button-disc,var(--blue-950)); overflow: hidden; rotate: calc(90deg * var(--button-on,0)); transition: rotate var(--button-duration) var(--button-ease), background-color 180ms ease; }
.button-icon-track { position: absolute; inset: 0; rotate: calc(-90deg * var(--button-on,0)); transition: rotate var(--button-duration) var(--button-ease); }
.button-icon-slide { position: absolute; inset: 0; width: 24px; height: 24px; overflow: visible; translate: calc(48px * var(--button-on,0)) 0; transition: translate var(--button-duration) var(--button-ease); }
.button-icon--arrow .button-icon-slide { translate: calc(34px * var(--button-on,0)) calc(-34px * var(--button-on,0)); }
.button-icon-glyph { stroke: var(--button-glyph,var(--white)); }
@media (hover: hover) {
  :is(.button,.text-link,.filter-button,.menu-toggle,.cart-link,.quantity-control button,.pv-bascule button[aria-pressed="false"]):hover,
  .mega-feature:hover .mega-feature-action { --button-on: 1; }
}
:is(.button,.text-link,.filter-button,.menu-toggle,.cart-link,.quantity-control button,.pv-bascule button[aria-pressed="false"]):focus-visible,
.mega-feature:focus-visible .mega-feature-action { --button-on: 1; }

/* Couleurs des panneaux propres à un contexte de sales-home.css (fichier tenu par un autre chantier) :
   le fond ne change plus au survol, c'est le panneau qui porte la couleur. */
.live-chapter .feature-actions .button { --button-fill: var(--blue-200); }
.live-chapter .feature-actions .text-link { --button-fill: var(--blue-800); }
.live-chapter.live-chapter .feature-actions :is(.button,.text-link):hover { background: var(--button-background); }

@media (max-width: 900px) {
  .site-header .header-inner { gap: 8px; }
  .site-header .brand-symbol-link { display: inline-flex; }
  .site-header .main-navigation { order: 1; }
}
@media (max-width: 650px) {
  .button,.text-link,.filter-button,.mega-feature-action,.menu-toggle { min-height: 44px; padding: 10px 10px 10px 16px; font-size: 14px; }
  .hero-actions { flex-wrap: wrap; gap: 12px; }
}
@media (max-width: 380px) {
  .site-header .header-inner { padding-inline: 16px; gap: 6px; }
  .training-nav-action { padding-inline: 12px 8px; }
}
/* Mouvement réduit : ni rotation, ni roulement, ni défilement ; le panneau, déjà en place, apparaît en fondu. */
@media (prefers-reduced-motion: reduce) {
  .button,.text-link,.filter-button,.mega-feature-action,.menu-toggle { transition: none; }
  .button:active,.text-link:active,.filter-button:active { transform: none; }
  .button-fill::before { translate: none; rotate: none; opacity: var(--button-on,0); transition: opacity 150ms linear; }
  .button-label,.button-icon,.button-icon-track,.button-icon-slide,.button-icon--arrow .button-icon-slide { translate: none; rotate: none; transition: none; }
}

/* shop.css */
/* Parcours de vente : panier de l'en-tête, bloc d'achat, tarifs, panier, commande. */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
html:not(.js) .js-only { display: none !important; }

/* Panier dans l'en-tête : une icône de chariot dans un rond, avec une pastille pour le nombre d'accès,
   à toutes les largeurs (demandes du 9 novembre 2026). Le libellé « Panier » reste lu par aria-label. */
.cart-link { position: relative; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 48px; min-height: 48px; padding: 0; gap: 0; border-radius: 999px; background: var(--blue-50); color: var(--blue-950); text-decoration: none; transition: background-color 180ms ease; --button-disc: var(--blue-950); --button-glyph: var(--white); --button-fill: var(--blue-200); }
.cart-link[aria-current="page"] { background: var(--blue-100); }
.cart-link-label { display: none; }
.cart-link-icon { position: relative; z-index: 1; display: block; width: 24px; height: 24px; color: var(--blue-950); }
.cart-link-disc { position: absolute; z-index: 2; top: 2px; right: 0; display: block; width: auto; height: auto; }
.cart-link-disc .button-icon { display: none; }
.cart-count { display: grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--blue-800); border: 2px solid var(--white); color: var(--white); font-size: 11px; font-weight: 600; line-height: 1; font-variant-numeric: tabular-nums; }
.cart-count[hidden] { display: none; }
.training-nav-action { margin-left: 0; }
@media (min-width: 901px) {
  .main-navigation > a.nav-try-action { display: none; }
  .mega-footer { display: flex; flex-wrap: wrap; gap: 0 32px; }
  .cart-link { margin-left: auto; width: 44px; min-height: 44px; }
}
/* Mobile : « Essayer » quitte la barre et passe en bas du menu déroulé, sur toute la largeur (9 novembre 2026). */
@media (max-width: 900px) {
  .training-nav-action { display: none; }
  .main-navigation > a.nav-try-action,.main-navigation > a.nav-try-action:hover { justify-content: space-between; min-height: 48px; margin-top: .8rem; text-decoration: none; }
  .cart-link { margin-left: auto; }
  .site-header .cart-link ~ .menu-toggle { margin-left: 0; }
}
@media (max-width: 650px) {
  .cart-link { width: 44px; min-height: 44px; }
  .site-header .header-inner { padding-inline: 16px; gap: 6px; }
  .js .site-header .header-inner { flex-wrap: nowrap; }
}
@media (max-width: 420px) {
  .site-header .header-inner { padding-inline: 12px; gap: 4px; }
  .training-nav-action { padding: 10px 14px; }
  .training-nav-action .button-icon { display: none; }
  .menu-toggle { padding-left: 12px; }
}

/* Retour d'ajout : le bouton passe à l'état validé, sans déplacement. */
.add-to-cart.is-added { --button-fill: var(--blue-800); --button-background: var(--blue-800); --button-foreground: var(--white); --button-disc: var(--white); --button-glyph: var(--blue-800); background: var(--blue-800); color: var(--white); }

/* Ajout d'après Animorio « The add to cart button » (concept/formaness-panier) : le bouton se referme en
   compteur des accès du module. Le compteur porte la classe de mise en page .add-to-cart (mêmes règles de
   grille que le bouton) ; sa pilule prend les couleurs lues sur le bouton (--stepper-bg, --stepper-ink). */
.add-to-cart { position: relative; }
.add-to-cart .button-label { display: inline-block; }
.cart-count { will-change: transform; }
.cart-pop { position: absolute; left: 50%; top: -6px; z-index: 2; font-size: 15px; font-weight: 700; line-height: 1; color: var(--button-background, var(--blue-950)); opacity: 0; pointer-events: none; translate: -50% 0; white-space: nowrap; font-variant-numeric: tabular-nums; }
/* Sur le compteur, le « +n » monte à droite de la pilule : au-dessus, il croiserait le prix du module. */
.cart-stepper .cart-pop { left: calc(var(--pill-w, 100%) + 10px); top: 50%; translate: 0 -50%; }
.cart-stepper.add-to-cart.add-to-cart { position: relative; display: inline-flex; align-items: center; min-height: 0; padding: 0; border-radius: 999px; background: none; }
.cart-stepper[hidden] { display: none !important; }
.cart-stepper .cart-pop { color: var(--stepper-pop, var(--blue-950)); }
.cart-stepper.is-morphing { z-index: 2; pointer-events: none; }
.cart-stepper.is-morphing .cart-stepper-pill { background: transparent; }
.cart-stepper-pill { position: relative; isolation: isolate; display: inline-flex; align-items: center; gap: 4px; height: var(--stepper-h, 48px); padding: 4px; border-radius: 999px; background: var(--stepper-bg, var(--blue-950)); color: var(--stepper-ink, var(--white)); }
.cart-stepper-tint { position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--stepper-tint); opacity: 0; pointer-events: none; }
.cart-stepper button { --button-fill: var(--blue-200); position: relative; isolation: isolate; display: grid; place-items: center; flex: none; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: var(--blue-100); color: var(--blue-950); cursor: pointer; touch-action: manipulation; }
.cart-stepper .cart-stepper-plus { --button-fill: var(--blue-800); background: var(--blue-950); color: var(--white); }
.cart-stepper.is-dark .cart-stepper-minus { --button-fill: var(--blue-800); background: var(--blue-900); color: var(--white); }
.cart-stepper.is-dark .cart-stepper-plus { --button-fill: var(--blue-200); background: var(--white); color: var(--blue-950); }
.cart-stepper button[aria-disabled="true"] { opacity: .35; cursor: default; }
.cart-stepper svg { position: relative; display: block; overflow: visible; }
.cart-stepper path { stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transform-box: fill-box; transform-origin: 50% 50%; }
.cart-stepper-bin { opacity: 0; }
.cart-stepper-count { display: inline-flex; justify-content: center; min-width: 2.25em; font-size: 18px; font-weight: 600; line-height: 1; font-variant-numeric: tabular-nums; }
.cart-stepper-slot { position: relative; display: inline-block; overflow: hidden; padding: 4px 0; margin: -4px 0; }
.cart-stepper-slot > span { display: inline-block; }
.cart-stepper-slot > span + span { position: absolute; left: 0; top: 4px; }
.cart-stepper :focus-visible { outline-offset: 2px; }
@media (hover: hover) { .cart-stepper button:not([aria-disabled="true"]):hover { --button-on: 1; } }
.cart-stepper button:focus-visible { --button-on: 1; }
@media (max-width: 650px) { .cart-stepper button { width: 36px; height: 36px; } }

/* Fiche module */
.product-hero { align-items: start; }
.product-hero h1 { margin-bottom: 1.5rem; }
.product-name { display: block; margin-top: .75rem; font-size: clamp(1.4rem,2.2vw,2rem); line-height: 1.2; letter-spacing: -.035em; }
.product-purchase { display: grid; gap: 1rem; }
.product-picture { width: 100%; height: clamp(220px,22vw,320px); object-fit: cover; border-radius: 20px; }
.module-facts { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem 2rem; margin: 2rem 0; }
.module-facts dt { font-size: .9rem; color: var(--blue-900); }
.module-facts dd { margin: .2rem 0 0; font-size: 1.15rem; font-weight: 500; }
.module-facts-line { font-size: 1rem; color: var(--blue-900); margin: .35rem 0 0; }
.buy-box { padding: clamp(1.5rem,2.5vw,2.25rem); border-radius: 20px; background: var(--blue-950); color: var(--white); }
.buy-box h2 { font-size: 1.15rem; letter-spacing: -.02em; margin-bottom: .75rem; }
.buy-box-price { font-size: clamp(2rem,3.4vw,3rem); line-height: 1.05; letter-spacing: -.05em; margin-bottom: .75rem; }
.buy-box-note,.buy-box-group { font-size: 1rem; color: var(--blue-200); }
.buy-box-group { margin: 1.25rem 0 0; }
.buy-box .add-to-cart { --button-background: var(--white); --button-foreground: var(--blue-950); --button-fill: var(--blue-200); width: 100%; justify-content: space-between; }
.buy-box .add-to-cart.is-added { --button-fill: var(--blue-400); --button-background: var(--blue-400); --button-foreground: var(--blue-950); --button-disc: var(--blue-950); --button-glyph: var(--white); background: var(--blue-400); color: var(--blue-950); }
.buy-box :focus-visible { outline-color: var(--white); }
.buy-box-total { font-size: 1rem; margin: 1rem 0; }
.quantity-field { margin-top: 1.25rem; }
.quantity-field label { display: block; font-size: .9rem; margin-bottom: .5rem; }
.quantity-control { display: inline-flex; align-items: center; gap: 4px; padding: 4px; border-radius: 999px; background: var(--blue-50); color: var(--blue-950); }
.quantity-control button { --button-fill: var(--blue-200); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--white); color: var(--blue-950); font-size: 1.25rem; line-height: 1; }
.quantity-control input { width: 4.5rem; min-height: 40px; padding: 0 .25rem; border: 0; border-radius: 10px; background: transparent; text-align: center; font-variant-numeric: tabular-nums; -moz-appearance: textfield; }
.quantity-control input::-webkit-inner-spin-button,.quantity-control input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.programme-list { padding-left: 1.4rem; margin: 2rem 0; }
@media (min-width: 1000px) { #programme { grid-template-columns: 1fr 2fr; } #programme > div { max-width: none; } .programme-list { columns: 2; column-gap: 3rem; } .programme-list li { break-inside: avoid; } }
.programme-list li { padding-block: .55rem; }
.programme-list li::marker { color: var(--blue-800); font-variant-numeric: tabular-nums; }
.programme-list span { display: block; }
.programme-list small { display: block; font-size: .85rem; color: var(--blue-900); margin-top: .15rem; }
.programme-exam { padding: 1.25rem 1.5rem; border-radius: 16px; background: var(--blue-100); }
.programme-exam strong { display: block; font-weight: 600; }
.category-price { display: block; font-size: .9rem; margin-top: .35rem; color: var(--blue-800); font-weight: 500; }

/* Modules et tarifs */
.training-offer .purchase-steps { margin: 0; }
.purchase-steps { padding-left: 1.4rem; display: grid; gap: 1.25rem; }
.purchase-steps li::marker { font-weight: 600; color: var(--blue-800); }
.purchase-steps strong { display: block; font-weight: 600; }
.purchase-steps span { display: block; font-size: 1rem; margin-top: .2rem; }
.offer-catalogue { display: grid; gap: 3.5rem; }
.offer-group h3 { font-size: clamp(1.8rem,3vw,2.6rem); letter-spacing: -.05em; margin-bottom: 1.25rem; }
.offer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
.offer-row { display: grid; grid-template-columns: 160px minmax(0,1fr) auto auto; align-items: center; gap: 1.5rem; padding: 1rem 1.25rem 1rem 1rem; border-radius: 20px; background: var(--blue-50); }
.offer-thumbnail { width: 160px; height: 107px; object-fit: cover; border-radius: 12px; }
.offer-copy a { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; font-size: 1.2rem; font-weight: 500; letter-spacing: -.02em; text-decoration: none; }
.offer-copy a:hover { text-decoration: underline; }
.offer-price { margin: 0; font-size: 1.25rem; letter-spacing: -.03em; white-space: nowrap; }
.training-teams { display: grid; grid-template-columns: 1fr 1.2fr; gap: 5rem; padding: clamp(2rem,5vw,4rem); border-radius: var(--radius); background: var(--blue-200); }

/* Panier et commande */
.cart-layout:has(> [data-cart-summary][hidden]),.checkout-layout:has(> [data-cart-summary][hidden]) { grid-template-columns: 1fr; }
.cart-layout,.checkout-layout { display: grid; grid-template-columns: minmax(0,2fr) minmax(300px,1fr); gap: clamp(2rem,4vw,4rem); align-items: start; }
/* Ordre du DOM : contenu principal, récapitulatif, suite. Sur ordinateur, le récapitulatif occupe la colonne de droite sur toute la hauteur. */
@media (min-width: 901px) {
  .cart-layout > .cart-main,.checkout-layout > .checkout-head { grid-column: 1; grid-row: 1; }
  .cart-layout > .cart-more,.checkout-layout > .checkout-main { grid-column: 1; grid-row: 2; }
  .cart-layout > .cart-summary,.checkout-layout > .cart-summary { grid-column: 2; grid-row: 1 / span 2; }
  .checkout-layout { row-gap: 0; }
  .cart-layout:has(> [data-cart-summary][hidden]) > *,.checkout-layout:has(> [data-cart-summary][hidden]) > * { grid-column: 1; grid-row: auto; }
}
.cart-layout:has([data-cart-empty]:not([hidden])) .sp-suggest { display: none; }
.cart-more .sp-suggest { margin-top: 0; }
.cart-main h1,.checkout-main h1,.checkout-head h1 { font-size: clamp(2.5rem,5.5vw,5rem); }
.cart-main h1:focus { outline: none; }
.cart-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
.cart-line { display: grid; grid-template-columns: 112px minmax(0,1fr) auto auto; align-items: center; gap: 1.25rem; padding: 1rem 1.5rem 1rem 1rem; border-radius: 20px; background: var(--blue-50); }
.cart-line img { width: 112px; height: 75px; object-fit: cover; border-radius: 12px; }
.cart-line-copy a { display: inline-flex; min-height: 44px; align-items: center; font-weight: 500; text-decoration: none; }
.cart-line-copy a:hover { text-decoration: underline; }
.cart-line-copy p { margin: 0; font-size: .875rem; color: var(--blue-900); }
.cart-line .quantity-control { background: var(--white); }
.cart-line .quantity-control button { background: var(--blue-50); }
.cart-line-amount { margin: 0; min-width: 6.5rem; text-align: right; font-weight: 500; font-variant-numeric: tabular-nums; }
.cart-remove { min-height: 44px; padding: 0; background: transparent; color: var(--blue-800); font-size: .9rem; text-decoration: underline; text-underline-offset: .2em; }
.cart-empty { padding: 2rem; border-radius: 20px; background: var(--blue-50); }
.cart-empty h2 { font-size: 1.8rem; }
.cart-summary { position: sticky; top: 2rem; display: grid; gap: 1rem; padding: 2rem; border-radius: 20px; background: var(--blue-950); color: var(--white); }
.cart-summary h2 { font-size: 1.5rem; margin: 0; }
.cart-summary .button { --button-background: var(--white); --button-foreground: var(--blue-950); --button-fill: var(--blue-200); justify-content: space-between; }
.cart-summary .text-link { --button-background: transparent; --button-foreground: var(--white); --button-disc: var(--white); --button-glyph: var(--blue-950); --button-fill: var(--blue-800); }
.cart-summary :focus-visible { outline-color: var(--white); }
.cart-totals { margin: 0; display: grid; gap: .6rem; }
.cart-totals > div { display: flex; justify-content: space-between; gap: 1rem; font-size: .95rem; }
.cart-totals dd { margin: 0; font-variant-numeric: tabular-nums; }
.cart-totals .cart-total-row { padding-top: .6rem; font-size: 1.35rem; letter-spacing: -.02em; }
.cart-summary-note { margin: 0; font-size: 1rem; color: var(--blue-200); }
.cart-summary-note:empty { display: none; }
/* Récapitulatif de la commande d'après Animorio « summary stack » (concept/formaness-panier) : les lignes
   du panier deviennent des cartes empilées ; la première devant, les suivantes rentrées de 9 et 18 px et
   remontées de 7 px, en marches de ton vers le fond sombre. Le bouton de dépliage les remet en liste. */
.summary-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .25rem 1rem; }
.summary-count { margin: 0; font-size: .9rem; color: var(--blue-200); font-variant-numeric: tabular-nums; }
.summary-stack { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0,1fr); }
.summary-stack.is-stacked { padding-top: 14px; }
.summary-card { --k: 0; position: relative; display: grid; grid-template-columns: 72px minmax(0,1fr) auto; align-items: center; gap: .75rem; min-height: 72px; padding: .5rem .875rem .5rem .5rem; border-radius: 14px; background: var(--blue-50); color: var(--blue-950); }
.summary-stack.is-stacked .summary-card { grid-area: 1 / 1; align-self: end; margin-inline: calc(min(var(--k), 2) * 9px); translate: 0 calc(min(var(--k), 2) * -7px); z-index: calc(10 - var(--k)); }
.summary-stack.is-stacked .summary-card { height: 80px; }
.summary-stack.is-stacked .summary-label { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.summary-stack.is-stacked .summary-card:not(:first-child) > * { opacity: 0; }
.summary-stack.is-stacked .summary-card:nth-child(2) { background: var(--blue-200); }
.summary-stack.is-stacked .summary-card:nth-child(n+3) { background: var(--blue-400); }
.summary-stack.is-stacked .summary-card:nth-child(n+4) { opacity: 0; }
.summary-stack:not(.is-stacked) { gap: 8px; }
.summary-thumb { position: relative; width: 72px; height: 48px; }
.summary-thumb img { display: block; width: 72px; height: 48px; object-fit: cover; border-radius: 8px; }
.summary-badge { position: absolute; top: -6px; right: -6px; display: grid; place-items: center; min-width: 22px; height: 22px; padding: 0 5px; border-radius: 11px; background: var(--blue-800); color: var(--white); font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; }
.summary-name { min-width: 0; font-size: 1rem; font-weight: 500; line-height: 1.3; }
.summary-name small { display: block; margin-top: .15rem; font-size: .9rem; font-weight: 400; color: var(--blue-900); }
.summary-amount { font-size: 1rem; font-weight: 500; white-space: nowrap; font-variant-numeric: tabular-nums; }
.summary-toggle { justify-self: start; min-height: 44px; padding: 0; border: 0; background: none; color: var(--white); font: inherit; font-size: .95rem; text-decoration: underline; text-underline-offset: .2em; cursor: pointer; }
.checkout-summary .cart-totals .cart-total-row { font-size: 1.96rem; letter-spacing: -.03em; }
@media (max-width: 900px) { .checkout-summary .cart-totals .cart-total-row { font-size: 1.5rem; } }
@media (max-width: 650px) {
  .summary-card { grid-template-columns: 60px minmax(0,1fr) auto; gap: .6rem; }
  .summary-thumb,.summary-thumb img { width: 60px; height: 40px; }
}
.shop-fallback { padding: 1.5rem; border-radius: 16px; background: var(--blue-100); }
.checkout-form { display: grid; gap: 1.5rem; }
.checkout-step { margin: 0; padding: clamp(1.25rem,2.5vw,2rem); border: 0; border-radius: 20px; background: var(--blue-100); min-width: 0; }
.checkout-step legend { float: left; width: 100%; padding: 0; margin-bottom: 1.25rem; font-size: 1.35rem; letter-spacing: -.03em; }
.checkout-step legend + * { clear: both; }
/* Champs, cases et bouton d’envoi de la commande : src/styles/forms.css. */
.confirmation > * { max-width: 860px; }
.confirmation h1 { font-size: clamp(2.5rem,5vw,4.5rem); }
.confirmation h2 { font-size: clamp(1.6rem,2.6vw,2.4rem); }
.confirmation > div { margin-block: 2rem 3rem; }
.order-recap-label { display: block; margin: 2rem 0 .5rem; font-size: .95rem; }

@media (max-width: 1100px) {
  .offer-row { grid-template-columns: 120px minmax(0,1fr) auto; }
  .offer-thumbnail { width: 120px; height: 80px; }
  .offer-row .add-to-cart { grid-column: 2 / -1; justify-self: start; }
  .cart-line { grid-template-columns: 96px minmax(0,1fr) auto; }
  .cart-line img { width: 96px; height: 64px; }
  .cart-line .quantity-control { grid-column: 2; justify-self: start; }
  .cart-line-amount { grid-column: 3; grid-row: 1; }
}
@media (max-width: 900px) {
  .cart-layout,.checkout-layout,.training-teams { grid-template-columns: 1fr; gap: 2rem; }
  .cart-summary { position: static; }
}
@media (max-width: 650px) {
  .module-facts { grid-template-columns: 1fr 1fr; gap: .75rem 1rem; margin: 1.5rem 0; }
  .product-purchase { margin-top: .5rem; }
  .offer-row { grid-template-columns: 88px minmax(0,1fr); gap: .5rem 1rem; padding: .75rem; }
  .offer-thumbnail { width: 88px; height: 66px; grid-row: span 2; }
  .offer-copy a { font-size: 1.05rem; min-height: 40px; }
  .offer-price { grid-column: 2; font-size: 1.05rem; }
  .offer-row .add-to-cart { grid-column: 1 / -1; justify-self: stretch; justify-content: space-between; }
  .cart-line { grid-template-columns: 72px minmax(0,1fr) auto; gap: .75rem; padding: .75rem; }
  .cart-line img { width: 72px; height: 54px; }
  .cart-line .quantity-control { grid-column: 1 / 3; }
  .cart-line-amount { grid-column: 3; grid-row: 2; }
  .cart-summary { padding: 1.5rem; }
}
@media (prefers-reduced-motion: reduce) { .cart-link { transition: none; } }

/* Panneaux de modules de l'accueil : titre lien, prix et ajout direct. */
.category-panels > article { display: flex; flex-direction: column; border-radius: 16px; padding: 1.5rem; background: var(--blue-900); }
.category-panels > article h3 a { text-decoration: none; }
.category-panels > article h3 a:hover { text-decoration: underline; }
.category-panels > article p { margin-bottom: 1rem; }
.category-panels .panel-price { margin-top: auto; font-size: 1.1rem; color: var(--blue-200); }
.category-panels .add-to-cart { align-self: flex-start; }
.category-panels :focus-visible { outline-color: var(--white); }
@media (max-width: 1100px) { .category-panels > article { padding: 1.2rem; } }
.brand-statement .purchase-steps { margin-block: 1.5rem 2rem; }

/* sales-pages.css */
/* sales-pages : Modules et tarifs, panier, commande, confirmation, services. Tous les sélecteurs sont préfixés « sp- ». */

/* Modules et tarifs : premier écran, texte à gauche, photo à droite, chiffres réels de la bibliothèque. */
.sp-hero { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.05fr); gap: clamp(2rem,5vw,5rem); align-items: center; padding-top: clamp(1.5rem,3vw,3rem); }
.sp-hero h1 { font-size: clamp(2.6rem,5.4vw,5rem); }
.sp-hero .lead { max-width: 34ch; }
.sp-hero .software-actions { margin: 2.5rem 0 0; }
.sp-hero .sp-figures { margin-top: 2.5rem; }
.sp-hero-picture { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; object-position: 50% 35%; border-radius: 20px; }
.sp-figures { display: flex; flex-wrap: wrap; gap: 1.5rem clamp(2rem,4vw,3.5rem); margin: 0; }
.sp-figures > div { display: flex; flex-direction: column-reverse; }
.sp-figures dd { margin: 0; font-size: clamp(2.4rem,3.6vw,3.4rem); line-height: 1; letter-spacing: -.055em; font-variant-numeric: tabular-nums; }
.sp-figures dt { margin-top: .5rem; font-size: 1rem; color: var(--blue-900); }

/* Choix du profil : la première question du formulaire de commande, posée dès la page des tarifs. */
.sp-profiles-inner { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.2fr); gap: clamp(2rem,5vw,5rem); padding: clamp(1.75rem,5vw,4.5rem); border-radius: var(--radius); background: var(--blue-50); }
.sp-profiles-choice h2 { margin-bottom: 2rem; }
.sp-profiles fieldset { display: grid; gap: .5rem; margin: 0; padding: 0; border: 0; min-width: 0; }
.sp-profiles legend { padding: 0; margin-bottom: .75rem; font-size: 1rem; color: var(--blue-900); }
.sp-profiles label { display: flex; align-items: center; gap: .85rem; min-height: 56px; padding: .85rem 1.25rem; border-radius: 14px; background: var(--white); font-size: 1.125rem; cursor: pointer; transition: background-color 180ms ease, color 180ms ease; }
.sp-profiles label:hover { background: var(--blue-100); }
.sp-profiles label:has(:checked) { background: var(--blue-950); color: var(--white); }
.sp-profiles label:has(:focus-visible) { outline: 3px solid var(--blue-600); outline-offset: 3px; }
.sp-profiles input { width: 24px; height: 24px; margin: 0; flex: 0 0 24px; accent-color: var(--blue-500); }
.sp-profiles input:focus-visible { outline: none; }
.sp-profiles-panels { display: grid; gap: 3rem; align-content: start; }
.sp-profile-panel h3 { font-size: clamp(1.6rem,2.4vw,2.2rem); line-height: 1.12; letter-spacing: -.045em; margin-bottom: 1.25rem; }
.sp-profile-panel .software-actions { margin: 2rem 0 0; }
@supports selector(:has(*)) {
  .sp-profiles:has(#sp-profil-moi:checked) .sp-profile-panel:not([data-profile="moi"]),
  .sp-profiles:has(#sp-profil-organisme:checked) .sp-profile-panel:not([data-profile="organisme"]),
  .sp-profiles:has(#sp-profil-entreprise:checked) .sp-profile-panel:not([data-profile="entreprise"]) { display: none; }
}

/* La liste des modules : une ligne par module, comme une carte de prix. */
.sp-catalogue-head { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.2fr); gap: clamp(2rem,5vw,5rem); align-items: end; margin-bottom: 1rem; }
.sp-catalogue-head h2 { margin: 0; }
.sp-catalogue-head p { max-width: 54ch; }
.sp-theme { margin-top: clamp(2.5rem,5vw,4rem); }
.sp-theme h3 { display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem 1rem; margin-bottom: 1.25rem; font-size: clamp(1.8rem,3vw,2.6rem); letter-spacing: -.05em; }
.sp-theme h3 span { font-size: 1rem; letter-spacing: 0; color: var(--blue-900); }
.sp-modules { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
.sp-module { display: grid; grid-template-columns: 200px minmax(0,1fr) 170px; gap: clamp(1.25rem,2.5vw,2.5rem); align-items: center; padding: 1.25rem; border-radius: 20px; background: var(--blue-50); }
.sp-module-picture { width: 200px; height: 150px; object-fit: cover; border-radius: 12px; }
.sp-module-title { margin: 0 0 .5rem; font-size: 1.375rem; font-weight: 500; line-height: 1.25; letter-spacing: -.025em; }
.sp-module-title a { text-decoration: none; }
.sp-module-title a:hover { text-decoration: underline; }
.sp-module-copy > p { font-size: 1rem; max-width: 62ch; margin-bottom: 1rem; }
.sp-module .module-facts { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin: 0; }
.sp-module .module-facts dd { font-size: 1rem; }
.sp-module-buy { display: grid; gap: .75rem; justify-items: start; }
.sp-module-price { margin: 0; font-size: 1.5rem; line-height: 1.1; letter-spacing: -.035em; white-space: nowrap; }
.sp-module-programme { display: inline-flex; align-items: center; min-height: 44px; font-size: 1rem; }

/* Avant de commander : les étapes à gauche, les objections à droite. */
.sp-before { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.2fr); gap: clamp(2rem,5vw,5rem); }
.sp-before .purchase-steps { margin: 2rem 0 0; }
.sp-answers { margin: 0; display: grid; gap: 2rem; }
.sp-answers dt { font-size: 1.25rem; font-weight: 500; letter-spacing: -.02em; }
.sp-answers dd { margin: .4rem 0 0; max-width: 60ch; }

/* Groupes : un champ sombre, la photo d'équipe et ce que contient une commande de structure. */
.sp-teams { padding-block: clamp(3.5rem,8vw,7rem); border-radius: var(--radius); background: var(--blue-950); color: var(--white); }
.sp-teams-inner { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.1fr); gap: clamp(2rem,5vw,5rem); align-items: center; }
.sp-teams-picture { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; object-position: 55% 40%; border-radius: 20px; }
.sp-teams .lead { color: var(--blue-100); }
.sp-teams-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.75rem 2.5rem; margin: 2.5rem 0; }
.sp-teams-list dt { font-weight: 600; }
.sp-teams-list dd { margin: .35rem 0 0; font-size: 1rem; color: var(--blue-100); }
.sp-teams .software-actions { margin-bottom: 0; }
.sp-teams .button { --button-background: var(--white); --button-foreground: var(--blue-950); --button-fill: var(--blue-200); }
.sp-teams .text-link { --button-background: transparent; --button-foreground: var(--white); --button-disc: var(--white); --button-glyph: var(--blue-950); --button-fill: var(--blue-800); }
.sp-teams :focus-visible { outline-color: var(--white); }

/* Services autour des modules : le titre à gauche, deux lignes illustrées à droite. */
.sp-services { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.2fr); gap: clamp(2rem,5vw,5rem); }
.sp-services-list { display: grid; gap: 3rem; }
.sp-services-list article { display: grid; grid-template-columns: 220px minmax(0,1fr); gap: 2rem; align-items: start; }
.sp-services-picture { width: 220px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 16px; }
.sp-services-list h3 { margin-bottom: .75rem; }
.sp-services-list p { font-size: 1rem; }
.sp-services-list .text-link { margin-top: 1.25rem; background: var(--blue-50); }

/* Listes courtes de modules : panier vide, compléments, page VGP. */
.sp-picks { list-style: none; margin: 1.5rem 0 2rem; padding: 0; display: grid; gap: .5rem; }
.sp-pick { display: grid; grid-template-columns: 96px minmax(0,1fr) auto; gap: .5rem 1.25rem; align-items: center; padding: .75rem 1.25rem .75rem .75rem; border-radius: 16px; background: var(--white); }
.sp-pick:has(.add-to-cart) { grid-template-columns: 96px minmax(0,1fr) auto auto; }
.sp-pick-picture { width: 96px; height: 64px; object-fit: cover; border-radius: 10px; }
.sp-pick-name { display: inline-flex; align-items: center; min-height: 40px; font-size: 1.0625rem; font-weight: 500; text-decoration: none; }
.sp-pick-name:hover { text-decoration: underline; }
.sp-pick .module-facts-line { margin: 0; }
.sp-pick-price { margin: 0; font-size: 1rem; white-space: nowrap; }
.sp-pick .add-to-cart { background: var(--blue-50); }
.sp-cart-empty h2 { margin-bottom: .75rem; }
@media (min-width: 1101px) { .sp-cart-empty .sp-picks { grid-template-columns: repeat(2,minmax(0,1fr)); } }
.sp-cart-empty .software-actions { margin-bottom: 0; }

/* Panier rempli : compléments sous le panier, masqués quand il est vide. */
.sp-suggest { margin-top: clamp(3rem,6vw,5rem); }
.sp-suggest h2 { font-size: clamp(1.8rem,3vw,2.6rem); margin-bottom: 1rem; }
.sp-suggest > p { max-width: 52ch; }
.sp-suggest .sp-picks { margin: 1.5rem 0; }
.sp-suggest .sp-pick { background: var(--blue-50); }
.sp-suggest .text-link { background: var(--blue-50); }
.cart-main:has([data-cart-empty]:not([hidden])) .sp-suggest { display: none; }

/* Réassurance à côté du récapitulatif : ce que dit déjà le formulaire de commande. */
.sp-reassure { margin-top: .5rem; padding: 1.25rem; border-radius: 14px; background: var(--blue-900); }
.sp-reassure h3 { margin-bottom: .6rem; font-size: 1.05rem; font-weight: 600; letter-spacing: -.01em; }
.sp-reassure ul { margin: 0 0 .75rem; padding-left: 1.1rem; display: grid; gap: .4rem; }
.sp-reassure li,.sp-reassure p { font-size: 1rem; color: var(--blue-50); }
.sp-reassure a { color: var(--white); overflow-wrap: anywhere; }
.sp-step-help { margin: 0 0 1rem; font-size: 1rem; }

/* Confirmation : la suite, en lignes cliquables. */
.sp-next h2 { margin-bottom: 1.25rem; }
.sp-next-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.sp-next-list a { display: grid; gap: .25rem; padding: 1.1rem 1.5rem; border-radius: 16px; background: var(--blue-50); text-decoration: none; transition: background-color 180ms ease; }
.sp-next-list a:hover { background: var(--blue-100); }
.sp-next-list a:hover strong { text-decoration: underline; }
.sp-next-list strong { font-size: 1.125rem; font-weight: 600; }
.sp-next-list span { font-size: 1rem; }

/* Logiciel et VGP : le lien vers l'achat de modules, sur un champ teinté. */
.sp-crosslink-inner { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,1fr); gap: clamp(2rem,5vw,5rem); align-items: center; padding: clamp(1.75rem,5vw,4.5rem); border-radius: var(--radius); background: var(--blue-50); }
.sp-crosslink-picture { width: 100%; aspect-ratio: 4 / 3.6; object-fit: cover; border-radius: 20px; }
.sp-crosslink .software-actions { margin-bottom: 0; }
.sp-crosslink--modules .sp-crosslink-inner { align-items: start; }
.sp-crosslink--modules .sp-picks { margin: 0; }

/* Bandeau de contact : deux actions. */
.sp-contact-band .software-actions { margin: 2rem 0 0; }
@media (min-width: 901px) {
  .sp-contact-band .wrap { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); column-gap: clamp(2rem,5vw,5rem); align-items: end; }
  .sp-contact-band h2 { grid-row: 1 / span 2; margin: 0; font-size: clamp(2.4rem,3.8vw,3.5rem); }
  .sp-contact-band p,.sp-contact-band .software-actions { grid-column: 2; }
}
.sp-contact-band .text-link { --button-background: var(--white); }

@media (max-width: 1100px) {
  .sp-module { grid-template-columns: 160px minmax(0,1fr); }
  .sp-module-picture { width: 160px; height: 120px; }
  .sp-module-buy { grid-column: 2; display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; }
  .sp-services-list article { grid-template-columns: 160px minmax(0,1fr); }
  .sp-services-picture { width: 160px; }
  .sp-suggest { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .sp-hero,.sp-profiles-inner,.sp-catalogue-head,.sp-before,.sp-teams-inner,.sp-services,.sp-crosslink-inner { grid-template-columns: 1fr; }
  .sp-hero .software-actions { margin-top: 2rem; }
  .sp-hero .sp-figures { margin-top: 2rem; }
  .sp-teams-picture { aspect-ratio: 3 / 2; }
  .sp-crosslink-picture { aspect-ratio: 3 / 2; }
}
@media (max-width: 650px) {
  .sp-hero-picture { aspect-ratio: 4 / 3; }
  .sp-figures { gap: 1.25rem 1.75rem; }
  .sp-figures dd { font-size: 2.25rem; }
  .sp-profiles-inner { padding: 1.5rem 1.25rem; border-radius: 24px; }
  .sp-module { grid-template-columns: 96px minmax(0,1fr); gap: .75rem 1rem; padding: .9rem; }
  .sp-module-picture { width: 96px; height: 72px; }
  .sp-module-title { font-size: 1.15rem; }
  .sp-module-copy { display: contents; }
  .sp-module-title { align-self: center; }
  .sp-module-copy > p,.sp-module .module-facts { grid-column: 1 / -1; }
  .sp-module .module-facts { gap: .5rem 1.25rem; }
  .sp-module-buy { grid-column: 1 / -1; justify-content: space-between; }
  .sp-teams { border-radius: 24px; }
  .sp-teams-list { grid-template-columns: 1fr; gap: 1.25rem; }
  .sp-services-list article { grid-template-columns: 1fr; gap: 1rem; }
  .sp-services-picture { width: 100%; aspect-ratio: 3 / 2; }
  .sp-pick,.sp-pick:has(.add-to-cart) { grid-template-columns: 72px minmax(0,1fr); gap: .25rem .9rem; padding: .75rem; }
  .sp-pick-picture { width: 72px; height: 54px; grid-row: span 2; }
  .sp-pick-price { grid-column: 2; }
  .sp-pick .add-to-cart { grid-column: 1 / -1; justify-self: stretch; justify-content: space-between; }
  .sp-crosslink-inner { padding: 1.5rem 1.25rem; border-radius: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .sp-profiles label,.sp-next-list a { transition: none; }
}

/* Panier et commande : une phrase sous le titre dit ce que l'écran permet de faire. */
.sp-shop-intro { margin: -.5rem 0 2rem; font-size: 1.25rem; max-width: 46ch; }

/* Confirmation : l'état de la commande à gauche, la suite à droite. */
.sp-confirmation { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,1fr); column-gap: clamp(2rem,5vw,5rem); align-items: start; }
.sp-confirmation > * { grid-column: 1; }
.sp-confirmation > .sp-next { grid-column: 2; grid-row: 1 / span 8; margin-block: 0; padding: clamp(1.5rem,3vw,2.5rem); border-radius: 20px; background: var(--blue-50); }
.sp-confirmation .sp-next-list a { background: var(--white); }
.sp-confirmation .sp-next-list a:hover { background: var(--blue-100); }
.sp-next-list span { max-width: 60ch; }
@media (max-width: 900px) {
  .sp-confirmation { grid-template-columns: 1fr; }
  .sp-confirmation > .sp-next { grid-column: 1; grid-row: auto; margin-block: 1rem 2.5rem; }
}

/* Logiciel et VGP : une photo sous le titre comble la colonne de gauche des sections éditoriales. */
.sp-editorial-picture { width: 100%; max-width: 520px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 20px; margin-top: 1rem; }
.sp-plans dt > span { font-size: 1.5rem; line-height: 1.2; letter-spacing: -.035em; }
.sp-plans strong { font-size: 1.25rem; }
@media (max-width: 650px) { .sp-editorial-picture { aspect-ratio: 3 / 2; margin-top: .5rem; } }
@media (min-width: 901px) { .sp-editorial-head { position: sticky; top: 2rem; align-self: start; } }
@media (max-width: 900px) { .sp-editorial-head { display: flex; flex-direction: column; } .sp-editorial-head .sp-editorial-picture { order: -1; margin: 0 0 1.5rem; } }

/* Lignes avec ajout au panier : le nom sur toute la largeur, le prix et l'ajout en dessous. */
.sp-pick:has(.add-to-cart) { grid-template-columns: 96px minmax(0,1fr) auto; }
.sp-pick:has(.add-to-cart) .sp-pick-picture { grid-row: span 2; }
.sp-pick:has(.add-to-cart) .sp-pick-copy { grid-column: 2 / -1; }
.sp-pick:has(.add-to-cart) .sp-pick-price { grid-column: 2; }
.sp-pick:has(.add-to-cart) .add-to-cart { grid-column: 3; }
.sp-crosslink--modules .sp-crosslink-inner { grid-template-columns: 1fr; }
.sp-crosslink--modules .sp-crosslink-inner > div { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.2fr); column-gap: clamp(2rem,5vw,5rem); }
.sp-crosslink--modules .sp-crosslink-inner > div > h2 { grid-row: 1 / span 3; }
.sp-crosslink--modules .sp-crosslink-inner > div > :not(h2) { grid-column: 2; }
@media (min-width: 1000px) { .sp-crosslink--modules .sp-picks { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 900px) { .sp-crosslink--modules .sp-crosslink-inner > div { display: block; } }
@media (max-width: 650px) {
  .sp-pick:has(.add-to-cart) .sp-pick-copy { grid-column: 2; }
  .sp-pick:has(.add-to-cart) .add-to-cart { grid-column: 1 / -1; }
}

/* forms.css */
/* Champs de formulaire d'après Osmo « Live Form Validation (Advanced) » (concept/formaness-formulaires).
   Le champ est une marche de ton (blanc sur bleu-100 : 1,14:1, la valeur mesurée chez Osmo), sans bord
   au repos. Le bord de 1 px porte seul les états ; aucun changement n'est animé (0 s mesuré).
   Classes réutilisables : .field, .field-label, .field-control, .field-input, .field-state,
   .field-error, .choice, .field-submit. Variables : --field-fill, --field-height, --field-radius. */
:root {
  /* Hors palette, choisie pour l'erreur seule : la teinte rouge orangé d'Osmo (#f84131) assombrie pour
     le texte, 6,57:1 sur blanc et 5,75:1 sur bleu-100. */
  --field-error: #b42318;
  --field-valid: var(--blue-600);
  --field-focus: var(--blue-800);
  --field-fill: var(--white);
  --field-height: 64px;
  --field-radius: 6px;
}

.form-required-note { margin: 0 0 1.5rem; font-size: 15px; color: var(--blue-900); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 1rem; }
.field { margin: 0 0 1.75rem; min-width: 0; }

/* Libellé réel, astérisque décorative (le champ porte required), indication à la suite. */
.field-label { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 0; row-gap: 2px; margin: 0 0 12px; font-size: 16px; font-weight: 500; line-height: 1.3; color: var(--blue-950); }
.field-required { margin-left: 4px; color: var(--field-error); font-weight: 500; }
.field-hint { margin-left: 12px; font-size: 15px; font-weight: 400; color: var(--blue-900); }

/* La boîte. */
.field-control { position: relative; }
.field-input {
  display: block;
  width: 100%;
  min-height: var(--field-height);
  margin: 0;
  padding: 0 56px 0 20px;
  border: 1px solid transparent; /* taste-skill-ignore: champ de formulaire, le bord porte les états. */
  border-radius: var(--field-radius);
  background: var(--field-fill);
  color: var(--blue-950);
  font: inherit;
  font-size: 18px;
  line-height: 1.4;
  -webkit-appearance: none;
  appearance: none;
  transition: none;
}
.field-input::placeholder { color: var(--blue-800); opacity: 1; }
textarea.field-input { min-height: calc(var(--field-height) * 2); padding-block: 19px; line-height: 1.5; resize: vertical; }
select.field-input { padding-right: 56px; cursor: pointer; text-overflow: ellipsis; }
.field-chevron { position: absolute; top: 50%; right: 20px; width: 16px; height: 16px; margin-top: -8px; color: var(--blue-950); pointer-events: none; }
.field-chevron svg { display: block; }

/* Focus : bord et contour intérieur de la même couleur, 2 px visibles, sans décalage de mise en page. */
.field-input:focus,.field-input:focus-visible { border-color: var(--field-focus); outline: 1px solid var(--field-focus); outline-offset: -2px; }

/* Icône d'état, 24 px, à 20 px du bord droit, centrée sur la première ligne. */
.field-state { position: absolute; top: calc(var(--field-height) / 2 - 12px); right: 20px; width: 24px; height: 24px; pointer-events: none; }
.field-state svg { position: absolute; inset: 0; display: none; }

/* Valide : coche bleu-600, bord bleu-200 hors focus (le focus l'emporte). */
.field.is-valid .field-state-valid { display: block; color: var(--field-valid); }
.field.is-valid .field-input:not(:focus) { border-color: var(--blue-200); }

/* Invalide : bord, pastille et message dans la couleur d'erreur ; l'erreur l'emporte sur le focus. */
.field.is-invalid .field-input { border-color: var(--field-error); }
.field.is-invalid .field-input:focus { outline-color: var(--field-error); }
.field.is-invalid .field-state-invalid { display: block; color: var(--field-error); }
.field-error { margin: 8px 0 0; font-size: 15px; font-weight: 500; line-height: 1.4; color: var(--field-error); }
.field-error:empty { display: none; }

/* Cases et radios dessinées, rangées cliquables de 48 px. */
.choice-list { display: grid; gap: 4px; }
.choice { position: relative; display: flex; align-items: flex-start; gap: 14px; min-height: 48px; padding: 12px 0; font-size: 17px; line-height: 1.4; color: var(--blue-950); cursor: pointer; }
.choice-input { position: absolute; top: 12px; left: 0; width: 24px; height: 24px; margin: 0; opacity: 0; cursor: pointer; }
.choice-box { display: grid; place-items: center; flex: 0 0 24px; width: 24px; height: 24px; margin-top: 0; border: 1.5px solid var(--blue-950); border-radius: 4px; background: var(--field-fill); color: var(--white); } /* taste-skill-ignore: case de formulaire. */
.choice-radio .choice-box { border-radius: 50%; }
.choice-box svg { display: block; opacity: 0; }
.choice-input:checked + .choice-box { border-color: var(--blue-800); background: var(--blue-800); }
.choice-checkbox .choice-input:checked + .choice-box svg { opacity: 1; }
.choice-radio .choice-input:checked + .choice-box::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--white); }
.choice-input:focus-visible + .choice-box { outline: 3px solid var(--blue-600); outline-offset: 3px; }
.choice-text a { position: relative; z-index: 1; }
.field-choice { margin-bottom: .5rem; }
.field-choice .field-error { margin: 0 0 .75rem 38px; }
.field-choice.is-invalid .choice-box { border-color: var(--field-error); }

/* Statut d'envoi (nombre de champs à corriger, demande préparée) : lisible avant le bouton. */
.form .form-status { margin: 0 0 1rem; font-size: 15px; font-weight: 500; color: var(--blue-950); }
.form .form-status:empty { display: none; }
.form .form-note { font-size: 15px; }

/* Bouton d'envoi en bloc, comme la référence : pleine largeur, libellé à gauche. */
.field-submit { width: 100%; min-height: var(--field-height); justify-content: space-between; padding-left: 24px; }
.field-submit.is-pending,.field-submit:disabled { opacity: .72; cursor: progress; }

/* Champs de lecture et champs légers (sans validation) : même boîte. */
#draft-message,.order-recap { display: block; width: 100%; padding: 19px 20px; border: 1px solid transparent; border-radius: var(--field-radius); background: var(--field-fill); color: var(--blue-950); font-size: 16px; line-height: 1.5; resize: vertical; } /* taste-skill-ignore: champ de formulaire. */
.order-recap { --field-fill: var(--blue-100); }
#draft-message:focus,.order-recap:focus,.catalogue-search input:focus { border-color: var(--field-focus); outline: 1px solid var(--field-focus); outline-offset: -2px; }
.catalogue-search label { display: block; margin: 0 0 12px; font-size: 16px; font-weight: 500; }
.catalogue-search input { min-height: 56px; padding: 0 20px; border: 1px solid transparent; border-radius: var(--field-radius); background: var(--blue-100); color: var(--blue-950); font-size: 18px; -webkit-appearance: none; appearance: none; } /* taste-skill-ignore: champ de formulaire. */
.catalogue-search input::placeholder { color: var(--blue-800); opacity: 1; }
.quantity-control input:focus-visible { background: var(--white); outline: 2px solid var(--field-focus); outline-offset: -2px; }

@media (max-width: 650px) {
  :root { --field-height: 56px; }
  .form-grid { grid-template-columns: 1fr; }
  .field { margin-bottom: 1.5rem; }
  .field-input,.catalogue-search input { font-size: 16px; }
  .field-label { font-size: 16px; }
  .choice { font-size: 16px; }
}

/* sales-motion.css */
/* Motion des pages de vente : concept/formaness-vente-motion/README.md (D, B, C, E). */
.reveal-line { display: block; overflow: clip; overflow-clip-margin: .12em; padding-bottom: .04em; }
.reveal-line > span { display: block; will-change: transform; }
.odometer { display: inline-flex; align-items: baseline; }
.odometer-column { display: inline-block; height: 1em; line-height: 1; overflow: clip; vertical-align: top; }
.odometer-reel { display: block; white-space: pre; line-height: 1; }
.odometer-reel::before { content: "0\A 1\A 2\A 3\A 4\A 5\A 6\A 7\A 8\A 9"; }

/* C : frise du programme et des étapes de commande (d'après Osmo, Step-by-step Timeline). */
.timeline-meter { position: relative; display: flex; align-items: center; gap: 1rem; margin: 1.5rem 0 .5rem; height: 2rem; }
.timeline-meter::before { content: ""; position: absolute; left: 0; right: 9rem; top: 50%; height: 4px; margin-top: -2px; border-radius: 2px; background: var(--blue-100); }
.timeline-fill { position: absolute; left: 0; right: 9rem; top: 50%; height: 4px; margin-top: -2px; border-radius: 2px; background: var(--blue-800); transform: scaleX(0); transform-origin: left center; }
.timeline-label { margin-left: auto; min-width: 8rem; text-align: right; font-size: 1rem; font-variant-numeric: tabular-nums; color: var(--blue-900); }
@media (prefers-reduced-motion: no-preference) {
  .timeline-ready > li { transition: opacity 250ms ease; }
  .timeline-ready > li::marker { transition: color 400ms cubic-bezier(.645,.045,.355,1); }
  .timeline-ready > li[data-status="inactive"] { opacity: .62; }
  .timeline-ready > li[data-status="inactive"]::marker { color: var(--blue-400); }
  .timeline-ready > li[data-current] > :first-child { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .25em; text-decoration-color: var(--blue-800); }
}

/* E : la photo de l'équipe s'ouvre jusqu'au fond de la section (d'après Osmo, Image to Background Zoom). */
@media (prefers-reduced-motion: no-preference) {
  .scene-window-ready { will-change: clip-path; }
  .scene-window-ready > img { will-change: transform; transform-origin: 50% 45%; }
  .scene-window-ready .scope-strip { will-change: transform, opacity; }
}

/* produits-liste-grille.css */
/* Tous les produits (/produits/) : bascule liste / grille reproduite d'Osmo « List/Grid Toggle (Flip) ».
   Conception et partition : concept/formaness-produits-liste-grille/. Mouvement : src/scripts/produits-liste-grille.js. */

.pv-barre { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 1.5rem; min-height: 48px; margin-bottom: 2.5rem; }
.pv-barre .result-count { margin: 0; font-size: 1rem; }

/* Bascule : piste blue-100, pastille blue-950 qui glisse sous le bouton choisi (deux boutons de même largeur). */
.pv-bascule { position: relative; display: grid; grid-template-columns: 1fr 1fr; margin-left: auto; padding: 4px; border-radius: 999px; background: var(--blue-100); }
.pv-bascule-pastille { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc((100% - 8px) / 2); border-radius: 999px; background: var(--blue-950); pointer-events: none; }
.pv-bascule button { position: relative; min-width: 6.5rem; min-height: 40px; padding: 0 20px; border-radius: 999px; background: none; color: var(--blue-950); font-size: 16px; font-weight: 500; line-height: 1; touch-action: manipulation; transition: color 580ms cubic-bezier(.75,0,.2,1) 100ms; }
/* Au repos, le bouton choisi porte lui aussi le fond blue-950 (lisible sans la pastille) ; il ne l'obtient qu'à
   l'arrivée de la pastille (100 + 580 ms) et le perd tout de suite au départ, pour que seule la pastille glisse. */
.pv-bascule button[aria-pressed="true"] { color: var(--white); background: var(--blue-950); cursor: default; transition: color 580ms cubic-bezier(.75,0,.2,1) 100ms, background-color 0s linear 680ms; }
.pv-bascule button:focus-visible { outline-offset: 2px; }

/* Éléments communs aux deux vues. La couche .pv-media est celle qui voyage (FLIP) ; les .pv-fondu s'effacent. */
.pv-collection { list-style: none; margin: 0; padding: 0; }
.pv-lien { position: relative; isolation: isolate; display: grid; color: inherit; text-decoration: none; }
.pv-media { position: relative; display: block; overflow: hidden; aspect-ratio: 3 / 2; background: var(--blue-100); transform-origin: 0 0; }
.pv-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 350ms ease; }
.pv-titre { font-weight: 500; letter-spacing: -.02em; line-height: 1.25; }
.pv-faits { font-size: 15px; line-height: 1.4; color: var(--blue-900); }
.pv-theme { justify-self: start; padding: 4px 12px; border-radius: 999px; background: var(--blue-100); font-size: 14px; font-weight: 500; line-height: 1.4; white-space: nowrap; }
.pv-prix { font-size: 15px; font-weight: 500; line-height: 1.4; color: var(--blue-800); white-space: nowrap; }
.pv-fond { position: absolute; z-index: -1; inset: 0; border-radius: 16px; background: var(--blue-50); transition: background-color 180ms ease; }
.pv-lien:hover .pv-titre { text-decoration: underline; text-decoration-thickness: .08em; }

/* Grille (par défaut, et seule vue sans script) : trois colonnes, légende sous la photo comme chez Osmo. */
.pv-collection[data-vue="grille"] { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3rem 1.5rem; }
.pv-collection[data-vue="grille"] .pv-lien { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "media media" "titre theme" "faits prix"; gap: .375rem 1rem; align-items: center; }
.pv-collection[data-vue="grille"] .pv-media { grid-area: media; margin-bottom: .5rem; border-radius: 14px; }
.pv-collection[data-vue="grille"] .pv-titre { grid-area: titre; font-size: 1.125rem; }
.pv-collection[data-vue="grille"] .pv-theme { grid-area: theme; justify-self: end; }
.pv-collection[data-vue="grille"] .pv-faits { grid-area: faits; }
.pv-collection[data-vue="grille"] .pv-prix { grid-area: prix; justify-self: end; }
.pv-collection[data-vue="grille"] :is(.pv-fond, .pv-fleche) { display: none; }
.pv-collection[data-vue="grille"] .pv-lien:hover img { transform: scale(1.035); }

/* Liste : une ligne par module sur un aplat blue-50 (à la place des filets d'Osmo), vignette 3:2 de 120 px. */
.pv-collection[data-vue="liste"] { display: grid; gap: .5rem; }
.pv-collection[data-vue="liste"] .pv-lien { grid-template-columns: 120px minmax(0, 1fr) 7.5rem 8.5rem 24px; grid-template-areas: "media titre theme prix fleche" "media faits theme prix fleche"; gap: .25rem 1.5rem; align-items: center; padding: 16px 24px 16px 16px; }
.pv-collection[data-vue="liste"] .pv-media { grid-area: media; border-radius: 8px; }
.pv-collection[data-vue="liste"] .pv-titre { grid-area: titre; align-self: end; font-size: 1.25rem; }
.pv-collection[data-vue="liste"] .pv-faits { grid-area: faits; align-self: start; }
.pv-collection[data-vue="liste"] .pv-theme { grid-area: theme; }
.pv-collection[data-vue="liste"] .pv-prix { grid-area: prix; }
.pv-collection[data-vue="liste"] .pv-fleche { grid-area: fleche; width: 24px; height: 24px; }
.pv-collection[data-vue="liste"] .pv-lien:hover .pv-fond { background: var(--blue-100); }

@media (max-width: 1100px) {
  .pv-collection[data-vue="grille"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1000px) {
  .pv-collection[data-vue="liste"] .pv-lien { grid-template-columns: 96px minmax(0, 1fr) auto; grid-template-areas: "media titre prix" "media faits theme"; gap: .25rem 1rem; padding: 12px 20px 12px 12px; }
  .pv-collection[data-vue="liste"] .pv-theme { justify-self: end; }
  .pv-collection[data-vue="liste"] .pv-prix { justify-self: end; align-self: end; }
  .pv-collection[data-vue="liste"] .pv-titre { font-size: 1.125rem; }
  .pv-collection[data-vue="liste"] .pv-fleche { display: none; }
}
@media (max-width: 650px) {
  .pv-barre { margin-bottom: 1.5rem; }
  .pv-bascule button { min-width: 5.5rem; min-height: 36px; padding: 0 16px; font-size: 14px; }
  .pv-collection[data-vue="grille"] { grid-template-columns: 1fr; gap: 2.5rem; }
  .pv-collection[data-vue="grille"] .pv-titre { font-size: 1.25rem; }
  .pv-collection[data-vue="liste"] .pv-lien { grid-template-columns: 96px auto minmax(0, 1fr); grid-template-areas: "media titre titre" "media theme prix"; gap: .375rem .75rem; padding: 12px; }
  .pv-collection[data-vue="liste"] .pv-titre { font-size: 1.0625rem; }
  .pv-collection[data-vue="liste"] .pv-faits { display: none; }
  .pv-collection[data-vue="liste"] .pv-prix { justify-self: start; align-self: center; }
  .pv-collection[data-vue="liste"] .pv-theme { justify-self: start; }
}
@media (prefers-reduced-motion: reduce) {
  .pv-bascule button, .pv-bascule button[aria-pressed], .pv-media img, .pv-fond { transition: none; }
  .pv-collection[data-vue="grille"] .pv-lien:hover img { transform: none; }
}
