/* ============================================================
   LOOMYA LANDING PAGE — copie conforme loomya.africa
   ============================================================ */

:root {
    --lp-primary:  #FF9500;
    --lp-hover:    #e68600;
    --lp-dark:     #1a1a1a;
    --lp-gray:     #2d2d2d;
    --lp-light:    #F8F9FA;
    --lp-muted:    #374151;
    --lp-white:    #ffffff;
}

/* ── RESET partiel ────────────────────────────────── */
#lp-root *, #lp-root *::before, #lp-root *::after {
    box-sizing: border-box;
}

/* ── NAVBAR LANDING ───────────────────────────────── */
/* Override p-nav.scroll — hero is light, so text must be dark */
nav.p-nav.scroll,
.navbar.p-nav.scroll {
    background: rgba(255,255,255,0.97) !important;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 2px 16px rgba(0,0,0,.07) !important;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

/* Nav links: dark text (override white from p-nav) */
nav.p-nav.scroll a.nav-link:not(.btn),
nav.p-nav.scroll .navbar-nav .nav-link:not(.btn) {
    color: #1a1a1a !important;
    font-weight: 500;
    transition: color 0.25s ease;
}
nav.p-nav.scroll a.nav-link:hover:not(.btn) {
    color: #FF9900 !important;
}

/* Logo: ensure it's visible and properly sized */
nav.p-nav.scroll .logo {
    height: 38px !important;
    width: auto !important;
    max-width: 160px;
}

/* Hamburger icon: dark */
nav.p-nav.scroll .navbar-toggler,
nav.p-nav.scroll .fa-bars {
    color: #1a1a1a !important;
}

.lp-nav {
    padding: 1rem 0;
    background: #fff;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.07);
}
.lp-nav .nav-link {
    padding: 0.5rem 1.2rem !important;
    font-weight: 500;
    font-size: 0.95rem;
    color: #374151 !important;
    position: relative;
    transition: color 0.3s ease;
}
.lp-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--lp-primary);
    transition: width 0.3s ease;
    border-radius: 2px;
}
.lp-nav .nav-link:hover::after { width: 80%; }
.lp-nav .nav-link:hover { color: var(--lp-primary) !important; }

/* ── NAVBAR BUTTONS — orange #FF9900 + white text ──── */
/* Targets all CTA buttons in the landing navbar */
nav.p-nav .btn-main,
nav.p-nav a.btn-main,
nav.p-nav .btn-register-menu,
nav.p-nav .btn-light.btn-main,
nav.p-nav .btn-primary.btn-main,
nav.p-nav .btn-main.btn-light,
nav.p-nav .btn-main.btn-primary {
    background: #FF9900 !important;
    border-color: #FF9900 !important;
    color: #ffffff !important;
    border-radius: 50px !important;
    font-weight: 600;
    transition: all 0.25s ease !important;
}
nav.p-nav .btn-main:hover,
nav.p-nav a.btn-main:hover,
nav.p-nav .btn-register-menu:hover,
nav.p-nav .btn-light.btn-main:hover,
nav.p-nav .btn-primary.btn-main:hover {
    background: #e68800 !important;
    border-color: #e68800 !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
}

/* ── Nav links hover effect ──────────────────────── */
nav.p-nav.scroll .lm-nav-link {
    color: #1a1a1a !important;
    font-weight: 500;
    position: relative;
    padding-bottom: 4px !important;
    transition: color 0.25s ease;
}
nav.p-nav.scroll .lm-nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: #FF9900;
    border-radius: 2px;
    transition: width 0.28s ease;
}
nav.p-nav.scroll .lm-nav-link:hover {
    color: #FF9900 !important;
}
nav.p-nav.scroll .lm-nav-link:hover::after {
    width: 70%;
}

/* ── Login button: black border pill ─────────────── */
nav.p-nav .lm-btn-login {
    color: #1a1a1a !important;
    font-weight: 600;
    border: 2px solid #1a1a1a !important;
    border-radius: 50px !important;
    padding: 7px 20px !important;
    transition: all 0.25s ease !important;
    text-decoration: none;
    line-height: 1.4;
}
nav.p-nav .lm-btn-login:hover {
    background: #1a1a1a !important;
    color: #ffffff !important;
    transform: translateY(-1px);
}

.lp-btn-primary {
    background-color: var(--lp-primary) !important;
    border-color: var(--lp-primary) !important;
    color: #fff !important;
    border-radius: 50px !important;
    font-weight: 600;
    transition: all 0.3s ease;
}
.lp-btn-primary:hover {
    background-color: var(--lp-hover) !important;
    border-color: var(--lp-hover) !important;
    transform: translateY(-2px);
}
.lp-btn-outline {
    color: var(--lp-primary) !important;
    border-color: var(--lp-primary) !important;
    border-radius: 50px !important;
    font-weight: 600;
    background: transparent !important;
    transition: all 0.3s ease;
}
.lp-btn-outline:hover {
    background-color: var(--lp-primary) !important;
    color: #fff !important;
    transform: translateY(-2px);
}
.lp-btn-outline-light {
    color: #fff !important;
    border: 2px solid rgba(255,255,255,0.5) !important;
    border-radius: 50px !important;
    font-weight: 600;
    background: transparent !important;
    transition: all 0.3s ease;
}
.lp-btn-outline-light:hover {
    background: rgba(255,255,255,0.15) !important;
    transform: translateY(-2px);
}

/* ── HERO ─────────────────────────────────────────── */
.lp-hero {
    padding: 150px 0 100px;
    background: #fff;
    position: relative;
    overflow: hidden;
}
.lp-hero__content {
    animation: lpFadeLeft 0.9s ease both;
}
.lp-hero__image-col {
    animation: lpFadeRight 0.9s 0.1s ease both;
}
@keyframes lpFadeLeft {
    from { opacity:0; transform:translateX(-50px); }
    to   { opacity:1; transform:translateX(0); }
}
@keyframes lpFadeRight {
    from { opacity:0; transform:translateX(50px); }
    to   { opacity:1; transform:translateX(0); }
}

/* Badge pill */
.lp-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(255,149,0,0.10);
    color: var(--lp-primary);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid rgba(255,149,0,0.20);
}
.lp-pulse-dot {
    width: 8px; height: 8px;
    background: var(--lp-primary);
    border-radius: 50%;
    animation: lpPulse 2s infinite;
}
@keyframes lpPulse {
    0%,100% { opacity:1; transform:scale(1); }
    50% { opacity:0.5; transform:scale(1.4); }
}

/* Hero title */
.lp-hero__title {
    font-size: clamp(2.4rem, 5vw, 3.6rem) !important;
    font-weight: 800 !important;
    line-height: 1.15 !important;
    letter-spacing: -0.03em;
    color: #111 !important;
}
.lp-hero__title .lp-highlight {
    color: var(--lp-primary);
    position: relative;
    display: inline-block;
}
.lp-hero__title .lp-highlight svg.lp-underline {
    position: absolute;
    bottom: -8px; left: 0;
    width: 100%; height: 12px;
}

.lp-hero__subtitle {
    font-size: 1.1rem;
    color: var(--lp-muted);
    line-height: 1.75;
}

/* Avatar group */
.lp-avatars {
    display: flex;
    margin-left: 0;
}
.lp-avatar {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f0a500, #d4edda);
    border: 2.5px solid #fff;
    margin-left: -10px;
    overflow: hidden;
}
.lp-avatar:first-child { margin-left: 0; }

/* Image wrapper */
.lp-image-wrap {
    position: relative;
}
.lp-deco {
    position: absolute;
    border-radius: 24px;
    z-index: 0;
}
.lp-deco--1 {
    top: -20px; right: -20px;
    width: 80%; height: 80%;
    background: linear-gradient(135deg, rgba(255,149,0,0.18), rgba(255,149,0,0.04));
    transform: rotate(6deg);
}
.lp-deco--2 {
    bottom: -20px; left: -20px;
    width: 80%; height: 80%;
    background: linear-gradient(225deg, rgba(255,149,0,0.18), rgba(255,149,0,0.04));
    transform: rotate(-6deg);
}
.lp-image-wrap img {
    position: relative; z-index: 1;
    transition: transform 0.7s ease;
    width: 100%;
    border-radius: 1rem;
}
.lp-image-wrap:hover img { transform: scale(1.03); }

/* Floating card */
.lp-float-card {
    position: absolute;
    bottom: -24px; left: -24px;
    background: #fff;
    padding: 14px 20px;
    border-radius: 16px;
    box-shadow: 0 10px 32px rgba(0,0,0,0.14);
    z-index: 2;
    animation: lpFloat 3s ease-in-out infinite;
    min-width: 160px;
}
@keyframes lpFloat {
    0%,100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
.lp-float-icon {
    width: 44px; height: 44px;
    background: linear-gradient(135deg, var(--lp-primary), #ffa733);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 1.3rem; font-weight: bold;
    flex-shrink: 0;
}

/* ── SECTION HEADERS ──────────────────────────────── */
.lp-section-title {
    font-size: clamp(1.9rem, 3.5vw, 2.8rem) !important;
    font-weight: 800 !important;
    color: #111 !important;
    letter-spacing: -0.03em;
}
.lp-section-sub {
    font-size: 1.05rem;
    color: var(--lp-muted);
    max-width: 580px;
    margin: 0 auto;
    line-height: 1.72;
}

/* ── CREATOR CARDS ────────────────────────────────── */
.lp-creator-card {
    position: relative;
    height: 400px;
    border-radius: 24px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.45s ease, box-shadow 0.45s ease;
}
.lp-creator-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 22px 44px rgba(0,0,0,0.22);
}
.lp-creator-card__img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}
.lp-creator-card:hover .lp-creator-card__img { transform: scale(1.10); }
.lp-creator-card__overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.82), rgba(0,0,0,0.35), transparent);
}
.lp-creator-card__icon {
    position: absolute; top: 20px; right: 20px;
    width: 46px; height: 46px;
    background: rgba(255,149,0,0.92);
    backdrop-filter: blur(8px);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 1.3rem;
    transition: transform 0.3s ease;
}
.lp-creator-card:hover .lp-creator-card__icon { transform: rotate(12deg); }
.lp-creator-card__content {
    position: absolute; bottom: 22px; left: 22px; right: 22px;
    color: #fff !important;
}
.lp-creator-card__content h4,
.lp-creator-card__content h3,
.lp-creator-card__content span {
    color: #fff !important;
    margin-bottom: 6px;
    font-size: 1.2rem;
}
.lp-creator-card__content p {
    color: rgba(255,255,255,0.88) !important;
    font-size: 0.85rem;
    margin: 0;
}

/* ── STEP CARDS ───────────────────────────────────── */
.lp-step-card {
    background: #fff;
    padding: 2.5rem;
    border-radius: 24px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.07);
    position: relative;
    transition: all 0.32s ease;
    height: 100%;
}
.lp-step-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 14px 36px rgba(0,0,0,0.13);
}
.lp-step-num {
    position: absolute;
    top: -18px; right: -18px;
    width: 46px; height: 46px;
    background: var(--lp-primary);
    color: #fff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 1.1rem;
    box-shadow: 0 4px 14px rgba(255,149,0,0.42);
}
.lp-step-icon {
    width: 64px; height: 64px;
    background: linear-gradient(135deg, rgba(255,149,0,0.18), rgba(255,149,0,0.05));
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    color: var(--lp-primary); font-size: 1.9rem;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}
.lp-step-card:hover .lp-step-icon { transform: scale(1.1) rotate(5deg); }

/* ── PROFILE SECTION ──────────────────────────────── */
.lp-profile-wrap { position: relative; }
.lp-profile-wrap img {
    border-radius: 1rem;
    transition: transform 0.6s ease;
    width: 100%;
}
.lp-profile-wrap:hover img { transform: scale(1.02); }
.lp-profile-badge {
    position: absolute;
    background: #fff;
    padding: 12px 18px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.10);
    font-size: 14px; font-weight: 600; z-index: 2;
}
.lp-profile-badge--online {
    top: -18px; right: -18px;
    color: #10b981;
    display: flex; align-items: center; gap: 7px;
}
.lp-profile-badge--online::before {
    content: ''; width: 8px; height: 8px;
    background: #10b981; border-radius: 50%;
    animation: lpPulse 2s infinite;
}
.lp-profile-badge--support {
    bottom: -18px; left: 22px;
    text-align: center;
}
.lp-profile-badge--support strong {
    display: block;
    font-size: 1.4rem;
    color: var(--lp-primary);
}

.lp-feature-list { list-style: none; padding: 0; margin: 0; }
.lp-feature-list li {
    display: flex; align-items: center; gap: 12px;
    margin-bottom: 1rem; font-size: 1rem;
    transition: transform 0.28s ease;
}
.lp-feature-list li:hover { transform: translateX(5px); }
.lp-feature-list i { font-size: 1.2rem; color: var(--lp-primary); }

/* ── CALCULATOR (legacy, kept for compat) ──────── */
.lp-calc-icon-wrap {
    width: 64px; height: 64px; margin: 0 auto;
    background: linear-gradient(135deg, rgba(255,149,0,0.18), rgba(255,149,0,0.04));
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.9rem; color: var(--lp-primary);
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   SIMULATOR — improved
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.lp-sim-section {
    background: #f4f5f7;
    padding: 100px 0;
}

/* Card wrapper */
.lp-sim-card {
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 16px 60px rgba(0,0,0,0.12);
}

/* ── Left panel (inputs) ── */
.lp-sim-inputs {
    background: #ffffff;
    padding: 3rem;
}

.lp-sim-field {
    margin-bottom: 2rem;
}

.lp-sim-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    color: #374151;
}
.lp-sim-label i { color: var(--lp-primary); margin-right: 4px; }

.lp-sim-badge {
    background: rgba(255,149,0,0.12);
    color: var(--lp-primary);
    font-weight: 700;
    font-size: 0.82rem;
    padding: 3px 10px;
    border-radius: 20px;
    min-width: 80px;
    text-align: center;
    transition: all 0.2s;
}

/* Grouped input + unit */
.lp-sim-input-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}
.lp-sim-number {
    flex: 1;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 10px 16px;
    font-size: 1.05rem;
    font-weight: 600;
    color: #111;
    outline: none;
    transition: border-color 0.25s, box-shadow 0.25s;
    -moz-appearance: textfield;
}
.lp-sim-number::-webkit-outer-spin-button,
.lp-sim-number::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.lp-sim-number:focus {
    border-color: var(--lp-primary);
    box-shadow: 0 0 0 3px rgba(255,149,0,.15);
}
.lp-sim-unit {
    font-size: 0.85rem;
    color: #374151;
    white-space: nowrap;
    font-weight: 500;
}

/* Custom range slider */
.lp-sim-range {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 6px;
    background: linear-gradient(to right, var(--lp-primary) var(--fill, 0%), #e5e7eb var(--fill, 0%));
    outline: none;
    cursor: pointer;
    margin-bottom: 4px;
}
.lp-sim-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px; height: 20px;
    border-radius: 50%;
    background: var(--lp-primary);
    border: 3px solid #fff;
    box-shadow: 0 2px 8px rgba(255,149,0,.40);
    cursor: pointer;
    transition: transform 0.15s;
}
.lp-sim-range::-webkit-slider-thumb:hover { transform: scale(1.2); }
.lp-sim-range::-moz-range-thumb {
    width: 20px; height: 20px;
    border-radius: 50%;
    background: var(--lp-primary);
    border: 3px solid #fff;
    box-shadow: 0 2px 8px rgba(255,149,0,.40);
    cursor: pointer;
}
.lp-sim-range-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.72rem;
    color: #374151;
    margin-top: 2px;
}

/* Summary row */
.lp-sim-summary {
    background: #f9fafb;
    border: 1px solid #f0f0f0;
    border-radius: 14px;
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.lp-sim-summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.lp-sim-summary-label {
    font-size: 0.85rem;
    color: #374151;
}
.lp-sim-summary-val {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--lp-primary);
}

/* ── Right panel (result) ── */
.lp-sim-result {
    background: linear-gradient(145deg, #FF9900 0%, #ffb733 100%);
    min-height: 100%;
}
.lp-sim-result-inner {
    height: 100%;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3rem;
}
.lp-sim-result-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255,255,255,0.80) !important;
    text-transform: none;
    letter-spacing: 0.07em;
    margin-bottom: 8px;
}
.lp-sim-amount-wrap {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    margin-bottom: 4px;
}
.lp-sim-amount {
    font-size: clamp(2.8rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.04em;
    color: #ffffff !important;
    transition: color 0s;
}
.lp-sim-currency {
    font-size: 1.2rem;
    font-weight: 700;
    color: rgba(255,255,255,0.80) !important;
    padding-bottom: 6px;
}
.lp-sim-result-sub {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.65) !important;
    margin-bottom: 2rem;
}

/* Animated bar chart */
.lp-sim-bars {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    height: 48px;
    margin-bottom: 2rem;
}
.lp-sim-bar {
    flex: 1;
    background: rgba(255,255,255,0.25);
    border-radius: 4px 4px 0 0;
}
.lp-sim-bar--active {
    background: rgba(255,255,255,0.70);
}

/* CTA button */
.lp-sim-cta {
    display: inline-block;
    background: #ffffff;
    color: #FF9900 !important;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 14px 28px;
    border-radius: 50px;
    text-decoration: none;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    transition: transform 0.2s, box-shadow 0.2s;
}
.lp-sim-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.20);
    color: #e68800 !important;
}

/* Disclaimer */
.lp-sim-disclaimer {
    text-align: center;
    margin-top: 1.25rem;
    font-size: 0.82rem;
    color: #374151 !important;
    font-weight: 400;
}

/* Pop animation on calc result */
@keyframes simPop {
    0%   { transform: scale(1); }
    40%  { transform: scale(1.06); }
    100% { transform: scale(1); }
}
.lp-sim-pop { animation: simPop 0.3s ease; }

/* Responsive */
@media (max-width: 991px) {
    .lp-sim-inputs { padding: 2rem; }
    .lp-sim-result-inner { min-height: 0; padding: 2rem; }
    .lp-sim-section { padding: 60px 0; }
}

/* ── CTA SECTION ──────────────────────────────────── */
.lp-cta {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}
.lp-cta-icon {
    width: 80px; height: 80px; margin: 0 auto;
    background: var(--lp-primary);
    border-radius: 20px;
    display: flex; align-items: center; justify-content: center;
    font-size: 2.4rem; color: #fff;
    animation: lpBounce 2s ease-in-out infinite;
    position: relative; z-index: 1;
}
@keyframes lpBounce {
    0%,100% { transform: translateY(0); }
    50%     { transform: translateY(-10px); }
}
.lp-cta h2, .lp-cta p, .lp-cta div { position: relative; z-index: 1; }

/* ── FOOTER LANDING ───────────────────────────────── */
.lp-footer {
    background: #1a1a1a;
    color: #9ca3af;
}
.lp-footer-logo { filter: brightness(0) invert(1); }
.lp-footer h6 { color: #fff !important; }
.lp-footer ul { margin: 0; padding: 0; }
.lp-footer ul li { margin-bottom: 12px; list-style: none; }
.lp-footer a { color: #9ca3af; text-decoration: none; transition: color 0.3s ease; }
.lp-footer a:hover { color: var(--lp-primary); }

.lp-social-links { display: flex; gap: 10px; flex-wrap: wrap; }
.lp-social-link {
    width: 40px; height: 40px;
    background: #2d2d2d;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #9ca3af; text-decoration: none;
    transition: all 0.3s ease;
}
.lp-social-link:hover {
    background: var(--lp-primary);
    color: #fff !important;
    transform: translateY(-3px);
}

/* ── RESPONSIVE ───────────────────────────────────── */
@media (max-width: 991px) {
    .lp-hero { padding: 110px 0 70px; text-align: center; }
    .lp-hero__subtitle { max-width: 100%; }
    .lp-float-card { left: 10px; bottom: -10px; }
    .lp-avatars { justify-content: center; }
    .lp-hero__content .d-flex:last-child { justify-content: center; }
}
@media (max-width: 576px) {
    .lp-creator-card { height: 280px; }
    .lp-calc-card .p-5 { padding: 1.5rem !important; }
    .lp-cta { padding: 80px 0; }
}
