/* Celpharma — styles du site (s'ajoute à base.css) */
:root {
  --accent: #007a8a;        /* Pantone 7714 C, brandbook Celpharma */
  --accent-deep: color-mix(in srgb, var(--accent) 78%, #000);
  --accent-light: color-mix(in srgb, var(--accent) 55%, #fff);
  --accent-soft: color-mix(in srgb, var(--accent) 22%, transparent);
  --on-dark-link: rgba(255,255,255,.88);
  --stone-50: #f7f6f3;
  --stone-100: #efede8;
  --stone-200: #e2dfd8;
  --stone-400: #a39f96;
  --graphite: #1c1a17;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
body { background: var(--white); }

/* ---------- Apparition au défilement ---------- */
.js .rv { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .rv { opacity: 1; transform: none; } }

/* ---------- Boutons ---------- */
.btn { position: relative; gap: 10px; height: 54px; padding: 0 22px 0 20px; font-size: 16px; font-weight: 500; transition: background .25s var(--ease), color .25s, border-color .25s, transform .25s var(--ease), box-shadow .25s; }
.btn .i { width: 18px; height: 18px; flex: none; }
.btn .arr { width: 16px; height: 16px; flex: none; margin-left: 2px; transition: transform .3s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--graphite); color: var(--white); box-shadow: 0 10px 24px -14px rgba(8,4,0,.55); }
.btn-primary:hover { background: #000; box-shadow: 0 14px 30px -14px rgba(8,4,0,.7); }
.hx .btn-primary, .cta-band .btn-primary { background: var(--white); color: var(--black); box-shadow: 0 10px 30px -12px rgba(0,0,0,.6); }
.hx .btn-primary:hover, .cta-band .btn-primary:hover { background: #ece9e3; }
.btn-outline-light { border: 1.5px solid rgba(255,255,255,.35); color: var(--white); }
.btn-outline-light:hover { border-color: var(--white); background: rgba(255,255,255,.08); }
.btn-outline { border: 1.5px solid var(--stone-200); color: var(--black); background: var(--white); }
.btn-outline:hover { border-color: var(--black); }
.ctas { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.textlink { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; font-size: 16px; color: var(--black); }
.textlink svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
a:hover .textlink svg, .textlink:hover svg { transform: translateX(4px); }

/* ---------- Navigation sur le hero sombre ---------- */
.nav.on-dark { background: transparent; border-bottom-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; position: fixed; left: 0; right: 0; transition: background .35s, border-color .35s; }
.nav.on-dark ul a, .nav.on-dark .tel, .nav.on-dark .lang, .nav.on-dark .lang b { color: rgba(255,255,255,.82); }
.nav.on-dark .logo .lg-dark { display: none; }
.nav.on-dark .logo .lg-light { display: block; }
.nav .logo .lg-light { display: none; }
.nav .btn-sm { background: var(--black); color: var(--white); }
.nav.on-dark .btn { background: var(--white); color: var(--black); }
.nav.on-dark .btn:hover { background: #ece9e3; }
.nav.on-dark.scrolled { background: rgba(255,255,255,.86); backdrop-filter: saturate(180%) blur(18px); -webkit-backdrop-filter: saturate(180%) blur(18px); border-bottom-color: rgba(0,0,0,.06); }
.nav.on-dark.scrolled ul a, .nav.on-dark.scrolled .tel, .nav.on-dark.scrolled .lang { color: #3b3935; }
.nav.on-dark.scrolled .lang b { color: var(--black); }
.nav.on-dark.scrolled .logo .lg-dark { display: block; }
.nav.on-dark.scrolled .logo .lg-light { display: none; }
.nav.on-dark.scrolled .btn { background: var(--black); color: var(--white); }
.nav.on-dark.scrolled .btn:hover { background: #2a2622; }

/* Mobile : onglets en haut, sur une ligne défilable, et hero plus compact pour tenir dans l'écran */
  .hx .wrap { display: flex; flex-direction: column; }
  .hx-bar { order: -1; margin: 0 -24px 18px; padding: 0; border-top: 0; }
  .hx-tabs { flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; padding: 0 24px; }
  .hx-tabs::-webkit-scrollbar { display: none; }
  .hx-tabs button { flex: none; scroll-snap-align: start; font-size: 14px; padding: 8px 14px; background: rgba(255,255,255,.04); }
  .hx-tabs button .n { margin-right: 6px; font-size: 12px; }
  .hx-stage { touch-action: pan-y; }
  .hx-photo { aspect-ratio: 16 / 11; border-radius: 24px; }
  .hx-copy .kick { font-size: 13px; margin-bottom: 14px; }
  .hx-copy h1, .hx-copy .hx-h { font-size: clamp(28px, 8vw, 40px); line-height: 1.06; }
  .hx-copy .lead { margin-top: 14px; font-size: 16px; }
  .hx-copy .ctas { margin-top: 22px; }
}

/* ---------- Étapes : ligne noire et points numérotés ---------- */
.steps { position: relative; counter-reset: s; }
.steps::before { content: ""; position: absolute; top: 19px; left: 20px; width: 75%; height: 2px; background: var(--black); transform-origin: left; }
.js .steps::before { transform: scaleX(0); transition: transform 1.4s var(--ease) .1s; }
.js .steps.in::before { transform: none; }
.steps .step, .steps .step + .step, .steps .step:nth-child(3) { position: relative; border: 0; padding: 66px 28px 0 0; }
.steps .step::before { counter-increment: s; content: counter(s, decimal-leading-zero); position: absolute; top: 0; left: 0; width: 40px; height: 40px; margin: 0; display: grid; place-items: center; border-radius: 50%; background: var(--black); color: var(--white); font-size: 14px; font-weight: 600; letter-spacing: 0; line-height: 1; box-shadow: 0 0 0 6px var(--white); }
.js .steps .step::before { transform: scale(.4); opacity: 0; transition: transform .6s var(--ease), opacity .4s; transition-delay: calc(var(--d, 0s) + .2s); }
.js .steps.in .step::before { transform: none; opacity: 1; }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; row-gap: 36px; }
  .steps::before { display: none; }
  .steps .step:not(:last-child)::after { content: ""; position: absolute; left: 19px; top: 40px; bottom: -36px; width: 2px; background: var(--black); }
  .steps .step, .steps .step + .step, .steps .step:nth-child(3) { padding: 6px 0 0 64px; }
}
@media (prefers-reduced-motion: reduce) { .js .steps::before, .js .steps .step::before { transform: none; opacity: 1; transition: none; } }

/* ---------- Contact ---------- */
.cta-band { position: relative; overflow: hidden; background: radial-gradient(700px 400px at 90% 0%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 60%), linear-gradient(180deg, #15120f, #0b0907); }
.cta-band .lead { color: rgba(255,255,255,.7); }
.demo-form input, .demo-form select { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); transition: border-color .25s, background .25s; }
.demo-form input:focus, .demo-form select:focus { outline: none; border-color: rgba(255,255,255,.6); background: rgba(255,255,255,.1); }
.demo-form .btn { grid-column: span 2; justify-self: stretch; }

/* Ajustements mobile et lecteur vidéo */
@media (max-width: 900px) { .nav .lang { display: none; } .nav .btn-sm { padding: 0 14px; font-size: 14px; } .nav .wrap { gap: 16px; } }
.reel.playing .pl, .reel.playing > img { display: none; }

/* Navigation aérée */
.nav .wrap { height: 84px; gap: 40px; }
.nav ul { gap: 34px; margin-left: 20px; }
.nav .right { gap: 30px; }
.nav .btn-sm { height: 46px; padding: 0 24px; font-size: 15px; margin-left: 6px; }
.nav.on-dark { padding-top: 10px; transition: background .35s, border-color .35s, padding .35s; }
.nav.on-dark.scrolled { padding-top: 0; }
@media (max-width: 900px) { .nav .wrap { height: 72px; gap: 16px; } .nav .btn-sm { height: 42px; padding: 0 16px; font-size: 14px; } .hx { padding-top: 96px; } }
.nav .btn-sm { white-space: nowrap; }

/* Formulaire : mention des champs */
.demo-form .req { color: rgba(255,255,255,.55); }

/* ---------- Boutons : texte recentré (Helvetica Neue s'affiche un peu bas) ---------- */
.btn { padding-bottom: 2px; }
.nav .btn-sm { padding-bottom: 2px; }

/* ---------- Navigation : déclencheurs de menus ---------- */
.nav .menu { display: flex; gap: 8px; list-style: none; margin-left: 20px; }
.mtrig, .mlink { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px 2px; border: 0; border-radius: 999px; background: none; font: inherit; font-size: 15px; color: #3b3935; cursor: pointer; transition: background .2s, color .2s; }
.mtrig .chev, .lang-btn .chev { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); opacity: .7; }
.mtrig:hover, .mtrig[aria-expanded="true"], .mlink:hover { background: rgba(0,0,0,.05); color: var(--black); }
.mtrig[aria-expanded="true"] .chev { transform: rotate(180deg); }
.nav.on-dark:not(.scrolled) .mtrig, .nav.on-dark:not(.scrolled) .mlink { color: rgba(255,255,255,.82); }
.nav.on-dark:not(.scrolled) .mtrig:hover, .nav.on-dark:not(.scrolled) .mlink:hover { background: rgba(255,255,255,.1); color: #fff; }

/* Langue */
.langsel { position: relative; }
.lang-btn { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px 2px; border: 1px solid rgba(0,0,0,.12); border-radius: 999px; background: none; font: inherit; font-size: 14px; font-weight: 500; color: #3b3935; cursor: pointer; transition: border-color .2s, background .2s; }
.lang-btn .gl { width: 16px; height: 16px; }
.lang-btn:hover { border-color: rgba(0,0,0,.3); }
.nav.on-dark:not(.scrolled) .lang-btn { color: rgba(255,255,255,.85); border-color: rgba(255,255,255,.22); }
.nav.on-dark:not(.scrolled) .lang-btn:hover { border-color: rgba(255,255,255,.5); }
.lang-list { position: absolute; top: calc(100% + 10px); right: 0; min-width: 170px; padding: 6px; background: #fff; border-radius: 14px; box-shadow: 0 20px 44px -18px rgba(0,0,0,.35), 0 0 0 1px rgba(0,0,0,.05); display: grid; z-index: 5; }
.lang-list[hidden] { display: none; }
.lang-list a { padding: 10px 12px; border-radius: 9px; font-size: 15px; color: #3b3935; }
.lang-list a:hover { background: var(--stone-50); color: #000; }
.lang-list a[aria-current="true"] { font-weight: 600; color: #000; }
.lang-list a[aria-current="true"]::after { content: "✓"; float: right; color: var(--accent); }

/* Méga-menus */
.mega { position: absolute; left: 0; right: 0; top: 100%; }
.mpanel { background: #fff; border-top: 1px solid rgba(0,0,0,.06); box-shadow: 0 40px 60px -40px rgba(0,0,0,.35); animation: mdrop .35s var(--ease); }
.mpanel[hidden] { display: none; }
@keyframes mdrop { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.nav .mpanel .mgrid { display: grid; gap: 48px; height: auto; align-items: start; padding: 40px 0 48px; }
.nav .g-prod { grid-template-columns: 2fr 1fr 260px; }
.nav .g-app { grid-template-columns: 1fr 1fr 1fr 260px; }
.nav .g-form { grid-template-columns: 1.5fr 1fr 260px; }
.mh { font-size: 13px; font-weight: 500; color: var(--muted); letter-spacing: 0; margin-bottom: 14px; }
.mh.sp { margin-top: 28px; }
.mlist { display: grid; gap: 2px; }
.mlist.two { grid-template-columns: 1fr 1fr; column-gap: 24px; }
.mi { display: block; padding: 8px 10px; margin-inline: -10px; border-radius: 10px; transition: background .2s; }
.mi:hover { background: var(--stone-50); }
.mi b { display: block; font-size: 17px; font-weight: 600; letter-spacing: -0.015em; color: #000; line-height: 1.3; }
.mi span { display: block; font-size: 13.5px; color: var(--muted); line-height: 1.35; margin-top: 2px; }
.mall { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-size: 14px; font-weight: 500; color: #000; }
.mall svg { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.mall:hover svg { transform: translateX(4px); }
.mcard { position: relative; display: flex; flex-direction: column; border-radius: 18px; overflow: hidden; background: var(--stone-50); padding: 0 0 18px; align-self: start; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.mcard:hover { transform: translateY(-3px); box-shadow: 0 22px 40px -24px rgba(0,0,0,.35); }
.mcard .mimg { display: block; aspect-ratio: 4/3; overflow: hidden; background: #fff; }
.mcard .mimg img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.mcard:hover .mimg img { transform: scale(1.05); }
.mcard b { font-size: 17px; font-weight: 600; margin: 14px 18px 0; }
.mcard > span:last-child { font-size: 13.5px; color: var(--muted); margin: 4px 18px 0; line-height: 1.4; }
.mcard i { position: absolute; top: 12px; left: 12px; font-style: normal; font-size: 12px; padding: 4px 10px; border-radius: 999px; background: var(--accent); color: #fff; }
.mcard.dark { background: var(--graphite); color: #fff; }
.mcard.dark > span:last-child { color: rgba(255,255,255,.7); }
/* Burger et menu mobile */
.burger { display: none; width: 42px; height: 42px; border: 0; border-radius: 50%; background: none; cursor: pointer; position: relative; color: inherit; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .3s var(--ease), top .3s var(--ease); }
.burger span:first-child { top: 16px; } .burger span:last-child { top: 24px; }
.nav.mobile-open .burger span:first-child { top: 20px; transform: rotate(45deg); }
.nav.mobile-open .burger span:last-child { top: 20px; transform: rotate(-45deg); }
.nav.on-dark:not(.scrolled) .burger { color: #fff; }
.mnav { position: absolute; left: 0; right: 0; top: 100%; height: calc(100dvh - 72px); overflow-y: auto; overscroll-behavior: contain; background: #fff; padding: 8px 24px 40px; }
.mnav[hidden] { display: none; }
.mnav .mlinkm { display: block; padding: 18px 0; border-bottom: 1px solid var(--stone-100); font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.mlink[aria-current="page"] { color: var(--black); background: rgba(0,0,0,.05); }
.mnav details { border-bottom: 1px solid var(--stone-100); }
.mnav summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 18px 0; font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.mnav summary::-webkit-details-marker { display: none; }
.mnav summary::after { content: "+"; font-weight: 400; font-size: 26px; color: var(--muted); transition: transform .3s var(--ease); }
.mnav details[open] summary::after { transform: rotate(45deg); }
.mnav .mbody { padding: 0 0 20px; display: grid; gap: 24px; }
.mnav .mlist.two { grid-template-columns: 1fr; }
.mnav .mi, .mnav .drow { margin-inline: 0; padding-inline: 0; }
.mnav .mcta { width: 100%; margin-top: 28px; }
html.noscroll { overflow: hidden; }
@media (max-width: 900px) {
  .burger { display: inline-block; }
  .nav .right { gap: 8px; }
  .nav .right .btn-sm { display: none; }
  .langsel .lang-btn { height: 36px; padding: 0 10px 2px; }
  .mega, .mveil, .nav .menu { display: none; }
}

/* ======================================================================
   Swalize.IA : compléments pour les pages générées (fiches, articles, hubs)
   ====================================================================== */
.hx-copy .hx-h { margin: 0; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.preview-bar { position: fixed; z-index: 100; left: 50%; bottom: 16px; transform: translateX(-50%); background: #b0492c; color: #fff; font-size: 13px; padding: 8px 16px; border-radius: 999px; box-shadow: 0 10px 30px -10px rgba(0,0,0,.5); }
.err { padding-top: 80px; }

/* En-tête de page de section */
.pg-hero { padding: clamp(56px, 8vw, 110px) 0 clamp(32px, 4vw, 56px); }
.pg-hero .display-s, .article .display-s { font-size: clamp(38px, 5vw, 66px); line-height: 1.04; font-weight: 600; letter-spacing: -0.035em; margin-top: 10px; max-width: 18ch; }
.pg-hero .lead { margin-top: 18px; max-width: 720px; }
.pg-hero .ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }

/* Fiche : visuel photo plein cadre */
.p-hero .stage.tall img { top: 6%; bottom: auto; object-position: 50% 0; transform-origin: 50% 0; transform: scale(1.18); }
.p-hero .stage.photo img { object-fit: cover; object-position: 50% 50%; transform: none; mix-blend-mode: normal; }
.hl-full { grid-column: span 6 !important; }

/* Bénéfices */
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 48px; }
.bf { background: var(--stone-50); border: 1px solid var(--stone-100); border-radius: 20px; padding: 26px 26px 28px; }
.bf .ic { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: #fff; border: 1px solid var(--stone-200); color: var(--accent); }
.bf .ic svg { width: 18px; height: 18px; }
.bf h3 { font-size: 19px; font-weight: 600; letter-spacing: -0.015em; margin-top: 18px; }
.bf p { font-size: 15.5px; color: var(--muted); margin-top: 6px; }
@media (max-width: 900px) { .benefits { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .benefits { grid-template-columns: 1fr; } }

/* Cartes génériques */
.cards { display: grid; gap: 18px; margin-top: 8px; }
.cards.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cards.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cards.cols-4 { grid-template-columns: repeat(4, 1fr); }
.card { display: flex; flex-direction: column; border-radius: 22px; overflow: hidden; background: var(--stone-50); border: 1px solid var(--stone-100); transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -26px rgba(8,4,0,.35); background: #fff; }
.card .cimg { display: block; aspect-ratio: 4/3; overflow: hidden; background: #fff; }
.card .cimg img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.card .cimg.contain img { object-fit: contain; padding: 8%; mix-blend-mode: multiply; }
.card:hover .cimg img { transform: scale(1.04); }
.card .cbody { display: flex; flex-direction: column; padding: 18px 20px 22px; flex: 1; }
.card .kind { font-size: 13px; color: var(--muted); }
.card b { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; margin-top: 2px; }
.card .ct { font-size: 14.5px; color: var(--muted); margin-top: 6px; line-height: 1.45; }
.card .textlink { margin-top: auto; padding-top: 14px; }
@media (max-width: 1000px) { .cards.cols-4 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 860px) { .cards.cols-3, .cards.cols-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .cards.cols-2, .cards.cols-3, .cards.cols-4 { grid-template-columns: 1fr; } }

/* Sections de texte */
.tsec { display: grid; gap: 0; }
.ts { display: grid; grid-template-columns: 1fr 1.7fr; gap: 48px; padding: 36px 0; border-top: 1px solid var(--line); }
.ts .prose { font-size: 17.5px; }
.ts .prose p:first-child { margin-top: 0; }
@media (max-width: 860px) { .ts { grid-template-columns: 1fr; gap: 12px; } }

/* Bandeau CTA court */
.cta-band.slim { grid-template-columns: 1.4fr auto; align-items: center; }
.cta-band.slim .ctas { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 860px) { .cta-band.slim { grid-template-columns: 1fr; } }

/* Cartes blanches sur les sections teintées */
.tone-surface .bf, .tone-stone .bf, .tone-surface .ritem, .tone-stone .ritem, .tone-stone .card { background: #fff; }
.tone-stone .card:hover { background: #fff; }
.ritem .rimg.empty { background: var(--stone-100); }
.ritem .rimg img { padding: 6%; }

/* Pages légales et texte long */
.tpl-legal .b-rich-text .prose, .b-rich-text .prose { max-width: 820px; }
.prose h3 { font-size: 20px; font-weight: 600; margin: 28px 0 6px; color: #000; }
.tpl-legal .prose { font-size: 16.5px; }
.tpl-legal .prose h2 { font-size: 23px; margin-top: 40px; }

/* ---------- Mise en avant dans les titres ---------- */
h1 em, h2 em { font-style: normal; color: var(--stone-400); }

/* ---------- Ton sombre ---------- */
section.tone-dark { background: var(--black); color: #fff; }
.tone-dark .eyebrow, .tone-dark .lead { color: rgba(255,255,255,.62); }
.tone-dark h1 em, .tone-dark h2 em, .pg-hero.dark h1 em { color: rgba(255,255,255,.5); }
.tone-dark .prose { color: rgba(255,255,255,.82); }

/* ---------- En-tête de page sombre + repères ---------- */
.pg-hero.dark { background: var(--black); color: #fff; padding-top: calc(64px + clamp(64px, 9vw, 130px)); padding-bottom: clamp(64px, 8vw, 110px); }
.pg-hero.dark .eyebrow, .pg-hero.dark .lead { color: rgba(255,255,255,.62); }
.pg-hero .display-s { max-width: 20ch; }
.pg-hero .facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line); }
.pg-hero.dark .facts { border-top-color: rgba(255,255,255,.16); }
.pg-hero .facts > div { padding: 22px 24px 0 0; }
.pg-hero .facts > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.pg-hero.dark .facts > div + div { border-left-color: rgba(255,255,255,.16); }
.pg-hero .facts dt { font-size: 14px; color: var(--muted); }
.pg-hero.dark .facts dt { color: rgba(255,255,255,.55); }
.pg-hero .facts dd { font-size: clamp(19px, 1.7vw, 23px); font-weight: 600; letter-spacing: -0.015em; margin-top: 6px; }
@media (max-width: 860px) {
  .pg-hero .facts { grid-template-columns: 1fr 1fr; }
  .pg-hero .facts > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .pg-hero .facts > div:nth-child(n+3) { margin-top: 18px; }
}

/* ---------- Story ---------- */
.eyebrow .num { display: inline-block; min-width: 1.8em; font-variant-numeric: tabular-nums; color: var(--accent); font-weight: 600; margin-right: 8px; }
.tone-dark .eyebrow .num { color: var(--accent-light); }
.story .st-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.story .lead-prose { font-size: clamp(19px, 1.6vw, 22px); line-height: 1.45; color: var(--muted); }
.story .lead-prose p + p { margin-top: 1.1em; }
.st-head { max-width: 780px; }
.story .st-prose { max-width: 68ch; margin-top: clamp(28px, 3vw, 40px); font-size: 18px; color: #3b3935; }
.story .st-prose p + p { margin-top: 1em; }
.st-items { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; margin-top: clamp(40px, 4.5vw, 60px); border-top: 1px solid var(--line); }
.st-items.n3 { grid-template-columns: repeat(3, 1fr); }
.st-items.n4 { grid-template-columns: repeat(4, 1fr); }
.st-item { padding: 28px 28px 0 0; }
.st-item + .st-item { padding-left: 28px; border-left: 1px solid var(--line); }
.st-item h3 { font-size: 21px; font-weight: 600; letter-spacing: -0.015em; line-height: 1.2; }
.st-item p { margin-top: 10px; font-size: 16.5px; line-height: 1.5; color: var(--muted); }
.st-time { list-style: none; display: grid; grid-template-columns: repeat(6, 1fr); margin-top: clamp(44px, 5vw, 72px); border-top: 2px solid var(--black); }
.st-time li { position: relative; padding: 22px 18px 0 0; }
.st-time li::before { content: ""; position: absolute; top: -7px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--black); }
.st-time li.now::before { background: var(--accent); box-shadow: 0 0 0 5px var(--accent-soft); }
.st-time .y { display: block; font-size: clamp(22px, 2vw, 28px); font-weight: 600; letter-spacing: -0.02em; }
.st-time .t { display: block; margin-top: 8px; font-size: 15.5px; line-height: 1.45; color: var(--muted); }
@media (max-width: 960px) {
  .story .st-split { grid-template-columns: 1fr; gap: 20px; }
  .st-items, .st-items.n3, .st-items.n4 { grid-template-columns: 1fr 1fr; }
  .st-item:nth-child(odd) { padding-left: 0; border-left: 0; }
  .st-item:nth-child(n+3) { margin-top: 8px; }
  .st-time { grid-template-columns: 1fr; border-top: 0; border-left: 2px solid var(--black); margin-left: 6px; }
  .st-time li { padding: 0 0 24px 26px; }
  .st-time li::before { top: 8px; left: -7px; }
}
@media (max-width: 600px) {
  .st-items, .st-items.n3, .st-items.n4 { grid-template-columns: 1fr; }
  .st-item, .st-item + .st-item { padding: 22px 0 0; border-left: 0; }
  .st-item + .st-item { border-top: 1px solid var(--line); margin-top: 22px; }
}

/* ---------- Piliers ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: clamp(40px, 4.5vw, 60px); }
.pillars.n2 { grid-template-columns: repeat(2, 1fr); }
.pillars.n4 { grid-template-columns: repeat(4, 1fr); }
.pillar { display: flex; flex-direction: column; border-radius: 22px; padding: 28px 28px 26px; background: var(--stone-50); border: 1px solid var(--stone-100); transition: transform .35s var(--ease), border-color .3s; }
a.pillar:hover { transform: translateY(-4px); }
.pillar .role { font-size: 14px; color: var(--muted); }
.pillar h3 { font-size: clamp(28px, 2.6vw, 36px); font-weight: 600; letter-spacing: -0.03em; margin-top: 18px; line-height: 1.05; }
.pillar .full { font-size: 15px; color: var(--muted); margin-top: 6px; }
.pillar .txt { font-size: 16.5px; line-height: 1.5; margin-top: 18px; margin-bottom: 24px; color: #3b3935; }
.pillar .textlink { margin-top: auto; }
.tone-dark .pillar { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); }
.tone-dark a.pillar:hover { border-color: rgba(255,255,255,.3); }
.tone-dark .pillar .role, .tone-dark .pillar .full { color: rgba(255,255,255,.55); }
.tone-dark .pillar .txt { color: rgba(255,255,255,.78); }
.tone-dark .pillar .textlink { color: #fff; }
.pnote { display: flex; gap: 12px; align-items: flex-start; margin-top: 28px; max-width: 820px; font-size: 15.5px; line-height: 1.5; color: var(--muted); }
.pnote svg { width: 20px; height: 20px; flex: none; margin-top: 2px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.tone-dark .pnote { color: rgba(255,255,255,.6); }
@media (max-width: 960px) { .pillars, .pillars.n4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .pillars, .pillars.n2, .pillars.n4 { grid-template-columns: 1fr; } }

/* ---------- Formulaire de lead ---------- */
.cta-band > * { min-width: 0; }
.demo-form > * { min-width: 0; width: 100%; }
.demo-form select { appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-opacity='.6' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 16px; }
.demo-form select option { color: #000; }
.demo-form select:invalid { color: rgba(255,255,255,.5); }
.demo-form [hidden] { display: none !important; }
.demo-form .done p + p { margin-top: 6px; }
.demo-form .done a { color: #fff; text-decoration: underline; }
@media (max-width: 520px) { .demo-form { grid-template-columns: 1fr; } .demo-form > * { grid-column: auto !important; } }
.demo-form .hp { width: 1px; }
.demo-form select:has(option[value=""]:checked) { color: rgba(255,255,255,.5); }

/* ---------- Bandeau cookies : charte noir et blanc ---------- */
#cc--main {
  --cc-text: #080400; --cc-bg: #fff; --cc-block-text: #6b6a66;
  --cc-btn-primary-bg: #080400; --cc-btn-primary-text: #fff; --cc-btn-primary-hover-bg: #2a2622;
  --cc-btn-secondary-bg: #efede8; --cc-btn-secondary-text: #080400; --cc-btn-secondary-hover-bg: #e2dfd8;
  --cc-toggle-bg-on: #080400; --cc-toggle-bg-off: #a39f96; --cc-toggle-bg-readonly: #d6d3cc;
  --cc-cookie-category-block-bg: #f7f6f3; --cc-cookie-category-block-bg-hover: #efede8;
  --cc-section-border: #efede8; --cc-cookie-table-border: #e2dfd8; --cc-overlay-bg: rgba(8,4,0,.55);
  font-family: var(--font);
}
#cc--main #cm, #cc--main #s-inr { border-radius: 22px; }
#cc--main .c-bn, #cc--main #s-bns button { border-radius: 999px; font-weight: 500; }
#cc--main .cc-link { color: #080400; border-bottom-color: #080400; }

/* ---------- Formulaire de lead : envoi et confirmation ---------- */
.demo-form .lf-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; overflow: hidden; transition: height .38s var(--ease), opacity .3s ease; }
.demo-form.is-sent .lf-fields { opacity: 0; }
@media (max-width: 520px) { .demo-form .lf-fields { grid-template-columns: 1fr; } }
.lf-btn { position: relative; }
.lf-btn .lf-spin, .lf-btn .lf-ok { display: none; }
.lf-btn .lf-ok .i { width: 18px; height: 18px; }
.lf-btn.is-loading { cursor: progress; }
.lf-btn.is-loading .lf-ico, .lf-btn.is-loading .arr, .lf-btn.is-sent .lf-ico, .lf-btn.is-sent .arr { display: none; }
.lf-btn.is-loading .lf-spin { display: inline-block; width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(8,4,0,.18); border-top-color: var(--black); animation: lf-spin .7s linear infinite; }
.lf-btn.is-sent { cursor: default; background: rgba(255,255,255,.12) !important; color: var(--white) !important; box-shadow: none !important; }
.lf-btn.is-sent .lf-ok { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--accent-light); color: var(--black); }
.lf-btn.is-sent .lf-ok .i { width: 13px; height: 13px; }
.lf-btn:disabled { opacity: 1; }
@keyframes lf-spin { to { transform: rotate(360deg); } }

.demo-form .lf-done { display: grid; grid-template-columns: 56px 1fr; gap: 18px; align-items: start; padding: 26px; border-radius: var(--radius-l); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.75); font-size: 16px; line-height: 1.5; animation: lf-in .5s var(--ease) both; }
.demo-form .lf-done[hidden] { display: none; }
.lf-done .lf-title { font-size: clamp(22px, 2vw, 26px); line-height: 1.15; font-weight: 600; letter-spacing: -0.02em; color: var(--white); margin-bottom: 6px; }
.lf-done p + p { margin-top: 6px; }
.lf-done .lf-contact { margin-top: 14px !important; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.12); }
.lf-done .lf-contact b { color: var(--white); font-weight: 600; }
.lf-done .lf-contact a { color: var(--white); white-space: nowrap; border-bottom: 1px solid rgba(255,255,255,.35); margin-left: 6px; }
.lf-done a { color: var(--white); text-decoration: underline; }
.lf-check svg { width: 56px; height: 56px; fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.lf-check circle { stroke: var(--accent-light); stroke-dasharray: 151; stroke-dashoffset: 151; animation: lf-draw .6s var(--ease) .1s forwards; }
.lf-check path { stroke: var(--white); stroke-dasharray: 36; stroke-dashoffset: 36; animation: lf-draw .35s var(--ease) .55s forwards; }
@keyframes lf-draw { to { stroke-dashoffset: 0; } }
@keyframes lf-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (max-width: 520px) { .demo-form .lf-done { grid-template-columns: 1fr; padding: 22px; } }
@media (prefers-reduced-motion: reduce) { .lf-check circle, .lf-check path { stroke-dashoffset: 0; animation: none; } .demo-form .lf-done { animation: none; } }
