/* CurlDevis — site de présentation (chargé uniquement sur les pages publiques).
   Animations en CSS pur, désactivées si l'utilisateur préfère réduire les animations. */
:root {
  --ink: #0b1020;
  --ink-2: #121a33;
  --ink-3: #1b2547;
  --line-dark: rgba(255, 255, 255, .09);
  --text-dark: #e8ecf8;
  --muted-dark: #9aa6c7;
  --violet: #6d5efc;
  --indigo: #4f46e5;
  --cyan: #22d3ee;
  --mint: #34d399;
  --amber: #fbbf24;
  --rose: #fb7185;
  --grad: linear-gradient(120deg, #7c6cff 0%, #4f8bff 45%, #22d3ee 100%);
  --grad-warm: linear-gradient(120deg, #fbbf24, #fb7185);
  --r-lg: 20px;
  --r-xl: 28px;
}

body.site { background: #f7f8fc; color: #111827; overflow-x: hidden; }
body.site main { padding: 0; }
body.site main > .container { max-width: none; padding: 0; }
body.site .messages { max-width: 1160px; margin: 1rem auto 0; padding: 0 1rem; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 1.25rem; }
.wrap-narrow { max-width: 820px; margin: 0 auto; padding: 0 1.25rem; }

/* ---------- En-tête ---------- */
body.site .site-header { background: rgba(11, 16, 32, .72); border-bottom: 1px solid var(--line-dark); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); transition: background .3s ease, box-shadow .3s ease; }
body.site .site-header.is-scrolled { background: rgba(11, 16, 32, .92); box-shadow: 0 10px 30px rgba(0, 0, 0, .25); }
body.site .site-header .container { max-width: 1160px; }
body.site .brand { color: #fff; letter-spacing: -.01em; }
body.site .brand-mark { background: var(--grad); box-shadow: 0 6px 18px rgba(109, 94, 252, .45); }
body.site .nav a { color: #cfd6ee; }
body.site .nav a:hover { background: rgba(255, 255, 255, .08); color: #fff; }
body.site .nav .btn { background: var(--grad); color: #fff; border: 0; box-shadow: 0 8px 24px rgba(79, 139, 255, .35); }
body.site .nav-toggle { background: rgba(255, 255, 255, .08); color: #fff; border-color: var(--line-dark); }

/* ---------- Boutons ---------- */
.btn-glow { position: relative; background: var(--grad); color: #fff; border: 0; padding: .9rem 1.4rem; border-radius: 12px; font-weight: 700; box-shadow: 0 10px 30px rgba(79, 139, 255, .35); transition: transform .2s ease, box-shadow .2s ease; overflow: hidden; }
.btn-glow::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 20%, rgba(255, 255, 255, .45) 50%, transparent 80%); transform: translateX(-120%); }
.btn-glow:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 16px 40px rgba(79, 139, 255, .45); }
.btn-glow:hover::after { animation: shine 1s ease; }
.btn-ghost-dark { background: rgba(255, 255, 255, .06); color: #fff; border: 1px solid rgba(255, 255, 255, .16); padding: .9rem 1.4rem; border-radius: 12px; font-weight: 600; transition: background .2s ease, transform .2s ease; }
.btn-ghost-dark:hover { background: rgba(255, 255, 255, .12); color: #fff; transform: translateY(-2px); }
.btn-outline { background: #fff; color: var(--ink); border: 1px solid #d9deea; padding: .85rem 1.3rem; border-radius: 12px; font-weight: 600; }
.btn-outline:hover { border-color: var(--indigo); color: var(--indigo); }
@keyframes shine { to { transform: translateX(120%); } }

/* ---------- Héros ---------- */
.hero-x { position: relative; background: var(--ink); color: var(--text-dark); padding: 5.5rem 0 6rem; overflow: hidden; isolation: isolate; }
.hero-x::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%); z-index: -1; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; z-index: -1; animation: drift 18s ease-in-out infinite alternate; }
.blob-1 { width: 520px; height: 520px; background: #5b4dff; top: -160px; left: -120px; }
.blob-2 { width: 460px; height: 460px; background: #0ea5e9; top: 10%; right: -140px; animation-delay: -6s; }
.blob-3 { width: 380px; height: 380px; background: #c026d3; bottom: -200px; left: 35%; opacity: .35; animation-delay: -11s; }
@keyframes drift { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(40px, 30px) scale(1.08); } 100% { transform: translate(-30px, 50px) scale(.95); } }
.hero-x .grid-hero { display: grid; grid-template-columns: 1.02fr .98fr; gap: 3.5rem; align-items: center; }
@media (max-width: 980px) { .hero-x .grid-hero { grid-template-columns: 1fr; gap: 3rem; } .hero-x { padding-top: 3.5rem; } }
.pill { display: inline-flex; align-items: center; gap: .55rem; padding: .38rem .8rem .38rem .45rem; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); font-size: .85rem; color: #cfd6ee; }
.pill b { background: var(--grad); color: #fff; padding: .15rem .55rem; border-radius: 999px; font-size: .75rem; letter-spacing: .02em; }
.hero-x h1 { font-size: clamp(2.3rem, 5.2vw, 4.1rem); line-height: 1.04; letter-spacing: -.035em; margin: 1.1rem 0 1.1rem; color: #fff; font-weight: 800; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; background-size: 200% auto; animation: hue 8s linear infinite; }
@keyframes hue { to { background-position: 200% center; } }
.hero-x .lead { font-size: 1.15rem; color: var(--muted-dark); max-width: 54ch; margin-bottom: 1.8rem; }
.hero-actions { display: flex; gap: .8rem; flex-wrap: wrap; }
.trust-row { display: flex; gap: 1.2rem; flex-wrap: wrap; margin-top: 1.6rem; font-size: .88rem; color: var(--muted-dark); }
.trust-row span { display: inline-flex; align-items: center; gap: .4rem; }
.trust-row svg { width: 16px; height: 16px; flex: none; }

/* ---------- Maquette animée ---------- */
.stage { position: relative; perspective: 1400px; }
.window { position: relative; background: linear-gradient(180deg, rgba(27, 37, 71, .92), rgba(18, 26, 51, .96)); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--r-xl); box-shadow: 0 40px 90px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .08); transform: rotateY(-8deg) rotateX(5deg); transform-style: preserve-3d; animation: float 7s ease-in-out infinite; overflow: hidden; }
@keyframes float { 0%, 100% { transform: rotateY(-8deg) rotateX(5deg) translateY(0); } 50% { transform: rotateY(-5deg) rotateX(3deg) translateY(-12px); } }
.window-bar { display: flex; align-items: center; gap: .4rem; padding: .8rem 1rem; border-bottom: 1px solid var(--line-dark); }
.window-bar i { width: 11px; height: 11px; border-radius: 50%; background: #3a4670; display: block; }
.window-bar i:nth-child(1) { background: #ff6b6b; } .window-bar i:nth-child(2) { background: #fbbf24; } .window-bar i:nth-child(3) { background: #34d399; }
.window-bar .url { margin-left: .8rem; font-size: .75rem; color: var(--muted-dark); background: rgba(255, 255, 255, .05); padding: .2rem .7rem; border-radius: 8px; }
.window-body { padding: 1.1rem; }
.mock-title { display: flex; justify-content: space-between; align-items: center; color: #fff; font-weight: 700; margin-bottom: .9rem; }
.mock-title small { color: var(--muted-dark); font-weight: 500; font-size: .75rem; }
.mock-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; margin-bottom: .9rem; }
.mkpi { background: rgba(255, 255, 255, .04); border: 1px solid var(--line-dark); border-radius: 14px; padding: .7rem .75rem; }
.mkpi span { display: block; font-size: .68rem; color: var(--muted-dark); }
.mkpi strong { font-size: 1.35rem; color: #fff; letter-spacing: -.02em; }
.mkpi.warn strong { color: var(--amber); } .mkpi.ok strong { color: var(--mint); }
.mrow { display: flex; align-items: center; gap: .7rem; padding: .62rem .7rem; border-radius: 12px; background: rgba(255, 255, 255, .03); border: 1px solid transparent; margin-bottom: .45rem; opacity: 0; transform: translateX(24px); animation: slidein .6s cubic-bezier(.2, .8, .2, 1) forwards; }
.mrow:nth-child(1) { animation-delay: .5s; } .mrow:nth-child(2) { animation-delay: .75s; } .mrow:nth-child(3) { animation-delay: 1s; } .mrow:nth-child(4) { animation-delay: 1.25s; }
.mrow.hot { border-color: rgba(251, 191, 36, .35); background: rgba(251, 191, 36, .06); }
@keyframes slidein { to { opacity: 1; transform: none; } }
.avatar { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; font-size: .72rem; font-weight: 800; color: #fff; flex: none; }
.av-1 { background: linear-gradient(135deg, #f59e0b, #ef4444); } .av-2 { background: linear-gradient(135deg, #6366f1, #22d3ee); }
.av-3 { background: linear-gradient(135deg, #10b981, #06b6d4); } .av-4 { background: linear-gradient(135deg, #a855f7, #ec4899); }
.mrow .who { flex: 1; min-width: 0; }
.mrow .who b { display: block; color: #fff; font-size: .82rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mrow .who small { color: var(--muted-dark); font-size: .7rem; }
.chip { font-size: .66rem; font-weight: 700; padding: .2rem .5rem; border-radius: 999px; white-space: nowrap; }
.chip-warn { background: rgba(251, 191, 36, .16); color: var(--amber); }
.chip-info { background: rgba(96, 165, 250, .16); color: #93c5fd; }
.chip-ok { background: rgba(52, 211, 153, .16); color: var(--mint); }
.floating { position: absolute; background: rgba(255, 255, 255, .96); color: #111827; border-radius: 16px; box-shadow: 0 24px 60px rgba(0, 0, 0, .35); padding: .8rem .95rem; display: flex; gap: .7rem; align-items: center; font-size: .82rem; animation: bob 6s ease-in-out infinite; }
.floating b { display: block; font-size: .85rem; }
.floating small { color: #6b7280; }
.floating .ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.floating .ico svg { width: 18px; height: 18px; }
.f-1 { left: -42px; bottom: 6px; animation-delay: -2s; }
.f-1 .ico { background: #ecfdf5; color: #059669; }
.f-2 { right: -34px; top: -22px; }
.f-2 .ico { background: #eef2ff; color: var(--indigo); }
@media (max-width: 560px) { .f-1 { left: 6px; bottom: -28px; } .f-2 { right: 6px; top: -26px; } .mock-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.typing { margin-top: .6rem; background: rgba(255, 255, 255, .04); border: 1px dashed rgba(255, 255, 255, .14); border-radius: 12px; padding: .65rem .75rem; font-size: .74rem; color: #cfd6ee; min-height: 3.1rem; }
.typing .caret { display: inline-block; width: 2px; height: 1em; background: var(--cyan); vertical-align: -2px; margin-left: 1px; animation: blink 1s step-end infinite; }
@keyframes blink { 50% { opacity: 0; } }
.mock-note { text-align: center; color: var(--muted-dark); font-size: .78rem; margin-top: 1.4rem; }

/* ---------- Bandeau compatibilité ---------- */
.strip { background: var(--ink); border-top: 1px solid var(--line-dark); padding: 1.4rem 0 2.2rem; color: var(--muted-dark); overflow: hidden; }
.strip p { text-align: center; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 1rem; }
.marquee { display: flex; gap: 1rem; width: max-content; animation: marquee 32s linear infinite; }
.marquee span { display: inline-flex; align-items: center; gap: .5rem; padding: .55rem 1rem; border-radius: 999px; border: 1px solid var(--line-dark); background: rgba(255, 255, 255, .03); color: #cfd6ee; font-size: .9rem; white-space: nowrap; }
.marquee span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--grad); }
@keyframes marquee { to { transform: translateX(-50%); } }
.strip:hover .marquee { animation-play-state: paused; }

/* ---------- Sections ---------- */
.sec { padding: 6rem 0; position: relative; }
.sec-dark { background: var(--ink); color: var(--text-dark); }
.sec-head { text-align: center; max-width: 720px; margin: 0 auto 3.2rem; }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--indigo); margin-bottom: .8rem; }
.sec-dark .eyebrow { color: var(--cyan); }
.sec-head h2 { font-size: clamp(1.8rem, 3.6vw, 2.75rem); letter-spacing: -.03em; line-height: 1.1; margin-bottom: .9rem; }
.sec-dark .sec-head h2 { color: #fff; }
.sec-head p { color: #5b6476; font-size: 1.08rem; margin: 0; }
.sec-dark .sec-head p { color: var(--muted-dark); }

/* Avant / après */
.versus { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
@media (max-width: 820px) { .versus { grid-template-columns: 1fr; } }
.vs-card { border-radius: var(--r-lg); padding: 1.8rem; border: 1px solid #e5e7ef; background: #fff; }
.vs-card h3 { display: flex; align-items: center; gap: .6rem; font-size: 1.15rem; margin-bottom: 1.1rem; }
.vs-card ul { list-style: none; margin: 0; padding: 0; }
.vs-card li { display: flex; gap: .7rem; align-items: flex-start; padding: .55rem 0; color: #374151; }
.vs-card li svg { width: 20px; height: 20px; flex: none; margin-top: .1rem; }
.vs-before { background: #fbfbfd; }
.vs-before li { color: #6b7280; }
.vs-before li svg { color: #ef4444; }
.vs-after { position: relative; border: 1px solid transparent; background: linear-gradient(#fff, #fff) padding-box, var(--grad) border-box; box-shadow: 0 24px 60px rgba(79, 70, 229, .14); }
.vs-after li svg { color: #10b981; }
.tag { font-size: .72rem; font-weight: 700; padding: .2rem .55rem; border-radius: 999px; }
.tag-red { background: #fee2e2; color: #b91c1c; } .tag-grad { background: var(--grad); color: #fff; }

/* Grille « bento » */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.1rem; }
.tile { position: relative; grid-column: span 2; background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: var(--r-lg); padding: 1.5rem; overflow: hidden; color: var(--text-dark); transition: transform .35s ease, border-color .35s ease; }
.tile::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(124, 108, 255, .22), transparent 45%); opacity: 0; transition: opacity .3s ease; pointer-events: none; }
.tile:hover { transform: translateY(-4px); border-color: rgba(124, 108, 255, .45); }
.tile:hover::before { opacity: 1; }
.tile-wide { grid-column: span 4; }
.tile-tall { grid-row: span 2; }
@media (max-width: 980px) { .bento { grid-template-columns: repeat(2, 1fr); } .tile, .tile-wide { grid-column: span 2; } .tile-tall { grid-row: auto; } }
.tile h3 { color: #fff; font-size: 1.12rem; margin: 1rem 0 .4rem; }
.tile p { color: var(--muted-dark); font-size: .94rem; margin: 0; }
.tile-ico { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: rgba(124, 108, 255, .15); color: #a5b4fc; }
.tile-ico svg { width: 22px; height: 22px; }
.viz { margin-top: 1.3rem; }
/* barres */
.bars { display: flex; align-items: flex-end; gap: .55rem; height: 110px; }
.bars i { flex: 1; border-radius: 8px 8px 3px 3px; background: linear-gradient(180deg, #7c6cff, #22d3ee); transform-origin: bottom; transform: scaleY(.08); transition: transform 1.1s cubic-bezier(.2, .8, .2, 1); }
.is-visible .bars i { transform: scaleY(1); }
.bars .b1 { height: 38%; } .bars .b2 { height: 55%; transition-delay: .08s; } .bars .b3 { height: 46%; transition-delay: .16s; }
.bars .b4 { height: 72%; transition-delay: .24s; } .bars .b5 { height: 64%; transition-delay: .32s; } .bars .b6 { height: 88%; transition-delay: .4s; } .bars .b7 { height: 79%; transition-delay: .48s; }
/* liste à cocher */
.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li { display: flex; align-items: center; gap: .6rem; padding: .5rem .6rem; border-radius: 10px; background: rgba(255, 255, 255, .03); margin-bottom: .4rem; font-size: .86rem; color: #cfd6ee; }
.ticks .box { width: 18px; height: 18px; border-radius: 6px; border: 2px solid #46527a; display: grid; place-items: center; flex: none; transition: background .3s ease, border-color .3s ease; }
.ticks .box svg { width: 12px; height: 12px; color: #fff; opacity: 0; transition: opacity .3s ease; }
.is-visible .ticks li:nth-child(1) .box { background: var(--mint); border-color: var(--mint); transition-delay: .4s; }
.is-visible .ticks li:nth-child(2) .box { background: var(--mint); border-color: var(--mint); transition-delay: .9s; }
.is-visible .ticks li:nth-child(1) .box svg { opacity: 1; transition-delay: .4s; }
.is-visible .ticks li:nth-child(2) .box svg { opacity: 1; transition-delay: .9s; }
/* tons */
.tones { display: flex; gap: .4rem; margin-bottom: .7rem; }
.tones span { font-size: .75rem; padding: .3rem .7rem; border-radius: 999px; border: 1px solid var(--line-dark); color: var(--muted-dark); }
.tones span.on { background: var(--grad); color: #fff; border-color: transparent; }
.bubble { background: rgba(255, 255, 255, .05); border: 1px solid var(--line-dark); border-radius: 14px 14px 14px 4px; padding: .8rem .9rem; font-size: .84rem; color: #dbe2f7; line-height: 1.5; }
/* import */
.csv { display: flex; align-items: center; gap: .9rem; }
.csv .file { width: 54px; height: 66px; border-radius: 10px; background: rgba(52, 211, 153, .14); border: 1px solid rgba(52, 211, 153, .35); display: grid; place-items: center; color: var(--mint); font-weight: 800; font-size: .72rem; flex: none; }
.csv .arrow { flex: 1; height: 2px; background: repeating-linear-gradient(90deg, #46527a 0 8px, transparent 8px 14px); position: relative; overflow: hidden; }
.csv .arrow::after { content: ""; position: absolute; top: -3px; left: -20%; width: 20%; height: 8px; border-radius: 4px; background: var(--grad); animation: travel 2.4s ease-in-out infinite; }
@keyframes travel { to { left: 100%; } }
.csv .rows { display: grid; gap: .3rem; flex: none; }
.csv .rows i { display: block; width: 74px; height: 9px; border-radius: 5px; background: rgba(255, 255, 255, .1); }
.csv .rows i:nth-child(2) { width: 58px; } .csv .rows i:nth-child(3) { background: rgba(251, 113, 133, .35); width: 66px; }
/* frise */
.mini-timeline { list-style: none; margin: 0; padding: 0 0 0 1rem; border-left: 2px solid #2c3866; }
.mini-timeline li { position: relative; padding: 0 0 .8rem .7rem; font-size: .84rem; color: #cfd6ee; }
.mini-timeline li::before { content: ""; position: absolute; left: -1.42rem; top: .3rem; width: 10px; height: 10px; border-radius: 50%; background: var(--ink-2); border: 2px solid var(--cyan); }
.mini-timeline small { display: block; color: var(--muted-dark); font-size: .74rem; }

/* Étapes */
.steps-x { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; position: relative; counter-reset: s; }
.steps-x::before { content: ""; position: absolute; top: 28px; left: 12%; right: 12%; height: 2px; background: #e3e6f0; }
.steps-x::after { content: ""; position: absolute; top: 28px; left: 12%; height: 2px; width: 0; background: var(--grad); transition: width 1.6s cubic-bezier(.2, .8, .2, 1) .2s; }
.steps-x.is-visible::after { width: 76%; }
@media (max-width: 900px) { .steps-x { grid-template-columns: 1fr 1fr; } .steps-x::before, .steps-x::after { display: none; } }
@media (max-width: 540px) { .steps-x { grid-template-columns: 1fr; } }
.step-x { position: relative; text-align: center; padding: 0 .6rem; counter-increment: s; }
.step-x .num { position: relative; z-index: 1; width: 56px; height: 56px; margin: 0 auto 1rem; border-radius: 18px; background: #fff; border: 1px solid #e3e6f0; display: grid; place-items: center; font-weight: 800; font-size: 1.2rem; color: var(--indigo); box-shadow: 0 10px 25px rgba(17, 24, 39, .06); }
.step-x .num::before { content: counter(s); }
.step-x h3 { font-size: 1.05rem; margin-bottom: .4rem; }
.step-x p { color: #5b6476; font-size: .93rem; margin: 0; }

/* Confiance */
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
@media (max-width: 900px) { .trust-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .trust-grid { grid-template-columns: 1fr; } }
.trust-card { background: #fff; border: 1px solid #e5e7ef; border-radius: var(--r-lg); padding: 1.5rem; transition: transform .3s ease, box-shadow .3s ease; }
.trust-card:hover { transform: translateY(-4px); box-shadow: 0 20px 45px rgba(17, 24, 39, .08); }
.trust-card .tile-ico { background: #eef2ff; color: var(--indigo); }
.trust-card h3 { font-size: 1.05rem; margin: 1rem 0 .35rem; }
.trust-card p { color: #5b6476; font-size: .93rem; margin: 0; }

/* Tarif */
.price-x { max-width: 560px; margin: 0 auto; position: relative; background: var(--ink-2); color: var(--text-dark); border-radius: var(--r-xl); padding: 2.2rem; border: 1px solid rgba(124, 108, 255, .35); box-shadow: 0 40px 90px rgba(79, 70, 229, .25); overflow: hidden; }
.price-x::before { content: ""; position: absolute; width: 380px; height: 380px; right: -140px; top: -160px; background: radial-gradient(circle, rgba(124, 108, 255, .45), transparent 65%); }
.price-x h3 { color: #fff; font-size: 1.3rem; margin: 0; }
.price-x .amount { font-size: 3.4rem; font-weight: 800; color: #fff; letter-spacing: -.04em; line-height: 1; margin: 1rem 0 .3rem; }
.price-x .amount small { font-size: 1rem; color: var(--muted-dark); font-weight: 500; letter-spacing: 0; }
.price-x ul { list-style: none; padding: 0; margin: 1.4rem 0 1.8rem; display: grid; gap: .6rem; }
.price-x li { display: flex; gap: .6rem; align-items: center; color: #dbe2f7; }
.price-x li svg { width: 18px; height: 18px; color: var(--mint); flex: none; }
.price-flag { font-size: .8rem; color: var(--muted-dark); margin-top: 1rem; }

/* FAQ */
.faq-x details { background: #fff; border: 1px solid #e5e7ef; border-radius: 16px; padding: 1.1rem 1.3rem; transition: box-shadow .25s ease, border-color .25s ease; }
.faq-x details + details { margin-top: .8rem; }
.faq-x details[open] { border-color: #c7d2fe; box-shadow: 0 14px 34px rgba(79, 70, 229, .08); }
.faq-x summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.faq-x summary::-webkit-details-marker { display: none; }
.faq-x summary::after { content: "+"; width: 28px; height: 28px; border-radius: 8px; background: #eef2ff; color: var(--indigo); display: grid; place-items: center; font-size: 1.2rem; flex: none; transition: transform .25s ease; }
.faq-x details[open] summary::after { transform: rotate(45deg); }
.faq-x details p { color: #4b5563; margin: .8rem 0 0; }

/* Appel final */
.cta-x { position: relative; margin: 0 auto; max-width: 1080px; border-radius: 32px; padding: 4rem 2rem; text-align: center; color: #fff; background: radial-gradient(800px circle at 10% 0%, rgba(124, 108, 255, .55), transparent 50%), radial-gradient(700px circle at 100% 100%, rgba(34, 211, 238, .45), transparent 50%), var(--ink); overflow: hidden; }
.cta-x h2 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.9rem); letter-spacing: -.03em; margin-bottom: .8rem; }
.cta-x p { color: #cfd6ee; font-size: 1.1rem; margin-bottom: 1.8rem; }
.cta-x .hero-actions { justify-content: center; }

/* En-tête de page intérieure */
.page-hero { position: relative; background: var(--ink); color: var(--text-dark); padding: 4.2rem 0 3.6rem; text-align: center; overflow: hidden; isolation: isolate; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.5vw, 3.1rem); letter-spacing: -.03em; margin: .7rem 0 .6rem; }
.page-hero p { color: var(--muted-dark); max-width: 60ch; margin: 0 auto; font-size: 1.08rem; }
.page-body { padding: 3.5rem 0 5rem; }
body.site .card { border-radius: var(--r-lg); border-color: #e5e7ef; box-shadow: 0 10px 30px rgba(17, 24, 39, .05); }
body.site .draft-flag { border-radius: 14px; }

/* Pages intérieures (tarifs, FAQ, démo, connexion, pages légales) */
body.site:not(.home) main { position: relative; background: linear-gradient(180deg, var(--ink) 0, var(--ink) 300px, #f7f8fc 300px); isolation: isolate; }
body.site:not(.home) main::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 300px; background: radial-gradient(600px circle at 15% 0%, rgba(124, 108, 255, .45), transparent 60%), radial-gradient(500px circle at 90% 20%, rgba(34, 211, 238, .3), transparent 60%); z-index: -1; }
body.site:not(.home) main > .container { max-width: 1160px; padding: 3.2rem 1.25rem 5rem; }
body.site:not(.home) main > .container.container-narrow { max-width: 820px; }
body.site:not(.home) .page-head h1, body.site:not(.home) main > .container > h1 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.7rem); letter-spacing: -.03em; }
body.site:not(.home) .page-head p { color: var(--muted-dark); }
body.site:not(.home) .page-head { margin-bottom: 2rem; }
body.site .auth-card { margin-top: 1rem; padding: 2rem; }
body.site .auth-card h1 { letter-spacing: -.02em; }
body.site .faq details { border-radius: 14px; border-color: #e5e7ef; padding: 1rem 1.2rem; box-shadow: 0 6px 20px rgba(17, 24, 39, .04); }
body.site .price-card { padding: 1.8rem; }
body.site .btn:not(.btn-secondary):not(.btn-ghost):not(.btn-glow):not(.btn-ghost-dark):not(.btn-outline) { background: var(--grad); border: 0; }
.text-center { text-align: center; }

/* Pied de page */
body.site .site-footer { background: var(--ink); color: var(--muted-dark); border-top: 1px solid var(--line-dark); padding: 2.4rem 0; }
body.site .site-footer .container { max-width: 1160px; }
body.site .site-footer a { color: #cfd6ee; text-decoration: none; }
body.site .site-footer a:hover { color: #fff; }

/* Apparition au défilement */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2, .8, .2, 1), transform .8s cubic-bezier(.2, .8, .2, 1); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }
.no-js .reveal { opacity: 1; transform: none; }

/* Accessibilité : réduire les animations */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal, .mrow { opacity: 1 !important; transform: none !important; }
  .window { transform: none !important; }
  .marquee { animation: none !important; }
}
