/* Teonia — page d'accueil, passe créative (s'ajoute à v2.css) */
:root {
  --accent: #9a7648;        /* bronze, accent principal (modifiable par le sélecteur de test) */
  --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; }

/* ---------- Hero sombre ---------- */
.hx { position: relative; color: var(--white); padding: 160px 0 0; overflow: hidden;
  background:
    radial-gradient(900px 520px at 78% 18%, rgba(205,177,138,.10), transparent 62%),
    radial-gradient(700px 500px at 8% 100%, rgba(255,255,255,.05), transparent 60%),
    linear-gradient(180deg, #15120f 0%, #0b0907 100%); }
.hx::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: radial-gradient(ellipse 70% 60% at 60% 30%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 60% at 60% 30%, #000 20%, transparent 75%); }
.hx .wrap { position: relative; z-index: 1; }
.hx-stage { display: grid; }
.hx-slide { grid-area: 1 / 1; display: grid; grid-template-columns: 1fr 1.12fr; gap: clamp(32px, 5vw, 80px); align-items: center; opacity: 0; visibility: hidden; transition: opacity .7s var(--ease), visibility 0s .7s; }
.hx-slide.active { opacity: 1; visibility: visible; transition: opacity .7s var(--ease), visibility 0s 0s; }
.hx-slide .hx-copy > * { transform: translateX(-28px); opacity: 0; transition: transform .8s var(--ease), opacity .8s var(--ease); }
.hx-slide.active .hx-copy > * { transform: none; opacity: 1; }
.hx-slide.active .hx-copy > *:nth-child(2) { transition-delay: .06s; }
.hx-slide.active .hx-copy > *:nth-child(3) { transition-delay: .12s; }
.hx-slide.active .hx-copy > *:nth-child(4) { transition-delay: .18s; }
.hx-copy .kick { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: rgba(255,255,255,.75); padding: 7px 14px 7px 8px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); margin-bottom: 24px; }
.hx-copy .kick i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-light); box-shadow: 0 0 0 4px var(--accent-soft); }
.hx-copy h1, .hx-copy .hx-h { font-size: clamp(36px, 3.8vw, 54px); line-height: 1.04; font-weight: 600; letter-spacing: -0.035em; text-wrap: balance; }
.hx-copy .nw { white-space: nowrap; }
.hx-copy .lead { margin-top: 24px; color: rgba(255,255,255,.68); max-width: 34ch; }
.hx-copy .ctas { margin-top: 36px; }
.hx-media { position: relative; }
.hx-photo { position: relative; border-radius: 32px; overflow: hidden; aspect-ratio: 4 / 3.4; background: #22201c; box-shadow: 0 40px 80px -40px rgba(0,0,0,.8); transform: scale(.96); transition: transform 1s var(--ease); }
.hx-slide.active .hx-photo { transform: none; }
.hx-photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 7s ease-out; }
.hx-slide.active .hx-photo img { transform: scale(1); }
.hx-photo.white { background: #f1efea; }

/* Badges flottants */
.badge { position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px; background: rgba(255,255,255,.96); color: var(--black); border-radius: 16px; padding: 12px 18px 12px 12px; box-shadow: 0 18px 40px -16px rgba(0,0,0,.55); max-width: 280px; opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.hx-slide.active .badge { opacity: 1; transform: none; }
.hx-slide.active .badge.bd1 { transition-delay: .35s; }
.hx-slide.active .badge.bd2 { transition-delay: .5s; }
.hx-slide.active .badge.bd3 { transition-delay: .65s; }
.badge > .float { display: contents; }
.badge .ic { flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--black); color: var(--white); display: grid; place-items: center; }
.badge .ic.teal { background: var(--accent); }
.badge .ic svg { width: 19px; height: 19px; }
.badge b { display: block; font-size: 15px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.2; }
.badge span.s { display: block; font-size: 13px; color: var(--muted); line-height: 1.3; margin-top: 2px; }
.badge.bd1 { left: -44px; top: 10%; animation: floaty 6s ease-in-out infinite; }
.badge.bd2 { left: -64px; top: 44%; animation: floaty 7s ease-in-out -2s infinite; }
.badge.bd3 { right: -28px; bottom: 8%; animation: floaty 6.5s ease-in-out -4s infinite; }
@keyframes floaty { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
a.badge:hover { box-shadow: 0 22px 44px -16px rgba(0,0,0,.7); }

/* Onglets */
.hx-bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 56px; padding: 18px 0 26px; border-top: 1px solid rgba(255,255,255,.1); }
.hx-tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.hx-tabs button { position: relative; border: 0; background: transparent; color: rgba(255,255,255,.55); font: inherit; font-size: 15px; font-weight: 500; padding: 10px 16px; border-radius: 999px; cursor: pointer; transition: color .25s, background .25s; }
.hx-tabs button:hover { color: var(--white); background: rgba(255,255,255,.06); }
.hx-tabs button[aria-selected="true"] { color: var(--white); background: rgba(255,255,255,.12); }
.hx-tabs button .n { font-variant-numeric: tabular-nums; color: rgba(255,255,255,.4); margin-right: 8px; font-size: 13px; }
.hx-arrows { display: flex; gap: 8px; }
.hx-arrows button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); background: transparent; color: var(--white); display: grid; place-items: center; cursor: pointer; transition: background .25s, border-color .25s; }
.hx-arrows button:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.5); }
.hx-arrows svg { width: 18px; height: 18px; }

/* Récompenses */
.hx { padding-bottom: 8px; }
.awards-band { background: var(--stone-50); border-bottom: 1px solid var(--stone-100); }
.awards { display: flex; align-items: center; justify-content: center; gap: clamp(20px, 4vw, 52px); padding: 34px 0; flex-wrap: wrap; }
.awards p { font-size: 15px; color: var(--muted); margin-right: 8px; }
.awards img { height: 64px; width: auto; mix-blend-mode: multiply; opacity: .95; transition: opacity .3s, transform .3s var(--ease); }
.awards img:hover { opacity: 1; transform: translateY(-3px); }

@media (max-width: 900px) {
  .hx { padding-top: 100px; }
  .hx-slide { grid-template-columns: 1fr; }
  .hx-media { order: -1; }
  .badge { display: none; }
  .badge.bd1 { display: flex; position: absolute; left: 12px; top: auto; bottom: 12px; }
  .hx-arrows { display: none; }
  /* 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; }
}

/* ---------- Bento ---------- */
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 48px; flex-wrap: wrap; }
.sec-head .stack { max-width: 720px; }
.eyebrow { font-size: 15px; font-weight: 500; color: var(--muted); }
.bx { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 200px; gap: 18px; }
.tile { border-radius: 24px; transition: transform .35s var(--ease), box-shadow .35s var(--ease); isolation: isolate; }
a.tile:hover, .tile.hov:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -24px rgba(8,4,0,.35); }
.tile.photo img, .tile .cover { transition: transform 1.2s var(--ease); }
a.tile:hover img, .tile.hov:hover .cover { transform: scale(1.05); }
.tile h3 { font-size: clamp(22px, 2vw, 28px); }
.t-prod { grid-column: span 7; grid-row: span 2; background: linear-gradient(135deg, var(--stone-100), var(--stone-200)); padding: 36px; overflow: hidden; }
.t-prod { background: var(--stone-100); padding: 40px 44px; }
.t-prod .txt { position: relative; z-index: 1; max-width: calc(48% - 56px); }
.t-prod .prod-visual { position: absolute; top: 12px; right: 12px; bottom: 12px; width: 50%; height: calc(100% - 24px); object-fit: cover; object-position: 50% 55%; border-radius: 16px; background: var(--white); mix-blend-mode: normal; transition: transform 1.2s var(--ease); }
.t-prod:hover .prod-visual { transform: scale(1.02); }
.t-prod .foot { position: relative; z-index: 1; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chips span { font-size: 14px; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.75); }
.t-video { grid-column: span 5; grid-row: span 2; position: relative; overflow: hidden; background: var(--graphite); color: var(--white); padding: 0; }
.t-video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.t-video .shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,4,0,.05) 30%, rgba(8,4,0,.78) 100%); }
.t-video .txt { position: relative; margin-top: auto; padding: 30px; }
.t-video p { color: rgba(255,255,255,.78); }
.t-video .tag { position: absolute; top: 18px; left: 18px; z-index: 1; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; padding: 6px 12px; border-radius: 999px; background: rgba(8,4,0,.45); backdrop-filter: blur(8px); }
.t-video .tag i { width: 7px; height: 7px; border-radius: 50%; background: #ff5a4f; animation: blink 1.6s infinite; }
@keyframes blink { 50% { opacity: .3; } }
.t-video .play { position: absolute; top: 14px; right: 14px; z-index: 1; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255,255,255,.18); color: var(--white); display: grid; place-items: center; cursor: pointer; backdrop-filter: blur(8px); }
.t-video .play svg { width: 16px; height: 16px; }
.t-my { grid-column: span 4; grid-row: span 2; background: var(--graphite); color: var(--white); padding: 30px; overflow: hidden; }
.t-my p { color: rgba(255,255,255,.66); }
.mock { margin-top: auto; background: #2a2723; border-radius: 16px; padding: 10px; display: grid; gap: 6px; border: 1px solid rgba(255,255,255,.06); }
.mock .row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; background: #34302b; font-size: 14px; color: rgba(255,255,255,.88); transform: translateX(0); transition: transform .5s var(--ease), background .3s; }
.mock .row:nth-child(1) { transition-delay: 0s; } .mock .row:nth-child(2) { transition-delay: .05s; } .mock .row:nth-child(3) { transition-delay: .1s; } .mock .row:nth-child(4) { transition-delay: .15s; }
.t-my:hover .mock .row { transform: translateX(6px); }
.mock .row svg { width: 18px; height: 18px; flex: none; color: var(--accent-light); }
.mock .row em { margin-left: auto; font-style: normal; font-size: 12px; color: rgba(255,255,255,.5); }
.t-eaot { grid-column: span 4; grid-row: span 2; }
.t-stat { grid-column: span 4; background: var(--graphite); color: var(--white); padding: 28px 30px; justify-content: space-between; }
.t-stat .big { color: var(--accent-light); font-size: clamp(52px, 5vw, 72px); font-weight: 600; letter-spacing: -0.045em; line-height: .95; }
.t-stat p { color: rgba(255,255,255,.85); margin: 0; }
.bx .t-sav, .bx .t-occ { grid-row: span 1; }
.t-sav, .t-occ { grid-column: span 2; padding: 24px; background: var(--stone-50); border: 1px solid var(--stone-100); }
.t-sav .ic, .t-occ .ic { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--white); border: 1px solid var(--stone-200); margin-bottom: auto; }
.t-sav .ic svg, .t-occ .ic svg { width: 18px; height: 18px; }
.t-sav h3, .t-occ h3 { font-size: 18px !important; }
.t-sav p, .t-occ p { font-size: 14px; margin-top: 6px; }
@media (max-width: 1060px) {
  .bx { grid-template-columns: repeat(6, 1fr); grid-auto-rows: auto; }
  .bx > .tile { grid-column: span 6 !important; grid-row: auto !important; min-height: 260px; }
  .bx > .t-sav, .bx > .t-occ { grid-column: span 3 !important; min-height: 180px; }
  .t-prod { min-height: 0 !important; display: flex; flex-direction: column; padding: 28px 24px 24px; } .t-prod .txt { max-width: none; } .t-prod .prod-visual { position: relative; inset: auto; width: 100%; height: auto; aspect-ratio: 4/3; margin: 22px 0 18px; order: 2; } .t-prod .foot { order: 3; }
  .t-video, .t-eaot { min-height: 420px !important; }
  .t-my { min-height: 420px !important; }
}

/* ---------- Grille d'appareils ---------- */
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filters button { border: 1px solid var(--stone-200); background: var(--white); font: inherit; font-size: 15px; padding: 9px 16px; border-radius: 999px; cursor: pointer; color: #3b3935; transition: all .25s; }
.filters button:hover { border-color: var(--black); }
.filters button[aria-pressed="true"] { background: var(--black); border-color: var(--black); color: var(--white); }
.dgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.dcard { position: relative; background: var(--stone-50); border: 1px solid var(--stone-100); border-radius: 22px; padding: 18px 20px 22px; display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s var(--ease), opacity .4s, background .3s; }
.dcard:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -26px rgba(8,4,0,.35); background: var(--white); }
.dcard .img { aspect-ratio: 1 / .85; display: grid; place-items: center; margin-bottom: 14px; }
.dcard .img img { max-height: 100%; width: auto; mix-blend-mode: multiply; transition: transform .8s var(--ease); }
.dcard:hover .img img { transform: scale(1.05) translateY(-4px); }
.dcard .kind { font-size: 13px; color: var(--muted); }
.dcard h3 { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; margin-top: 2px; }
.dcard p { font-size: 14px; color: var(--muted); margin-top: 6px; line-height: 1.45; }
.dcard .go { margin-top: auto; padding-top: 14px; }
.dcard.hide { display: none; }
.dcard.feat { grid-column: span 2; grid-row: span 2; background: radial-gradient(600px 400px at 70% 20%, rgba(255,255,255,.07), transparent 60%), linear-gradient(180deg, #1a1714, #0e0c0a); color: var(--white); border: 0; padding: 32px; }
.dcard.feat:hover { background: radial-gradient(600px 400px at 70% 20%, rgba(255,255,255,.1), transparent 60%), linear-gradient(180deg, #1a1714, #0e0c0a); }
.dcard.feat { overflow: hidden; isolation: isolate; min-height: 540px; }
.dcard.feat .bgpic { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; z-index: -2; transition: transform 1.2s var(--ease); }
.dcard.feat:hover .bgpic { transform: scale(1.04); }
.dcard.feat::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,8,6,0) 30%, rgba(10,8,6,.5) 58%, rgba(10,8,6,.9) 100%); }
.dcard.feat .kind { margin-top: auto; }
.dcard.feat .go { margin-top: 0; padding-top: 16px; }
.dcard.feat .kind { color: rgba(255,255,255,.6); }
.dcard.feat h3 { font-size: 34px; }
.dcard.feat p { color: rgba(255,255,255,.72); font-size: 16px; }
.dcard.feat .new { position: absolute; top: 22px; left: 22px; font-size: 13px; padding: 5px 12px; border-radius: 999px; background: var(--accent); color: var(--white); }
.dcard.feat .textlink { color: var(--on-dark-link); }
.dcard.feat .hpic { position: absolute; inset: 0; border-radius: 22px; overflow: hidden; z-index: -1; }
@media (max-width: 1060px) { .dgrid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) {
  .dgrid { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 74%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: -24px; padding-inline: 24px; padding-bottom: 6px; }
  .dgrid::-webkit-scrollbar { display: none; }
  .dcard { scroll-snap-align: start; }
  .dcard.feat { grid-column: auto; grid-row: auto; }
  .dcard.feat { min-height: 440px; }
}

/* ---------- Conseillères ---------- */
.adv { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.adv .photo { position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 4/3.4; }
.adv .photo img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; transition: transform 1.2s var(--ease); }
.adv .photo:hover img { transform: scale(1.04); }
.adv .photo .chip { position: absolute; left: 18px; bottom: 18px; display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,.95); border-radius: 14px; padding: 10px 14px; font-size: 14px; box-shadow: 0 14px 30px -14px rgba(0,0,0,.4); }
.adv .photo .chip i { width: 8px; height: 8px; border-radius: 50%; background: #2bb673; box-shadow: 0 0 0 4px rgba(43,182,115,.2); }
.adv .faces { display: flex; margin-top: 32px; }
.adv .faces img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 3px solid var(--stone-50); margin-left: -12px; background: var(--stone-100); transition: transform .3s var(--ease); }
.adv .faces img:first-child { margin-left: 0; }
.adv .faces .ini { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; border: 3px solid var(--stone-50); margin-left: -12px; background: var(--stone-200); color: var(--black); font-size: 22px; font-weight: 600; flex: none; }
.adv .faces .ini:first-child { margin-left: 0; }
.adv .faces img:hover { transform: translateY(-6px); z-index: 1; }
.adv .names { font-size: 15px; color: var(--muted); margin-top: 10px; }
.adv .ctas { margin-top: 32px; }
@media (max-width: 860px) { .adv { grid-template-columns: 1fr; } }

/* ---------- É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; } }

/* ---------- Clientes ---------- */
.clients { background: var(--stone-50); }
.figs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 8px; }
.figs > div { background: var(--white); border-radius: 20px; padding: 24px 26px; border: 1px solid var(--stone-100); }
.figs .n { font-size: clamp(40px, 4vw, 58px); font-weight: 600; letter-spacing: -0.045em; line-height: 1; white-space: nowrap; }
.figs .n.teal { color: var(--accent); }
.figs .l { font-size: 15px; color: var(--muted); margin-top: 8px; }
.tq { display: grid; grid-template-columns: 1.25fr 1fr; gap: 18px; margin-top: 18px; }
.tq figure { position: relative; border-radius: 26px; overflow: hidden; display: grid; grid-template-columns: .9fr 1.1fr; background: var(--white); border: 1px solid var(--stone-100); min-height: 380px; }
.tq figure.dark { background: var(--graphite); color: var(--white); border: 0; }
.tq figure .ph { position: relative; overflow: hidden; }
.tq figure .ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.tq figure:hover .ph img { transform: scale(1.04); }
.tq figure .ph small { position: absolute; left: 12px; bottom: 12px; font-size: 11px; padding: 3px 8px; border-radius: 6px; background: rgba(8,4,0,.5); color: rgba(255,255,255,.85); }
/* Témoignage vidéo : l'affiche Mux se lit au clic, comme les reels */
.tq figure button.ph { border: 0; padding: 0; margin: 0; background: var(--graphite); cursor: pointer; font: inherit; color: inherit; }
.tq figure .ph .pl { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 60px; height: 60px; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--black); display: grid; place-items: center; transition: transform .3s var(--ease); z-index: 1; }
.tq figure .ph:hover .pl { transform: scale(1.1); }
.tq figure .ph .pl svg { width: 20px; height: 20px; margin-left: 3px; }
.tq figure .ph mux-player { position: absolute; inset: 0; width: 100%; height: 100%; --media-object-fit: cover; }
.tq figure .ph.playing .pl, .tq figure .ph.playing > img { display: none; }
.tq figure .q { padding: 32px; display: flex; flex-direction: column; }
.tq .mark { font-size: 64px; line-height: .6; color: var(--stone-400); font-weight: 600; height: 32px; }
.tq blockquote { font-size: clamp(19px, 1.7vw, 23px); line-height: 1.35; letter-spacing: -0.015em; margin-top: 12px; }
.tq cite { margin-top: auto; padding-top: 22px; font-style: normal; font-size: 15px; color: var(--muted); }
.tq figure.dark cite { color: rgba(255,255,255,.6); }
.tq cite b { display: block; color: var(--black); font-weight: 600; }
.tq figure.dark cite b { color: var(--white); }
@media (max-width: 980px) { .tq { grid-template-columns: 1fr; } .figs { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .tq figure { grid-template-columns: 1fr; } .tq figure .ph { min-height: 300px; } }

/* Vidéos clientes (Mux) */
.reels-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin: 72px 0 24px; flex-wrap: wrap; }
.reels { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.reel { position: relative; aspect-ratio: 9 / 16; border-radius: 20px; overflow: hidden; background: var(--graphite); cursor: pointer; border: 0; padding: 0; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.reel:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -22px rgba(8,4,0,.5); }
.reel img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.reel:hover img { transform: scale(1.05); }
.reel .pl { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 56px; height: 56px; border-radius: 50%; background: rgba(255,255,255,.92); display: grid; place-items: center; transition: transform .3s var(--ease); }
.reel:hover .pl { transform: scale(1.1); }
.reel .pl svg { width: 20px; height: 20px; margin-left: 3px; }
.reel mux-player { position: absolute; inset: 0; width: 100%; height: 100%; --media-object-fit: cover; }
@media (max-width: 860px) {
  .reels { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 46%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: -24px; padding-inline: 24px; }
  .reels::-webkit-scrollbar { display: none; }
  .reel { scroll-snap-align: start; }
}

/* Bandeau partenaires défilant */
.marquee { margin-top: 56px; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee .track { display: flex; gap: 48px; width: max-content; animation: slide 40s linear infinite; }
.marquee:hover .track { animation-play-state: paused; }
.marquee span { white-space: nowrap; font-size: 17px; font-weight: 500; color: #3b3935; }
.marquee span small { color: var(--muted); font-weight: 400; margin-left: 6px; font-size: 14px; }
@keyframes slide { to { transform: translateX(-50%); } }
.marquee-label { font-size: 15px; color: var(--muted); margin-top: 56px; }

/* ---------- Marques ---------- */
.brand-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 48px; }
.btile { border-radius: 22px; background: var(--stone-50); border: 1px solid var(--stone-100); overflow: hidden; display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.btile:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -26px rgba(8,4,0,.35); }
.btile .vis { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.btile .vis img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.btile:hover .vis img { transform: scale(1.06); }
.btile .vis.contain img { object-fit: contain; padding: 10%; mix-blend-mode: multiply; }
.btile .body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.btile h3 { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.btile .role { font-size: 14px; color: var(--muted); margin-top: 2px; }
.btile p { font-size: 15px; margin-top: 12px; color: #3b3935; }
.btile .textlink { margin-top: auto; padding-top: 18px; }
@media (max-width: 900px) { .brand-tiles { grid-template-columns: 1fr 1fr; } }

/* ---------- 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); }
/* Formations : prochaines dates */
.dlist { display: grid; gap: 2px; }
.drow { display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: 16px; padding: 9px 10px; margin-inline: -10px; border-radius: 12px; transition: background .2s; }
.drow:hover { background: var(--stone-50); }
.drow .dd { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 12px; background: var(--stone-50); border: 1px solid var(--stone-100); font-size: 12px; color: var(--muted); line-height: 1.1; text-align: center; }
.drow .dd b { display: block; font-size: 20px; font-weight: 600; color: #000; letter-spacing: -0.02em; }
.drow .dn b { display: block; font-size: 16px; font-weight: 600; letter-spacing: -0.01em; color: #000; line-height: 1.3; }
.drow .dn span { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); margin-top: 2px; }
.drow .dn span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent-light); }
.drow em { font-style: normal; font-size: 12px; color: var(--accent-deep); background: color-mix(in srgb, var(--accent) 12%, #fff); padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.mnote { font-size: 12px; color: var(--stone-400); margin-top: 12px; }
.mveil { position: fixed; inset: 0; z-index: 40; background: rgba(8,4,0,.28); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
body.menu-open .mveil { opacity: 1; visibility: visible; }
@media (max-width: 1100px) { .nav .g-app { grid-template-columns: 1fr 1fr 1fr; } .g-app .mcard, .g-prod .mcard, .g-form .mcard { display: none; } .nav .g-prod { grid-template-columns: 2fr 1fr; } .nav .g-form { grid-template-columns: 1.4fr 1fr; } }

/* 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; } }

/* Indications */
.tr-wrap { display: grid; grid-template-columns: 1fr 1.6fr; gap: 48px; align-items: start; border-top: 2px solid var(--black); padding-top: 28px; }
.tr-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px; }
.tr-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 17px; }
.tr-list svg { width: 18px; height: 18px; flex: none; margin-top: 4px; color: var(--accent); }
@media (max-width: 860px) { .tr-wrap { grid-template-columns: 1fr; gap: 20px; } .tr-list { grid-template-columns: 1fr; } }

/* Vidéos */
.vgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; margin-top: 40px; }
.vwide { display: grid; gap: 20px; margin-top: 40px; }
.vwide + .vgrid { margin-top: 20px; }
.vframe { position: relative; aspect-ratio: 16/9; border-radius: var(--radius-xl); overflow: hidden; background: #000; }
.vframe iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Sessions de formation (hors menu) */
.dlist.sessions { margin-top: 36px; max-width: 760px; }
.dlist.sessions .drow { border-bottom: 1px solid var(--stone-100); border-radius: 0; margin: 0; padding: 14px 4px; }

/* 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; } }

/* Liens liés */
.rel { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 24px; }
.relcard { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 12px; padding: 18px 20px; border-radius: 16px; border: 1px solid var(--stone-200); transition: border-color .2s, background .2s; }
.relcard:hover { border-color: var(--black); background: var(--stone-50); }
.relcard .kind { grid-column: 1; font-size: 12.5px; color: var(--muted); }
.relcard b { grid-column: 1; font-size: 17px; font-weight: 600; }
.relcard svg { grid-column: 2; grid-row: 1 / span 2; width: 18px; height: 18px; transition: transform .3s var(--ease); }
.relcard:hover svg { transform: translateX(4px); }
@media (max-width: 860px) { .rel { grid-template-columns: 1fr; } }

/* Actifs, protocole, gamme */
.actives { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 40px; margin-top: 40px; }
.actives div { padding: 18px 0; border-top: 1px solid var(--line); }
.actives dt { font-size: 18px; font-weight: 600; }
.actives dd { color: var(--muted); font-size: 15.5px; margin-top: 4px; }
.protocol { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 40px; margin-top: 36px; counter-reset: p; }
.protocol li { display: flex; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); font-size: 17px; }
.protocol .pn { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--black); color: #fff; display: grid; place-items: center; font-size: 13px; font-weight: 600; }
.range-g { font-size: 15px; font-weight: 500; color: var(--muted); margin: 40px 0 12px; }
.range { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 24px; }
.range-g + .range { margin-top: 0; }
.ritem { background: var(--stone-50); border: 1px solid var(--stone-100); border-radius: 18px; padding: 16px 18px 20px; display: flex; flex-direction: column; }
.ritem .rimg { display: block; aspect-ratio: 1; margin: -4px -6px 12px; background: #fff; border-radius: 12px; overflow: hidden; }
.ritem .rimg img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.ritem b { font-size: 16.5px; font-weight: 600; letter-spacing: -0.01em; }
.ritem .rsize { font-size: 12.5px; color: var(--muted); }
.ritem p { font-size: 14px; color: var(--muted); margin-top: 6px; line-height: 1.45; }
@media (max-width: 1000px) { .range { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .actives, .protocol { grid-template-columns: 1fr; } .range { grid-template-columns: 1fr 1fr; } }

/* Article */
.article { max-width: 860px; }
.art-head { padding-top: 0; }
section.b-article-body { padding-top: clamp(48px, 6vw, 90px); }
.art-head .lead { margin-top: 18px; }
.art-cover { margin-top: 40px; border-radius: 24px; overflow: hidden; aspect-ratio: 2/1; background: var(--surface); }
.art-cover img { width: 100%; height: 100%; object-fit: cover; }
.toc { display: flex; flex-wrap: wrap; gap: 8px 10px; margin-top: 36px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 14.5px; }
.toc b { width: 100%; font-size: 13px; font-weight: 500; color: var(--muted); }
.toc a { padding: 6px 12px; border-radius: 999px; background: var(--stone-50); border: 1px solid var(--stone-100); }
.toc a:hover { border-color: var(--black); }
.prose { font-size: 18px; line-height: 1.6; color: #2b2825; }
.prose h2 { font-size: 28px; line-height: 1.15; font-weight: 600; letter-spacing: -0.02em; margin: 48px 0 12px; color: #000; scroll-margin-top: 110px; }
.prose p { margin-top: 12px; }
.prose ul { margin: 12px 0 0 22px; }
.prose li { margin-top: 6px; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }

/* 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; } }
