/* ==========================================================================
   Accueil commercial · style « grand hébergeur »
   ========================================================================== */
:root { --violet: #5b3df5; --violet-600: #4a2fd9; --violet-050: #f1eeff; --night: #120c2e; --night-2: #1b1442; --lime: #b9f227; }
[data-theme="dark"] { --violet-050: rgba(124, 104, 255, .12); }

/* Bandeau promo */
.promo { background: var(--night); color: #e9e6ff; font-size: 13.5px; }
.promo .wrap { display: flex; align-items: center; justify-content: center; gap: 14px; min-height: 42px; flex-wrap: wrap; padding-top: 6px; padding-bottom: 6px; text-align: center; }
.promo b { color: #fff; }
.promo .promo-tag { background: var(--lime); color: #1a1a1a; font-weight: 750; font-size: 12px; padding: 3px 9px; border-radius: 6px; text-transform: uppercase; letter-spacing: .04em; }
.promo a { color: #fff; text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }

/* Hero commercial */
.hx { position: relative; overflow: hidden; background: radial-gradient(900px 500px at 85% -10%, #3b2a9e 0%, transparent 60%), radial-gradient(700px 500px at -10% 110%, #2a1d74 0%, transparent 60%), var(--night); color: #fff; }
.hx::after { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(rgba(255,255,255,.09) 1px, transparent 1px); background-size: 22px 22px; mask-image: linear-gradient(180deg, #000, transparent 85%); -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%); }
.hx .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: 56px; align-items: center; padding-top: 72px; padding-bottom: 88px; }
@media (max-width: 1020px) { .hx .wrap { grid-template-columns: 1fr; gap: 48px; padding-top: 48px; padding-bottom: 64px; } }
.hx-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; color: #cfc8ff; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); padding: 6px 12px 6px 6px; border-radius: 99px; }
.hx-eyebrow .promo-tag { background: var(--lime); color: #1a1a1a; font-weight: 750; font-size: 11.5px; padding: 2px 8px; border-radius: 99px; }
.hx h1 { color: #fff; font-size: clamp(38px, 5.2vw, 62px); line-height: 1.04; letter-spacing: -.04em; font-weight: 750; margin: 22px 0 0; }
.hx h1 .hl { background: linear-gradient(95deg, #c4b5fd, #a5f3fc 70%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hx-list { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.hx-list li { display: flex; gap: 12px; align-items: flex-start; color: #ddd8ff; font-size: 16px; }
.hx-list .tick { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: rgba(185, 242, 39, .16); color: var(--lime); flex: none; margin-top: 1px; }
.hx-list .tick .icon { width: 13px; height: 13px; stroke-width: 3; }
.hx-price { margin-top: 30px; display: flex; align-items: flex-end; gap: 14px; flex-wrap: wrap; }
.hx-price .from { color: #b8b0ef; font-size: 14px; font-weight: 550; }
.hx-price .big { font-family: var(--font-display); font-size: 52px; line-height: 1; font-weight: 800; letter-spacing: -.04em; color: #fff; font-variant-numeric: tabular-nums; }
.hx-price .unit { font-size: 18px; font-weight: 650; color: #d8d2ff; letter-spacing: 0; }
.hx-price .save { align-self: center; background: var(--lime); color: #1a1a1a; font-weight: 750; font-size: 13px; padding: 5px 10px; border-radius: 8px; }
.hx-small { color: #a49cdc; font-size: 13px; margin-top: 8px; }
.hx-cta { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.btn-xl { height: 56px; padding: 0 28px; font-size: 16.5px; border-radius: 12px; font-weight: 700; }
.btn-violet { background: var(--violet); border-color: var(--violet); color: #fff; box-shadow: 0 14px 30px -12px rgba(91, 61, 245, .8), inset 0 1px 0 rgba(255,255,255,.18); }
.btn-violet:hover { background: var(--violet-600); border-color: var(--violet-600); color: #fff; }
.btn-glass { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.2); color: #fff; box-shadow: none; }
.btn-glass:hover { background: rgba(255,255,255,.14); color: #fff; }
.hx-pay { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 26px; color: #a49cdc; font-size: 13px; }
.chip { display: inline-flex; align-items: center; height: 28px; padding: 0 11px; border-radius: 8px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); color: #fff; font-weight: 650; font-size: 12.5px; }

/* Visuel composé */
.hx-visual { position: relative; min-height: 470px; }
.hx-visual .panel { position: absolute; border-radius: 18px; background: #fff; color: var(--text); box-shadow: 0 30px 60px -20px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.06); }
[data-theme="dark"] .hx-visual .panel { background: #151b27; color: #f0f2f5; }
.panel-main { inset: 20px 30px 40px 0; overflow: hidden; }
.panel-main .bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--border); }
.panel-main .bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--border-strong); }
.panel-main .bar span { margin-left: 10px; font-size: 12px; color: var(--text-3); font-family: var(--mono); }
.panel-main .inner { padding: 18px; display: grid; gap: 12px; }
.mini-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mini-kpi { border: 1px solid var(--border); border-radius: 12px; padding: 12px; }
.mini-kpi .l { font-size: 11.5px; color: var(--text-2); font-weight: 550; }
.mini-kpi .v { font-family: var(--font-display); font-size: 22px; font-weight: 750; letter-spacing: -.02em; margin-top: 4px; }
.mini-kpi .v small { font-size: 12px; color: var(--text-3); font-weight: 600; }
.mini-row { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--border); border-radius: 12px; }
.mini-row .n { font-weight: 650; font-size: 13px; min-width: 110px; }
.mini-row .ticks { height: 20px; flex: 1; min-width: 0; }
.float { position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 14px; animation: flotte 6s ease-in-out infinite; }
.float .t1 { font-weight: 700; font-size: 13.5px; }
.float .t2 { font-size: 12px; color: var(--text-2); }
.float-1 { right: -6px; top: 0; animation-delay: -1s; }
.float-2 { left: -24px; bottom: 0; animation-delay: -3s; }
.float-3 { right: 0; bottom: 70px; animation-delay: -4.5s; }
@keyframes flotte { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (max-width: 1020px) { .float-2 { left: 0; } .hx-visual { min-height: 430px; } }
@media (max-width: 560px) { .float-1, .float-3 { display: none; } .mini-kpis { grid-template-columns: 1fr 1fr; } .mini-kpis > :last-child { display: none; } .mini-row .ticks { display: none; } }

/* Bande d'atouts */
.assets { background: var(--surface); border-bottom: 1px solid var(--border); }
.assets .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.asset { display: flex; gap: 14px; align-items: center; padding: 26px 20px; border-right: 1px solid var(--border); }
.asset:last-child { border-right: 0; }
.asset .ai { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--violet-050); color: var(--violet); flex: none; }
.asset strong { display: block; font-size: 15px; }
.asset span { color: var(--text-2); font-size: 13px; }
@media (max-width: 960px) { .assets .wrap { grid-template-columns: 1fr 1fr; } .asset:nth-child(2) { border-right: 0; } .asset:nth-child(-n+2) { border-bottom: 1px solid var(--border); } }
@media (max-width: 560px) { .assets .wrap { grid-template-columns: 1fr; } .asset { border-right: 0; border-bottom: 1px solid var(--border); } }

/* Titres de section façon commerce */
.sx { padding: 96px 0; }
.sx.tint { background: var(--bg); }
.sx-head { text-align: center; max-width: 760px; margin: 0 auto 48px; }
.sx-head h2 { font-size: clamp(30px, 3.8vw, 46px); line-height: 1.08; letter-spacing: -.035em; font-weight: 750; }
.sx-head p { color: var(--text-2); font-size: 17.5px; margin-top: 14px; line-height: 1.6; }

/* Cartes tarifaires renforcées */
.plans-x .plan { padding: 0; overflow: hidden; border-radius: 22px; }
.plans-x .plan-top { padding: 28px 28px 0; }
.plans-x .plan-body { padding: 0 28px 28px; display: flex; flex-direction: column; flex: 1; }
.plans-x .plan.featured { border: 2px solid var(--violet); box-shadow: 0 30px 60px -24px rgba(91, 61, 245, .55); transform: translateY(-8px); }
@media (max-width: 960px) { .plans-x .plan.featured { transform: none; } }
.plans-x .plan-tag { position: static; transform: none; display: block; text-align: center; border-radius: 0; padding: 9px; font-size: 13px; background: var(--violet); letter-spacing: .02em; }
.plans-x .plan:not(.featured) .plan-tag-space { height: 37px; }
@media (max-width: 960px) { .plans-x .plan:not(.featured) .plan-tag-space { display: none; } }
.strike { color: var(--text-3); text-decoration: line-through; font-weight: 600; margin-right: 8px; }
.off { display: inline-flex; align-items: center; background: var(--violet-050); color: var(--violet); font-weight: 750; font-size: 12.5px; padding: 3px 9px; border-radius: 99px; }
.plans-x .price .amount { font-size: 46px; font-weight: 800; letter-spacing: -.045em; }
.plans-x .btn { height: 50px; font-size: 15.5px; font-weight: 700; border-radius: 12px; }
.plans-x .plan.featured .btn-primary, .plans-x .btn-violet { background: var(--violet); border-color: var(--violet); }
.plans-x .plan li .icon { color: var(--ok); }
.renew-note { color: var(--text-3); font-size: 12.5px; text-align: center; margin-top: 10px; }

/* Grille de fonctionnalités */
.fgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 22px; overflow: hidden; }
@media (max-width: 900px) { .fgrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .fgrid { grid-template-columns: 1fr; } }
.fcell { background: var(--surface); padding: 30px; transition: background .2s; }
.fcell:hover { background: var(--surface-2); }
.fcell .fi { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: var(--violet-050); color: var(--violet); margin-bottom: 18px; }
.fcell h3 { font-size: 17px; margin-bottom: 6px; }
.fcell p { color: var(--text-2); line-height: 1.6; }

/* Bloc sombre « pourquoi » */
.dark-band { background: var(--night); color: #fff; border-radius: 28px; padding: 64px; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; position: relative; overflow: hidden; }
.dark-band::before { content: ""; position: absolute; width: 520px; height: 520px; right: -160px; top: -200px; background: radial-gradient(circle, rgba(124, 104, 255, .45), transparent 65%); }
.dark-band > * { position: relative; }
.dark-band h2 { color: #fff; font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -.03em; line-height: 1.1; }
.dark-band p { color: #c3bdf0; font-size: 16.5px; margin-top: 14px; line-height: 1.65; }
.dark-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.dark-stat { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 18px; padding: 22px; }
.dark-stat .n { font-family: var(--font-display); font-size: 34px; font-weight: 800; letter-spacing: -.03em; color: var(--lime); }
.dark-stat .l { color: #c3bdf0; font-size: 14px; margin-top: 4px; }
@media (max-width: 900px) { .dark-band { grid-template-columns: 1fr; padding: 40px 26px; gap: 32px; } }

/* Profils clients */
.personas { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 960px) { .personas { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .personas { grid-template-columns: 1fr; } }
.persona { border-radius: 20px; padding: 26px; border: 1px solid var(--border); background: var(--surface); position: relative; overflow: hidden; }
.persona::after { content: ""; position: absolute; inset: auto -30px -30px auto; width: 110px; height: 110px; border-radius: 50%; background: var(--violet-050); }
.persona .pi { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--night); color: #fff; margin-bottom: 16px; position: relative; z-index: 1; }
.persona h3 { font-size: 16.5px; margin-bottom: 6px; position: relative; z-index: 1; }
.persona p { color: var(--text-2); font-size: 14px; line-height: 1.6; position: relative; z-index: 1; }
.persona .plan-hint { display: inline-block; margin-top: 14px; font-size: 12.5px; font-weight: 700; color: var(--violet); position: relative; z-index: 1; }

/* Tableau comparatif */
.compare { border: 1px solid var(--border); border-radius: 20px; overflow: hidden; background: var(--surface); }
.compare table th { background: var(--surface); font-size: 14px; text-transform: none; letter-spacing: 0; color: var(--text); padding: 18px 20px; }
.compare table th.pop { color: var(--violet); }
.compare table td { padding: 15px 20px; }
.compare table td:first-child { color: var(--text-2); font-weight: 550; }
.compare table td:not(:first-child), .compare table th:not(:first-child) { text-align: center; }
.compare tbody tr:nth-child(odd) { background: var(--surface-2); }
.compare .yes { color: var(--ok); } .compare .no { color: var(--text-3); }
.compare .col-pop { background: var(--violet-050) !important; }

/* Garantie / support */
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .trio { grid-template-columns: 1fr; } }
.trio .card { padding: 26px; display: flex; gap: 16px; align-items: flex-start; }
.trio .ti { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--ok-soft); color: var(--ok); flex: none; }
.trio h3 { font-size: 16px; margin-bottom: 4px; }
.trio p { color: var(--text-2); font-size: 14px; }

/* CTA final */
.cta-x { background: linear-gradient(120deg, #4a2fd9 0%, #5b3df5 45%, #7c5cff 100%); border-radius: 28px; padding: 60px; color: #fff; display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; position: relative; overflow: hidden; }
.cta-x::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.12) 1px, transparent 1px); background-size: 20px 20px; mask-image: linear-gradient(90deg, transparent, #000); -webkit-mask-image: linear-gradient(90deg, transparent, #000); }
.cta-x > * { position: relative; z-index: 1; }
.cta-x h2 { color: #fff; font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -.03em; line-height: 1.1; }
.cta-x p { color: #e4deff; font-size: 16.5px; margin-top: 12px; }
.cta-x .actions { justify-content: flex-end; }
.btn-white { background: #fff; color: var(--violet); border-color: #fff; font-weight: 750; }
.btn-white:hover { background: #f4f1ff; color: var(--violet-600); }
@media (max-width: 860px) { .cta-x { grid-template-columns: 1fr; padding: 40px 26px; } .cta-x .actions { justify-content: flex-start; } }

/* Pied de page riche */
.site-footer.dark { background: var(--night); color: #c3bdf0; border-top: 0; }
.site-footer.dark h4 { color: #fff; }
.site-footer.dark .footer-grid a { color: #b3abe6; }
.site-footer.dark .footer-grid a:hover { color: #fff; }
.site-footer.dark .footer-grid a.brand, .site-footer.dark .brand-name { color: #fff; }
.site-footer.dark .brand-sub { color: #8f87c6; }
.site-footer.dark .muted { color: #a49cdc; }
.site-footer.dark .footer-bottom { border-top-color: rgba(255,255,255,.1); color: #8f87c6; }
.footer-pay { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }

/* Nav sur fond clair au-dessus du hero sombre */
.site-nav.on-dark { background: color-mix(in srgb, var(--night) 88%, transparent); border-bottom-color: rgba(255,255,255,.08); }
.site-nav.on-dark .brand, .site-nav.on-dark .brand-name { color: #fff; }
.site-nav.on-dark .brand-sub { color: #a49cdc; }
.site-nav.on-dark .site-links a { color: #d8d2ff; }
.site-nav.on-dark .site-links a:hover { color: #fff; }
.site-nav.on-dark .nav-drop-btn { color: #d8d2ff; }
.site-nav.on-dark .nav-drop-btn:hover, .site-nav.on-dark .nav-drop.open .nav-drop-btn { color: #fff; }
.site-nav.on-dark .nav-drop-panel a { color: var(--text); }
.site-nav.on-dark .nav-drop-panel a.nd-foot { color: var(--brand); }
@media (max-width: 860px) {
  .site-nav.on-dark .site-links { background: var(--night); border-bottom-color: rgba(255,255,255,.08); }
  .site-nav.on-dark .site-links > a, .site-nav.on-dark .nav-drop-btn { border-bottom-color: rgba(255,255,255,.08); }
  .site-nav.on-dark .nav-drop-panel a { color: #fff; }
  .site-nav.on-dark .nav-drop-panel a:hover { background: rgba(255,255,255,.06); }
  .site-nav.on-dark .nav-drop-panel small { color: #a49cdc; }
}
.site-nav.on-dark .icon-btn { color: #d8d2ff; }
.site-nav.on-dark .icon-btn:hover { background: rgba(255,255,255,.08); color: #fff; }
.site-nav.on-dark .btn-ghost { color: #fff; }
.site-nav.on-dark .btn-ghost:hover { background: rgba(255,255,255,.08); color: #fff; }
.site-nav.on-dark .btn-primary { background: var(--violet); border-color: var(--violet); }

@media (max-width: 640px) {
  .promo .wrap { gap: 8px; font-size: 12.5px; min-height: 38px; }
  .promo a, .promo .promo-tag { display: none; }
  .site-nav .brand-sub { display: none; }
  .site-nav .brand-name { white-space: nowrap; }
  .site-nav .wrap { gap: 12px; }
  .site-cta .btn { height: 36px; padding: 0 12px; font-size: 13px; }
  .hx h1 { font-size: 36px; }
  .hx-price .big { font-size: 42px; }
  .btn-xl { height: 52px; font-size: 15.5px; flex: 1; }
}
