/* Newspark, ai.newspark.fr. Refonte du 2026-11-26 (annexe du contrat) : la feuille crème du site Websmith sur la palette
   Newspark. Proxima Nova seule, titres en casse de phrase (graisse 600, interlettrage -0,025em), encre marine, bouton
   plein sombre, cartes de 12 px sans ombre, teintes pastel tirées de l'abricot, du bleu ciel et du marine. Ardoise et
   halos d'angle (jeton --glow, seul dégradé admis) pour trois blocs sombres ; abricot et bleu ciel en texte sur ces
   blocs seulement. Polices auto-hébergées, aucun service tiers. Tout mouvement est coupé sous prefers-reduced-motion,
   et celui qui dure plus de cinq secondes a son bouton de pause (WCAG 2.2.2).
   Contrastes vérifiés par tests/cases/design.php. */

@font-face { font-family: "Proxima Nova"; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/proxima-nova-400.woff2) format("woff2"); unicode-range: U+0020-007E, U+00A0-00AC, U+00AE-017F, U+0192, U+01FC-01FF, U+0218-021B, U+2013, U+2018-2019, U+201C-201D, U+2022, U+2026, U+20AC, U+2122, U+2192, U+2212; }
@font-face { font-family: "Proxima Nova"; font-style: normal; font-weight: 600; font-display: swap; src: url(/assets/fonts/proxima-nova-600.woff2) format("woff2"); unicode-range: U+0020-007E, U+00A0-00AC, U+00AE-017F, U+0192, U+01FC-01FF, U+0218-021B, U+2013, U+2018-2019, U+201C-201D, U+2022, U+2026, U+20AC, U+2122, U+2192, U+2212; }

:root {
  color-scheme: light;
  --navy: #0f1736;
  --navy-2: #1a2550;
  --slate: #1c2634;
  --slate-2: #273244;
  --glow: radial-gradient(circle at 0% 100%, rgba(244, 114, 132, .15) 0%, transparent 20%), radial-gradient(circle at 100% 0%, rgba(255, 0, 200, .15) 2%, transparent 20%), radial-gradient(circle at 100% 100%, rgba(30, 57, 133, .8) 10%, transparent 50%);
  --ink: #1b2240;
  --steel: #4f5568;
  --apricot: #f9844a;
  --apricot-bg: #ffe3d3;
  --apricot-ink: #a0441a;
  --sky: #4fb9de;
  --sky-bg: #d3ecf7;
  --lilac-bg: #e1e4f5;
  --line: #e8e0d6;
  --field: #858a99;
  --paper: #ffffff;
  --cream: #f6f2ed;
  --watermark: #ece3d8;
  --danger: #b42318;
  --danger-bg: #fdf1f0;
  --on-dark: #d3d8e6;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 24px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --font: "Proxima Nova", "Segoe UI", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.6 var(--font); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; height: auto; }
[id] { scroll-margin-top: 6rem; }
[hidden] { display: none !important; }
h1, h2, h3, legend, summary { font-family: var(--font); color: var(--navy); }
h1, h2, h3 { margin: 0 0 .6em; font-weight: 600; letter-spacing: -.025em; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 1.5rem + 4vw, 4.75rem); line-height: 1; }
h2 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem); line-height: 1.05; }
h3 { font-size: 1.25rem; line-height: 1.25; }
p, ul, ol, dl, table { margin: 0 0 1.1em; }
a { color: var(--navy); text-decoration-color: var(--apricot); text-decoration-thickness: 2px; text-underline-offset: .2em; }
a:hover { color: var(--apricot-ink); }
:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; }
strong { font-weight: 600; }
::selection { background: var(--apricot-bg); color: var(--navy); }
.stats { font-variant-numeric: tabular-nums; }

.wrap { max-width: 1264px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .wrap { padding: 0 32px; } }
.narrow:not(.wrap), .wrap.narrow > * { max-width: 780px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -10rem; z-index: 50; padding: .6rem 1rem; border-radius: var(--radius-sm); background: var(--navy); color: #fff; } .skip:focus { top: 1rem; }
/* La feuille crème : le contenu, posé sur le fond blanc du pied de page, coins bas arrondis */
main { display: block; background: var(--cream); border-radius: 0 0 var(--radius-lg) var(--radius-lg); }

/* Surtitres et étiquettes : casse de phrase, point abricot */
.eyebrow { display: inline-flex; align-items: center; gap: .6rem; margin: 0 0 1.25rem; color: var(--steel); font: 600 .9375rem/1.3 var(--font); }
.eyebrow::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--apricot); }
.label { margin: 0 0 .5rem; color: var(--steel); font: 600 .875rem/1.3 var(--font); }
.section-head { display: grid; gap: 1rem 4rem; margin-bottom: clamp(2rem, 1.25rem + 2.5vw, 3.5rem); }
.section-head h2, .section-head .eyebrow { margin: 0; }
.section-head .eyebrow { justify-self: start; }
.section-head .lead { max-width: 40rem; margin: 0; }
@media (min-width: 960px) { .wrap:not(.narrow) > .section-head:has(.lead) { grid-template-columns: 7fr 5fr; align-items: end; } .section-head .eyebrow { grid-column: 1 / -1; } }
.lead { color: var(--steel); font-size: clamp(1.125rem, 1.05rem + .35vw, 1.3rem); line-height: 1.5; letter-spacing: -.01em; }
.split { display: grid; gap: 2.5rem; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 4rem; } .split-head { grid-template-columns: 5fr 7fr; } }
.split > div > :last-child { margin-bottom: 0; }
.split-head .section-head { display: block; margin-bottom: 0; }
.split-head .section-head .lead { margin-top: 1rem; }
.section-more { margin: 2.5rem 0 0; font: 600 1rem var(--font); }
.section-more a::after { content: " \2192"; content: " \2192" / ""; }
.note { color: var(--steel); font-size: .95rem; }
.disclosure { padding-left: .75rem; border-left: 3px solid var(--line); color: var(--steel); font-size: .92rem; }

/* Boutons : un seul bouton plein, marine, ponctué d'un point abricot */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .7rem; min-height: 48px; padding: .85rem 1.5rem; border: 1px solid transparent; border-radius: var(--radius-sm);
  font: 600 1rem/1.2 var(--font); letter-spacing: -.01em; text-decoration: none; text-align: center; cursor: pointer; transition: background-color .2s, border-color .2s, color .2s; }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary::after { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--apricot); transition: transform .3s var(--ease); }
.btn-primary:hover { background: var(--navy-2); color: #fff; }
.btn-primary:hover::after { transform: translateX(3px) scale(1.4); }
.btn-secondary { background: var(--paper); border-color: var(--line); color: var(--navy); }
.btn-secondary:hover { border-color: var(--navy); color: var(--navy); }
.btn-sm { min-height: 42px; padding: .6rem 1.1rem; font-size: .95rem; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem 1rem; align-items: center; margin: 2rem 0 1.25rem; }

/* En-tête : barre blanche, navigation, heure de la ville de base et point d'état */
.site-header { position: sticky; top: 0; z-index: 20; background: var(--paper); border-bottom: 1px solid transparent; transition: border-color .3s; }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { position: relative; display: flex; align-items: center; gap: 1.25rem; min-height: 68px; }
.brand { display: inline-flex; flex: none; } .brand img { display: block; width: 132px; height: 44px; }
.nav-main { flex: 1; } .nav-main ul { display: flex; gap: .15rem; margin: 0; padding: 0; list-style: none; }
.nav-main a { display: block; padding: .5rem .85rem; border-radius: 9999px; color: var(--navy); font: 600 .95rem/1.2 var(--font); text-decoration: none; transition: background-color .2s; }
.nav-main a:hover { background: var(--cream); color: var(--navy); }
.nav-main a[aria-current] { text-decoration: underline; text-decoration-color: var(--apricot); text-decoration-thickness: 2px; text-underline-offset: 7px; }
.header-actions { display: flex; align-items: center; gap: 1.25rem; }
.clock { display: inline-flex; align-items: center; gap: .55rem; color: var(--steel); font: 400 .875rem/1 var(--font); font-variant-numeric: tabular-nums; white-space: nowrap; }
.clock-dot { position: relative; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--apricot); }
.clock-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--apricot); animation: ping 2.4s var(--ease) 2; }
@keyframes ping { 0% { transform: scale(1); opacity: .6; } 70%, 100% { transform: scale(2.8); opacity: 0; } }
.nav-mobile { margin-left: auto; }
.nav-mobile summary { list-style: none; cursor: pointer; padding: .6rem 1.15rem; border: 1px solid var(--line); border-radius: 9999px; color: var(--navy); font: 600 .95rem/1 var(--font); }
.nav-mobile summary::-webkit-details-marker { display: none; } .nav-mobile[open] summary { background: var(--navy); border-color: var(--navy); color: #fff; }
.nav-mobile:not([open]) nav { display: none; }
.nav-mobile nav { position: absolute; left: 0; right: 0; top: 100%; padding: .5rem 16px 1.5rem; background: var(--paper); border-bottom: 1px solid var(--line); animation: drop .3s var(--ease); }
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } }
.nav-mobile ul { list-style: none; margin: 0 0 1.25rem; padding: 0; }
.nav-mobile li a { display: block; padding: .75rem 0; border-bottom: 1px solid var(--line); color: var(--navy); font: 600 1.4rem/1.2 var(--font); letter-spacing: -.02em; text-decoration: none; }
.nav-mobile li a[aria-current] { color: var(--apricot-ink); }
.nav-mobile-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; margin: 0; }
@media (max-width: 1079px) { .nav-main { display: none; } }
@media (max-width: 719px) { .header-actions { display: none; } }
@media (min-width: 1080px) { .nav-mobile { display: none; } }

/* Fil d'Ariane */
.crumbs ol { display: flex; flex-wrap: wrap; gap: .25rem .5rem; margin: 0; padding: 1.25rem 0 0; list-style: none; color: var(--steel); font-size: .875rem; }
.crumbs li + li::before { content: "/"; margin-right: .5rem; color: var(--field); }
.crumbs a { color: var(--steel); text-decoration: none; } .crumbs a:hover { color: var(--navy); text-decoration: underline; }

/* Sections : crème, rythme de 96 à 112 px ; blocs sombres en encart arrondi */
.band { padding: clamp(3rem, 2rem + 3vw, 3.5rem) 0; }
.band-dark { margin: 0 max(16px, calc((100% - 1264px) / 2)); padding: clamp(3.5rem, 2.5rem + 4vw, 6.5rem) 0; border-radius: var(--radius-lg); background: var(--glow), var(--slate); color: var(--on-dark); }
.band-dark .wrap { padding: 0 clamp(20px, 4vw, 56px); }
.band-dark h2, .band-dark h3, .band-dark strong { color: #fff; } .band-dark .lead { color: var(--on-dark); }
.band-dark .eyebrow, .band-dark .label { color: var(--sky); }
.band-dark a:not(.btn) { color: #fff; } .band-dark :focus-visible { outline-color: #fff; }
.card, .panel, .fact, .def { border-radius: var(--radius); background: var(--paper); }

/* Accueil : le titre fait le bandeau ; démonstration à côté du texte */
.hero { padding: clamp(2.5rem, 1.5rem + 4vw, 5.5rem) 0 clamp(3rem, 2rem + 3vw, 4.5rem); }
.hero .eyebrow { color: var(--navy); } @media (min-width: 480px) { .hero .eyebrow { padding: .45rem 1rem .45rem .8rem; border: 1px solid var(--line); border-radius: 9999px; background: var(--paper); } }
.hero h1 { margin-bottom: .5em; font-size: clamp(2.75rem, 1.2rem + 6.4vw, 6rem); line-height: .98; }
.hero h1 .ia { position: relative; }
.hero h1 .ia::after { content: ""; position: absolute; left: .02em; right: .04em; bottom: .02em; height: .085em; border-radius: 1em; background: var(--apricot); transform-origin: left; animation: draw 1s .35s var(--ease) both; }
@keyframes draw { from { transform: scaleX(0); } }
.hero-grid { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 1000px) { .hero-grid { grid-template-columns: 5fr 6fr; gap: 4rem; } }
.hero .lead { margin-bottom: 1rem; color: var(--ink); font-size: clamp(1.2rem, 1.05rem + .6vw, 1.5rem); line-height: 1.4; letter-spacing: -.015em; }
.hero-sub { max-width: 36rem; color: var(--steel); }
.hero .actions { margin: 2rem 0; }
.hero-person { display: flex; align-items: center; gap: .9rem; margin: 0; color: var(--steel); font-size: .95rem; line-height: 1.35; }
.hero-person img { flex: none; width: 52px; height: 52px; border-radius: 50%; }
.hero-person strong, .hero-person span { display: block; } .hero-person strong { color: var(--navy); font-size: 1rem; }

/* Démonstration : une relance préparée par l'IA, relue puis envoyée (illustrative, animée par site.js, qui ajoute le
   bouton de pause sous la fenêtre) */
.demo { display: grid; grid-template-columns: 1fr auto; gap: .9rem 1rem; align-items: start; margin: 0; }
.demo-window { grid-column: 1 / -1; display: grid; gap: .85rem; padding: .9rem; border-radius: 20px; background: var(--glow), var(--slate); color: var(--on-dark); }
.demo-bar { display: flex; align-items: center; gap: .8rem; padding: .15rem .35rem; font: 600 .875rem/1 var(--font); }
.demo-dots { display: flex; gap: 6px; }
.demo-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--slate-2); }
.demo-mail { padding: 1.1rem 1.25rem 1.1rem; border-radius: var(--radius); background: var(--paper); color: var(--ink); }
.demo-field { display: flex; gap: .75rem; margin: 0; padding: .5rem 0; border-bottom: 1px solid var(--line); color: var(--navy); font-size: .95rem; }
.demo-field span { flex: none; width: 3.25rem; color: var(--steel); }
.demo-text { margin: .9rem 0 1rem; padding: .35rem .5rem; border-radius: var(--radius-sm); color: var(--ink); line-height: 1.55; transition: background-color .4s; }
.is-review .demo-text { background: var(--sky-bg); }
.demo-ghost { color: transparent; }
.is-typing .demo-ghost::before { content: ""; display: inline-block; width: 2px; height: 1.1em; margin-right: -2px; vertical-align: -.2em; background: var(--apricot); animation: blink .9s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.demo-foot { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin: 0; }
.demo-chip { padding: .4rem .75rem; border-radius: 9999px; background: var(--cream); color: var(--steel); font-size: .85rem; }
.demo-send { padding: .55rem 1rem; border-radius: var(--radius-sm); background: var(--navy); color: #fff; font: 600 .9rem/1 var(--font); transition: background-color .3s, color .3s; }
.demo-done, .is-sent .demo-draft { display: none; } .is-sent .demo-done { display: inline; }
.is-sent .demo-send { background: var(--apricot); color: var(--navy); }
.demo-steps { counter-reset: ds; display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; margin: 0; padding: 0; list-style: none; }
.demo-steps li { counter-increment: ds; display: flex; align-items: center; gap: .5rem; padding: .6rem .65rem; border-radius: var(--radius-sm); background: var(--slate-2); color: var(--on-dark); font: 600 .85rem/1.2 var(--font); transition: background-color .3s, color .3s; }
.demo-steps li::before { content: counter(ds); display: grid; place-items: center; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--navy); color: #fff; font-size: .75rem; transition: background-color .3s, color .3s; }
.demo-steps .is-on { background: var(--paper); color: var(--navy); }
.demo-steps .is-on::before { background: var(--apricot); color: var(--navy); }
.demo-steps .is-done::before { background: var(--sky); color: var(--navy); }
.demo figcaption { grid-area: 2 / 1; color: var(--steel); font-size: .9rem; } .demo > .motion-toggle { grid-area: 2 / 2; }

/* Bouton Mettre en pause / Relancer (WCAG 2.2.2), ajouté par site.js à chaque mouvement de plus de cinq secondes */
.motion-toggle { display: inline-flex; align-items: center; gap: .5rem; min-height: 32px; padding: .3rem .85rem; border: 1px solid var(--line); border-radius: 9999px; background: var(--paper); color: var(--navy); font: 600 .85rem/1 var(--font); cursor: pointer; }
.motion-toggle::before { content: ""; flex: none; width: 9px; height: 10px; border-inline: 3px solid currentColor; } .motion-toggle:hover { border-color: var(--navy); }
.motion-toggle.is-stopped::before { width: 0; height: 0; border-style: solid; border-width: 5px 0 5px 9px; border-color: transparent currentColor; }

/* Bandeau des tâches : liste fixe par défaut ; site.js le fait défiler (.is-live) et ajoute son bouton de pause */
.ticker { overflow: hidden; padding: clamp(1.25rem, .9rem + 1.2vw, 2rem) 0; border-block: 1px solid var(--line); }
.ticker-list { display: flex; flex-wrap: wrap; row-gap: .4rem; margin: 0; padding: 0; list-style: none; } .ticker-list[aria-hidden] { display: none; }
.ticker-list li { display: flex; align-items: center; color: var(--navy); font: 600 clamp(1.6rem, 1.1rem + 2vw, 3rem)/1.15 var(--font); letter-spacing: -.03em; white-space: nowrap; }
.ticker-list li::after { content: ""; flex: none; width: .26em; height: .26em; margin: 0 .7em; border-radius: 50%; background: var(--apricot); }
@media (prefers-reduced-motion: no-preference) { .ticker.is-live .ticker-track { display: flex; width: max-content; max-width: none; margin: 0; padding: 0; animation: ticker 60s linear infinite; }
  .ticker.is-live .ticker-list { flex: none; flex-wrap: nowrap; } .ticker.is-live .ticker-list[aria-hidden] { display: flex; } }
.ticker:hover .ticker-track, .ticker.is-paused .ticker-track, .demo.is-paused .demo-ghost::before { animation-play-state: paused; }
.ticker-ctrl { display: flex; justify-content: flex-end; margin-top: 1rem; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* Tuiles de l'accueil : petites interfaces illustratives (aria-hidden), dans l'esprit des composants shadcn ; chacune
   s'anime une fois, en moins de cinq secondes, quand site.js la voit paraître (.is-playing) */
.bento { display: grid; gap: 1rem; margin: 0; padding: 0; list-style: none; }
@media (min-width: 900px) { .bento { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } }
.tile { display: flex; flex-direction: column; padding: 1.5rem; border-radius: var(--radius); background: var(--paper); }
@media (min-width: 768px) { .tile { padding: 2rem; } }
.tile h3 { margin: 1.75rem 0 .4rem; }
.tile p { margin: 0; color: var(--steel); }
.ui { position: relative; display: flex; flex-direction: column; gap: 9px; height: 184px; padding: 1rem; overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: var(--cream); color: var(--navy); font: 600 .8rem/1.2 var(--font); }
.sk { display: block; flex: none; height: 8px; border-radius: 4px; background: var(--line); transform-origin: left; } .sk-60 { width: 60%; }
.ui-pill { align-self: flex-start; margin-top: auto; padding: .35rem .7rem; border-radius: 9999px; background: var(--apricot-bg); color: var(--apricot-ink); }
.ui-seg { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); flex: none; margin-bottom: 6px; padding: 3px; border-radius: 9999px; background: var(--watermark); }
.ui-seg::before { content: ""; position: absolute; top: 3px; bottom: 3px; left: 3px; width: calc((100% - 6px) / 3); border-radius: 9999px; background: var(--paper); }
.ui-seg span { position: relative; padding: .45rem 0; text-align: center; }
.is-playing .ui-seg::before { animation: seg 4.5s var(--ease) both; } .is-playing.ui-tone .sk { animation: grow 4.5s var(--ease) both; }
.ui-tone .sk:nth-child(3) { animation-delay: .12s; } .ui-tone .sk:nth-child(4) { animation-delay: .24s; } .ui-tone .sk:nth-child(5) { animation-delay: .36s; }
@keyframes seg { 0%, 22%, 90%, 100% { transform: none; } 30%, 52% { transform: translateX(100%); } 60%, 82% { transform: translateX(200%); } }
@keyframes grow { 0%, 30%, 60%, 90% { transform: scaleX(.15); } 8%, 22%, 38%, 52%, 68%, 82%, 98%, 100% { transform: scaleX(1); } }
.ui-head { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-bottom: 4px; color: var(--navy); font-size: .85rem; }
.ui-check { display: flex; align-items: center; gap: .6rem; padding: .45rem .55rem; border-radius: 6px; background: var(--paper); color: var(--ink); font-weight: 400; }
.ui-check::before { content: ""; flex: none; width: 15px; height: 15px; border: 1.5px solid var(--field); border-radius: 4px; } .is-playing .ui-check::before { animation: tick 1.2s var(--ease) both; }
.ui-check:nth-child(3)::before { animation-delay: .9s; } .ui-check:nth-child(4)::before { animation-delay: 1.8s; }
@keyframes tick { 0%, 50% { background: transparent; border-color: var(--field); } 70%, 100% { background: var(--navy); border-color: var(--navy); } }
.ui-doc { flex-direction: row; align-items: stretch; gap: .85rem; }
.ui-page, .ui-sum { position: relative; display: flex; flex-direction: column; gap: 9px; padding: .8rem; border-radius: 6px; background: var(--paper); }
.ui-page { flex: 1.1; overflow: hidden; }
.ui-sum { flex: 1; align-self: center; }
.ui-scan { position: absolute; left: 0; right: 0; top: 0; height: 26px; background: var(--sky-bg); } .is-playing .ui-scan { animation: scan 2.2s var(--ease) 2 alternate both; }
.ui-page .sk { position: relative; }
.ui-sum .sk { background: var(--apricot-bg); }
@keyframes scan { to { transform: translateY(126px); } }

/* Offres : cartes pastel, étiquette en haut, pictogramme à droite */
.offers { display: grid; gap: 1rem; }
@media (min-width: 760px) { .offers { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; } }
@media (min-width: 1100px) { .offers:has(> :nth-child(3):last-child) { grid-template-columns: repeat(3, 1fr); } }
.offer { position: relative; display: flex; flex-direction: column; min-height: 17rem; padding: 1.5rem; border-radius: var(--radius); background: var(--paper); transition: transform .4s var(--ease); }
@media (min-width: 768px) { .offer { padding: 2rem; } }
.offer:hover { transform: translateY(-4px); }
.tint-apricot { background: var(--apricot-bg); } .tint-sky { background: var(--sky-bg); } .tint-lilac { background: var(--lilac-bg); }
.offer-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 2.5rem; }
.offer-top .label { margin: 0; color: var(--navy); font-size: 1rem; }
.offer-icon { flex: none; width: 28px; height: 28px; color: var(--navy); transition: transform .4s var(--ease); }
.offer:hover .offer-icon { transform: rotate(-10deg) scale(1.1); }
.offer h3, .offer h2 { margin-bottom: .6rem; font-size: clamp(1.4rem, 1.25rem + .5vw, 1.65rem); letter-spacing: -.025em; }
.offer h3 a, .offer h2 a { color: var(--navy); text-decoration: none; }
.offer h3 a::after, .offer h2 a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.offer:focus-within { outline: 3px solid var(--navy); outline-offset: 3px; }
.offer p { color: var(--steel); }
.offer-more { margin: auto 0 0; padding-top: 1.25rem; border-top: 1px solid color-mix(in srgb, var(--navy) 14%, transparent); color: var(--navy) !important; font-weight: 600; font-size: .95rem; }
.offer-also { min-height: 0; margin-top: clamp(1rem, .5rem + 1vw, 1.5rem); border: 1px solid color-mix(in srgb, var(--navy) 22%, transparent); background: transparent; } .offer-also .offer-top { margin-bottom: 1.25rem; }

/* Formation : modules en liste éditoriale à filets, formats en tuiles */
.modules { counter-reset: module; display: grid; gap: 0 3rem; margin: 0; padding: 0; list-style: none; }
@media (min-width: 800px) { .modules { grid-template-columns: repeat(2, 1fr); } }
.modules > li { counter-increment: module; position: relative; padding: 1.4rem 0 1.4rem 3.25rem; border-top: 1px solid var(--navy); }
.modules > li::before { content: counter(module, decimal-leading-zero); position: absolute; left: 0; top: 1.45rem; color: var(--apricot-ink); font: 600 1rem/1.4 var(--font); font-variant-numeric: tabular-nums; }
.modules h3 { margin-bottom: .3rem; font-size: 1.15rem; }
.modules p { margin: 0; color: var(--steel); }
.formats { display: grid; gap: 1rem; margin: 2.5rem 0 0; padding: 0; list-style: none; }
@media (min-width: 700px) { .formats { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .formats { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; } }
.formats li { padding: 1.5rem; border-radius: var(--radius); background: var(--paper); color: var(--steel); }
.formats .label { margin-bottom: 1.5rem; }
.formats strong { display: block; margin-bottom: .2rem; color: var(--navy); font-size: 1.2rem; letter-spacing: -.015em; }

/* Financement OPCO */
.funding { display: grid; gap: 1rem; }
@media (min-width: 900px) { .funding { grid-template-columns: 5fr 7fr; gap: 1.5rem; } }
.funding-main { padding: 2rem; border-radius: var(--radius); background: var(--glow), var(--slate); color: var(--on-dark); }
.funding-main .label { color: var(--sky); }
.funding-claim { color: #fff; font-size: clamp(1.4rem, 1.2rem + .8vw, 1.85rem); font-weight: 600; line-height: 1.2; letter-spacing: -.02em; }
.funding-steps { padding: 2rem 2rem 1rem; border-radius: var(--radius); background: var(--paper); }

/* Énoncés numérotés : problèmes */
.statements { counter-reset: st; display: grid; gap: .75rem; margin: 0; padding: 0; list-style: none; }
.statements > li { counter-increment: st; position: relative; padding: 1.25rem 1.5rem 1.25rem 4rem; border-radius: var(--radius); background: var(--paper); }
.statements > li::before { content: counter(st, decimal-leading-zero); position: absolute; left: 1.5rem; top: 1.25rem; color: var(--apricot-ink); font: 600 1rem/1.6 var(--font); }
.statement { margin: 0; color: var(--navy); font-weight: 600; }
.statements p:not(.statement) { margin: .3rem 0 0; color: var(--steel); }

/* Fiche d'une offre ou d'une réalisation */
.fiche { display: grid; gap: .75rem; margin: 2.5rem 0 0; padding: 0; }
@media (min-width: 900px) { .fiche { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); } }
.fiche > div { padding: 1.25rem 1.5rem; border-radius: var(--radius); background: var(--paper); }
.fiche dt { color: var(--steel); font: 600 .875rem/1.3 var(--font); }
.fiche dd { margin: .4rem 0 0; color: var(--navy); }

/* Définitions (principes, engagements, mise en place) en cartes, faits, indicateurs */
.defs { display: grid; gap: 1rem; }
@media (min-width: 800px) { .defs { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; } }
@media (min-width: 1100px) { .defs-4 { grid-template-columns: repeat(4, 1fr); } }
.def { padding: 1.75rem; }
.def:nth-child(4n+2) { background: var(--sky-bg); } .def:nth-child(4n+3) { background: var(--apricot-bg); } .def:nth-child(4n+4) { background: var(--lilac-bg); }
.def h3 { margin-bottom: .4rem; }
.def p { margin: 0; color: var(--steel); }
.indicators > div { padding: .8rem 0; border-bottom: 1px solid var(--line); }
.indicators dt { color: var(--navy); font-weight: 600; }
.indicators dd { margin: .15rem 0 0; color: var(--steel); }
.facts { display: grid; gap: 1rem; }
@media (min-width: 700px) { .facts { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; } }
.fact { padding: 1.75rem; }
.fact h3 { margin-bottom: .35rem; }
.fact p:last-child { margin: 0; color: var(--steel); }

/* Références */
.refs { display: grid; gap: 1.5rem; }
.ref { padding: 1.75rem; border-radius: var(--radius); background: var(--paper); }
.ref-logo { display: block; margin-bottom: .75rem; }
.ref-meta { color: var(--steel); font-size: .95rem; }
.ref-body > div { padding: .6rem 0; border-top: 1px solid var(--line); }
.ref-body dt { color: var(--steel); font: 600 .875rem var(--font); }
.ref-body dd { margin: .25rem 0 0; }
.ref-capture { margin: 1rem 0; }
.ref-capture img { display: block; border-radius: var(--radius); }
.ref-capture figcaption, .ref-links { color: var(--steel); font-size: .92rem; }
.measure { padding: 1rem 0; border-top: 1px solid var(--line); }
.measure-value { margin: 0 0 .25rem; color: var(--navy); font: 600 1.6rem/1.2 var(--font); letter-spacing: -.02em; }
.measures { margin-top: 2rem; }
.rule-note { color: var(--steel); font-weight: 600; }

/* Personnes : portrait du fondateur en couleur, citation en grand ; membres de l'équipe en noir et blanc */
.founder { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 860px) { .founder { grid-template-columns: 4fr 7fr; gap: 4rem; } }
.founder img { display: block; width: 100%; max-width: 320px; height: auto; border-radius: var(--radius); }
.founder h2 { margin-bottom: .6em; }
.founder-quote { margin: 0 0 1.5rem; color: var(--navy); font-size: clamp(1.3rem, 1.1rem + .9vw, 1.85rem); line-height: 1.3; letter-spacing: -.02em; }
.founder-quote::before { content: "\201C"; display: block; height: .5em; color: var(--apricot-ink); font: 600 3.2em/1 var(--font); }
.founder-name { color: var(--navy); font-size: 1.1rem; }
.founder-links { margin: 0; color: var(--steel); font-size: .95rem; }
.people { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); margin-top: 3.5rem; padding-top: 2.5rem; border-top: 1px solid var(--navy); }
.person { padding: 1.75rem; border-radius: var(--radius); background: var(--paper); }
.person img { display: block; width: 96px; height: 96px; margin-bottom: 1.25rem; border-radius: var(--radius); filter: grayscale(1); transition: filter .6s var(--ease); }
.person:hover img { filter: none; }
.person h3 { margin-bottom: .2rem; }
.person-role { color: var(--apricot-ink); font: 600 .95rem var(--font); }
.contact-list > div, .defs-list > div { padding: .8rem 0; border-bottom: 1px solid var(--line); }
.contact-list dt, .defs-list dt { color: var(--steel); font: 600 .875rem var(--font); }
.contact-list dd, .defs-list dd { margin: .2rem 0 0; }

/* Pages intérieures */
.page-head { padding: clamp(2.5rem, 1.5rem + 3vw, 4.5rem) 0 clamp(2.5rem, 1.5rem + 2.5vw, 4rem); }
.page-head h1 { max-width: 18ch; }
.page-head .narrow h1 { max-width: none; }
.page-head .lead { max-width: 46rem; color: var(--ink); }
.ref-logo-head { margin: 0 0 1rem; }

/* Listes */
.checks, .crosses, .links, .plain { list-style: none; padding: 0; }
.checks li, .crosses li { position: relative; margin-bottom: .65rem; padding-left: 1.75rem; }
.checks li::before { content: ""; position: absolute; left: .2rem; top: .45em; width: .8rem; height: .45rem; border-left: 2.5px solid var(--apricot-ink); border-bottom: 2.5px solid var(--apricot-ink); transform: rotate(-45deg); }
.band-dark .checks li::before { border-color: var(--sky); }
.crosses li::before, .crosses li::after { content: ""; position: absolute; left: .2rem; top: .78em; width: .85rem; height: 2.5px; background: var(--steel); transform: rotate(45deg); }
.crosses li::after { transform: rotate(-45deg); }
.links li { margin-bottom: .7rem; } .plain li { margin-bottom: .7rem; padding-left: 1rem; border-left: 3px solid var(--line); }

/* Étapes ; sur fond sombre, une frise qui se trace au défilement */
.steps { counter-reset: step; display: grid; gap: 1.25rem; margin: 0 0 2rem; padding: 0; list-style: none; }
.steps > li { counter-increment: step; position: relative; padding: .2rem 0 0 3.25rem; }
.steps > li::before { content: counter(step); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--apricot-bg); color: var(--apricot-ink); font: 600 .95rem/1 var(--font); }
.steps h3 { margin-bottom: .3rem; font-size: 1.1rem; }
.steps p { margin: 0; color: var(--steel); }
.steps-compact { gap: 1rem; }
.steps-compact h3 { font-size: 1.02rem; }
.steps-row { grid-template-columns: 1fr; }
@media (min-width: 900px) { .steps-row { grid-template-columns: repeat(4, 1fr); gap: 2rem; } }
.band-dark .steps-row { gap: 2.25rem; margin: 0; }
.band-dark .steps-row > li { padding: 0 0 0 4rem; }
.band-dark .steps-row > li::before { content: counter(step, decimal-leading-zero); z-index: 1; width: 44px; height: 44px; border: 2px solid var(--sky); background: var(--slate); color: #fff; }
.band-dark .steps-row > li:not(:last-child)::after { content: ""; position: absolute; left: 21px; top: 44px; bottom: -2.25rem; width: 2px; background: var(--sky); transform-origin: top; }
@media (min-width: 900px) {
  .band-dark .steps-row { gap: 2rem; }
  .band-dark .steps-row > li { padding: 4.5rem 0 0; }
  .band-dark .steps-row > li:not(:last-child)::after { left: 44px; right: -2rem; top: 21px; bottom: auto; width: auto; height: 2px; transform-origin: left; }
}
.band-dark .steps-row h3 { font-size: 1.3rem; }
.band-dark .steps-row p { color: var(--on-dark); }
.step-out { margin-top: .5rem !important; color: var(--steel); font-size: .95rem; }

/* Apparition au défilement (site.js n'ajoute .reveal qu'aux blocs sous la ligne de flottaison) */
.reveal { opacity: 0; transform: translateY(24px); }
.reveal.is-in { opacity: 1; transform: none; transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in:nth-child(2) { transition-delay: .08s; } .reveal.is-in:nth-child(3) { transition-delay: .16s; } .reveal.is-in:nth-child(4) { transition-delay: .24s; }
.steps-row.reveal { opacity: 1; transform: none; }
.steps-row.reveal > li { opacity: 0; transform: translateY(12px); }
.steps-row.reveal > li::after { transform: scale(0); }
.steps-row.reveal.is-in > li { opacity: 1; transform: none; transition: opacity .6s var(--ease), transform .6s var(--ease); }
.steps-row.reveal.is-in > li::after { transform: none; transition: transform .5s linear .3s; }
.steps-row.reveal.is-in > li:nth-child(2) { transition-delay: .55s; } .steps-row.reveal.is-in > li:nth-child(2)::after { transition-delay: .85s; }
.steps-row.reveal.is-in > li:nth-child(3) { transition-delay: 1.1s; } .steps-row.reveal.is-in > li:nth-child(3)::after { transition-delay: 1.4s; }
.steps-row.reveal.is-in > li:nth-child(4) { transition-delay: 1.65s; }

/* Pour qui, FAQ à filets, tableaux */
.pour-qui { margin-bottom: 1.5rem; }
.pour-qui h3 { font-size: 1.15rem; }
@media (min-width: 960px) { .wrap:has(> .faq) { display: grid; grid-template-columns: 4fr 8fr; gap: 4rem; align-items: start; } .wrap:has(> .faq) > * { max-width: none; } }
.faq details { border-bottom: 1px solid var(--navy); }
.faq details:first-child { border-top: 1px solid var(--navy); }
.faq summary { position: relative; list-style: none; cursor: pointer; padding: 1.35rem 3rem 1.35rem 0; font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); font-weight: 600; letter-spacing: -.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after { content: ""; position: absolute; right: .4rem; top: 50%; width: 16px; height: 2px; margin-top: -1px; border-radius: 2px; background: var(--navy); transition: transform .35s var(--ease); }
.faq summary::before { transform: rotate(90deg); }
.faq details[open] summary::before { transform: none; }
.faq details p { max-width: 70ch; margin: 0 0 1.5rem; color: var(--steel); }
.faq details[open] p { animation: rise .45s var(--ease); }
@keyframes rise { from { opacity: 0; transform: translateY(-6px); } }
.table-scroll { overflow-x: auto; margin: 0 0 1.5rem; border-radius: var(--radius); background: var(--paper); }
.table-scroll table { width: 100%; margin: 0; border-collapse: collapse; font-size: .97rem; }
th, td { padding: .9rem 1.1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
thead th { border-bottom-color: var(--navy); color: var(--steel); font: 600 .875rem/1.3 var(--font); }
tbody th { color: var(--navy); font-weight: 600; }
tbody tr:last-child > * { border-bottom: 0; }
.registre { min-width: 960px; }
@media (max-width: 767px) {
  .registre { min-width: 0; } .registre thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .registre tbody, .registre tr, .registre tbody th, .registre td { display: block; } .registre tr { padding: 1rem; border-bottom: 1px solid var(--line); }
  .registre tbody tr:last-child { border-bottom: 0; } .registre tbody th, .registre td { padding: 0; border: 0; }
  .registre tbody th { margin-bottom: .5rem; font: 600 1.05rem var(--font); } .registre td { margin-top: .35rem; }
  .registre td::before { content: attr(data-label) "\00a0: "; color: var(--navy); font-weight: 600; }
}

/* Appel final : grand titre sur le fond blanc, sous la feuille crème */
.cta-band { position: relative; padding: calc(var(--radius-lg) + clamp(4rem, 2rem + 6vw, 8rem)) 0 clamp(3.5rem, 2.5rem + 3vw, 5.5rem); background: var(--paper); }
.cta-band::before { content: ""; position: absolute; inset: 0 0 auto; height: var(--radius-lg); border-radius: 0 0 var(--radius-lg) var(--radius-lg); background: var(--cream); }
.cta-band h2 { max-width: 11em; margin-bottom: .5em; font-size: clamp(2.75rem, 1rem + 7vw, 6.5rem); line-height: .98; }
.cta-band h2::after { content: ""; display: inline-block; width: .15em; height: .15em; margin-left: .05em; border-radius: 50%; background: var(--apricot); }
.cta-inner { display: grid; gap: 1.5rem; align-items: end; }
@media (min-width: 960px) { .cta-inner { grid-template-columns: 6fr 5fr; gap: 4rem; } .cta-band .actions { justify-content: flex-end; } }
.cta-band p { max-width: 34rem; margin: 0; color: var(--steel); font-size: 1.15rem; }
.cta-band .actions { margin: 0; }
.cta-tel { color: var(--navy); font-weight: 600; }
.cta-inline { margin: 2rem 0 0; }
.panel { padding: 1.5rem; } .panel > :last-child { margin-bottom: 0; }

/* Messages */
.notice { margin: 0 0 1.5rem; padding: 1rem 1.25rem; border-left: 4px solid var(--apricot); border-radius: var(--radius-sm); background: var(--paper); }
.notice-error { border-left-color: var(--danger); background: var(--danger-bg); }
.notice > :last-child { margin-bottom: 0; } .notice ul { margin: .5rem 0 0; padding-left: 1.25rem; }

/* Formulaires */
.form-grid { display: grid; gap: 2.5rem; }
@media (min-width: 960px) { .form-grid { grid-template-columns: 1.55fr 1fr; gap: 4rem; align-items: start; } }
.form-intro { color: var(--steel); }
.form-aside h2 { font-size: 1.5rem; }
.form-aside h3 { font-size: 1.05rem; }
.field { margin: 0 0 1.4rem; }
.field > label, .choices > legend { display: block; margin-bottom: .4rem; color: var(--ink); font: 600 1rem/1.4 var(--font); }
.req, .opt { color: var(--steel); font-weight: 400; font-size: .9rem; }
input[type="text"], input[type="email"], input[type="tel"], input[type="password"], select, textarea {
  width: 100%; min-height: 48px; padding: .7rem .85rem; border: 1.5px solid var(--field); border-radius: var(--radius-sm); background: var(--paper); color: var(--ink); font: inherit; font-size: 1rem; transition: border-color .2s; }
textarea { min-height: 8rem; resize: vertical; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline-offset: 1px; border-color: var(--navy); }
[aria-invalid="true"] { border-color: var(--danger) !important; }
.hint { margin: .35rem 0 0; color: var(--steel); font-size: .92rem; }
.field-error { margin: .4rem 0 0; color: var(--danger); font-weight: 600; font-size: .95rem; }
.choices { min-width: 0; padding: 0; border: 0; }
.choice { display: flex; align-items: flex-start; gap: .7rem; margin-bottom: .5rem; padding: .7rem .85rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--paper); transition: border-color .2s, background-color .2s; }
.choice:has(input:checked) { border-color: var(--apricot); background: var(--apricot-bg); }
.choice input { flex: none; width: 1.2rem; height: 1.2rem; margin: .2rem 0 0; accent-color: var(--navy); }
.choice label { flex: 1; cursor: pointer; }
.has-error .choice { border-color: color-mix(in srgb, var(--danger) 35%, var(--paper)); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.step { min-width: 0; margin: 0 0 1.75rem; padding: 1.75rem 1.5rem .75rem; border: 0; border-radius: var(--radius); background: var(--paper); }
.step > legend { float: left; width: 100%; margin: 0 0 1.25rem; padding: 0; font-size: 1.4rem; font-weight: 600; letter-spacing: -.02em; }
.step > legend + * { clear: both; }
.step-num { display: block; margin-bottom: .2rem; color: var(--apricot-ink); font-size: .875rem; letter-spacing: 0; }
.step-nav { display: flex; flex-wrap: wrap; gap: .75rem; margin: .5rem 0 1rem; }
.form-submit { margin: 1.5rem 0 1rem; }
.form-note { margin: .85rem 0 0; color: var(--steel); font-size: .92rem; }

/* Pages légales, tableau de bord */
.quote { margin: 0 0 1.5rem; }
.quote blockquote { margin: 0 0 .5rem; padding-left: 1rem; border-left: 4px solid var(--apricot); font-size: 1.1rem; }
.quote figcaption { color: var(--steel); font-size: .95rem; }
.legal h2 { margin-top: 2.5rem; font-size: 1.5rem; } .legal h2:first-child { margin-top: 0; }
.stats td:last-child, .stats th:last-child { width: 7rem; text-align: right; }

/* Pied de page : fond blanc, filet marine, liens simples */
.site-footer { background: var(--paper); color: var(--steel); font-size: .95rem; }
.site-footer a { color: var(--navy); text-decoration: none; }
.site-footer a:hover { color: var(--apricot-ink); text-decoration: underline; }
.site-footer p a { text-decoration-line: underline; }
.site-footer :focus-visible { outline-color: var(--navy); }
.site-footer h2 { margin: 0 0 1rem; color: var(--steel); font: 600 .875rem/1.3 var(--font); letter-spacing: 0; }
.site-footer ul { list-style: none; margin: 0 0 1.5rem; padding: 0; } .site-footer li { margin-bottom: .55rem; }
.footer-grid { display: grid; gap: 2rem; padding-top: clamp(3rem, 2rem + 3vw, 4.5rem); padding-bottom: 2rem; }
.footer-grid::before { content: ""; grid-column: 1 / -1; height: 1px; margin-bottom: .5rem; background: var(--navy); }
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .footer-grid { grid-template-columns: 1.6fr repeat(3, 1fr); } }
.footer-logo { display: block; width: 132px; height: 44px; margin-bottom: 1rem; }
.footer-brand p { max-width: 24rem; }
.footer-legal { padding-bottom: 1.75rem; font-size: .875rem; }
.footer-legal p { margin: 0; padding-top: 1.25rem; border-top: 1px solid var(--line); }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
@media print { .site-header, .site-footer, .cta-band, .crumbs, .ticker, .demo { display: none; } main { border-radius: 0; } .band { padding: 1.5rem 0; }
  .band-dark { margin: 0; background: #fff; color: var(--ink); } .reveal { opacity: 1 !important; transform: none !important; } a { color: inherit; } }
