/* ============================================================
   SEOLYTIX — HERO THEME  |  themes/altum/assets/css/hero-theme.css
   Style système pour wrapper_hero (landing, seo, top-websites…)
   ============================================================ */

/* ── CUSTOM PROPERTIES ───────────────────────────────────── */
:root {
    --hx-bg:          #ffffff;
    --hx-bg-alt:      #f8fafc;
    --hx-bg-card:     #ffffff;
    --hx-border:      #e2e8f0;
    --hx-border-h:    rgba(35,127,255,.4);
    --hx-primary:     #237FFF;
    --hx-primary-h:   #1a6fe0;
    --hx-purple:      #6c5ce7;
    --hx-glow:        rgba(35,127,255,.18);
    --hx-glow-purple: rgba(108,92,231,.18);
    --hx-accent:      #6c5ce7;
    --hx-text:        #0f172a;
    --hx-muted:       #64748b;
    --hx-dim:         #94a3b8;
    --hx-success:     #10b981;
    --hx-grad:        linear-gradient(135deg,#237FFF 0%,#6c5ce7 100%);
    --hx-grad-text:   linear-gradient(135deg,#237FFF 0%,#6c5ce7 100%);
    --hx-grad-soft:   linear-gradient(135deg,#eff6ff 0%,#f3f0ff 100%);
}

/* ── BASE ────────────────────────────────────────────────── */
*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.hero-body {
    background: var(--hx-bg);
    color: var(--hx-text);
    font-family: 'Outfit','Inter',-apple-system,BlinkMacSystemFont,sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    /* sticky footer */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
body.hero-body > main  { flex: 1 0 auto; }
body.hero-body > footer,
body.hero-body > .hx-footer { flex-shrink: 0; }

/* ── FOOTER ──────────────────────────────────────────────── */
.hx-footer {
    background: linear-gradient(160deg, #0f172a 0%, #1e1b4b 100%);
    border-top: 1px solid rgba(255,255,255,.06);
    padding: 72px 0 0;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}


/* ── NAVBAR ──────────────────────────────────────────────── */
.hx-navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1050;
    padding: 16px 0;
    background: transparent;
    transition: all .35s cubic-bezier(.4,0,.2,1);
}
.hx-navbar.hx-scrolled {
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--hx-border);
    padding: 10px 0;
    box-shadow: 0 1px 20px rgba(0,0,0,.05);
}
.hx-navbar .nav-link {
    color: #334155 !important;
    font-weight: 600;
    font-size: .88rem;
    padding: 7px 13px !important;
    border-radius: 8px;
    transition: all .2s;
}
.hx-navbar .nav-link:hover {
    color: var(--hx-primary) !important;
    background: rgba(35,127,255,.06);
}
.hx-btn-nav-login {
    padding: 8px 18px;
    background: transparent;
    border: 1.5px solid rgba(35,127,255,.3);
    border-radius: 50px;
    color: var(--hx-primary);
    font-weight: 600;
    font-size: .85rem;
    text-decoration: none;
    transition: all .25s;
    white-space: nowrap;
}
.hx-btn-nav-login:hover {
    background: rgba(35,127,255,.08);
    border-color: var(--hx-primary);
    color: var(--hx-primary);
}
.hx-btn-nav-reg {
    padding: 8px 20px;
    background: var(--hx-grad);
    border: none;
    border-radius: 50px;
    color: #fff;
    font-weight: 700;
    font-size: .85rem;
    text-decoration: none;
    transition: all .25s;
    box-shadow: 0 4px 20px var(--hx-glow);
    white-space: nowrap;
}
.hx-btn-nav-reg:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 32px rgba(35,127,255,.35);
    color: #fff;
}
.hx-nav-toggler {
    background: rgba(35,127,255,.08);
    border: 1.5px solid rgba(35,127,255,.2);
    border-radius: 8px;
    padding: 7px 11px;
    color: var(--hx-primary);
    cursor: pointer;
    line-height: 1;
    transition: all .2s;
}
.hx-nav-toggler:hover { background: rgba(35,127,255,.14); }
.hx-mobile-menu {
    background: rgba(255,255,255,.98);
    border: 1px solid var(--hx-border);
    border-radius: 16px;
    padding: 16px;
    margin-top: 10px;
    box-shadow: 0 10px 40px rgba(0,0,0,.08);
}
@media (min-width:992px) {
    .hx-mobile-menu { background: none; border: none; padding: 0; margin-top: 0; box-shadow: none; }
}

/* ── HERO ────────────────────────────────────────────────── */
.hx-hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 130px 0 90px;
    position: relative;
    overflow: hidden;
    background: #fff;
}
.hx-hero-grid {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(35,127,255,.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(35,127,255,.05) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 40%, #000 30%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 40%, #000 30%, transparent 100%);
    pointer-events: none;
}
.hx-glow { position: absolute; border-radius: 50%; pointer-events: none; }
.hx-glow-1 {
    width: 700px; height: 700px;
    background: radial-gradient(circle, rgba(35,127,255,.12) 0%, transparent 70%);
    top: -10%; left: -10%;
    animation: hx-float 10s ease-in-out infinite;
}
.hx-glow-2 {
    width: 550px; height: 550px;
    background: radial-gradient(circle, rgba(108,92,231,.1) 0%, transparent 70%);
    bottom: -5%; right: -8%;
    animation: hx-float 12s ease-in-out infinite reverse;
}

/* ── HERO TYPOGRAPHY ─────────────────────────────────────── */
.hx-intro-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 16px;
    background: rgba(35,127,255,.08);
    border: 1px solid rgba(35,127,255,.2);
    border-radius: 50px;
    color: var(--hx-primary);
    font-size: .8rem; font-weight: 700;
    letter-spacing: .02em;
}
.hx-badge-dot {
    width: 6px; height: 6px;
    background: var(--hx-primary);
    border-radius: 50%;
    animation: hx-pulse 2s ease-in-out infinite;
}
.hx-hero-title {
    font-size: clamp(2.5rem, 5.5vw, 4.6rem);
    font-weight: 900; line-height: 1.06; letter-spacing: -.03em;
    color: #0f172a;
}
.hx-hero-title .hx-gradient-word {
    background: var(--hx-grad-text);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hx-hero-sub {
    font-size: 1.12rem; color: var(--hx-muted);
    max-width: 560px; line-height: 1.75;
}
.hx-hero-sub strong { color: var(--hx-text); }

/* ── BUTTONS ─────────────────────────────────────────────── */
.hx-btn-primary {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 14px 34px;
    background: var(--hx-grad); border: none; border-radius: 50px;
    color: #fff; font-weight: 700; font-size: .95rem; text-decoration: none;
    transition: all .3s cubic-bezier(.4,0,.2,1);
    box-shadow: 0 4px 30px var(--hx-glow);
    letter-spacing: -.01em;
}
.hx-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 50px rgba(35,127,255,.4);
    color: #fff;
}
.hx-btn-ghost {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 14px 34px;
    background: #fff; border: 1.5px solid var(--hx-border); border-radius: 50px;
    color: var(--hx-text); font-weight: 600; font-size: .95rem; text-decoration: none;
    transition: all .3s; letter-spacing: -.01em;
    box-shadow: 0 2px 10px rgba(0,0,0,.05);
}
.hx-btn-ghost:hover {
    background: var(--hx-bg-alt);
    border-color: rgba(35,127,255,.35);
    color: var(--hx-primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0,0,0,.08);
}

/* ── CTA BUTTONS (fond sombre) ───────────────────────────── */
.hx-cta-btn-primary {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 15px 34px;
    background: linear-gradient(135deg, #237FFF, #6c5ce7);
    border: none; border-radius: 50px;
    color: #fff; font-weight: 800; font-size: .96rem; text-decoration: none;
    box-shadow: 0 8px 32px rgba(35,127,255,.4);
    transition: all .3s cubic-bezier(.4,0,.2,1);
    letter-spacing: -.01em;
}
.hx-cta-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 48px rgba(35,127,255,.55);
    color: #fff;
}
.hx-cta-btn-ghost {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 15px 28px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 50px;
    color: #fff; font-weight: 600; font-size: .96rem; text-decoration: none;
    transition: all .3s;
    letter-spacing: -.01em;
}
.hx-cta-btn-ghost:hover {
    background: rgba(255,255,255,.16);
    border-color: rgba(255,255,255,.3);
    color: #fff;
    transform: translateY(-3px);
}


/* ── PILLS ───────────────────────────────────────────────── */
.hx-pill {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 7px 15px;
    background: #fff; border: 1.5px solid var(--hx-border); border-radius: 50px;
    color: var(--hx-muted); font-size: .82rem; font-weight: 500;
    box-shadow: 0 1px 6px rgba(0,0,0,.04);
}
.hx-pill .text-success { color: var(--hx-success) !important; }

/* ── SECTIONS ────────────────────────────────────────────── */
.hx-section    { padding: 80px 0; }
.hx-section-sm { padding: 56px 0; }
.hx-section-alt { background: var(--hx-bg-alt); }
.hx-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--hx-border) 30%, var(--hx-border) 70%, transparent);
}
.hx-section-label {
    display: inline-block; color: var(--hx-primary);
    font-size: .75rem; font-weight: 700; letter-spacing: .12em;
    text-transform: uppercase; margin-bottom: 12px;
}
.hx-section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 800; color: #0f172a;
    line-height: 1.15; letter-spacing: -.02em;
}
.hx-section-sub {
    color: var(--hx-muted); font-size: 1.05rem;
    line-height: 1.75; max-width: 540px;
}
.text-gradient {
    background: var(--hx-grad);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── STAT CARDS ──────────────────────────────────────────── */
.hx-stat-card {
    background: #fff; border: 1.5px solid var(--hx-border); border-radius: 20px;
    padding: 36px 24px; text-align: center; transition: all .3s;
    box-shadow: 0 2px 16px rgba(0,0,0,.04);
}
.hx-stat-card:hover {
    border-color: rgba(35,127,255,.35);
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(35,127,255,.1);
}
.hx-stat-number {
    font-size: 3rem; font-weight: 900;
    background: var(--hx-grad);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text; line-height: 1; letter-spacing: -.03em;
}
.hx-stat-label { color: var(--hx-muted); font-size: .9rem; font-weight: 500; margin-top: 8px; }

/* ── STEP CARDS ──────────────────────────────────────────── */
.hx-step-card {
    background: #fff; border: 1.5px solid var(--hx-border); border-radius: 20px;
    padding: 32px 28px; height: 100%; transition: all .3s;
    position: relative; overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,.04);
}
.hx-step-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: var(--hx-grad); opacity: 0; transition: opacity .3s;
}
.hx-step-card:hover { border-color: rgba(35,127,255,.3); transform: translateY(-4px); box-shadow: 0 16px 40px rgba(35,127,255,.1); }
.hx-step-card:hover::before { opacity: 1; }
.hx-step-num {
    width: 52px; height: 52px; background: var(--hx-grad); border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-weight: 900; font-size: 1.2rem; color: #fff; margin-bottom: 20px;
    box-shadow: 0 6px 20px var(--hx-glow);
}
.hx-step-title { color: #0f172a; font-weight: 700; font-size: 1rem; margin-bottom: 8px; }
.hx-step-text  { color: var(--hx-muted); font-size: .9rem; line-height: 1.7; }

/* ── FEATURE SECTIONS ────────────────────────────────────── */
.hx-feature-section {
    background: #fff; border: 1.5px solid var(--hx-border); border-radius: 24px;
    padding: 48px; margin-bottom: 24px; transition: all .3s;
    box-shadow: 0 2px 16px rgba(0,0,0,.04);
}
.hx-feature-section:hover { border-color: rgba(35,127,255,.3); box-shadow: 0 10px 40px rgba(35,127,255,.08); }
.hx-feature-icon {
    width: 52px; height: 52px;
    background: rgba(35,127,255,.1); border: 1.5px solid rgba(35,127,255,.2); border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    color: var(--hx-primary); font-size: 1.2rem; transition: all .3s;
}
.hx-feature-section:hover .hx-feature-icon { background: rgba(35,127,255,.18); }
.hx-feature-label { color: var(--hx-primary); font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 10px; }
.hx-feature-title { color: #0f172a; font-weight: 800; font-size: 1.6rem; line-height: 1.2; letter-spacing: -.02em; margin-bottom: 12px; }
.hx-feature-text  { color: var(--hx-muted); line-height: 1.7; margin-bottom: 20px; }
.hx-feature-check { display: flex; align-items: center; gap: 10px; color: var(--hx-muted); font-size: .9rem; margin-bottom: 10px; }
.hx-feature-check i { color: var(--hx-primary); }

/* ── MINI CARDS ──────────────────────────────────────────── */
.hx-mini-card {
    background: #fff; border: 1.5px solid var(--hx-border); border-radius: 18px;
    padding: 28px; height: 100%; transition: all .3s;
    box-shadow: 0 2px 10px rgba(0,0,0,.04);
}
.hx-mini-card:hover { border-color: rgba(35,127,255,.3); transform: translateY(-4px); box-shadow: 0 12px 36px rgba(35,127,255,.1); }
.hx-mini-card-title { color: #0f172a; font-weight: 700; font-size: 1rem; margin-bottom: 8px; }
.hx-mini-card-text  { color: var(--hx-muted); font-size: .88rem; line-height: 1.65; }

/* ── TOOL CARDS ──────────────────────────────────────────── */
.hx-tool-card {
    background: #fff; border: 1.5px solid var(--hx-border); border-radius: 14px;
    padding: 18px 20px; display: flex; align-items: center; gap: 14px;
    transition: all .25s; text-decoration: none;
    box-shadow: 0 1px 8px rgba(0,0,0,.04);
}
.hx-tool-card:hover { border-color: rgba(35,127,255,.3); background: rgba(35,127,255,.04); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(35,127,255,.1); }
.hx-tool-icon {
    width: 44px; height: 44px; background: rgba(35,127,255,.1); border-radius: 11px;
    display: flex; align-items: center; justify-content: center;
    color: var(--hx-primary); flex-shrink: 0; transition: all .25s;
}
.hx-tool-card:hover .hx-tool-icon { background: rgba(35,127,255,.18); }
.hx-tool-name { color: #0f172a; font-weight: 600; font-size: .9rem; }
.hx-tool-desc { color: var(--hx-dim); font-size: .8rem; line-height: 1.4; margin: 0; }

/* ── HANDLER CARDS ───────────────────────────────────────── */
.hx-handler-card {
    background: #fff; border: 1.5px solid var(--hx-border); border-radius: 18px;
    padding: 28px 16px; text-align: center; transition: all .3s;
    position: relative; overflow: hidden;
    box-shadow: 0 1px 8px rgba(0,0,0,.04);
}
.hx-handler-card:hover { border-color: rgba(35,127,255,.25); transform: translateY(-4px); box-shadow: 0 12px 36px rgba(0,0,0,.08); }
.hx-handler-icon { font-size: 1.9rem; margin-bottom: 10px; }
.hx-handler-name { color: #334155; font-weight: 600; font-size: .84rem; }

/* ── MARQUEE ─────────────────────────────────────────────── */
.hx-marquee-row    { overflow: hidden; padding: 5px 0; }
.hx-marquee-track  { display: flex; width: max-content; }
.hx-marquee-row:nth-child(odd)  .hx-marquee-track { animation: hx-scroll-l 40s linear infinite; }
.hx-marquee-row:nth-child(even) .hx-marquee-track { animation: hx-scroll-r 40s linear infinite; }
.hx-marquee-item {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 9px 18px;
    background: #fff; border: 1.5px solid var(--hx-border); border-radius: 50px;
    margin: 4px 6px; white-space: nowrap; color: var(--hx-muted);
    font-size: .84rem; font-weight: 500;
    box-shadow: 0 1px 6px rgba(0,0,0,.04);
}

/* ── STATS BANNER ────────────────────────────────────────── */
.hx-stats-banner {
    background: linear-gradient(135deg, rgba(35,127,255,.06), rgba(108,92,231,.06));
    border: 1.5px solid rgba(35,127,255,.2); border-radius: 24px; padding: 48px;
    text-align: center;
}
.hx-stats-banner-text { font-size: clamp(1.4rem,2.8vw,2rem); font-weight: 700; color: #0f172a; line-height: 1.6; }
.hx-highlight { background: var(--hx-grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; font-weight: 900; }

/* ── TESTIMONIALS ────────────────────────────────────────── */
.hx-testimonial {
    background: #fff; border: 1.5px solid var(--hx-border); border-radius: 20px;
    padding: 32px; height: 100%; transition: all .3s;
    box-shadow: 0 2px 12px rgba(0,0,0,.04);
}
.hx-testimonial:hover { border-color: rgba(35,127,255,.3); transform: translateY(-4px); box-shadow: 0 12px 40px rgba(35,127,255,.1); }
.hx-testimonial-avatar { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; border: 2.5px solid rgba(35,127,255,.3); }
.hx-stars { color: #f59e0b; letter-spacing: 2px; font-size: .85rem; }
.hx-testimonial-text { color: #475569; font-size: .95rem; line-height: 1.75; font-style: italic; }
.hx-testimonial-name { color: #0f172a; font-weight: 700; font-size: .9rem; }
.hx-testimonial-role { color: var(--hx-dim); font-size: .8rem; }

/* ── FAQ ─────────────────────────────────────────────────── */
.hx-faq-item {
    border: 1.5px solid var(--hx-border); border-radius: 14px;
    margin-bottom: 10px; overflow: hidden; transition: border-color .2s;
    background: #fff;
}
.hx-faq-item.active { border-color: rgba(35,127,255,.35); }
.hx-faq-btn {
    width: 100%; background: transparent; border: none;
    padding: 22px 28px; color: #0f172a; font-weight: 600; font-size: .95rem;
    text-align: left; display: flex; justify-content: space-between; align-items: center;
    cursor: pointer; transition: background .2s; gap: 16px;
}
.hx-faq-btn:hover { background: rgba(35,127,255,.04); }
.hx-faq-icon { color: var(--hx-primary); transition: transform .3s; flex-shrink: 0; }
.hx-faq-item.active .hx-faq-icon { transform: rotate(180deg); }
.hx-faq-answer { padding: 0 28px 22px; color: var(--hx-muted); line-height: 1.75; font-size: .95rem; }

/* ── CTA ─────────────────────────────────────────────────── */
.hx-cta-section {
    background: var(--hx-grad);
    border-radius: 28px;
    padding: 72px 40px; text-align: center;
    position: relative; overflow: hidden;
}
.hx-cta-section::before {
    content: ''; position: absolute; top: -80px; left: 50%; transform: translateX(-50%);
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,.15) 0%, transparent 70%);
    pointer-events: none;
}
.hx-cta-title { font-size: clamp(1.8rem,4vw,3rem); font-weight: 900; color: #fff; letter-spacing: -.03em; margin-bottom: 16px; }
.hx-cta-sub { color: rgba(255,255,255,.82); font-size: 1.1rem; margin-bottom: 36px; max-width: 460px; margin-left: auto; margin-right: auto; }
.hx-cta-section .hx-btn-primary { background: #fff; color: var(--hx-primary); box-shadow: 0 4px 24px rgba(0,0,0,.12); }
.hx-cta-section .hx-btn-primary:hover { background: #f0f7ff; color: var(--hx-primary); box-shadow: 0 8px 40px rgba(0,0,0,.2); transform: translateY(-3px); }

/* ── BLOG CARDS ──────────────────────────────────────────── */
.hx-blog-card {
    background: #fff; border: 1.5px solid var(--hx-border); border-radius: 18px;
    overflow: hidden; height: 100%; transition: all .3s;
    box-shadow: 0 2px 12px rgba(0,0,0,.04);
}
.hx-blog-card:hover { border-color: rgba(35,127,255,.3); transform: translateY(-4px); box-shadow: 0 12px 36px rgba(35,127,255,.1); }
.hx-blog-img   { width: 100%; height: 180px; object-fit: cover; }
.hx-blog-body  { padding: 24px; }
.hx-blog-title { color: #0f172a; font-weight: 700; font-size: 1rem; line-height: 1.4; text-decoration: none; display: block; }
.hx-blog-title:hover { color: var(--hx-primary); }
.hx-blog-excerpt { color: var(--hx-muted); font-size: .88rem; line-height: 1.65; }

/* ── MISC ────────────────────────────────────────────────── */
.hx-chrome-card {
    background: linear-gradient(135deg,rgba(35,127,255,.06),rgba(108,92,231,.06));
    border: 1.5px solid rgba(35,127,255,.2); border-radius: 24px;
    padding: 56px 40px; text-align: center;
}
.hx-hero-frame {
    background: #fff; border: 1.5px solid var(--hx-border);
    border-radius: 20px; padding: 8px;
    box-shadow: 0 30px 80px rgba(0,0,0,.1), 0 0 0 1px rgba(35,127,255,.1);
}
.hx-domain-badge {
    width: 44px; height: 44px;
    background: #fff; border: 1.5px solid var(--hx-border); border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    transition: all .2s;
    box-shadow: 0 1px 6px rgba(0,0,0,.06);
}
.hx-domain-badge:hover { border-color: var(--hx-primary); box-shadow: 0 4px 16px rgba(35,127,255,.15); }

/* ── DROPDOWN ────────────────────────────────────────────── */
.hx-dropdown-menu {
    background: #fff; border: 1.5px solid var(--hx-border); border-radius: 14px;
    box-shadow: 0 16px 48px rgba(0,0,0,.1); padding: 8px; min-width: 200px;
}
.hx-dropdown-item {
    color: var(--hx-muted); padding: 10px 14px; border-radius: 8px;
    display: flex; align-items: center; gap: 10px; font-size: .88rem; font-weight: 500;
    text-decoration: none; transition: all .18s;
}
.hx-dropdown-item:hover { background: rgba(35,127,255,.06); color: var(--hx-primary); }
.hx-dropdown-item i { width: 16px; text-align: center; color: var(--hx-primary); }

/* ── ALERTS ──────────────────────────────────────────────── */
.alert         { background: #f8fafc; border: 1px solid var(--hx-border); color: #334155; border-radius: 12px; }
.alert-success { background: rgba(16,185,129,.06); border-color: rgba(16,185,129,.3); color: #065f46; }
.alert-danger  { background: rgba(239,68,68,.06);  border-color: rgba(239,68,68,.3);  color: #991b1b; }
.alert-warning { background: rgba(245,158,11,.06); border-color: rgba(245,158,11,.3); color: #92400e; }

/* ── FEATURE GRID CARDS ──────────────────────────────────── */
.hx-feature-grid-card {
    border-radius: 20px; padding: 28px; height: 100%;
    transition: all .28s ease; position: relative; overflow: hidden;
}
.hx-feature-grid-card:hover { transform: translateY(-4px); }
.hx-feature-grid-icon {
    width: 56px; height: 56px; border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 16px; font-size: 1.35rem;
}
.hx-feature-grid-title { font-weight: 700; font-size: 1rem; margin-bottom: 8px; }
.hx-feature-grid-text  { font-size: .88rem; line-height: 1.65; opacity: .8; }

/* Variants colorées */
.hx-card-blue   { background: linear-gradient(135deg,#eff6ff,#dbeafe); border: 1.5px solid #bfdbfe; }
.hx-card-purple { background: linear-gradient(135deg,#f5f3ff,#ede9fe); border: 1.5px solid #ddd6fe; }
.hx-card-green  { background: linear-gradient(135deg,#f0fdf4,#dcfce7); border: 1.5px solid #bbf7d0; }
.hx-card-amber  { background: linear-gradient(135deg,#fffbeb,#fef3c7); border: 1.5px solid #fde68a; }
.hx-card-pink   { background: linear-gradient(135deg,#fdf2f8,#fce7f3); border: 1.5px solid #fbcfe8; }
.hx-card-cyan   { background: linear-gradient(135deg,#ecfeff,#cffafe); border: 1.5px solid #a5f3fc; }
.hx-card-blue   .hx-feature-grid-icon, .hx-card-blue   .hx-feature-grid-icon { background: rgba(255,255,255,.7); color: #1d4ed8; }
.hx-card-purple .hx-feature-grid-icon { background: rgba(255,255,255,.7); color: #6c5ce7; }
.hx-card-green  .hx-feature-grid-icon { background: rgba(255,255,255,.7); color: #16a34a; }
.hx-card-amber  .hx-feature-grid-icon { background: rgba(255,255,255,.7); color: #d97706; }
.hx-card-pink   .hx-feature-grid-icon { background: rgba(255,255,255,.7); color: #db2777; }
.hx-card-cyan   .hx-feature-grid-icon { background: rgba(255,255,255,.7); color: #0891b2; }
.hx-card-blue   .hx-feature-grid-title { color: #1e3a8a; }
.hx-card-purple .hx-feature-grid-title { color: #4c1d95; }
.hx-card-green  .hx-feature-grid-title { color: #14532d; }
.hx-card-amber  .hx-feature-grid-title { color: #78350f; }
.hx-card-pink   .hx-feature-grid-title { color: #831843; }
.hx-card-cyan   .hx-feature-grid-title { color: #164e63; }
.hx-card-blue   .hx-feature-grid-text  { color: #1e40af; }
.hx-card-purple .hx-feature-grid-text  { color: #5b21b6; }
.hx-card-green  .hx-feature-grid-text  { color: #15803d; }
.hx-card-amber  .hx-feature-grid-text  { color: #92400e; }
.hx-card-pink   .hx-feature-grid-text  { color: #9d174d; }
.hx-card-cyan   .hx-feature-grid-text  { color: #155e75; }

/* ── ANIMATIONS ──────────────────────────────────────────── */
@keyframes hx-pulse    { 0%,100% { opacity:1; transform:scale(1); }    50% { opacity:.4; transform:scale(1.3); } }
@keyframes hx-float    { 0%,100% { transform:translateY(0); }          50% { transform:translateY(-18px); } }
@keyframes hx-scroll-l { from    { transform:translateX(0); }          to  { transform:translateX(-50%); } }
@keyframes hx-scroll-r { from    { transform:translateX(-50%); }       to  { transform:translateX(0); } }

/* ── BOOTSTRAP 4 COMPONENT OVERRIDES (hero context) ──────── */
body.hero-body .form-control,
body.hero-body .custom-select {
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    font-size: .92rem;
    color: #0f172a;
    background: #fff;
    padding: .6rem 1rem;
    transition: border-color .2s, box-shadow .2s;
}
body.hero-body .form-control:focus,
body.hero-body .custom-select:focus {
    border-color: #237FFF;
    box-shadow: 0 0 0 3px rgba(35,127,255,.12);
    outline: none;
}
body.hero-body .custom-control-label { cursor: pointer; }
body.hero-body .custom-switch .custom-control-label::before {
    width: 36px; height: 20px; border-radius: 12px;
    border: 1.5px solid #e2e8f0;
    background: #f1f5f9;
}
body.hero-body .custom-control-input:checked ~ .custom-control-label::before {
    background: linear-gradient(135deg,#237FFF,#6c5ce7);
    border-color: #237FFF;
}
body.hero-body .custom-switch .custom-control-label::after {
    width: 14px; height: 14px; border-radius: 50%; top: 4px; left: -21px;
    background: #fff;
    box-shadow: 0 1px 4px rgba(0,0,0,.15);
}
body.hero-body .custom-control-input:checked ~ .custom-control-label::after {
    transform: translateX(16px);
}
body.hero-body .btn-light {
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    color: #334155;
    border-radius: 10px;
    font-weight: 600;
    font-size: .88rem;
    transition: all .2s;
}
body.hero-body .btn-light:hover,
body.hero-body .btn-light.active,
body.hero-body .btn-light:active {
    background: rgba(35,127,255,.06);
    border-color: rgba(35,127,255,.4);
    color: #237FFF;
}
body.hero-body small.form-text { font-size: .78rem; color: #94a3b8; }
body.hero-body .badge-light { background: #f1f5f9; color: #64748b; border-radius: 50px; font-weight: 600; }
body.hero-body .container { padding-top: 0; padding-bottom: 0; }


/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width:768px) {
    .hx-hero            { padding: 110px 0 60px; }
    .hx-section         { padding: 56px 0; }
    .hx-cta-section     { padding: 48px 24px; }
    .hx-feature-section { padding: 32px 24px; }
    .hx-chrome-card     { padding: 40px 24px; }
}

/* ═══════════════════════════════════════════════════════════
   LEGAL PAGES  (about / cgu / cgv / confidentialité)
   ═══════════════════════════════════════════════════════════ */

/* ── Hero commun ── */
.lp-hero {
    padding: 100px 0 64px;
    position: relative;
    overflow: hidden;
}
.lp-hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 18px;
    border-radius: 50px; border: 1.5px solid;
    font-size: .72rem; font-weight: 800; letter-spacing: .1em;
    text-transform: uppercase; margin-bottom: 20px;
}
.lp-hero-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 900; line-height: 1.12; letter-spacing: -.03em;
    color: #0f172a; margin-bottom: 16px;
}
.lp-hero-sub {
    font-size: 1.05rem; color: var(--hx-muted);
    max-width: 580px; line-height: 1.75; margin: 0 auto 28px;
}
.lp-hero-meta {
    display: flex; align-items: center; justify-content: center; gap: 18px;
    font-size: .8rem; color: var(--hx-dim);
}
.lp-hero-meta span { display: flex; align-items: center; gap: 5px; }

/* ── Section article ── */
.lp-article {
    max-width: 780px; margin: 0 auto;
}
.lp-section-block {
    background: #fff;
    border: 1.5px solid var(--hx-border);
    border-radius: 20px;
    padding: 36px 40px;
    margin-bottom: 20px;
    transition: border-color .25s, box-shadow .25s;
}
.lp-section-block:hover {
    border-color: rgba(35,127,255,.25);
    box-shadow: 0 8px 32px rgba(35,127,255,.07);
}
.lp-section-block-header {
    display: flex; align-items: center; gap: 14px;
    margin-bottom: 16px;
}
.lp-section-block-icon {
    width: 44px; height: 44px; flex-shrink: 0;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem;
}
.lp-section-block-title {
    font-size: 1.02rem; font-weight: 700; color: #0f172a;
    margin: 0;
}
.lp-section-block-body {
    color: var(--hx-muted); font-size: .93rem;
    line-height: 1.8;
}
.lp-section-block-body p  { margin-bottom: 10px; }
.lp-section-block-body p:last-child { margin-bottom: 0; }
.lp-section-block-body ul {
    padding-left: 18px; margin-bottom: 10px;
}
.lp-section-block-body ul li { margin-bottom: 6px; }
.lp-section-block-body strong { color: #334155; }

/* ── Info / alerte box ── */
.lp-info-box {
    display: flex; align-items: flex-start; gap: 14px;
    padding: 18px 22px;
    border-radius: 16px; border: 1.5px solid;
    margin-bottom: 28px;
    font-size: .88rem; line-height: 1.75;
}
.lp-info-box-icon { font-size: 1.2rem; flex-shrink: 0; margin-top: 2px; }

/* ── Trust chips (CGV) ── */
.lp-trust-row {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
    margin-top: 24px;
}
.lp-trust-chip {
    display: flex; align-items: center; gap: 8px;
    background: #fff; border: 1.5px solid var(--hx-border);
    border-radius: 50px; padding: 8px 18px;
    font-size: .8rem; font-weight: 600; color: #334155;
    box-shadow: 0 2px 8px rgba(0,0,0,.04);
    transition: transform .2s, box-shadow .2s;
}
.lp-trust-chip:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,.08);
}

/* ── Guarantee banner (CGV) ── */
.lp-guarantee {
    display: flex; align-items: center; gap: 20px;
    flex-wrap: wrap;
    padding: 24px 28px;
    border-radius: 20px; border: 1.5px solid;
    margin-bottom: 32px;
}
.lp-guarantee-icon {
    width: 52px; height: 52px; flex-shrink: 0;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem; color: #fff;
}
.lp-guarantee-title { font-weight: 800; font-size: .95rem; margin-bottom: 4px; }
.lp-guarantee-text  { font-size: .83rem; }
.lp-guarantee-cta {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 10px 22px; border-radius: 12px;
    font-weight: 700; font-size: .83rem;
    text-decoration: none; transition: all .2s;
    white-space: nowrap; margin-left: auto;
}

/* ── Rights grid (Privacy) ── */
.lp-rights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
    margin-top: 16px;
}
.lp-right-chip {
    display: flex; align-items: center; gap: 10px;
    background: #fff; border: 1px solid var(--hx-border);
    border-radius: 12px; padding: 12px 16px;
    font-size: .83rem; font-weight: 600; color: #334155;
}

/* ── Values grid (About) ── */
.lp-values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
    margin-top: 28px;
}
.lp-value-card {
    background: #fff; border: 1.5px solid var(--hx-border);
    border-radius: 18px; padding: 28px 24px;
    transition: all .25s;
}
.lp-value-card:hover {
    border-color: rgba(35,127,255,.3);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(35,127,255,.08);
}
.lp-value-icon {
    width: 48px; height: 48px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; margin-bottom: 14px;
}
.lp-value-title { font-weight: 700; color: #0f172a; margin-bottom: 6px; }
.lp-value-text  { font-size: .87rem; color: var(--hx-muted); line-height: 1.65; }

/* ── Timeline (About) ── */
.lp-timeline { position: relative; padding-left: 32px; margin-top: 28px; }
.lp-timeline::before {
    content: ''; position: absolute; left: 8px; top: 6px;
    bottom: 0; width: 2px;
    background: linear-gradient(180deg, var(--hx-primary), transparent);
}
.lp-timeline-item {
    position: relative; margin-bottom: 28px;
}
.lp-timeline-item::before {
    content: ''; position: absolute; left: -28px; top: 5px;
    width: 12px; height: 12px; border-radius: 50%;
    background: var(--hx-primary);
    border: 2.5px solid #fff;
    box-shadow: 0 0 0 3px rgba(35,127,255,.2);
}
.lp-timeline-year {
    font-size: .75rem; font-weight: 800; color: var(--hx-primary);
    letter-spacing: .08em; text-transform: uppercase; margin-bottom: 4px;
}
.lp-timeline-title { font-weight: 700; color: #0f172a; margin-bottom: 4px; }
.lp-timeline-text  { font-size: .88rem; color: var(--hx-muted); line-height: 1.65; }

/* ── CTA block ── */
.lp-cta-block {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 24px; padding: 40px;
    display: flex; align-items: center; gap: 28px;
    flex-wrap: wrap;
    margin-top: 48px;
    box-shadow: 0 20px 60px rgba(0,0,0,.12);
}
.lp-cta-block-text { flex: 1; }
.lp-cta-block-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.3rem; font-weight: 800; color: #fff; margin-bottom: 6px;
}
.lp-cta-block-sub {
    font-size: .85rem; color: rgba(255,255,255,.55);
}
.lp-btn-primary {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--hx-grad); color: #fff;
    border-radius: 12px; padding: 12px 24px;
    font-weight: 700; font-size: .88rem; text-decoration: none;
    transition: all .2s; box-shadow: 0 6px 20px rgba(35,127,255,.35);
}
.lp-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(35,127,255,.5); color: #fff; }
.lp-btn-ghost {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,.08); border: 1.5px solid rgba(255,255,255,.15);
    color: rgba(255,255,255,.8); border-radius: 12px; padding: 12px 24px;
    font-weight: 600; font-size: .88rem; text-decoration: none;
    transition: all .2s;
}
.lp-btn-ghost:hover { background: rgba(255,255,255,.15); color: #fff; }

/* ── Stat bar (About) ── */
.lp-stat-bar {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 0;
    background: #fff; border: 1.5px solid var(--hx-border);
    border-radius: 20px; overflow: hidden; margin-bottom: 48px;
}
.lp-stat-item {
    flex: 1; min-width: 140px; padding: 32px 24px; text-align: center;
    border-right: 1px solid var(--hx-border);
    transition: background .2s;
}
.lp-stat-item:last-child { border-right: none; }
.lp-stat-item:hover { background: var(--hx-bg-alt); }
.lp-stat-num {
    font-size: 2.2rem; font-weight: 900;
    background: var(--hx-grad);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text; line-height: 1;
}
.lp-stat-label { font-size: .83rem; color: var(--hx-muted); margin-top: 6px; font-weight: 500; }

/* ── Responsive ── */
@media (max-width: 640px) {
    .lp-section-block { padding: 24px 20px; }
    .lp-guarantee     { padding: 20px; }
    .lp-guarantee-cta { margin-left: 0; width: 100%; justify-content: center; }
    .lp-cta-block     { padding: 28px 20px; }
    .lp-stat-bar      { flex-direction: column; }
    .lp-stat-item     { border-right: none; border-bottom: 1px solid var(--hx-border); }
    .lp-stat-item:last-child { border-bottom: none; }
}

