/* ===========================================================================
   KHEWEUL.CASH — HOMEPAGE REDESIGN CSS
   Style: GoDaddy / Namecheap / Hostinger — SaaS Moderne
   =========================================================================== */

/* ---------- Design Tokens ---------- */
:root {
    --kw-primary: #E89548;
    --kw-primary-hover: #d17f3a;
    --kw-primary-light: rgba(232, 149, 72, 0.1);
    --kw-dark: #0f172a;
    --kw-dark-2: #1e293b;
    --kw-text: #334155;
    --kw-text-muted: #64748b;
    --kw-bg: #ffffff;
    --kw-bg-alt: #f8fafc;
    --kw-bg-dark: #0f172a;
    --kw-border: #e2e8f0;
    --kw-radius: 12px;
    --kw-radius-lg: 20px;
    --kw-shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.04);
    --kw-shadow-lg: 0 4px 6px rgba(0, 0, 0, 0.05), 0 10px 30px rgba(0, 0, 0, 0.08);
    --kw-shadow-xl: 0 10px 40px rgba(0, 0, 0, 0.12);
    --kw-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Homepage Body Override ---------- */
body.kheweul-homepage {
    background: var(--kw-bg) !important;
    color: var(--kw-text) !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
}

/* --- Full-Width Homepage Wrapper --- */
.kw-homepage-main {
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden;
}

/* ---------- Section Base ---------- */
.kw-section {
    padding: 80px 0;
    position: relative;
}

.kw-section-alt {
    background: var(--kw-bg-alt);
}

.kw-section-dark {
    background: linear-gradient(135deg, var(--kw-bg-dark) 0%, var(--kw-dark-2) 100%);
    color: #f8fafc;
}

.kw-section-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3.5rem auto;
    /* Creates consistent spacing below the header */
}

.kw-section-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--kw-dark);
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
    text-align: center;
    line-height: 1.3;
}

.kw-section-dark .kw-section-title {
    color: #ffffff;
}

.kw-section-subtitle {
    font-size: 1.1rem;
    color: var(--kw-text-muted);
    text-align: center;
    line-height: 1.6;
    margin: 0;
    /* Reset margin since wrapper handles spacing */
}

.kw-section-dark .kw-section-subtitle {
    color: #94a3b8;
}

.kw-badge {
    display: inline-block;
    background: var(--kw-primary-light);
    color: var(--kw-primary);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

/* ===========================================================================
   1. HERO — PREMIUM DOMAIN-FIRST (Light/Dark adaptive)
   Inspiré GoDaddy / Namecheap / Hostinger / Cloudflare Registrar
   =========================================================================== */

/* --- Section principale --- */
.kwh {
    background: linear-gradient(135deg, #f8fafc 0%, #fffdf9 50%, #f0f7ff 100%);
    position: relative;
    overflow: hidden;
    padding: 100px 0 48px;
    transition: background 0.4s ease;
}

/* --- Background : mesh gradient + grille --- */
.kwh-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.kwh-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0,0,0,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,0,0,0.04) 1px, transparent 1px);
    background-size: 64px 64px;
}

.kwh-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    will-change: transform;
}

.kwh-orb-1 {
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(232,149,72,0.18), transparent 70%);
    top: -220px; left: -100px;
    animation: kwhOrb 18s ease-in-out infinite alternate;
}

.kwh-orb-2 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(59,130,246,0.1), transparent 70%);
    bottom: -200px; right: -80px;
    animation: kwhOrb 22s ease-in-out infinite alternate-reverse;
}

.kwh-orb-3 {
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(168,85,247,0.07), transparent 70%);
    top: 40%; left: 50%;
    transform: translateX(-50%);
    animation: kwhOrb 20s ease-in-out infinite alternate;
    animation-delay: -6s;
}

@keyframes kwhOrb {
    0%   { transform: translate(0, 0) scale(1); }
    100% { transform: translate(40px, 25px) scale(1.12); }
}

/* --- Inner container --- */
.kwh-inner {
    position: relative;
    z-index: 2;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* --- Texte hero --- */
.kwh-text {
    margin-bottom: 1.75rem;
}

.kwh-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(232,149,72,0.1);
    color: #b45309;
    border: 1px solid rgba(232,149,72,0.25);
    border-radius: 100px;
    padding: 7px 18px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    margin-bottom: 1rem;
}

.kwh-badge strong {
    color: #d97706;
    font-weight: 800;
}

.kwh-badge-dot {
    width: 7px; height: 7px;
    background: #d97706;
    border-radius: 50%;
    animation: kwhPulse 2s infinite;
    flex-shrink: 0;
}

@keyframes kwhPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%      { opacity: .4; transform: scale(.6); }
}

.kwh-title {
    font-family: 'Poppins', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--kw-text-heading, #0f172a);
    line-height: 1.15;
    margin: 0 0 0.6rem;
    letter-spacing: -0.02em;
    max-width: 750px;
    transition: color 0.3s ease;
}

.kwh-title span {
    background: linear-gradient(135deg, #E89548 0%, #fbbf24 50%, #f59e0b 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: kwhShimmer 5s linear infinite;
}

@keyframes kwhShimmer {
    0%   { background-position: 0% center; }
    100% { background-position: 200% center; }
}

.kwh-sub {
    font-size: 1.05rem;
    color: var(--kw-text-muted, #64748b);
    line-height: 1.6;
    max-width: 580px;
    margin: 0 auto;
    transition: color 0.3s ease;
}

.kwh-sub strong {
    color: var(--kw-text, #334155);
    font-weight: 600;
}

/* ===========================================================================
   1b. SEARCH BAR — FULL WIDTH GLASS
   =========================================================================== */

.kwh-search {
    width: 100%;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 2rem;
    box-shadow:
        0 24px 80px rgba(0,0,0,0.06),
        0 0 0 1px rgba(0,0,0,0.03) inset;
}

/* --- Onglets --- */
.kwh-tabs {
    display: flex;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

.kwh-tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 20px;
    background: transparent;
    border: none;
    color: #94a3b8;
    font-family: 'Inter', sans-serif;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.kwh-tab::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%;
    transform: translateX(-50%);
    width: 0; height: 2px;
    background: linear-gradient(90deg, #E89548, #fbbf24);
    border-radius: 2px 2px 0 0;
    transition: width 0.35s cubic-bezier(0.16,1,0.3,1);
}

.kwh-tab:hover {
    color: #475569;
    background: rgba(0,0,0,0.03);
}

.kwh-tab.active {
    color: #d97706;
    background: rgba(232,149,72,0.06);
}

.kwh-tab.active::after {
    width: 56%;
}

.kwh-tab i {
    font-size: 0.85rem;
}

/* --- Formulaire / barre --- */
.kwh-form {
    padding: 20px 24px;
}

.kwh-bar {
    display: flex;
    align-items: center;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 60px;
    padding: 6px 6px 6px 24px;
    transition: all 0.4s cubic-bezier(0.16,1,0.3,1);
}

.kwh-bar:hover {
    border-color: rgba(232,149,72,0.4);
    background: #ffffff;
    box-shadow: 0 0 40px rgba(232,149,72,0.08);
}

.kwh-bar:focus-within {
    border-color: #E89548;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(232,149,72,0.15), 0 0 60px rgba(232,149,72,0.06);
}

.kwh-bar-icon {
    color: #94a3b8;
    font-size: 1.15rem;
    flex-shrink: 0;
    transition: color 0.3s ease;
}

.kwh-bar:focus-within .kwh-bar-icon {
    color: #E89548;
}

.kwh-bar-input {
    flex: 1;
    background: transparent !important;
    border: none;
    outline: none;
    color: #0f172a;
    font-family: 'Inter', sans-serif;
    font-size: 1.12rem;
    padding: 15px 16px;
    min-width: 0;
}

.kwh-bar-input::placeholder {
    color: #94a3b8;
    font-weight: 400;
}

.kwh-bar-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #E89548 0%, #d97706 100%);
    border: none;
    color: #fff;
    padding: 16px 40px;
    border-radius: 60px;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16,1,0.3,1);
    box-shadow: 0 6px 24px rgba(232,149,72,0.4);
    white-space: nowrap;
    letter-spacing: 0.01em;
    flex-shrink: 0;
}

.kwh-bar-btn:hover {
    background: linear-gradient(135deg, #f0a85c 0%, #e8890e 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 36px rgba(232,149,72,0.55);
}

.kwh-bar-btn:active {
    transform: translateY(0);
    box-shadow: 0 3px 12px rgba(232,149,72,0.3);
}

.kwh-bar-btn i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.kwh-bar-btn:hover i {
    transform: translateX(4px);
}

/* ===========================================================================
   1c. TLD CARDS GRID
   =========================================================================== */

.kwh-tlds {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
    width: 100%;
    margin-bottom: 2rem;
}

.kwh-tld {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 16px 10px;
    background: rgba(255,255,255,0.7);
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 14px;
    text-decoration: none;
    transition: all 0.35s cubic-bezier(0.16,1,0.3,1);
    position: relative;
    overflow: hidden;
}

.kwh-tld:hover {
    background: rgba(232,149,72,0.08);
    border-color: rgba(232,149,72,0.25);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(232,149,72,0.1);
    text-decoration: none;
}

.kwh-tld-ext {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.01em;
}

.kwh-tld:hover .kwh-tld-ext {
    color: #d97706;
}

.kwh-tld-price {
    font-size: 0.78rem;
    color: #64748b;
    font-weight: 500;
}

.kwh-tld:hover .kwh-tld-price {
    color: #475569;
}

.kwh-tld-tag {
    position: absolute;
    top: 6px; right: 6px;
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 2px 7px;
    border-radius: 6px;
    line-height: 1.4;
}

.kwh-tld--hot .kwh-tld-tag {
    background: rgba(232,149,72,0.15);
    color: #b45309;
}

.kwh-tld--hot {
    border-color: rgba(232,149,72,0.2);
    background: rgba(232,149,72,0.06);
}

.kwh-tld--local .kwh-tld-tag {
    background: rgba(34,197,94,0.12);
    color: #15803d;
}

.kwh-tld--local {
    border-color: rgba(34,197,94,0.15);
    background: rgba(34,197,94,0.04);
}

/* ===========================================================================
   1d. TRUST BAR
   =========================================================================== */

.kwh-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0;
}

.kwh-trust-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 18px;
    color: #94a3b8;
    font-size: 0.82rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.kwh-trust-item:hover {
    color: #475569;
}

.kwh-trust-item i {
    color: rgba(232,149,72,0.7);
    font-size: 0.78rem;
}

.kwh-trust-item:hover i {
    color: #E89548;
}

.kwh-trust-sep {
    width: 3px; height: 3px;
    background: rgba(0,0,0,0.15);
    border-radius: 50%;
    flex-shrink: 0;
}

/* ===========================================================================
   1e. HERO ANIMATIONS
   =========================================================================== */

@keyframes kwhFadeUp {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
}

.kwh-anim {
    opacity: 0;
    animation: kwhFadeUp 0.8s cubic-bezier(0.16,1,0.3,1) forwards;
}

.kwh-anim[data-d="0"] { animation-delay: 0.1s; }
.kwh-anim[data-d="1"] { animation-delay: 0.25s; }
.kwh-anim[data-d="2"] { animation-delay: 0.45s; }
.kwh-anim[data-d="3"] { animation-delay: 0.6s; }

/* ===========================================================================
   1f. HERO RESPONSIVE
   =========================================================================== */

@media (max-width: 991px) {
    .kwh {
        padding: 84px 0 36px;
    }

    .kwh-title {
        font-size: 2.3rem;
    }

    .kwh-tlds {
        grid-template-columns: repeat(3, 1fr);
    }

    .kwh-form {
        padding: 16px 18px;
    }
}

@media (max-width: 767px) {
    .kwh {
        padding: 76px 0 28px;
    }

    .kwh-inner {
        padding: 0 14px;
    }

    .kwh-title {
        font-size: 1.7rem;
    }

    .kwh-sub {
        font-size: 0.92rem;
    }

    .kwh-badge {
        font-size: 0.72rem;
        padding: 5px 12px;
    }

    .kwh-search {
        border-radius: 16px;
    }

    .kwh-tabs {
        gap: 0;
    }

    .kwh-tab {
        padding: 11px 6px;
        font-size: 0.78rem;
        gap: 5px;
    }

    .kwh-form {
        padding: 14px 12px;
    }

    .kwh-bar {
        flex-direction: column;
        border-radius: 16px;
        padding: 14px;
        gap: 10px;
    }

    .kwh-bar-icon {
        display: none;
    }

    .kwh-bar-input {
        width: 100%;
        padding: 10px;
        text-align: center;
        font-size: 1rem;
    }

    .kwh-bar-btn {
        width: 100%;
        justify-content: center;
        border-radius: 12px;
        padding: 14px;
        font-size: 1rem;
    }

    .kwh-tlds {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .kwh-tld {
        padding: 12px 6px;
        border-radius: 10px;
    }

    .kwh-tld-ext {
        font-size: 1rem;
    }

    .kwh-tld-price {
        font-size: 0.68rem;
    }

    .kwh-tld-tag {
        font-size: 0.5rem;
        padding: 1px 5px;
    }

    .kwh-trust-item {
        font-size: 0.72rem;
        padding: 4px 10px;
    }
}

/* --- Bouton secondaire legacy (mode clair) --- */
.kw-hero-cta-row {
    margin-bottom: 2rem;
}

.kw-btn-secondary-hero {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #475569;
    font-size: 0.92rem;
    font-weight: 600;
    padding: 10px 22px;
    border: 1px solid #e2e8f0;
    border-radius: 100px;
    text-decoration: none;
    transition: all 0.3s ease;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.kw-btn-secondary-hero:hover {
    color: var(--kw-primary);
    border-color: var(--kw-primary);
    background: rgba(232, 149, 72, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(232, 149, 72, 0.15);
    text-decoration: none;
}

.kw-btn-secondary-hero i {
    color: var(--kw-primary);
}

/* --- TLD Slider legacy (mode clair) --- */
.kw-tld-slider {
    width: 100%;
    overflow: hidden;
    position: relative;
    margin-bottom: 2rem;
    padding: 10px 0;
    -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.kw-tld-track {
    display: flex;
    gap: 12px;
    width: max-content;
    animation: scrollTlds 30s linear infinite;
    padding-left: 12px;
}

.kw-tld-track:hover {
    animation-play-state: paused;
}

@keyframes scrollTlds {
    to { transform: translateX(calc(-50%)); }
}

.kw-tld-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 100px;
    padding: 7px 16px;
    font-size: 0.85rem;
    color: #64748b;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

.kw-tld-badge:hover {
    border-color: rgba(232, 149, 72, 0.4);
    color: #0f172a;
    background: #fffbf5;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(232, 149, 72, 0.12);
}

.kw-tld-badge strong {
    color: #0f172a;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
}

.kw-tld-badge:hover strong {
    color: var(--kw-primary);
}

.kw-tld-badge del {
    color: #94a3b8;
    font-size: 0.78rem;
    margin-right: 2px;
}

/* TLD variantes */
.kw-tld-hot {
    border-color: rgba(232, 149, 72, 0.35);
    background: #fffbf5;
}

.kw-tld-hot strong { color: #d97706; }

.kw-tld-local {
    border-color: rgba(34, 197, 94, 0.3);
    background: #f0fdf4;
}

.kw-tld-local strong { color: #16a34a; }

/* --- Trust Row (mode clair : pills colorées) --- */
.kw-trust-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    padding-top: 0;
    border-top: none;
}

.kw-trust-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    transition: transform 0.2s ease;
    border: 1px solid transparent;
}

.kw-trust-item:hover {
    transform: translateY(-1px);
}

/* Vert */
.kw-trust-green {
    background: #f0fdf4;
    color: #16a34a;
    border-color: rgba(34, 197, 94, 0.25);
}
.kw-trust-green i { color: #16a34a; }

/* Orange */
.kw-trust-orange {
    background: #fffbf5;
    color: #d97706;
    border-color: rgba(232, 149, 72, 0.25);
}
.kw-trust-orange i { color: #E89548; }

/* Bleu */
.kw-trust-blue {
    background: #eff6ff;
    color: #2563eb;
    border-color: rgba(59, 130, 246, 0.2);
}
.kw-trust-blue i { color: #2563eb; }

/* ============================================================
   HERO — Visual (Right) : Mockup navigateur
   ============================================================ */
.kw-hero-visual-wrapper {
    position: relative;
    padding: 30px 20px;
}

/* Carte navigateur (mode clair) */
.kw-hero-main-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    width: 100%;
    max-width: 460px;
    margin: 0 auto;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0,0,0,0.04);
    animation: floatingCard 6s infinite ease-in-out;
}

.card-glass-header {
    height: 40px;
    background: #f8fafc;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 16px;
    border-bottom: 1px solid #e2e8f0;
}

.card-glass-header .dot {
    width: 9px; height: 9px;
    border-radius: 50%;
}

.card-glass-header .red    { background: #ff5f56; }
.card-glass-header .yellow { background: #ffbd2e; }
.card-glass-header .green  { background: #27c93f; }

/* URL (mode clair) */
.card-glass-url {
    margin-left: auto;
    font-size: 0.72rem;
    color: #94a3b8;
    font-family: 'Inter', monospace;
    letter-spacing: 0.5px;
}

/* Mockup body (mode clair) */
.kw-mockup-body {
    padding: 16px 20px 20px;
    background: #ffffff;
}

.kw-mockup-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f1f5f9;
}

.kw-mockup-logo {
    width: 60px; height: 10px;
    background: linear-gradient(90deg, var(--kw-primary), #fbbf24);
    border-radius: 5px;
}

.kw-mockup-nav-items {
    display: flex; gap: 8px;
}

.kw-mockup-nav-items span {
    width: 30px; height: 6px;
    background: #e2e8f0;
    border-radius: 3px;
}

.kw-mockup-hero {
    margin-bottom: 20px;
    padding: 16px 0;
    background: linear-gradient(135deg, #f8fafc, #fffbf5);
    border-radius: 8px;
    padding: 16px;
}

.kw-mockup-title {
    width: 80%; height: 14px;
    background: linear-gradient(90deg, #e2e8f0, #f1f5f9);
    border-radius: 7px;
    margin-bottom: 10px;
}

.kw-mockup-subtitle {
    width: 55%; height: 8px;
    background: #f1f5f9;
    border-radius: 4px;
    margin-bottom: 14px;
}

.kw-mockup-cta-btn {
    width: 90px; height: 24px;
    background: linear-gradient(135deg, var(--kw-primary), #d97706);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(232, 149, 72, 0.3);
}

.kw-mockup-cards {
    display: flex; gap: 8px;
    margin-top: 16px;
}

.kw-mockup-card {
    flex: 1;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px 10px;
}

.kw-mockup-card-icon {
    width: 20px; height: 20px;
    background: rgba(232, 149, 72, 0.15);
    border-radius: 6px;
    margin-bottom: 8px;
}

.kw-mockup-card-line {
    width: 100%; height: 5px;
    background: #e2e8f0;
    border-radius: 3px;
    margin-bottom: 5px;
}

.kw-mockup-card-line.short {
    width: 60%;
    background: #f1f5f9;
}

/* Floating badges (mode clair : glassmorphism blanc) */
.kw-hero-floating-badge {
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 14px;
    padding: 12px 18px;
    color: #0f172a;
    font-weight: 600;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    animation: floatingCard 6s infinite ease-in-out;
    z-index: 10;
}

.kw-hero-floating-badge i {
    color: var(--kw-primary);
    font-size: 1rem;
}

.kw-badge-pulse {
    width: 8px; height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: promoDotPulse 2s infinite;
}

.badge-1 { top: 20px; right: -10px; animation-delay: -1s; }
.badge-2 { bottom: 80px; left: -15px; animation-delay: -3s; }
.badge-3 { bottom: 15px; right: 30px; animation-delay: -5s; }

/* Performance meter (mode clair) */
.kw-hero-perf-meter {
    position: absolute;
    top: 50%; right: -30px;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 14px;
    padding: 14px 18px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    animation: floatingCard 6s infinite ease-in-out;
    animation-delay: -2s;
    z-index: 10;
    min-width: 140px;
}

.kw-perf-label {
    font-size: 0.7rem;
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.kw-perf-bar {
    width: 100%; height: 6px;
    background: #e2e8f0;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 6px;
}

.kw-perf-fill {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #22c55e, #4ade80);
    border-radius: 3px;
    animation: perfFill 2s ease-out 0.5s forwards;
}

@keyframes perfFill {
    to { width: 98%; }
}

.kw-perf-score {
    font-size: 1.1rem;
    font-weight: 800;
    color: #16a34a;
    letter-spacing: -0.5px;
}

@keyframes floatingCard {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-12px); }
}

/* ===========================================================================
   HERO .kwh — DARK MODE OVERRIDES
   =========================================================================== */

body.dark-mode .kwh,
html.dark-mode .kwh {
    background: linear-gradient(135deg, #1a202c 0%, #232c3a 80%, #151a24 100%);
}

body.dark-mode .kwh-grid,
html.dark-mode .kwh-grid {
    background-image:
        linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
}

body.dark-mode .kwh-orb-1,
html.dark-mode .kwh-orb-1 {
    background: radial-gradient(circle, rgba(232,149,72,0.45), transparent 70%);
}

body.dark-mode .kwh-orb-2,
html.dark-mode .kwh-orb-2 {
    background: radial-gradient(circle, rgba(59,130,246,0.30), transparent 70%);
}

body.dark-mode .kwh-orb-3,
html.dark-mode .kwh-orb-3 {
    background: radial-gradient(circle, rgba(168,85,247,0.25), transparent 70%);
}

body.dark-mode .kwh-badge,
html.dark-mode .kwh-badge {
    background: rgba(232,149,72,0.15);
    color: #f59e0b;
    border-color: rgba(232,149,72,0.3);
}

body.dark-mode .kwh-badge strong,
html.dark-mode .kwh-badge strong {
    color: #fbbf24;
}

body.dark-mode .kwh-badge-dot,
html.dark-mode .kwh-badge-dot {
    background: #f59e0b;
}

body.dark-mode .kwh-title,
html.dark-mode .kwh-title {
    color: #ffffff;
}

body.dark-mode .kwh-sub,
html.dark-mode .kwh-sub {
    color: rgba(255,255,255,0.7);
}

body.dark-mode .kwh-sub strong,
html.dark-mode .kwh-sub strong {
    color: rgba(255,255,255,0.95);
}

body.dark-mode .kwh-search {
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.08);
    box-shadow:
        0 24px 80px rgba(0,0,0,0.3),
        0 0 0 1px rgba(255,255,255,0.04) inset;
}

body.dark-mode .kwh-tabs {
    border-bottom-color: rgba(255,255,255,0.06);
}

body.dark-mode .kwh-tab {
    color: rgba(255,255,255,0.4);
}

body.dark-mode .kwh-tab:hover {
    color: rgba(255,255,255,0.7);
    background: rgba(255,255,255,0.03);
}

body.dark-mode .kwh-tab.active {
    color: #fbbf24;
}

body.dark-mode .kwh-bar {
    background: rgba(255,255,255,0.07);
    border-color: rgba(255,255,255,0.1);
}

body.dark-mode .kwh-bar:hover {
    border-color: rgba(232,149,72,0.3);
    background: rgba(255,255,255,0.09);
}

body.dark-mode .kwh-bar:focus-within {
    background: rgba(255,255,255,0.1);
    box-shadow: 0 0 0 4px rgba(232,149,72,0.15), 0 0 60px rgba(232,149,72,0.1);
}

body.dark-mode .kwh-bar-icon {
    color: rgba(255,255,255,0.3);
}

body.dark-mode .kwh-bar-input {
    color: #ffffff;
}

body.dark-mode .kwh-bar-input::placeholder {
    color: rgba(255,255,255,0.3);
}

body.dark-mode .kwh-tld {
    background: rgba(255,255,255,0.04);
    border-color: rgba(255,255,255,0.06);
}

body.dark-mode .kwh-tld:hover {
    box-shadow: 0 12px 32px rgba(232,149,72,0.15);
}

body.dark-mode .kwh-tld-ext {
    color: #ffffff;
}

body.dark-mode .kwh-tld:hover .kwh-tld-ext {
    color: #fbbf24;
}

body.dark-mode .kwh-tld-price {
    color: rgba(255,255,255,0.45);
}

body.dark-mode .kwh-tld:hover .kwh-tld-price {
    color: rgba(255,255,255,0.7);
}

body.dark-mode .kwh-tld--hot .kwh-tld-tag {
    background: rgba(232,149,72,0.2);
    color: #fbbf24;
}

body.dark-mode .kwh-tld--hot {
    border-color: rgba(232,149,72,0.15);
}

body.dark-mode .kwh-tld--local .kwh-tld-tag {
    background: rgba(34,197,94,0.15);
    color: #4ade80;
}

body.dark-mode .kwh-tld--local {
    border-color: rgba(34,197,94,0.1);
}

body.dark-mode .kwh-trust-item {
    color: rgba(255,255,255,0.4);
}

body.dark-mode .kwh-trust-item:hover {
    color: rgba(255,255,255,0.7);
}

body.dark-mode .kwh-trust-item i {
    color: rgba(232,149,72,0.6);
}

body.dark-mode .kwh-trust-sep {
    background: rgba(255,255,255,0.15);
}

/* ===========================================================================
   2. PRICING CARDS (Hébergement)
   =========================================================================== */
.kw-pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    align-items: stretch;
}

.kw-pricing-card {
    background: var(--kw-bg);
    border: 1px solid var(--kw-border);
    border-radius: var(--kw-radius-lg);
    padding: 36px 28px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: var(--kw-transition);
    overflow: hidden;
}

.kw-pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--kw-shadow-xl);
    border-color: var(--kw-primary);
}

.kw-pricing-card.featured {
    border: 2px solid var(--kw-primary);
    box-shadow: var(--kw-shadow-lg);
    transform: scale(1.03);
}

.kw-pricing-card.featured:hover {
    transform: scale(1.03) translateY(-6px);
}

.kw-pricing-ribbon {
    position: absolute;
    top: 16px;
    right: -32px;
    background: linear-gradient(135deg, var(--kw-primary), var(--kw-primary-hover));
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 5px 40px;
    transform: rotate(45deg);
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(232, 149, 72, 0.3);
}

.kw-pricing-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--kw-primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--kw-primary);
    margin-bottom: 1.25rem;
}

.kw-pricing-name {
    font-family: 'Poppins', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--kw-dark);
    margin-bottom: 0.5rem;
}

.kw-pricing-desc {
    font-size: 0.88rem;
    color: var(--kw-text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.kw-pricing-price {
    margin-bottom: 1.5rem;
}

.kw-pricing-price .amount {
    font-family: 'Poppins', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--kw-dark);
    line-height: 1;
}

.kw-pricing-price .currency {
    font-size: 0.85rem;
    color: var(--kw-text-muted);
    font-weight: 500;
}

.kw-pricing-price .period {
    font-size: 0.85rem;
    color: var(--kw-text-muted);
    display: block;
    margin-top: 4px;
}

.kw-pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
    flex: 1;
}

.kw-pricing-features li {
    padding: 8px 0;
    font-size: 0.9rem;
    color: var(--kw-text);
    display: flex;
    align-items: flex-start;
    gap: 10px;
    border-bottom: 1px solid #f1f5f9;
}

.kw-pricing-features li:last-child {
    border-bottom: none;
}

.kw-pricing-features li i {
    color: var(--kw-primary);
    margin-top: 3px;
    flex-shrink: 0;
}

/* --- Buttons --- */
.kw-btn {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 13px 28px;
    border-radius: 50px;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: var(--kw-transition);
    border: none;
}

.kw-btn-primary {
    background: linear-gradient(135deg, var(--kw-primary) 0%, var(--kw-primary-hover) 100%);
    color: #fff !important;
    box-shadow: 0 4px 14px rgba(232, 149, 72, 0.3);
}

.kw-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(232, 149, 72, 0.45);
    text-decoration: none;
    color: #fff !important;
}

.kw-btn-outline {
    background: transparent;
    border: 2px solid var(--kw-primary);
    color: var(--kw-primary) !important;
}

.kw-btn-outline:hover {
    background: var(--kw-primary);
    color: #fff !important;
    text-decoration: none;
}

.kw-btn-white {
    background: #fff;
    color: var(--kw-dark) !important;
    box-shadow: var(--kw-shadow);
}

.kw-btn-white:hover {
    transform: translateY(-2px);
    box-shadow: var(--kw-shadow-lg);
    text-decoration: none;
    color: var(--kw-dark) !important;
}

.kw-btn-block {
    display: block;
    width: 100%;
}

/* ===========================================================================
   3. COMBO SECTION (Domain + Hosting)
   =========================================================================== */
.kw-combo {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-radius: var(--kw-radius-lg);
    padding: 60px 48px;
    display: flex;
    align-items: center;
    gap: 48px;
    position: relative;
    overflow: hidden;
}

.kw-combo::before {
    content: '';
    position: absolute;
    top: 50%;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(232, 149, 72, 0.15) 0%, transparent 70%);
    transform: translateY(-50%);
    border-radius: 50%;
}

.kw-combo-text {
    flex: 1;
    position: relative;
    z-index: 2;
}

.kw-combo-text h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1rem;
}

.kw-combo-text p {
    color: #94a3b8;
    font-size: 1.05rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.kw-combo-visual {
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.kw-combo-visual .combo-price {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--kw-radius-lg);
    padding: 32px;
    text-align: center;
    backdrop-filter: blur(10px);
}

.kw-combo-visual .combo-price .old-price {
    color: #94a3b8;
    text-decoration: line-through;
    font-size: 1.1rem;
}

.kw-combo-visual .combo-price .new-price {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--kw-primary);
    display: block;
    margin: 8px 0;
}

.kw-combo-visual .combo-price .label {
    color: #cbd5e1;
    font-size: 0.9rem;
}

/* ===========================================================================
   4. SERVICE CARDS (Sécurité, Fonctionnalités)
   =========================================================================== */
.kw-service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.kw-service-card {
    background: var(--kw-bg);
    border: 1px solid var(--kw-border);
    border-radius: var(--kw-radius-lg);
    padding: 36px 28px;
    text-align: center;
    transition: var(--kw-transition);
}

.kw-service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--kw-shadow-xl);
    border-color: var(--kw-primary);
}

.kw-service-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: var(--kw-primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--kw-primary);
    margin: 0 auto 1.5rem;
}

.kw-service-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--kw-dark);
    margin-bottom: 0.75rem;
}

.kw-service-card p {
    font-size: 0.9rem;
    color: var(--kw-text-muted);
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.kw-service-price {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--kw-dark);
    margin-bottom: 1.25rem;
}

.kw-service-price small {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--kw-text-muted);
}

/* ===========================================================================
   5. SERVER SPECS TABLE
   =========================================================================== */
.kw-specs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.kw-spec-card {
    background: var(--kw-bg);
    border: 1px solid var(--kw-border);
    border-radius: var(--kw-radius-lg);
    padding: 32px;
    transition: var(--kw-transition);
}

.kw-spec-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--kw-shadow-lg);
    border-color: var(--kw-primary);
}

.kw-spec-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--kw-dark);
    margin-bottom: 1.25rem;
}

.kw-spec-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 1.5rem;
}

.kw-spec-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    color: var(--kw-text);
}

.kw-spec-item i {
    color: var(--kw-primary);
    font-size: 0.85rem;
    width: 16px;
    text-align: center;
}

.kw-spec-item strong {
    color: var(--kw-dark);
}

.kw-spec-price {
    font-family: 'Poppins', sans-serif;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--kw-dark);
    margin-bottom: 1rem;
}

.kw-spec-price small {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--kw-text-muted);
}

/* ===========================================================================
   6. WHY KHEWEUL / FEATURES
   =========================================================================== */
.kw-features-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
}

.kw-feature-item {
    text-align: center;
    padding: 24px 16px;
}

.kw-feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: var(--kw-primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--kw-primary);
    margin: 0 auto 1rem;
}

.kw-feature-item h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--kw-dark);
    margin-bottom: 0.5rem;
}

.kw-feature-item p {
    font-size: 0.82rem;
    color: var(--kw-text-muted);
    line-height: 1.5;
}

/* ===========================================================================
   7. CLIENT AREA CTA
   =========================================================================== */
.kw-cta-box {
    background: linear-gradient(135deg, var(--kw-primary) 0%, var(--kw-primary-hover) 100%);
    border-radius: var(--kw-radius-lg);
    padding: 60px 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.kw-cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.kw-cta-box h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1rem;
    position: relative;
}

.kw-cta-box p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.05rem;
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.kw-cta-features {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
    margin-bottom: 2rem;
    position: relative;
}

.kw-cta-features span {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.kw-cta-features span i {
    font-size: 1rem;
}

/* ===========================================================================
   RESPONSIVE
   =========================================================================== */

/* Tablet */
@media (max-width: 991px) {
    .kw-pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .kw-pricing-card.featured {
        transform: scale(1);
    }

    .kw-pricing-card.featured:hover {
        transform: translateY(-6px);
    }

    .kw-features-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .kw-combo {
        flex-direction: column;
        text-align: center;
        padding: 40px 28px;
    }

    .kw-section {
        padding: 60px 0;
    }

    .kw-section-title {
        font-size: 1.8rem;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .kw-btn {
        min-height: 48px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 16px;
    }

    .main-navbar .nav-link {
        padding: 14px 16px !important;
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .kw-trust-row {
        flex-wrap: wrap;
        gap: 8px;
        justify-content: center;
    }

    .kw-trust-item {
        font-size: 0.72rem;
        padding: 5px 10px;
    }

    .kw-pricing-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .kw-pricing-card {
        width: 100%;
    }

    .kw-service-grid {
        grid-template-columns: 1fr;
    }

    .kw-specs-grid {
        grid-template-columns: 1fr;
    }

    .kw-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .kw-spec-list {
        grid-template-columns: 1fr;
    }

    .kw-combo {
        padding: 32px 20px;
        gap: 24px;
    }

    .kw-combo-text h2 {
        font-size: 1.5rem;
    }

    .kw-cta-box {
        padding: 40px 24px;
    }

    .kw-cta-box h2 {
        font-size: 1.5rem;
    }

    .kw-cta-features {
        flex-direction: column;
        gap: 12px;
    }

    .kw-section {
        padding: 48px 0;
    }

    .kw-section-title {
        font-size: 1.5rem;
    }

    .kw-section-subtitle {
        font-size: 0.95rem;
    }
}

/* Small */
@media (max-width: 480px) {
    .kw-features-grid {
        grid-template-columns: 1fr;
    }

    .kw-pricing-card {
        padding: 28px 20px;
    }
}

/* ===========================================================================
   HEADER OVERRIDE FOR HOMEPAGE (dark hero needs transparent/dark header)
   =========================================================================== */
body.kheweul-homepage #header.kheweul-header {
    background: rgba(15, 23, 42, 0.85) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
}

/* Ensure we override the highly specific custom.css rules */
body.kheweul-homepage.primary-bg-color.kheweul-theme #header.kheweul-header .main-navbar .navbar-nav>li>a,
body.kheweul-homepage.primary-bg-color.kheweul-theme #header.kheweul-header .main-navbar .nav-link,
body.kheweul-homepage #header.kheweul-header .navbar-nav .nav-link,
body.kheweul-homepage #header.kheweul-header .nav-link,
body.kheweul-homepage #header.kheweul-header .kw-nav-login,
body.kheweul-homepage #header.kheweul-header .navbar-brand {
    color: #ffffff !important;
}

body.kheweul-homepage.primary-bg-color.kheweul-theme #header.kheweul-header .main-navbar .navbar-nav>li>a:hover,
body.kheweul-homepage.primary-bg-color.kheweul-theme #header.kheweul-header .main-navbar .nav-link:hover,
body.kheweul-homepage #header.kheweul-header .navbar-nav .nav-link:hover,
body.kheweul-homepage #header.kheweul-header .kw-nav-login:hover {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.1) !important;
}

body.kheweul-homepage .kheweul-hamburger .hamburger-bar {
    background-color: #ffffff !important;
}

body.kheweul-homepage .kw-currency-btn {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    color: #ffffff !important;
}

body.kheweul-homepage .kw-currency-btn:hover {
    background: rgba(255, 255, 255, 0.2) !important;
}

body.kheweul-homepage .topbar-minimal {
    background: #0d1a2e !important;
    border-bottom: 1px solid rgba(232, 149, 72, 0.2) !important;
    box-shadow: 0 1px 0 rgba(232, 149, 72, 0.12) !important;
    font-size: 0.8rem !important;
    font-family: 'Inter', sans-serif !important;
    letter-spacing: 0.15px;
}

body.kheweul-homepage .topbar-minimal .topbar-item {
    color: #cbd5e1 !important;
    font-weight: 500 !important;
}

body.kheweul-homepage .topbar-minimal .topbar-item i {
    color: #94a3b8 !important;
}

body.kheweul-homepage .topbar-minimal .topbar-link {
    color: #e2e8f0 !important;
    font-weight: 500 !important;
    padding: 4px 8px !important;
    border-radius: 5px !important;
    transition: all 0.18s ease !important;
    text-decoration: none !important;
}

body.kheweul-homepage .topbar-minimal .topbar-link i {
    color: #94a3b8 !important;
}

body.kheweul-homepage .topbar-minimal .topbar-whatsapp-link {
    color: #4ade80 !important;
}

body.kheweul-homepage .topbar-minimal .topbar-whatsapp-link i {
    color: #4ade80 !important;
}

body.kheweul-homepage .topbar-minimal .topbar-separator {
    background: rgba(255, 255, 255, 0.12) !important;
    height: 14px !important;
}

body.kheweul-homepage .topbar-minimal .kw-currency-btn {
    color: #e2e8f0 !important;
    font-weight: 500 !important;
    padding: 4px 8px !important;
    border-radius: 5px !important;
}

body.kheweul-homepage .topbar-minimal .topbar-link:hover,
body.kheweul-homepage .topbar-minimal .kw-currency-btn:hover {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.08) !important;
}

body.kheweul-homepage .topbar-minimal .topbar-link:hover i {
    color: #ffffff !important;
}

/* Bouton Connexion dans topbar */
body.kheweul-homepage .topbar-minimal .kw-btn-connexion,
body.kheweul-homepage .topbar-minimal a.btn.kw-btn-primary {
    background: linear-gradient(135deg, #E89548, #d07b30) !important;
    color: #ffffff !important;
    border: none !important;
    padding: 5px 16px !important;
    border-radius: 6px !important;
    font-weight: 600 !important;
    font-size: 0.8rem !important;
    letter-spacing: 0.2px !important;
}

/* ===========================================================================
   8. FOOTER SECTION
   =========================================================================== */
.kw-footer {
    background: linear-gradient(to bottom, #0f172a 0%, #020617 100%);
    color: #94a3b8;
    padding: 80px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
}

.kw-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 15%;
    width: 70%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.4), transparent);
}

.kw-footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

.kw-footer-col h4 {
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.kw-footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.kw-footer-col ul li {
    margin-bottom: 12px;
}

.kw-footer-col ul li a {
    color: #94a3b8;
    font-size: 0.92rem;
    text-decoration: none;
    transition: var(--kw-transition);
}

.kw-footer-col ul li a:hover {
    color: var(--kw-primary);
    padding-left: 4px;
}

.kw-footer-logo {
    display: inline-block;
    margin-bottom: 1.5rem;
}

.kw-footer-logo img {
    max-height: 40px;
}

.kw-footer-about {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.kw-footer-social {
    display: flex;
    gap: 12px;
}

.kw-footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: var(--kw-transition);
    text-decoration: none;
}

.kw-footer-social a:hover {
    background: var(--kw-primary);
    transform: translateY(-3px);
}

.kw-footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.85rem;
}

.kw-footer-payments {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.kw-footer-payments i {
    font-size: 1.8rem;
    transition: var(--kw-transition);
}

.kw-footer-payments i:hover {
    transform: translateY(-2px);
}

.kw-footer-payments .payment-icon-img {
    height: 28px;
    width: auto;
    opacity: 1;
    filter: none;
    background: #ffffff;
    border-radius: 6px;
    padding: 3px 8px;
    object-fit: contain;
    transition: var(--kw-transition);
}

.kw-footer-payments .payment-icon-img:hover {
    opacity: 1;
    filter: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* --- Footer Responsive --- */
@media (max-width: 1199px) {
    .kw-footer-grid {
        grid-template-columns: 1.5fr repeat(2, 1fr);
        gap: 32px;
    }
}

@media (max-width: 767px) {
    .kw-footer {
        padding: 60px 0 20px;
    }

    .kw-footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .kw-footer-social {
        justify-content: center;
    }

    .kw-footer-payments {
        justify-content: center;
        margin-top: 1.5rem;
    }
}

/* ===========================================================================
   TÉMOIGNAGES
   =========================================================================== */
.kw-testimonials-wrap {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

.kw-testimonials-wrap .kw-badge {
    background: rgba(232, 149, 72, 0.15);
    color: #E89548;
}

.kw-testimonials-slider {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.kw-testi-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--kw-radius-lg);
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: var(--kw-transition);
}

.kw-testi-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
    border-color: rgba(232, 149, 72, 0.3);
}

.kw-testi-stars i {
    color: #f59e0b;
    font-size: 0.9rem;
}

.kw-testi-text {
    color: #cbd5e1;
    font-size: 0.95rem;
    line-height: 1.7;
    flex: 1;
    margin: 0;
}

.kw-testi-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.kw-testi-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--kw-primary), var(--kw-primary-hover));
    color: #fff;
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.kw-testi-author strong {
    display: block;
    color: #f1f5f9;
    font-size: 0.9rem;
}

.kw-testi-author span {
    color: #64748b;
    font-size: 0.8rem;
}

/* ===========================================================================
   CALCULATEUR — sliders
   =========================================================================== */
.custom-range::-webkit-slider-thumb {
    background: var(--kw-primary);
}

.custom-range::-moz-range-thumb {
    background: var(--kw-primary);
}

.custom-range::-webkit-slider-runnable-track {
    background: var(--kw-border);
}

#kw-calc label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--kw-text);
    cursor: default;
}

/* ===========================================================================
   LAZY LOADING — images
   =========================================================================== */
img.lazy {
    opacity: 0;
    transition: opacity 0.4s ease;
}

img.lazy.loaded {
    opacity: 1;
}

[data-bg] {
    background-size: cover;
    background-position: center;
    transition: opacity 0.4s ease;
}

[data-bg].loaded {
    opacity: 1;
}

/* ===========================================================================
   DARK MODE OVERRIDES POUR LA HOMEPAGE
   Ces styles s'activent uniquement quand body.dark-mode est présent.
   =========================================================================== */

/* --- 1. HERO — dark mode géré directement dans la section Hero ci-dessus --- */

/* --- 2. HÉBERGEMENTS (PRICING CARDS) --- */
body.dark-mode .kw-pricing-card {
    background: #1e293b;
    border-color: #334155;
}

body.dark-mode .kw-pricing-card:hover {
    border-color: var(--kw-primary);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

body.dark-mode .kw-pricing-card.featured {
    border-color: var(--kw-primary);
    background: linear-gradient(180deg, rgba(30, 41, 59, 1) 0%, rgba(15, 23, 42, 1) 100%);
}

body.dark-mode .kw-pricing-name,
body.dark-mode .kw-pricing-price .amount {
    color: #f8fafc;
}

body.dark-mode .kw-pricing-desc,
body.dark-mode .kw-pricing-price .currency,
body.dark-mode .kw-pricing-price .period {
    color: #94a3b8;
}

body.dark-mode .kw-pricing-features li {
    color: #cbd5e1;
    border-bottom-color: rgba(255, 255, 255, 0.05);
}

/* --- 3. COMBO & SERVER SPECS (SECTIONS SOMBRES) --- */
body.dark-mode .kw-combo {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border: 1px solid #334155;
}

body.dark-mode .kw-combo-text h2 {
    color: #ffffff;
}

body.dark-mode .kw-combo-text p {
    color: #cbd5e1;
}

body.dark-mode .combo-price {
    background: rgba(15, 23, 42, 0.6);
    border-color: #334155;
}

body.dark-mode .kw-spec-card {
    background: #1e293b;
    border-color: #334155;
    color: #cbd5e1;
}

body.dark-mode .kw-spec-card h3 {
    color: #f8fafc;
}

body.dark-mode .kw-spec-list {
    border-color: #334155;
}

body.dark-mode .kw-spec-item {
    border-color: rgba(255, 255, 255, 0.05);
}

body.dark-mode .kw-spec-price {
    color: #f8fafc;
}

/* --- 4. SERVICES (SÉCURITÉ) & POURQUOI NOUS --- */
body.dark-mode .kw-service-card,
body.dark-mode .kw-feature-item {
    background: #1e293b;
    border-color: #334155;
}

body.dark-mode .kw-service-card:hover,
body.dark-mode .kw-feature-item:hover {
    border-color: var(--kw-primary);
}

body.dark-mode .kw-service-card h3,
body.dark-mode .kw-service-price,
body.dark-mode .kw-feature-item h4 {
    color: #f8fafc;
}

body.dark-mode .kw-service-card p,
body.dark-mode .kw-feature-item p {
    color: #94a3b8;
}

/* --- 5. TÉMOIGNAGES --- */
body.dark-mode .kw-testimonials-wrap {
    background: #0f172a;
}

body.dark-mode .kw-testi-card {
    background: #1e293b;
    border-color: #334155;
}

body.dark-mode .kw-testi-card:hover {
    border-color: var(--kw-primary);
    background: rgba(30, 41, 59, 0.8);
}

/* --- 6. SECTION CTA (ESPACE CLIENT) --- */
body.dark-mode .kw-cta-box {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border: 1px solid #334155;
}

body.dark-mode .kw-cta-box h2 {
    color: #ffffff;
}

body.dark-mode .kw-cta-box p,
body.dark-mode .kw-cta-features span {
    color: #cbd5e1;
}

body.dark-mode .kw-btn-white {
    background: #334155;
    border: 1px solid #475569;
    color: #f8fafc !important;
}

body.dark-mode .kw-btn-white:hover {
    background: #475569;
    color: #ffffff !important;
}

/* --- 7. GLOBAL TEXT FIXES FOR DARK MODE --- */
/* Fix text contrast in global titles when dark mode is active */
body.dark-mode .kw-section-title {
    color: #f8fafc;
}

body.dark-mode .kw-section-subtitle {
    color: #94a3b8;
}

/* Fix 'strong' elements that might inherit dark text */
body.dark-mode strong,
body.dark-mode b,
body.dark-mode .kw-tld-badge strong,
body.dark-mode .kw-pricing-features li strong {
    color: #ffffff !important;
}

/* Fix elements hardcoded to dark blue (#2C3E50, #0f172a, etc.) */
body.dark-mode .kw-pricing-name,
body.dark-mode .kw-pricing-price .amount,
body.dark-mode .kw-service-card h3,
body.dark-mode .kw-service-price,
body.dark-mode .kw-feature-item h4,
body.dark-mode .kw-spec-card h3,
body.dark-mode .kw-spec-price {
    color: #f8fafc !important;
}

/* Fix generic badges */
body.dark-mode .kw-badge {
    background: rgba(232, 149, 72, 0.15);
    color: var(--kw-primary);
}

/* =====================================================
   SOCIAL PROOF SECTION
   ===================================================== */
.kw-social-proof {
    padding: 60px 0;
    background: linear-gradient(135deg, #fff9f4 0%, #ffffff 50%, #f0f7ff 100%);
    border-bottom: 1px solid var(--kw-border);
    position: relative;
    overflow: hidden;
}

.kw-social-proof::before {
    content: '';
    position: absolute;
    top: -80px;
    left: -80px;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(232, 149, 72, 0.07) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.kw-social-proof::after {
    content: '';
    position: absolute;
    bottom: -60px;
    right: -60px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.kw-proof-stats {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 0;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.07), 0 1px 0 rgba(232, 149, 72, 0.12);
    border: 1px solid rgba(232, 149, 72, 0.12);
    overflow: hidden;
}

.kw-proof-stat {
    text-align: center;
    flex: 1;
    min-width: 160px;
    padding: 2rem 1.5rem;
    position: relative;
    transition: background 0.25s ease;
    cursor: default;
}

.kw-proof-stat:hover {
    background: linear-gradient(160deg, rgba(232, 149, 72, 0.05) 0%, rgba(232, 149, 72, 0.01) 100%);
}

.kw-proof-icon {
    width: 54px;
    height: 54px;
    background: linear-gradient(135deg, rgba(232, 149, 72, 0.14) 0%, rgba(232, 149, 72, 0.06) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.25rem;
    color: var(--kw-primary);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.kw-proof-stat:hover .kw-proof-icon {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(232, 149, 72, 0.2);
}

.kw-proof-number {
    display: block;
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.1;
    background: linear-gradient(135deg, var(--kw-primary) 0%, #D07B30 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.kw-proof-label {
    display: block;
    font-size: 0.82rem;
    color: var(--kw-text-muted);
    font-weight: 600;
    margin-top: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.kw-proof-divider {
    width: 1px;
    background: linear-gradient(to bottom, transparent, var(--kw-border), transparent);
    align-self: stretch;
    flex-shrink: 0;
}

.kw-proof-partners {
    text-align: center;
    padding-top: 0.25rem;
}

.kw-proof-partners-label {
    font-size: 0.75rem;
    color: var(--kw-text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    display: block;
    margin-bottom: 1rem;
}

.kw-partner-logos {
    display: flex;
    justify-content: center;
    gap: 0.6rem;
    flex-wrap: wrap;
    align-items: center;
}

.kw-partner-logo {
    font-size: 0.8rem;
    font-weight: 700;
    color: #64748b;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    padding: 5px 14px;
    transition: all 0.2s ease;
    letter-spacing: 0.3px;
    line-height: 1.4;
}

.kw-partner-logo:hover {
    color: var(--kw-primary);
    border-color: rgba(232, 149, 72, 0.4);
    background: rgba(232, 149, 72, 0.06);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(232, 149, 72, 0.12);
}

.kw-partner-logo i {
    color: var(--kw-primary);
    margin-right: 4px;
    font-size: 0.68rem;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .kw-social-proof {
        padding: 40px 0;
    }
    .kw-proof-stats {
        border-radius: 16px;
    }
    .kw-proof-stat {
        min-width: calc(50% - 1px);
        padding: 1.5rem 0.75rem;
    }
    .kw-proof-number {
        font-size: 1.7rem;
    }
    .kw-proof-divider {
        display: none;
    }
    .kw-proof-stat:nth-child(even) {
        border-left: 1px solid var(--kw-border);
    }
    .kw-proof-stat:nth-child(n+3) {
        border-top: 1px solid var(--kw-border);
    }
}

/* =====================================================
   TESTIMONIALS SECTION
   ===================================================== */
.kw-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.kw-testimonial-card {
    background: #ffffff;
    border-radius: var(--kw-radius);
    padding: 2rem;
    border: 1px solid var(--kw-border);
    box-shadow: var(--kw-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.kw-testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--kw-shadow-lg);
}

.kw-testimonial-stars {
    color: #f59e0b;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: flex;
    gap: 2px;
}

.kw-testimonial-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--kw-text);
    margin-bottom: 1.25rem;
    font-style: italic;
}

.kw-testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.kw-testimonial-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--kw-primary), var(--kw-primary-hover));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.kw-testimonial-author strong {
    display: block;
    font-size: 0.9rem;
    color: var(--kw-dark);
}

.kw-testimonial-author span {
    font-size: 0.8rem;
    color: var(--kw-text-muted);
}

@media (max-width: 992px) {
    .kw-testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }
}

/* =====================================================
   FAQ SECTION
   ===================================================== */
.kw-faq-container {
    max-width: 750px;
    margin: 0 auto;
}

.kw-faq-item {
    border: 1px solid var(--kw-border);
    border-radius: var(--kw-radius);
    margin-bottom: 0.75rem;
    overflow: hidden;
    transition: box-shadow 0.2s ease;
}

.kw-faq-item:hover {
    box-shadow: var(--kw-shadow);
}

.kw-faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.1rem 1.5rem;
    background: #ffffff;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--kw-dark);
    text-align: left;
    font-family: 'Inter', sans-serif;
    transition: background 0.2s ease;
}

.kw-faq-question:hover {
    background: var(--kw-bg-alt);
}

.kw-faq-question i {
    color: var(--kw-text-muted);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 1rem;
}

.kw-faq-item.active .kw-faq-question i {
    transform: rotate(180deg);
    color: var(--kw-primary);
}

.kw-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    padding: 0 1.5rem;
}

.kw-faq-item.active .kw-faq-answer {
    max-height: 300px;
    padding: 0 1.5rem 1.25rem;
}

.kw-faq-answer p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--kw-text);
    margin: 0;
}

/* =====================================================
   PRICING CARD - GOLD "POPULAIRE" ENHANCED
   ===================================================== */
.kw-pricing-card.featured {
    border: 2px solid var(--kw-primary);
    transform: scale(1.03);
    box-shadow: 0 8px 30px rgba(232, 149, 72, 0.15);
    position: relative;
}

.kw-pricing-card.featured:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 40px rgba(232, 149, 72, 0.2);
}

.kw-pricing-ribbon {
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--kw-primary), var(--kw-primary-hover));
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 20px;
    border-radius: 0 0 8px 8px;
}

/* Dark mode support for new sections */
body.dark-mode .kw-social-proof {
    background: linear-gradient(135deg, #1c0e04 0%, var(--kw-dark-2) 50%, #050d1a 100%);
    border-bottom-color: rgba(255, 255, 255, 0.05);
}
body.dark-mode .kw-proof-stats {
    background: #1e293b;
    border-color: rgba(255, 255, 255, 0.06);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.35);
}
body.dark-mode .kw-proof-icon {
    background: rgba(232, 149, 72, 0.15);
}
body.dark-mode .kw-proof-divider { background: rgba(255, 255, 255, 0.06); }
body.dark-mode .kw-proof-stat:nth-child(even) { border-left-color: rgba(255,255,255,0.06); }
body.dark-mode .kw-proof-stat:nth-child(n+3) { border-top-color: rgba(255,255,255,0.06); }
body.dark-mode .kw-partner-logo {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.08);
    color: #94a3b8;
}
body.dark-mode .kw-partner-logo:hover {
    color: var(--kw-primary);
    border-color: rgba(232, 149, 72, 0.4);
    background: rgba(232, 149, 72, 0.1);
}
body.dark-mode .kw-testimonial-card { background: var(--kw-dark-2); border-color: rgba(255, 255, 255, 0.05); }
body.dark-mode .kw-testimonial-text { color: #cbd5e1; }
body.dark-mode .kw-testimonial-author strong { color: #f8fafc; }
body.dark-mode .kw-faq-question { background: var(--kw-dark-2); color: #f8fafc; }
body.dark-mode .kw-faq-question:hover { background: #1e293b; }
body.dark-mode .kw-faq-item { border-color: rgba(255, 255, 255, 0.05); }
body.dark-mode .kw-faq-answer p { color: #cbd5e1; }