/* ============================================================
 * Otovia — Partner landing (partner.otovia.co)
 * Base V3 + section témoignages (tv-*) importée de V4 + customs.
 * ============================================================ */

* { box-sizing: border-box; }
body { margin: 0; font-family: 'Manrope', sans-serif; color: #1A1130; background: #F6F5FB; -webkit-font-smoothing: antialiased; }
a { color: #6D4AFF; text-decoration: none; }
a:hover { color: #5A2EE0; }
::selection { background: #6D4AFF; color: #fff; }
html { scroll-behavior: smooth; }
input:focus, button:focus-visible, a:focus-visible { outline: 3px solid #B9A9E8; outline-offset: 2px; }
input[type=range] { accent-color: #6D4AFF; }
.wrap { max-width: 1200px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }
.g-hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.g2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.g-form { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.cmp { display: grid; grid-template-columns: 1.8fr repeat(4, minmax(0, 1fr)); align-items: center; }
.cta-mobile { display: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.nowrap { white-space: nowrap; }
.faq summary { list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq .faq-sign::before { content: '+'; }
.faq[open] .faq-sign::before { content: '\2212'; }
.plan-opt input { position: absolute; opacity: 0; pointer-events: none; }
.plan-opt span.box { display: block; width: 100%; min-height: 56px; padding: 10px 6px; border-radius: 12px; cursor: pointer; text-align: center; color: #1A1130; background: #fff; border: 1.5px solid #CFC6E6; }
.plan-opt span.box small { display: block; font-size: 12.5px; font-weight: 600; margin-top: 2px; color: #6A6386; }
.plan-opt span.box b { display: block; font-family: 'Bricolage Grotesque', sans-serif; font-weight: 700; font-size: 14.5px; }
.plan-opt input:checked + span.box { color: #fff; background: #6D4AFF; border-color: #6D4AFF; }
.plan-opt input:checked + span.box small { color: #fff; }
.plan-opt input:focus-visible + span.box { outline: 3px solid #B9A9E8; outline-offset: 2px; }
.field-input { width: 100%; padding: 13px 14px; border: 1px solid #CFC6E6; border-radius: 11px; font-family: 'Manrope', sans-serif; font-size: 16px; color: #1A1130; }
.field-input[aria-invalid="true"] { border-color: #B42318; }
.legal-links a { display: inline-block; padding: 8px 2px; }
.pricing .price { white-space: nowrap; }
.app-grid .g4 > div > div:last-child { white-space: nowrap; font-size: clamp(18px, 1.75vw, 24px) !important; }
@media (min-width: 961px) and (max-width: 1240px) { .app-grid .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } .app-grid .g4 > div > div:last-child { font-size: 22px !important; } }
.pricing svg { flex: none; }
.pricing .price + span { white-space: nowrap; }
.pricing div:has(> .price) { flex-wrap: wrap; row-gap: 2px; }
@media (min-width: 961px) and (max-width: 1240px) { .pricing .price { font-size: 38px !important; } }
@media (min-width: 961px) and (max-width: 1100px) { .pricing { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; row-gap: 28px !important; } .pricing .feat-pop { transform: none !important; } }
@media (min-width: 961px) { .pricing > div { padding: 26px !important; } }

.hero-split { background: linear-gradient(to bottom, #1B0E3D 0, #1B0E3D calc(100% - 330px), #F6F5FB calc(100% - 330px)); }
.hero-grid { position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(#ffffff0b 1px, transparent 1px), linear-gradient(90deg, #ffffff0b 1px, transparent 1px); background-size: 64px 64px; -webkit-mask-image: radial-gradient(ellipse 70% 80% at 70% 40%, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse 70% 80% at 70% 40%, #000 30%, transparent 75%); }
.hero-glow { position: absolute; pointer-events: none; width: 760px; height: 760px; right: -120px; top: -140px; border-radius: 50%; background: radial-gradient(circle, rgba(109,74,255,.55) 0%, rgba(109,74,255,.18) 38%, transparent 68%); }
.hero-glow2 { position: absolute; pointer-events: none; width: 420px; height: 420px; right: 30%; bottom: -240px; border-radius: 50%; background: radial-gradient(circle, rgba(52,211,153,.22) 0%, transparent 65%); }
.tilt { transform: perspective(1800px) rotateY(-9deg) rotateX(4deg); transform-style: preserve-3d; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.f1 { animation: floaty 6s ease-in-out infinite; }
.f2 { animation: floaty 7s ease-in-out infinite .8s; }
.f3 { animation: floaty 6.5s ease-in-out infinite 1.6s; }
@media (prefers-reduced-motion: reduce) { .f1, .f2, .f3 { animation: none; } }
.lift:hover { transform: translateY(-3px); }
.lift { transition: transform .2s ease, box-shadow .2s ease; }
@media (max-width: 960px) {
  .g-hero, .g2, .g3, .g-form, .g-demo, .g-video { grid-template-columns: minmax(0, 1fr) !important; }
  .g-video { gap: 28px !important; }
  .g-video > div:nth-child(2) { max-width: 320px; margin: 0 auto; width: 100%; }
  .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .wrap { padding-left: 18px !important; padding-right: 18px !important; }
  .navlinks, .chip-float, .hide-m { display: none !important; }
  .tilt { transform: none !important; margin: 0 !important; }
  .app-side { display: none !important; }
  .prod-wrap { padding-right: 0 !important; display: flex; flex-direction: column; gap: 20px; }
  .hero-photo { position: relative !important; top: auto !important; right: auto !important; width: 100% !important; height: 400px !important; order: -1; }
  .hero-man { height: 400px !important; }
  .hero-photo figcaption { left: 12px !important; top: auto !important; bottom: 12px; }
  .app-grid { grid-template-columns: minmax(0, 1fr) !important; }
  .hero-split { background: linear-gradient(to bottom, #1B0E3D 0, #1B0E3D calc(100% - 220px), #F6F5FB calc(100% - 220px)) !important; }
  .hero-glow { width: 480px !important; height: 480px !important; right: -160px !important; top: auto !important; bottom: -80px !important; }
  .h1 { font-size: 40px !important; }
  .h2 { font-size: 32px !important; }
  .sec { padding-top: 72px !important; }
  .cmp { grid-template-columns: 1.3fr 1fr 1fr 1fr !important; }
  .cmp > div { font-size: 12px !important; padding-left: 8px !important; padding-right: 8px !important; }
  .order-m { order: 2 !important; }
  .pad-m { padding: 28px 22px !important; }
  .cta-mobile { display: flex !important; }
  .feat-pop { transform: none !important; }
  .stat-cell { border-right: none !important; }
  .stat-num { font-size: 32px !important; }
  .cmp > div:first-child { padding-left: 14px !important; }
  .pricing { gap: 26px 16px !important; }
  .navlinks + a { padding: 11px 16px !important; font-size: 14px !important; }
  .announce { font-size: 13px !important; }
  body { padding-bottom: env(safe-area-inset-bottom); }
  .cta-mobile { padding-bottom: calc(10px + env(safe-area-inset-bottom)) !important; }
}
@media (max-width: 520px) {
  .h1 { font-size: 34px !important; }
  .hero-form { flex-direction: column !important; }
  .hero-form > * { width: 100% !important; }
  .steps { grid-template-columns: minmax(0, 1fr) !important; }
  .form-2col { grid-template-columns: minmax(0, 1fr) !important; }
  .h2 { font-size: 29px !important; }
  .cmp { grid-template-columns: 1.25fr repeat(4, minmax(0, 1fr)) !important; }
  .cmp > div { font-size: 11px !important; padding-left: 4px !important; padding-right: 4px !important; }
  .cmp > div:first-child { padding-left: 10px !important; }
  .pricing { grid-template-columns: minmax(0, 1fr) !important; }
  .hero-form a { font-size: 16px !important; padding: 17px 20px !important; }
}

/* ===== Maquette tableau de bord (hero) ===== */
.dbm { background: #fff; color: #1A1130; border-radius: 20px; overflow: hidden; box-shadow: 0 50px 120px rgba(9,4,26,.45), 0 0 0 1px #ffffff1f; text-align: left; }
.dbm-bar { display: flex; align-items: center; gap: 8px; padding: 12px 18px; background: #F4F1FB; border-bottom: 1px solid #ECE8F6; }
.dbm-bar > span { width: 11px; height: 11px; border-radius: 50%; }
.dbm-bar em { margin-left: 14px; font-style: normal; font-size: 13px; color: #6A6386; font-weight: 600; background: #fff; border: 1px solid #ECE8F6; padding: 4px 14px; border-radius: 8px; }
.dbm-app { display: grid; grid-template-columns: 196px minmax(0, 1fr); }
.dbm-side { background: #fff; border-right: 1px solid #ECE8F6; padding: 16px 12px; display: flex; flex-direction: column; gap: 2px; }
.dbm-logo { height: 24px; width: auto; align-self: flex-start; margin: 0 8px 14px; }
.dbm-nav { display: flex; align-items: center; gap: 9px; padding: 8px 10px; border-radius: 9px; font-size: 13px; font-weight: 600; color: #2E2748; }
.dbm-nav svg { flex: none; color: #4A4463; }
.dbm-nav.on { background: #F1EDFB; color: #5A2EE0; box-shadow: inset 3px 0 0 #6D4AFF; }
.dbm-nav.on svg { color: #5A2EE0; }
.dbm-chev { margin-left: auto; color: #9A93B5; font-size: 12px; }
.dbm-sec { margin: 10px 10px 2px; font-size: 11.5px; font-weight: 700; color: #6A6386; }
.dbm-main { padding: 18px 20px 22px; background: #FAF9FD; min-width: 0; }
.dbm-head { display: flex; align-items: center; gap: 12px; }
.dbm-hic { flex: none; width: 40px; height: 40px; border-radius: 11px; background: linear-gradient(135deg, #6D4AFF, #4B2BD9); display: inline-flex; align-items: center; justify-content: center; }
.dbm-h1 { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 20px; line-height: 1.1; }
.dbm-h2 { font-size: 12.5px; color: #6A6386; font-weight: 600; margin-top: 2px; }
.dbm-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.dbm-filters span { font-size: 11.5px; font-weight: 700; padding: 6px 12px; border-radius: 100px; border: 1px solid #DED7EE; background: #fff; color: #2E2748; white-space: nowrap; }
.dbm-filters span.on { background: #6D4AFF; border-color: #6D4AFF; color: #fff; }
.dbm-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 14px; border-radius: 16px; padding: 14px 6px; background: linear-gradient(110deg, #2A1067 0%, #4B22B8 55%, #7A4BFF 100%); color: #fff; box-shadow: 0 16px 34px rgba(75,34,184,.3); }
.dbm-kpi { padding: 2px 12px; border-left: 1px solid #ffffff1f; min-width: 0; }
.dbm-kpi:first-child { border-left: 0; }
.dbm-kt { font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #E7E1F5; }
.dbm-kv { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: clamp(15px, 1.45vw, 21px); margin-top: 4px; white-space: nowrap; }
.dbm-badge { display: inline-block; margin-top: 6px; font-size: 10.5px; font-weight: 800; padding: 3px 8px; border-radius: 100px; white-space: nowrap; }
.dbm-badge.up { background: #34D39926; color: #6EE7B7; }
.dbm-badge.warn { background: #FBBF2433; color: #FCD34D; }
.dbm-ks { font-size: 10px; color: #C6BCE0; margin-top: 5px; line-height: 1.3; }
.dbm-tabs { display: flex; gap: 6px; margin-top: 14px; padding: 5px; background: #fff; border: 1px solid #ECE8F6; border-radius: 12px; overflow: hidden; }
.dbm-tabs span { flex: none; font-size: 11.5px; font-weight: 700; color: #4A4463; padding: 7px 11px; border-radius: 8px; white-space: nowrap; }
.dbm-tabs span.on { background: #6D4AFF; color: #fff; }
.dbm-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.dbm-card { background: #fff; border: 1px solid #ECE8F6; border-radius: 13px; padding: 12px; min-width: 0; }
.dbm-ct { font-size: 11.5px; font-weight: 700; color: #4A4463; }
.dbm-cv { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 18px; margin-top: 6px; white-space: nowrap; }
.dbm-cv.g { color: #16A66A; } .dbm-cv.r { color: #DC2626; }
.dbm-prog { height: 6px; border-radius: 6px; background: #EFEAF8; margin-top: 10px; overflow: hidden; }
.dbm-prog i { display: block; height: 100%; background: #22C55E; border-radius: 6px; }
.dbm-cs { display: flex; justify-content: space-between; font-size: 10.5px; color: #6A6386; font-weight: 600; margin-top: 5px; }
.dbm-chips { display: flex; gap: 5px; margin-top: 9px; }
.dbm-chips span { flex: 1; text-align: center; font-size: 11px; font-weight: 800; color: #5A2EE0; background: #F4F1FB; border-radius: 8px; padding: 5px 2px; }
.dbm-ok { display: inline-block; margin-top: 9px; font-size: 10.5px; font-weight: 800; color: #0F7A46; background: #22C55E1a; padding: 4px 9px; border-radius: 100px; }
@media (max-width: 960px) {
  .dbm-app { grid-template-columns: minmax(0, 1fr); }
  .dbm-side { display: none !important; }
  .dbm-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 14px; }
  .dbm-kpi:nth-child(3) { border-left: 0; }
  .dbm-kv { font-size: 19px; }
  .dbm-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dbm-cards .dbm-card:nth-child(3) { display: none; }
  .dbm-cv { font-size: 16px; }
  .dbm-chips span { font-size: 10px; }
  .dbm-tabs span:nth-child(n+3) { display: none; }
}
@media (max-width: 380px) { .dbm-main { padding: 14px 12px 16px; } .dbm-kpi { padding: 2px 8px; } .dbm-kv { font-size: 16px; } }

/* ===== Correctifs mobile ===== */
[hidden] { display: none !important; }
.tools-row { gap: 10px !important; padding-top: 104px !important; padding-bottom: 48px !important; }
.prod-wrap { margin-top: 120px !important; }
.hero-split + section { padding-top: 64px !important; }
@media (max-width: 960px) {
  .prod-wrap { margin-top: 56px !important; }
  .tools-row { padding-top: 56px !important; }
  .hero-split + section { padding-top: 40px !important; }
}
.tools-row > span:first-child { width: 100%; text-align: center; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: #6D4AFF !important; margin-bottom: 4px; }
.tools-row > span:not(:first-child) { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid #E4DEF5; color: #1A1130; font-size: 14.5px; padding: 9px 16px; border-radius: 100px; box-shadow: 0 6px 18px rgba(26,17,48,.07); transition: transform .2s ease, border-color .2s ease; }
.tools-row > span:not(:first-child)::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #34D399; box-shadow: 0 0 0 3px #34D39926; }
.tools-row > span:not(:first-child):hover { transform: translateY(-2px); border-color: #6D4AFF; }
@media (max-width: 960px) {
  .hero-split { background: #1B0E3D !important; }
  .tools-row { padding-bottom: 44px !important; }
  .tools-row > span:first-child { color: #C9B8FF !important; }
  .tools-row > span:not(:first-child) { font-size: 13.5px; padding: 8px 14px; }
}
#essai-gratuit span[style*="border-radius: 50%"], #fonctionnalites svg, #calculateur svg { flex: none; }
#calc-cta { display: block !important; text-align: center; line-height: 1.25; }
#calc-actuel, #calc-prix, .calc-diff { white-space: nowrap; }
#calculateur [style*="justify-content: space-between"] > span:last-child { white-space: nowrap; }
#calculateur label + div > span { white-space: nowrap; }
.swipe-hint { display: none; }
@media (max-width: 600px) {
  [role="table"] { position: relative; overflow-x: auto !important; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
  [role="table"] .cmp { min-width: 600px; grid-template-columns: 150px repeat(4, minmax(0, 1fr)) !important; }
  [role="table"] .cmp > div { font-size: 12.5px !important; padding: 12px 8px !important; }
  [role="table"] .cmp > div:first-child { position: sticky; left: 0; z-index: 1; background: #fff; padding-left: 14px !important; box-shadow: 1px 0 0 #ECE8F6; }
  [role="table"] .cmp[role="row"]:first-child > div:first-child { background: #F4F1FB; }
  .swipe-hint { display: block; text-align: center; margin: 14px 0 -14px; font-size: 13px; font-weight: 700; color: #6A6386; }
}
@media (max-width: 520px) {
  .hero-intro > div:nth-child(4) { flex-direction: column; align-items: flex-start; gap: 8px !important; width: fit-content; max-width: 100%; margin-left: auto !important; margin-right: auto !important; text-align: left; font-size: 15px !important; }
  #calc-cta { font-size: 15px !important; padding: 14px 18px !important; }
  #calculateur .g2 > div:last-child { padding: 22px 18px !important; }
  #calculateur [style*="justify-content: space-between"] { flex-wrap: wrap; gap: 2px 12px !important; }
  #calc-eco > span:last-child, #calc-surcout > span:last-child { font-size: 26px !important; }
  .legal-links a, footer a { padding: 13px 2px !important; }
}
@media (max-width: 380px) {
  header nav > a:first-child img { height: 26px !important; }
  .navlinks + a { font-size: 13px !important; padding: 12px 14px !important; }
  .hero-form a { font-size: 15px !important; padding: 16px 16px !important; }
  .h1 { font-size: 31px !important; }
  .hero-intro > div:nth-child(4) { font-size: 14px !important; }
  #calc-abo, #calc-jeton { width: 92px !important; }
  .cta-mobile > div:first-child { display: none; }
  .cta-mobile > a { flex: 1 1 auto !important; text-align: center; }
}
/* ===== Vidéo démo : bouton son ===== */
.sound-btn { min-height: 44px; position: absolute; z-index: 2; left: 50%; bottom: 64px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 10px; border: 0; cursor: pointer;
  background: #fff; color: #1B0E3D; font-family: 'Bricolage Grotesque', sans-serif; font-weight: 700; font-size: 15px; padding: 12px 20px; border-radius: 100px; box-shadow: 0 14px 34px rgba(9,4,26,.35); transition: transform .2s ease, opacity .3s ease; white-space: nowrap; }
.sound-btn:hover { transform: translateX(-50%) translateY(-2px); }
.sound-btn .eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 14px; }
.sound-btn .eq i { width: 3px; background: #6D4AFF; border-radius: 2px; height: 40%; animation: eq 1s ease-in-out infinite; }
.sound-btn .eq i:nth-child(2) { animation-delay: .2s; } .sound-btn .eq i:nth-child(3) { animation-delay: .4s; } .sound-btn .eq i:nth-child(4) { animation-delay: .1s; }
@keyframes eq { 0%, 100% { height: 30%; } 50% { height: 100%; } }
.sound-btn.hide { opacity: 0; pointer-events: none; }
@media (max-width: 520px) { .sound-btn { bottom: 52px; font-size: 13.5px; padding: 10px 16px; } }
/* ===== Animations ===== */
.navlinks { position: relative; gap: 4px !important; padding: 5px; border-radius: 100px; background: #ffffff8c; border: 1px solid #ECE8F6; }
.navlinks a { position: relative; z-index: 1; padding: 8px 15px; border-radius: 100px; transition: color .3s ease; }
.navlinks a.on { color: #fff !important; }
.nav-pill { position: absolute; z-index: 0; top: 5px; bottom: 5px; left: 0; width: 0; border-radius: 100px; opacity: 0;
  background: linear-gradient(135deg, #6D4AFF 0%, #8E6BFF 100%); box-shadow: 0 6px 18px rgba(109,74,255,.35);
  transition: transform .45s cubic-bezier(.34,1.56,.64,1), width .45s cubic-bezier(.34,1.56,.64,1), opacity .25s ease; }
.nav-pill.ghost { background: #6D4AFF1f; box-shadow: none; }
header { transition: box-shadow .25s ease, background-color .25s ease; }
header.scrolled { box-shadow: 0 8px 30px rgba(26,17,48,.08); }
.read-bar { position: absolute; left: 0; bottom: -1px; height: 3px; width: 100%; transform-origin: left; transform: scaleX(0);
  background: linear-gradient(90deg, #6D4AFF, #8E6BFF 55%, #34D399); border-radius: 0 3px 3px 0; pointer-events: none; }
a[href="#essai-gratuit"], a[href="#demo"], button[type="submit"] { transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, filter .2s ease; }
a[href="#essai-gratuit"]:hover, a[href="#demo"]:hover, button[type="submit"]:hover { transform: translateY(-2px); filter: brightness(1.06); }
a[href="#essai-gratuit"]:active, button[type="submit"]:active { transform: translateY(0) scale(.98); }
a[href="#essai-gratuit"] svg, a[href="#demo"] svg { transition: transform .2s ease; }
a[href="#essai-gratuit"]:hover svg { transform: translateX(4px); }
.pricing > div:not(.feat-pop) { transition: transform .25s ease, box-shadow .25s ease; }
.pricing > div:not(.feat-pop):hover { transform: translateY(-6px); box-shadow: 0 24px 60px rgba(26,17,48,.10); }
.lift:hover { box-shadow: 0 16px 40px rgba(26,17,48,.08); }
#avis figure { transition: transform .25s ease, box-shadow .25s ease; }
#avis figure:hover { transform: translateY(-4px); box-shadow: 0 20px 50px rgba(26,17,48,.08); }
.steps li { transition: transform .25s ease; }
.steps li:hover { transform: translateY(-4px); }
[role="table"] [role="row"]:not(:first-child) { transition: background-color .15s ease; }
[role="table"] [role="row"]:not(:first-child):hover { background: #FAF8FF; }
.plan-opt span.box { transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .15s ease; }
.plan-opt:hover span.box { border-color: #6D4AFF; }
.plan-opt input:checked + span.box { transform: scale(1.02); }
.field-input { transition: border-color .2s ease, box-shadow .2s ease; }
.field-input:focus { outline: none; border-color: #6D4AFF; box-shadow: 0 0 0 4px #6D4AFF22; }
.faq { transition: border-color .2s ease, box-shadow .2s ease; }
.faq:hover, .faq[open] { border-color: #D9CFF5 !important; }
.faq[open] { box-shadow: 0 12px 30px rgba(26,17,48,.06); }
.faq .faq-sign { transition: transform .3s ease, background-color .2s ease, color .2s ease; }
.faq[open] .faq-sign { transform: rotate(180deg); background: #6D4AFF !important; color: #fff !important; }
.faq .faq-body { overflow: hidden; }
.bar-fill { transition: width 1.2s cubic-bezier(.2,.7,.2,1); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes softPulse { 0%, 100% { box-shadow: 0 0 0 4px #34D39933; } 50% { box-shadow: 0 0 0 8px #34D39914; } }
@media (prefers-reduced-motion: no-preference) {
  .hero-intro > * { animation: fadeUp .8s cubic-bezier(.2,.7,.2,1) both; }
  .hero-intro > *:nth-child(2) { animation-delay: .08s; }
  .hero-intro > *:nth-child(3) { animation-delay: .16s; }
  .hero-intro > *:nth-child(4) { animation-delay: .24s; }
  .hero-intro > *:nth-child(5) { animation-delay: .32s; }
  .hero-intro > *:nth-child(6) { animation-delay: .40s; }
  .hero-intro > *:nth-child(7) { animation-delay: .48s; }
  .prod-wrap { animation: fadeUp 1s .45s cubic-bezier(.2,.7,.2,1) both; }
  .live-dot { animation: softPulse 2.4s ease-in-out infinite; }
  .hero-photo figcaption { animation: floaty 7s ease-in-out infinite 1s; }
  html.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0ms); }
  html.js .reveal.in { opacity: 1; transform: none; }
  html.js .cta-mobile { transform: translateY(110%); transition: transform .35s ease; }
  html.js .cta-mobile.show { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
}

/* ===== Zoom fonctionnalités ===== */
#fonctionnalites .g3 .lift { cursor: pointer; position: relative; }
#fonctionnalites .g3 .lift .zoom-ic { position: absolute; top: 12px; right: 12px; width: 28px; height: 28px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: #F1EDFB; color: #6D4AFF; opacity: .7; transition: opacity .2s ease, transform .25s ease, background-color .2s ease, color .2s ease; }
#fonctionnalites .g3 .lift:hover, #fonctionnalites .g3 .lift:focus-visible { border-color: #6D4AFF !important; }
#fonctionnalites .g3 .lift:hover .zoom-ic, #fonctionnalites .g3 .lift:focus-visible .zoom-ic { opacity: 1; transform: scale(1.12); background: #6D4AFF; color: #fff; }
.zoom-hint { text-align: center; margin: 16px 0 0; font-size: 14px; font-weight: 700; color: #6D4AFF; }
#feat-zoom { border: 0; padding: 0; width: min(920px, calc(100vw - 32px)); max-height: calc(100vh - 48px); border-radius: 28px; background: #fff; color: #1A1130; box-shadow: 0 50px 120px rgba(9,4,26,.45); overflow: auto; }
#feat-zoom::backdrop { background: rgba(15,8,36,.6); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
#feat-zoom[open] { animation: fzIn .38s cubic-bezier(.2,.8,.2,1) both; }
#feat-zoom.closing { animation: fzOut .22s ease both; }
@keyframes fzIn { from { opacity: 0; transform: scale(.86) translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes fzOut { to { opacity: 0; transform: scale(.94); } }
.fz-panel { display: grid; grid-template-columns: 1fr 1.05fr; gap: 0; }
.fz-panel[hidden] { display: none !important; }
.fz-panel.swap { animation: fzSwap .35s ease both; }
@keyframes fzSwap { from { opacity: 0; transform: translateX(var(--dx, 24px)); } to { opacity: 1; transform: none; } }
.fz-text { padding: 44px 40px 90px; }
.fz-kicker { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 700; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: #6D4AFF; }
.fz-text h3 { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 34px; letter-spacing: -.02em; margin: 10px 0 0; }
.fz-text p { font-size: 16.5px; line-height: 1.55; color: #6A6386; margin: 10px 0 0; }
.fz-text ul { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-direction: column; gap: 12px; }
.fz-text li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; font-size: 15.5px; line-height: 1.4; }
.fz-text li svg { flex: none; margin-top: 3px; }
.fz-badge { display: inline-flex; margin-top: 18px; font-size: 12.5px; font-weight: 800; color: #5A2EE0; background: #6D4AFF1a; padding: 6px 12px; border-radius: 100px; }
.fz-cta { display: inline-flex; margin-top: 26px; background: #6D4AFF; color: #fff !important; font-family: 'Bricolage Grotesque', sans-serif; font-weight: 700; font-size: 15.5px; padding: 14px 24px; border-radius: 100px; box-shadow: 0 12px 26px rgba(109,74,255,.35); }
.fz-visual { background: radial-gradient(circle at 70% 20%, #8B6BFF 0, #6D4AFF 45%, #4B2BD9 100%); padding: 44px 36px; display: flex; align-items: center; justify-content: center; }
.fz-close { position: fixed; top: 16px; right: 16px; z-index: 10; width: 34px; height: 34px; border-radius: 50%; border: 0; cursor: pointer; background: #ffffffe6; color: #1A1130; font-size: 24px; line-height: 1; box-shadow: 0 6px 18px rgba(0,0,0,.15); transition: transform .2s ease; }
.fz-close:hover { transform: rotate(90deg); }
.fz-nav { position: absolute; left: 40px; bottom: 28px; display: flex; align-items: center; gap: 12px; }
.fz-nav button { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid #DED7EE; background: #fff; color: #1A1130; font-size: 18px; cursor: pointer; transition: border-color .2s ease, transform .2s ease; }
.fz-nav button:hover { border-color: #6D4AFF; transform: translateY(-2px); }
.fz-count { font-weight: 700; font-size: 14px; color: #6A6386; min-width: 44px; text-align: center; }
/* mini maquettes */
.mk { width: 100%; max-width: 380px; background: #fff; border-radius: 18px; padding: 18px; box-shadow: 0 30px 60px rgba(9,4,26,.35); font-size: 13px; animation: mkPop .5s .1s cubic-bezier(.2,.8,.2,1) both; }
@keyframes mkPop { from { opacity: 0; transform: translateY(14px) scale(.96); } to { opacity: 1; transform: none; } }
.mk-h { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 16px; margin-bottom: 12px; }
.mk-sub { display: block; font-family: 'Manrope', sans-serif; font-weight: 600; font-size: 12px; color: #6A6386; margin-top: 2px; }
.mk-row { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid #F1EEF9; font-weight: 700; }
.mk-dot { flex: none; width: 8px; height: 8px; border-radius: 50%; }
.mk-l { flex: 1; min-width: 0; }
.mk-tag { flex: none; font-size: 11.5px; font-weight: 800; padding: 3px 9px; border-radius: 100px; }
.mk-steps { display: flex; gap: 6px; margin-top: 12px; }
.mk-steps span { flex: 1; text-align: center; font-size: 11.5px; font-weight: 700; padding: 7px 4px; border-radius: 8px; background: #F4F1FB; color: #6A6386; }
.mk-steps span.on { background: #6D4AFF; color: #fff; }
.mk-cal { display: grid; grid-template-columns: repeat(5, 1fr); grid-template-rows: auto repeat(3, 34px); gap: 6px; font-size: 11.5px; font-weight: 700; color: #6A6386; text-align: center; }
.mk-cal .ev { background: #6D4AFF; color: #fff; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 10.5px; }
.mk-cal .ev.g { background: #16A66A; } .mk-cal .ev.o { background: #FF6B2C; }
.mk-note { margin-top: 12px; font-size: 12px; font-weight: 700; color: #0F7A46; background: #22C55E14; padding: 8px 10px; border-radius: 10px; }
.mk-line { display: flex; justify-content: space-between; padding: 9px 0; border-top: 1px solid #F1EEF9; font-weight: 600; color: #4A4463; }
.mk-line b { color: #1A1130; }
.mk-total { display: flex; justify-content: space-between; margin-top: 6px; padding: 12px; border-radius: 12px; background: #F4F1FB; font-weight: 800; font-size: 15px; }
.mk-btn { margin-top: 12px; text-align: center; padding: 11px; border-radius: 100px; background: #22C55E1a; color: #0F7A46; font-weight: 800; }
.mk-tl { display: flex; flex-direction: column; gap: 0; margin-left: 6px; }
.mk-tl > div { position: relative; padding: 0 0 16px 22px; font-weight: 600; color: #6A6386; border-left: 2px solid #ECE8F6; }
.mk-tl > div:last-child { padding-bottom: 0; }
.mk-tl > div::before { content: ''; position: absolute; left: -7px; top: 2px; width: 12px; height: 12px; border-radius: 50%; background: #ECE8F6; }
.mk-tl > div.done { color: #1A1130; border-color: #6D4AFF; } .mk-tl > div.done::before { background: #6D4AFF; }
.mk-tl > div.cur::before { background: #FF6B2C; box-shadow: 0 0 0 4px #FF6B2C33; }
.mk-tl b { color: #1A1130; margin-right: 6px; }
.mk-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mk-kpis > div { border: 1px solid #ECE8F6; border-radius: 12px; padding: 10px; }
.mk-kpis small { display: block; font-size: 10.5px; font-weight: 700; color: #6A6386; }
.mk-kpis b { font-family: 'Bricolage Grotesque', sans-serif; font-size: 16px; white-space: nowrap; }
.mk-bars { display: flex; align-items: flex-end; gap: 8px; height: 90px; margin-top: 14px; }
.mk-bars i { flex: 1; background: #E4DEF5; border-radius: 6px 6px 3px 3px; transform-origin: bottom; animation: barUp .7s cubic-bezier(.2,.8,.2,1) both; }
.mk-bars i:nth-child(2) { animation-delay: .06s; } .mk-bars i:nth-child(3) { animation-delay: .12s; } .mk-bars i:nth-child(4) { animation-delay: .18s; } .mk-bars i:nth-child(5) { animation-delay: .24s; } .mk-bars i:nth-child(6) { animation-delay: .3s; }
.mk-bars i.hi { background: #6D4AFF; }
@keyframes barUp { from { transform: scaleY(0); } to { transform: none; } }
.mk-files { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mk-files > div { display: flex; align-items: center; gap: 8px; border: 1px solid #ECE8F6; border-radius: 12px; padding: 10px; font-weight: 700; font-size: 12px; }
.mk-files span { flex: none; font-size: 9.5px; font-weight: 800; color: #fff; background: #6D4AFF; border-radius: 6px; padding: 4px 5px; }
.mk-chat { display: flex; flex-direction: column; gap: 8px; }
.mk-chat > div { max-width: 85%; padding: 9px 12px; border-radius: 14px; font-weight: 600; line-height: 1.4; animation: mkPop .4s cubic-bezier(.2,.8,.2,1) both; }
.mk-chat > div:nth-child(2) { animation-delay: .35s; } .mk-chat > div:nth-child(3) { animation-delay: .7s; } .mk-chat > div:nth-child(4) { animation-delay: 1.05s; }
.mk-chat .me { align-self: flex-end; background: #6D4AFF; color: #fff; border-bottom-right-radius: 4px; }
.mk-chat .bot { align-self: flex-start; background: #F4F1FB; color: #1A1130; border-bottom-left-radius: 4px; }
@media (max-width: 760px) {
  #feat-zoom { width: 100vw; max-width: 100vw; max-height: 92vh; margin: auto 0 0; border-radius: 26px 26px 0 0; }
  #feat-zoom[open] { animation: fzUp .38s cubic-bezier(.2,.8,.2,1) both; }
  @keyframes fzUp { from { transform: translateY(40%); opacity: .4; } to { transform: none; opacity: 1; } }
  .fz-panel { grid-template-columns: minmax(0, 1fr); }
  .fz-visual { order: -1; padding: 56px 18px 26px; }
  .fz-text { padding: 24px 20px 28px; }
  .fz-text h3 { font-size: 28px; }
  .fz-close { position: fixed !important; top: 12px !important; right: 12px !important; margin: 0 !important; float: none !important; width: 30px !important; height: 30px !important; font-size: 18px !important; }
  .fz-nav { position: sticky; left: auto; bottom: 0; z-index: 3; justify-content: center; background: #fff; border-top: 1px solid #ECE8F6; padding: 10px 20px calc(10px + env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) { #feat-zoom[open], .fz-panel.swap, .mk, .mk-chat > div, .mk-bars i { animation: none !important; } }
@media (min-width: 961px) and (max-width: 1180px) { .metiers-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
@media (max-width: 600px) { .metiers-grid { grid-template-columns: minmax(0, 1fr) !important; } }

/* ===== Témoignages vidéo (importé depuis V4) ===== */
@keyframes tvPulse { 0%, 100% { box-shadow: 0 14px 34px rgba(0,0,0,.4), 0 0 0 8px rgba(255,255,255,.22); } 50% { box-shadow: 0 14px 34px rgba(0,0,0,.4), 0 0 0 14px rgba(255,255,255,.08); } }
.tv-grid { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.tv-card { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 24px; align-items: center; background: #ffffff0a; border: 1px solid #ffffff14; border-radius: 22px; padding: 16px; }
.tv-video { position: relative; border-radius: 16px; overflow: hidden; background: #000; aspect-ratio: 9 / 16; box-shadow: 0 24px 50px rgba(0,0,0,.45); }
.tv-video video { width: 100%; height: 100%; object-fit: cover; display: block; }
.tv-play { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; border: 0; cursor: pointer; background: linear-gradient(to bottom, rgba(15,8,36,.05) 30%, rgba(15,8,36,.55)); color: #fff; }
.tv-play span { width: 72px; height: 72px; border-radius: 50%; background: #fff; color: #6D4AFF; display: inline-flex; align-items: center; justify-content: center; padding-left: 4px; box-shadow: 0 14px 34px rgba(0,0,0,.4), 0 0 0 8px rgba(255,255,255,.22); transition: transform .2s ease; animation: tvPulse 2.4s ease-in-out infinite; }
.tv-play em { font-style: normal; font-family: 'Bricolage Grotesque', sans-serif; font-weight: 700; font-size: 14px; background: rgba(15,8,36,.65); padding: 6px 12px; border-radius: 100px; }
.tv-play:hover span { transform: scale(1.08); }
.tv-play:focus-visible span { outline: 3px solid #B9A9E8; outline-offset: 4px; }
.tv-video.playing .tv-play { display: none; }
.tv-badge { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 12.5px; color: #34D399; background: #34d3991f; padding: 6px 12px; border-radius: 100px; }
.tv-quote { margin: 16px 0 0; font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 24px; line-height: 1.2; letter-spacing: -.02em; text-wrap: balance; }
.tv-who { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.tv-ini { flex: none; width: 42px; height: 42px; border-radius: 50%; background: #6D4AFF; color: #fff; font-family: 'Bricolage Grotesque', sans-serif; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.tv-name { font-weight: 700; font-size: 15px; }
.tv-place { font-size: 13.5px; color: #B7A6E4; margin-top: 2px; }
.tv-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.tv-tag { font-weight: 700; font-size: 12.5px; background: #ffffff12; border: 1px solid #ffffff1f; padding: 6px 11px; border-radius: 100px; }
@media (prefers-reduced-motion: reduce) { .tv-play span { animation: none; } }
@media (max-width: 1180px) { .tv-grid { grid-template-columns: minmax(0, 1fr); } .tv-card { grid-template-columns: 240px minmax(0, 1fr); } }
@media (max-width: 640px) { .tv-wrap { padding: 22px 16px !important; } .tv-card { grid-template-columns: minmax(0, 1fr); padding: 14px; } .tv-video { max-width: 230px; width: 100%; margin: 0 auto; } .tv-quote { font-size: 21px; } }

/* ============================================================
 * ADDITIONS CUSTOM (hors V4)
 * ============================================================ */

/* ===== Popup succès du formulaire essai ===== */
@keyframes essaiModalIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes essaiCardIn { from { opacity: 0; transform: translateY(20px) scale(.94); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes esPulse { 0%, 100% { transform: scale(1); opacity: .6; } 50% { transform: scale(1.15); opacity: 0; } }
@keyframes esDraw { to { stroke-dashoffset: 0; } }
@keyframes esFloat { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-8px) rotate(10deg); } }
#essai-success-modal [data-close] { transition: transform .18s ease, filter .18s ease; }
#essai-success-modal [data-close]:hover { filter: brightness(1.08); transform: translateY(-1px); }
body.essai-modal-open { overflow: hidden; }
@media (max-width: 600px) {
  #essai-success-modal { padding: 12px !important; align-items: flex-start !important; padding-top: 24px !important; }
  .essai-success-card { max-width: 100% !important; border-radius: 20px !important; max-height: calc(100vh - 48px); overflow-y: auto; }
  .essai-success-head { padding: 28px 20px 42px !important; }
  .essai-success-check { width: 72px !important; height: 72px !important; }
  .essai-success-check > div:last-child { width: 72px !important; height: 72px !important; }
  .essai-success-check svg { width: 36px !important; height: 36px !important; }
  #essai-success-title { font-size: 21px !important; margin-top: 16px !important; }
  .essai-success-head p { font-size: 12.5px !important; }
  .essai-success-body { padding: 22px 20px 24px !important; }
  .essai-success-body p { font-size: 14px !important; }
  .essai-success-body p:first-child { font-size: 15px !important; }
  .essai-success-body button { font-size: 15px !important; padding: 13px 24px !important; }
  .essai-success-body a { padding: 6px 0 !important; display: inline-block; }
  #essai-success-modal [data-close][aria-label="Fermer"] { width: 32px !important; height: 32px !important; font-size: 20px !important; top: 10px !important; right: 10px !important; }
  .es-confetti { transform: scale(.75); }
}
@media (max-width: 380px) {
  .essai-success-head { padding: 24px 16px 36px !important; }
  .essai-success-body { padding: 20px 16px 22px !important; }
  #essai-success-title { font-size: 19px !important; }
}

/* ===== Mobile fix pour le dialog "Tout-en-un" (feat-zoom modules) ===== */
@media (max-width: 760px) {
  #feat-zoom { width: 100vw !important; max-width: 100vw !important; max-height: 95vh !important; border-radius: 22px 22px 0 0 !important; }
  .fz-visual { padding: 32px 16px 20px !important; }
  .fz-visual .mk { max-width: 100%; padding: 14px; font-size: 12px; border-radius: 14px; box-shadow: 0 14px 28px rgba(9,4,26,.25); }
  .fz-visual .mk-h { font-size: 14px; margin-bottom: 8px; }
  .fz-visual .mk-sub { font-size: 11px; }
  .fz-visual .mk-row { padding: 7px 0; font-size: 12px; gap: 8px; }
  .fz-visual .mk-tag { font-size: 10.5px; padding: 2px 7px; }
  .fz-visual .mk-steps span { font-size: 10.5px; padding: 5px 3px; }
  .fz-visual .mk-cal { grid-template-rows: auto repeat(3, 28px); gap: 4px; font-size: 10.5px; }
  .fz-visual .mk-cal .ev { font-size: 9.5px; border-radius: 6px; }
  .fz-visual .mk-line { padding: 7px 0; font-size: 12.5px; }
  .fz-visual .mk-total { padding: 10px; font-size: 13.5px; border-radius: 10px; }
  .fz-visual .mk-btn { padding: 9px; font-size: 12.5px; }
  .fz-visual .mk-note { font-size: 11px; padding: 6px 9px; }
  .fz-visual .mk-tl > div { padding: 0 0 12px 18px; font-size: 12px; }
  .fz-visual .mk-kpis { gap: 6px; }
  .fz-visual .mk-kpis > div { padding: 8px; border-radius: 10px; }
  .fz-visual .mk-kpis small { font-size: 9.5px; }
  .fz-visual .mk-kpis b { font-size: 14px; }
  .fz-visual .mk-bars { height: 70px; gap: 6px; margin-top: 10px; }
  .fz-visual .mk-files > div { padding: 8px; font-size: 11px; gap: 6px; }
  .fz-visual .mk-files span { font-size: 9px; padding: 3px 4px; }
  .fz-visual .mk-chat > div { padding: 7px 10px; font-size: 12.5px; }
  .fz-text { padding: 22px 18px 24px !important; }
  .fz-text h3 { font-size: 24px !important; letter-spacing: -.01em; }
  .fz-text p { font-size: 14.5px !important; margin-top: 8px !important; }
  .fz-text ul { margin-top: 16px !important; gap: 10px !important; }
  .fz-text li { font-size: 14px !important; gap: 8px !important; }
  .fz-text li svg { width: 13px; height: 13px; }
  .fz-kicker { font-size: 11px !important; letter-spacing: .12em; }
  .fz-badge { font-size: 11.5px; padding: 5px 10px; margin-top: 14px; }
  .fz-cta { font-size: 14px !important; padding: 12px 20px !important; margin-top: 18px !important; }
  .fz-nav { padding: 8px 16px calc(8px + env(safe-area-inset-bottom)) !important; gap: 8px !important; }
  .fz-nav button { width: 38px; height: 38px; font-size: 16px; }
  .fz-count { font-size: 12.5px; min-width: 36px; }
}
@media (max-width: 380px) {
  .fz-text h3 { font-size: 21px !important; }
  .fz-text p { font-size: 13.5px !important; }
  .fz-text li { font-size: 13px !important; }
  .fz-visual { padding: 24px 12px 16px !important; }
  .fz-visual .mk { padding: 12px; }
}
