/* ============================================
   CLIKANDEAT — Main Stylesheet
   ============================================ */

:root {
    --ce-primary: #ffc107;   /* Bootstrap warning yellow */
    --ce-dark: #1a1a2e;
    --ce-gray: #6b7280;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: #1f2937;
}

/* Accordion — couleur active en jaune au lieu du bleu Bootstrap */
.accordion-button:not(.collapsed) {
    background-color: #fff8e1;
    color: #1f2937;
    box-shadow: inset 0 -1px 0 rgba(255,193,7,.3);
}
.accordion-button:not(.collapsed)::after {
    filter: none;
}
.accordion-button:focus {
    box-shadow: 0 0 0 .25rem rgba(255,193,7,.25);
}

/* ---- HERO ---- */
.hero-section {
    background: url('/static/img/takashi-yamada-YNfDiSsuU_E-unsplash.jpg') center center / cover no-repeat;
    min-height: 88vh;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.82) 0%,
        rgba(0, 0, 0, 0.65) 45%,
        rgba(0, 0, 0, 0.25) 100%
    );
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.4);
    color: #f59e0b;
    padding: 0.3rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* ---- STEPS (how it works) ---- */
.step-number {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--ce-primary);
    color: #fff;
    font-weight: 700;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    flex-shrink: 0;
}

/* ---- CARDS ---- */
.feature-card {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}

/* ---- PRICING ---- */
.pricing-card {
    border-radius: 16px;
    border: 2px solid #e5e7eb;
    transition: border-color 0.2s;
}

.pricing-card.featured {
    border-color: var(--ce-primary);
    position: relative;
}

.pricing-price {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
}

/* ---- DASHBOARD SIDEBAR ---- */
.sidebar {
    min-height: 100vh;
    background: #1a1a2e;
    width: 260px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    padding-top: 1rem;
}

.sidebar-brand {
    padding: 1rem 1.5rem 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.sidebar .nav-link {
    color: rgba(255,255,255,0.65);
    padding: 0.7rem 1.5rem;
    border-radius: 8px;
    margin: 0.15rem 0.75rem;
    transition: all 0.2s;
    font-size: 0.9rem;
}

.sidebar .nav-link:hover,
.sidebar .nav-link.active {
    color: #fff;
    background: rgba(245,158,11,0.15);
}

.sidebar .nav-link.active {
    border-left: 3px solid var(--ce-primary);
}

.sidebar .nav-link i {
    width: 20px;
    margin-right: 0.5rem;
}

.dashboard-content {
    margin-left: 260px;
    min-height: 100vh;
    background: #f8f9fa;
}

/* ---- WIZARD STEPS ---- */
.wizard-progress {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-bottom: 2rem;
}

.wizard-step {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: #9ca3af;
}

.wizard-step.active {
    color: var(--ce-primary);
    font-weight: 600;
}

.wizard-step.done {
    color: #10b981;
}

.wizard-step-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid currentColor;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
}

.wizard-step.done .wizard-step-num {
    background: #10b981;
    border-color: #10b981;
    color: #fff;
}

.wizard-step.active .wizard-step-num {
    background: var(--ce-primary);
    border-color: var(--ce-primary);
    color: #fff;
}

.wizard-connector {
    width: 40px;
    height: 2px;
    background: #e5e7eb;
    align-self: center;
}

/* ---- MISC ---- */
.text-ce-primary { color: var(--ce-primary); }
.bg-ce-primary { background-color: var(--ce-primary); }
.btn-ce { background-color: var(--ce-primary); color: #fff; border: none; }
.btn-ce:hover { background-color: #d97706; color: #fff; }

/* Responsive: hide sidebar on mobile */
@media (max-width: 991px) {
    .sidebar {
        position: static;
        width: 100%;
        min-height: auto;
    }
    .dashboard-content {
        margin-left: 0;
    }
}
