/* ════════════════════════════════
   HOMEPAGE — Prodelium
   Mesh gradients, GSAP-ready, SaaS style
════════════════════════════════ */

/* ── Hide base layout blobs on homepage ── */
body:has(.hero) .blob { display: none; }

/* ── Reset main padding for homepage ── */
body:has(.hero) main { padding-top: 0; }

/* ── Homepage variables (mapped to design system) ── */
:root {
    --violet-deep: var(--color-primary);
    --violet-mid: var(--color-primary-light);
    --violet-light: #9B92EC;
    --violet-pale: #D4D0F4;
    --violet-wash: #EDEBFA;
    --violet-glow: rgba(91, 75, 219, 0.25);
    --indigo: var(--color-primary-dark);
    --fuchsia: #9B6FE8;
}

/* ── Shared section spacing ── */
.hp-section {
    position: relative;
    z-index: 1;
    padding: 64px 24px;
}
.hp-container {
    max-width: 1140px;
    margin: 0 auto;
}

/* ── Label pill ── */
.hp-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 500;
    color: var(--color-primary);
    background: rgba(91, 75, 219, 0.08);
    border: 1px solid rgba(91, 75, 219, 0.15);
    border-radius: 100px;
    letter-spacing: 0.02em;
    margin-bottom: 20px;
}
.hp-pill svg {
    width: 14px;
    height: 14px;
    stroke: var(--color-primary);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
}

/* ════════════════════════════════
   SECTION 1 — HERO
════════════════════════════════ */
.hero {
    position: relative;
    padding: 120px 24px 50px;
    text-align: center;
    background: #fff url('/img/mesh-bg.webp') center top / cover no-repeat;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.65);
    pointer-events: none;
    z-index: 0;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 120px;
    background: linear-gradient(to bottom, transparent, #fff);
    pointer-events: none;
}

/* Old mesh/orbs removed — using background image now */
.hero-mesh, .hero-orb { display: none; }

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 780px;
    margin: 0 auto;
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(48px, 6vw, 80px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: var(--color-text-primary);
    margin-bottom: 24px;
}
/* ── Gradient text utility ── */
.text-gradient {
    display: inline;
    background: linear-gradient(135deg, #5B4BDB, #7B6FE8, #9B92EC);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: var(--color-primary); /* fallback */
}

.hero-subtitle {
    font-size: 16px;
    font-weight: 400;
    color: var(--color-text-secondary);
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto 15px;
}

.hero-ctas {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    background: var(--color-primary);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(91, 75, 219, 0.25);
    transition: all 0.2s ease;
    text-decoration: none;
}
.btn-primary:hover {
    background: var(--color-primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 6px 28px rgba(91, 75, 219, 0.35);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    color: var(--color-primary);
    background: transparent;
    border: 1.5px solid rgba(91, 75, 219, 0.3);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}
.btn-outline:hover {
    border-color: var(--color-primary);
    background: rgba(91, 75, 219, 0.05);
}

.hero-reassurance {
    font-size: 0.82rem;
    color: var(--muted);
    font-weight: 400;
    letter-spacing: 0.01em;
}
.hero-reassurance span {
    margin: 0 8px;
    opacity: 0.4;
}

/* ════════════════════════════════
   SECTION 2 — VIDEO
════════════════════════════════ */
.video-section {
    padding: 0 24px 60px;
    background: #fff;
}
.video-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(108, 58, 237, 0.12), 0 4px 20px rgba(108, 58, 237, 0.08);
    position: relative;
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, var(--violet-deep), var(--violet-mid), var(--fuchsia));
}
.video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.video-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--violet-deep), var(--violet-mid), var(--fuchsia));
}
.video-placeholder-logo {
    font-family: var(--font-display);
    font-size: 2.4rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: -0.02em;
}
/* Média administrable (image ou vidéo) : couvre toute la box, le dégradé reste
   en fond le temps du chargement. */
.video-placeholder-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ════════════════════════════════
   SECTION 3 — LOGOS
════════════════════════════════ */
.logos-section {
    padding: 40px 24px 80px;
    background: #fff;
}

/* Integrations row */
.logos-integrations {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}
.logos-integrations img {
    height: 28px;
    width: auto;
    filter: grayscale(1);
    opacity: 0.45;
    transition: opacity 0.3s, filter 0.3s;
}
.logos-integrations img:hover {
    filter: grayscale(0);
    opacity: 1;
}
.logo-placeholder {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--muted);
    opacity: 0.5;
    filter: grayscale(1);
    transition: opacity 0.3s, filter 0.3s;
}
.logo-placeholder:hover {
    opacity: 1;
    filter: grayscale(0);
}
.logo-placeholder svg {
    width: 22px;
    height: 22px;
}

/* Trust carousel */
.trust-block {
    text-align: center;
}
.trust-label {
    font-size: 0.78rem;
    color: var(--muted);
    font-weight: 400;
    letter-spacing: 0.04em;
    margin-bottom: 20px;
}
.trust-carousel-wrap {
    position: relative;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 10%, #000 90%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, #000 10%, #000 90%, transparent 100%);
}
.trust-carousel {
    display: flex;
    gap: 60px;
    width: max-content;
    animation: trustScroll 30s linear infinite;
}
.trust-carousel img {
    height: 24px;
    width: auto;
    filter: grayscale(1);
    opacity: 0.4;
}
@keyframes trustScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ════════════════════════════════
   SECTION 5 — FONCTIONNALITES
════════════════════════════════ */
.features-section {
    padding: 64px 24px 44px;
    background: #fff;
}
.features-header {
    text-align: center;
    margin-bottom: 40px;
}
.features-header h2 {
    font-family: var(--font-display);
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--text);
    max-width: 780px;
    margin: 0 auto;
}

/* Feature row — split 50/50 */
.feat-row {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 56px;
    align-items: center;
}
.feat-row--reverse {
    grid-template-columns: 1.15fr 1fr;
}
.feat-row--reverse .feat-visual {
    order: -1;
}

/* Divider */
.feat-divider {
    height: 1px;
    background: linear-gradient(to right, transparent 5%, var(--color-border) 50%, transparent 95%);
    margin: 34px 0 28px;
}

/* Liste de bénéfices (colonne gauche) */
.feat-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.feat-list li {
    display: flex;
    gap: 14px;
    align-items: center;
}
.feat-list--benefits li > span:last-child {
    font-size: 1.02rem;
    font-weight: 600;
    line-height: 1.45;
    letter-spacing: -0.01em;
    color: var(--text);
}
.feat-benefit-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--violet-wash);
    border: 1px solid var(--color-border);
    flex-shrink: 0;
    transition: transform 0.3s, background 0.3s;
}
.feat-benefit-icon svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: var(--color-primary);
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.feat-list--benefits li:hover .feat-benefit-icon {
    transform: scale(1.06);
    background: var(--violet-pale);
}

/* Feature visual */
.feat-visual {
    position: relative;
}

/* ════════════════════════════════
   SLIDER AVANT / APRÈS
   Les 2 images doivent partager le même ratio (--ba-ratio).
════════════════════════════════ */
.ba-slider {
    --ba-pos: 50%;
    --ba-ratio: 1440 / 1024; /* ratio natif des captures de public/img/comparatif/ */
    position: relative;
    width: 100%;
    aspect-ratio: var(--ba-ratio);
    border-radius: 16px;
    overflow: hidden;
    background: var(--violet-wash);
    border: 1px solid var(--color-border);
    box-shadow:
        0 20px 60px rgba(108, 58, 237, 0.10),
        0 4px 20px rgba(108, 58, 237, 0.06);
    cursor: ew-resize;
    user-select: none;
    -webkit-user-select: none;
    -webkit-tap-highlight-color: transparent;
    touch-action: pan-y; /* le scroll vertical de la page reste prioritaire */
}
.ba-slider.is-dragging {
    cursor: grabbing;
}
.ba-slider:focus-within {
    outline: 2px solid var(--color-primary);
    outline-offset: 3px;
}

.ba-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
    -webkit-user-drag: none;
}

/* Couche "Avant" révélée par un clip horizontal */
.ba-before {
    position: absolute;
    inset: 0;
    clip-path: inset(0 calc(100% - var(--ba-pos)) 0 0);
    will-change: clip-path;
}

/* Étiquettes — en bas pour ne pas recouvrir l'en-tête des captures */
.ba-label {
    position: absolute;
    bottom: 14px;
    z-index: 3;
    padding: 6px 13px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 1;
    pointer-events: none;
    transition: opacity 0.25s;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.ba-label--before {
    left: 14px;
    color: var(--text);
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(15, 14, 26, 0.12);
    box-shadow: 0 4px 14px rgba(15, 14, 26, 0.12);
}
.ba-label--after {
    right: 14px;
    color: #fff;
    background: rgba(91, 75, 219, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 4px 14px rgba(91, 75, 219, 0.3);
}
/* Une étiquette s'efface quand son côté n'est plus visible */
.ba-slider.is-min .ba-label--before,
.ba-slider.is-max .ba-label--after {
    opacity: 0;
}

/* Poignée */
.ba-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: var(--ba-pos);
    width: 2px;
    margin-left: -1px;
    z-index: 3;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 0 0 1px rgba(91, 75, 219, 0.28), 0 0 18px rgba(91, 75, 219, 0.35);
    pointer-events: none;
}
.ba-grip {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid var(--violet-pale);
    box-shadow: 0 6px 20px rgba(91, 75, 219, 0.28);
    transition: transform 0.25s, box-shadow 0.25s;
}
.ba-grip svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: var(--color-primary);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.ba-slider:hover .ba-grip,
.ba-slider:focus-within .ba-grip {
    transform: translate(-50%, -50%) scale(1.08);
    box-shadow: 0 8px 26px rgba(91, 75, 219, 0.38);
}

/* Input range invisible : accessibilité clavier + lecteurs d'écran.
   Le drag souris/tactile est géré en pointer events dans home.js. */
.ba-range {
    position: absolute;
    inset: 0;
    z-index: 4;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    opacity: 0;
    background: transparent;
    border: 0;
    pointer-events: none;
    -webkit-appearance: none;
    appearance: none;
}
.ba-range:focus {
    outline: none;
}

/* ── Platforms block (full-width, compact) ── */
.feat-platforms-block {
    text-align: center;
}
.feat-platforms-block h3 {
    font-family: var(--font-display);
    font-size: clamp(20px, 2.5vw, 28px);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.01em;
    color: var(--text);
    margin-bottom: 10px;
}
.feat-platforms-sub {
    font-size: 0.95rem;
    color: var(--muted);
    line-height: 1.6;
    max-width: 480px;
    margin: 0 auto 24px;
}

.feat-platforms-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.plat-card {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 11px;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid var(--color-border);
    background: #fff;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    cursor: default;
}
.plat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(120, 130, 180, 0.12);
}

/* Porte-logo commun aux 4 plateformes.
   Les fichiers de public/img/plateformes/ sont déjà normalisés (détourés, même
   marge interne, même poids optique) : une seule taille suffit ici, inutile de
   régler chaque logo à la main. Fond neutre unique — les teintes par marque
   entraient en conflit avec les vrais logos (disque bleu PrestaShop sur rose). */
.plat-card-logo {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: rgba(91, 75, 219, 0.05);
    transition: transform 0.3s;
}
.plat-card-logo img {
    width: 30px;
    height: 30px;
    object-fit: contain;
    display: block;
}
.plat-card:hover .plat-card-logo {
    transform: scale(1.08);
}

/* Seule la bordure au survol reste aux couleurs de la marque */
.plat-card--shopify:hover {
    border-color: rgba(149, 191, 71, 0.45);
}
.plat-card--woo:hover {
    border-color: rgba(127, 84, 179, 0.35);
}
.plat-card--presta:hover {
    border-color: rgba(223, 0, 103, 0.3);
}
.plat-card--csv:hover {
    border-color: var(--violet-pale);
}

.plat-card strong {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text);
    line-height: 1.2;
}

/* ════════════════════════════════
   SECTION 6 — PRICING
════════════════════════════════ */
.pricing-section {
    padding: 64px 24px 104px 24px;
    background: var(--bg);
}
.pricing-header {
    text-align: center;
    margin-bottom: 36px;
}
.pricing-header h2 {
    font-family: var(--font-display);
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--text);
    margin-bottom: 12px;
}
.pricing-header p {
    font-size: 1rem;
    color: var(--muted);
    font-weight: 400;
    max-width: 480px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Toggle */
.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 36px;
}
.pricing-toggle-label {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--muted);
    cursor: pointer;
    transition: color 0.2s;
}
.pricing-toggle-label.active {
    color: var(--text);
}
.pricing-toggle-switch {
    position: relative;
    width: 52px;
    height: 28px;
    background: var(--violet-pale);
    border-radius: 50px;
    cursor: pointer;
    transition: background 0.3s;
    border: none;
    padding: 0;
}
.pricing-toggle-switch::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 22px;
    height: 22px;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}
.pricing-toggle-switch.annual::after {
    transform: translateX(24px);
}
.pricing-toggle-switch.annual {
    background: var(--violet-deep);
}
.pricing-badge-annual {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--violet-deep);
    background: var(--violet-wash);
    padding: 3px 10px;
    border-radius: 50px;
    border: 1px solid var(--violet-pale);
}

/* Cards */
.pricing-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1060px;
    margin: 0 auto;
}

.pricing-card {
    position: relative;
    padding: 36px 32px;
    border-radius: 20px;
    border: 1px solid var(--color-border);
    background: #fff;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}
.pricing-card > a {
    margin-top: auto;
}
.pricing-card:hover {
    transform: translateY(-4px);
}

/* Popular card */
.pricing-card--popular {
    background: linear-gradient(165deg, var(--violet-wash), #fff 40%);
    border-color: var(--violet-pale);
    box-shadow: 0 12px 40px rgba(108, 58, 237, 0.12);
    transform: scale(1.02);
    z-index: 1;
}
.pricing-card--popular:hover {
    transform: scale(1.02) translateY(-4px);
    box-shadow: 0 16px 50px rgba(108, 58, 237, 0.18);
}
.pricing-popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 16px;
    font-size: 0.74rem;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, var(--violet-deep), var(--violet-mid));
    border-radius: 50px;
    box-shadow: 0 4px 12px var(--violet-glow);
    white-space: nowrap;
}

/* Enterprise card */
.pricing-card--enterprise {
    background: var(--text);
    border-color: rgba(255, 255, 255, 0.08);
    color: #fff;
}
.pricing-card--enterprise .pricing-card-name,
.pricing-card--enterprise .pricing-card-price,
.pricing-card--enterprise .pricing-card-desc,
.pricing-card--enterprise .pricing-card-feature {
    color: rgba(255, 255, 255, 0.9);
}
.pricing-card--enterprise .pricing-card-desc {
    color: rgba(255, 255, 255, 0.55);
}
.pricing-card--enterprise .pricing-card-feature::before {
    color: var(--violet-light);
}

.pricing-card-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 6px;
}
.pricing-card-price {
    font-family: var(--font-display);
    font-size: 3.4rem;
    font-weight: 800;
    color: var(--color-text-primary);
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 4px;
}
.pricing-card-price span {
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--muted);
}
.pricing-card--enterprise .pricing-card-price span {
    color: rgba(255, 255, 255, 0.5);
}
.pricing-card-credits {
    font-size: 0.82rem;
    color: var(--muted);
    margin-bottom: 6px;
}
.pricing-card--enterprise .pricing-card-credits {
    color: rgba(255, 255, 255, 0.5);
}
.pricing-card-desc {
    font-size: 0.82rem;
    color: var(--muted);
    margin-bottom: 24px;
    line-height: 1.5;
}

.pricing-card-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 28px;
    padding-bottom: 4px;
}
.pricing-card-feature {
    font-size: 0.85rem;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 10px;
}
.pricing-card-feature::before {
    content: '✓';
    font-weight: 700;
    color: var(--violet-mid);
    font-size: 0.8rem;
}

.pricing-card .btn-primary {
    width: 100%;
    justify-content: center;
}
.pricing-card .btn-outline {
    width: 100%;
    justify-content: center;
}

.btn-white-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 28px;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    background: transparent;
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}
.btn-white-outline:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.4);
}

/* Price animation */
.pricing-card-price .price-value {
    display: inline-block;
    font-size: inherit; font-weight: inherit; color: inherit;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.2s;
}
.pricing-card-price .price-value.switching {
    transform: translateY(-8px);
    opacity: 0;
}

/* ════════════════════════════════
   SECTION 7 — BANDEAU RÉASSURANCE
   Bandeau compact posé juste après les tarifs : réduit le risque perçu sans
   couper l'élan vers la FAQ. Volontairement peu haut, sans titre ni CTA.
════════════════════════════════ */
.trust-section {
    /* Prolonge le fond des tarifs : le bandeau se lit comme la suite du bloc
       prix, pas comme une nouvelle section. Pas de padding haut, celui de
       .pr-plans suffit. */
    padding: 0 24px 64px;
    background: var(--bg);
}

.trust-band {
    display: grid;
    /* --trust-cols est posé par le Twig : 3 colonnes si aucune formule n'a d'essai */
    grid-template-columns: repeat(var(--trust-cols, 4), 1fr);
    padding: 20px 6px;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 16px;
    box-shadow: 0 2px 10px rgba(91, 75, 219, 0.04);
}

.trust-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 4px 20px;
}
/* Séparateurs fins entre colonnes — desktop uniquement */
.trust-item + .trust-item {
    border-left: 1px solid var(--color-border);
}

.trust-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: var(--violet-wash);
    flex-shrink: 0;
}
.trust-icon svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: var(--color-primary);
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.trust-item strong {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--text);
    margin-bottom: 3px;
}
.trust-item p {
    font-size: 0.78rem;
    line-height: 1.45;
    color: var(--muted);
}

/* ════════════════════════════════
   SECTION 8 — FAQ
════════════════════════════════ */
.faq-section {
    padding: 64px 24px;
    background: #fff;
}
.faq-header {
    text-align: center;
    margin-bottom: 36px;
}
.faq-header h2 {
    font-family: var(--font-display);
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--text);
    max-width: 600px;
    margin: 0 auto;
}

.faq-list {
    max-width: 750px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.faq-item {
    border: 1px solid var(--color-border);
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    transition: border-color 0.3s, box-shadow 0.3s;
}
.faq-item.open {
    border-color: var(--violet-pale);
    box-shadow: 0 4px 16px rgba(108, 58, 237, 0.06);
}
.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 20px 24px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text);
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: color 0.2s;
}
.faq-question:hover {
    color: var(--violet-deep);
}
.faq-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--muted);
    transition: transform 0.3s, color 0.3s;
    flex-shrink: 0;
}
.faq-item.open .faq-icon {
    transform: rotate(45deg);
    color: var(--violet-deep);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
}
.faq-answer-inner {
    padding: 0 24px 20px;
    font-size: 0.88rem;
    color: var(--muted);
    line-height: 1.7;
}

/* ════════════════════════════════
   SECTION 9 — CTA FINAL
════════════════════════════════ */
.cta-section {
    position: relative;
    padding: 80px 24px;
    text-align: center;
    overflow: hidden;
    background: url('/img/mesh-bg.webp') center center / cover no-repeat;
}
/* Old CTA orbs removed — using background image */
.cta-orb { display: none; }

.cta-content {
    position: relative;
    z-index: 1;
    /* Élargi + typo réduite : le titre de clôture est passé de 34 à 63 caractères,
       il partait en 4 lignes à l'ancienne échelle. */
    max-width: 760px;
    margin: 0 auto;
}
.cta-section h2 {
    font-family: var(--font-display);
    font-size: clamp(30px, 4.2vw, 54px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: var(--color-text-primary);
    margin-bottom: 18px;
}
.cta-section .cta-subtitle {
    font-size: 1.05rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin-bottom: 36px;
    font-weight: 400;
}
.cta-section .hero-ctas {
    margin-bottom: 20px;
}

/* CTA buttons — dark text on light mesh bg */
.cta-section .btn-primary {
    background: var(--color-text-primary);
    color: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}
.cta-section .btn-primary:hover {
    background: #000;
    box-shadow: 0 6px 28px rgba(0, 0, 0, 0.18);
}
.cta-section .btn-outline {
    color: var(--color-text-primary);
    border-color: rgba(0, 0, 0, 0.15);
}
.cta-section .btn-outline:hover {
    border-color: var(--color-text-primary);
    background: rgba(0, 0, 0, 0.03);
}

.cta-reassurance {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 4px 10px;
    font-size: 0.82rem;
    color: var(--color-text-secondary);
    font-weight: 400;
}
/* Séparateur généré : disparaît tout seul en fin de ligne et en mode empilé */
.cta-reassurance span:not(:last-child)::after {
    content: '·';
    margin-left: 10px;
    opacity: 0.4;
}

/* ════════════════════════════════
   RESPONSIVE
════════════════════════════════ */
@media (max-width: 1024px) {
    .pricing-cards {
        grid-template-columns: 1fr;
        max-width: 420px;
    }
    .pricing-card--popular {
        transform: none;
    }
    .pricing-card--popular:hover {
        transform: translateY(-4px);
    }
}

@media (max-width: 900px) {
    .feat-row {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .feat-visual {
        order: -1;
    }
    .feat-platforms-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Bandeau réassurance : 2×2, séparateurs retirés */
    .trust-band {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px 0;
        padding: 22px 10px;
    }
    .trust-item + .trust-item {
        border-left: 0;
    }
    .trust-item {
        padding: 0 12px;
    }
}

@media (max-width: 768px) {
    .feat-list--benefits li > span:last-child {
        font-size: 0.96rem;
    }
    .feat-benefit-icon {
        width: 36px;
        height: 36px;
        border-radius: 11px;
    }
    .feat-benefit-icon svg {
        width: 18px;
        height: 18px;
    }
    .ba-label {
        /* bottom, pas top : la règle de base positionne par le bas. Fixer `top`
           ici donnerait top + bottom sur un élément absolu = étirement vertical. */
        bottom: 10px;
        padding: 5px 11px;
        font-size: 11px;
    }
    .ba-label--before { left: 10px; }
    .ba-label--after  { right: 10px; }
    .ba-grip {
        width: 46px;
        height: 46px;
    }
    /* Pas de :hover fiable au tactile → poignée toujours bien visible */
    .ba-slider:hover .ba-grip {
        transform: translate(-50%, -50%);
        box-shadow: 0 6px 20px rgba(91, 75, 219, 0.28);
    }

    .hero {
        padding: 100px 20px 36px;
    }
    .hero h1 {
        font-size: 2.8rem;
    }
    .hero-subtitle {
        font-size: 1rem;
    }

    .features-header h2,
    .pricing-header h2,
    .faq-header h2 {
        font-size: 2.1rem;
    }

    .hp-section {
        padding: 40px 20px;
    }
    .trust-section {
        padding: 0 20px 40px;
    }

    .logos-integrations {
        gap: 28px;
    }

    .cta-section h2 {
        font-size: 2.15rem;
    }

    /* Microcopie empilée : à 3 items elle cassait en plein milieu d'une garantie */
    .cta-reassurance {
        flex-direction: column;
        gap: 6px;
    }
    .cta-reassurance span:not(:last-child)::after {
        content: none;
    }

    .hero-ctas {
        flex-direction: column;
        align-items: stretch;
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
    }
    .btn-primary,
    .btn-outline,
    .btn-white,
    .btn-outline-white {
        justify-content: center;
    }
}

@media (max-width: 560px) {
    /* Bandeau réassurance : empilement simple */
    .trust-band {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 20px 18px;
        border-radius: 14px;
    }
    .trust-item {
        padding: 0;
    }

    /* Cartes plateformes : passage en pile pour rester lisibles sans grandir */
    .plat-card {
        flex-direction: column;
        gap: 8px;
        padding: 14px 10px;
    }
    .plat-card strong {
        font-size: 0.82rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.2rem;
    }
    .cta-section h2 {
        font-size: 1.8rem;
    }
    .pricing-card {
        padding: 28px 24px;
    }
    .ba-slider {
        border-radius: 14px;
    }
    .ba-grip {
        width: 42px;
        height: 42px;
    }
    .ba-grip svg {
        width: 20px;
        height: 20px;
    }
}

