/* =========================================================
   CARDISPO - Style.css
   ========================================================= */

:root {
    --primary-orange: #FF6600;
    --primary-orange-dark: #e65c00;
    --primary-orange-light: rgba(255, 102, 0, 0.1);
    --dark-navy: #061121;
    --light-navy: #0a192f;
    --text-gray: #777;
    --text-light: #a0aec0;
    --white: #ffffff;
    --border-light: #f0f2f5;
}

* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--white);
    color: var(--dark-navy);
    overflow-x: hidden;
    line-height: 1.6;
}

/* ====== UTILITY ====== */
.text-orange {
    color: var(--primary-orange) !important;
}

.bg-navy {
    background-color: var(--dark-navy);
}

.max-600 {
    max-width: 600px;
}

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary-orange);
    margin-bottom: 15px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.btn-orange {
    background-color: var(--primary-orange);
    color: white;
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 102, 0, 0.25);
}

.btn-orange:hover {
    background-color: var(--primary-orange-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 102, 0, 0.35);
}

/* ====== NAVBAR ====== */
.navbar {
    padding: 15px 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 10px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-orange), #ff8533);
    color: white;
    font-weight: 800;
    font-size: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(255, 102, 0, 0.3);
}

.brand-name {
    font-weight: 800;
    font-size: 1.3rem;
    letter-spacing: 2px;
    color: var(--dark-navy);
    line-height: 1;
}

.brand-sub {
    font-size: 0.65rem;
    letter-spacing: 2px;
    color: var(--text-light);
    font-weight: 500;
    text-transform: uppercase;
}

.navbar-nav .nav-link {
    color: var(--dark-navy);
    font-weight: 500;
    position: relative;
    padding: 10px 5px !important;
    transition: color 0.3s;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-orange);
}

.navbar-nav .nav-link:not(.btn-cta)::after {
    content: "";
    position: absolute;
    left: 5px;
    right: 5px;
    bottom: 5px;
    height: 2px;
    background: var(--primary-orange);
    transform: scaleX(0);
    transition: transform 0.3s;
    transform-origin: left;
}

.navbar-nav .nav-link:hover:not(.btn-cta)::after,
.navbar-nav .nav-link.active:not(.btn-cta)::after {
    transform: scaleX(1);
}

.btn-cta {
    background: var(--primary-orange) !important;
    color: white !important;
    padding: 10px 24px !important;
    border-radius: 8px;
    font-weight: 600 !important;
    box-shadow: 0 4px 15px rgba(255, 102, 0, 0.25);
    transition: all 0.3s;
}

.btn-cta:hover {
    background: var(--primary-orange-dark) !important;
    transform: translateY(-2px);
}

.navbar-toggler {
    border: none;
    padding: 0;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: none !important;
    display: inline-block;
    width: 24px;
    height: 24px;
    background: linear-gradient(var(--dark-navy) 0 0), linear-gradient(var(--dark-navy) 0 0), linear-gradient(var(--dark-navy) 0 0);
    background-position: center, top, bottom;
    background-size: 100% 2px, 100% 2px, 100% 2px;
    background-repeat: no-repeat;
    position: relative;
}

/* ====== HERO ====== */
.hero-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #fafbfc 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: "";
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--primary-orange-light), transparent 70%);
    z-index: 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    background: white;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--dark-navy);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 25px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: #2ecc71;
    border-radius: 50%;
    margin-right: 8px;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.7);
    }

    50% {
        box-shadow: 0 0 0 8px rgba(46, 204, 113, 0);
    }
}

.hero-title {
    font-weight: 800;
    font-size: 4rem;
    line-height: 1.05;
    margin-bottom: 25px;
    letter-spacing: -2px;
}

.hero-subtitle {
    color: var(--text-gray);
    font-size: 1.15rem;
    margin-bottom: 35px;
    max-width: 550px;
}

.search-bar-container {
    background: var(--dark-navy);
    padding: 12px 12px 12px 20px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    box-shadow: 0 15px 40px rgba(6, 17, 33, 0.2);
}

.search-bar-container i {
    color: var(--text-light);
    margin-right: 15px;
}

.search-bar-container input {
    background: transparent;
    border: none;
    color: white;
    width: 100%;
    outline: none;
    padding: 12px 0;
}

.search-bar-container input::placeholder {
    color: #556070;
}

.btn-search {
    padding: 10px 25px;
    border-radius: 10px;
    font-size: 0.9rem;
}

.action-cards .action-card {
    background: white;
    border-radius: 15px;
    padding: 20px 15px;
    text-align: center;
    font-weight: 600;
    transition: all 0.3s;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid var(--border-light);
}

.action-cards .action-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-orange);
    box-shadow: 0 15px 35px rgba(255, 102, 0, 0.15);
}

.action-cards .action-card i {
    color: var(--primary-orange);
    font-size: 1.5rem;
    margin-bottom: 8px;
    display: block;
}

.hero-stats {
    padding-top: 30px;
    border-top: 1px solid var(--border-light);
}

.hero-visual {
    position: relative;
    padding: 20px;
}

.hero-img {
    width: 100%;
    border-radius: 25px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
    transform: perspective(1000px) rotateY(-3deg);
    transition: transform 0.5s;
}

.hero-img:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.floating-card {
    position: absolute;
    background: white;
    padding: 12px 18px;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: float 4s ease-in-out infinite;
}

.card-verif {
    top: 50px;
    left: -10px;
    animation-delay: 0s;
}

.card-price {
    bottom: 80px;
    right: -10px;
    animation-delay: 2s;
}

.fc-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-orange-light);
    color: var(--primary-orange);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.brands-row h5 {
    color: var(--text-light);
    letter-spacing: 1px;
}

/* ====== SERVICES ====== */
.service-card {
    background: white;
    padding: 35px 30px;
    border-radius: 20px;
    height: 100%;
    border: 1px solid var(--border-light);
    transition: all 0.3s;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-orange), #ff8533);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    border-color: transparent;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-orange-light);
    color: var(--primary-orange);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 20px;
}

/* ====== PROCESS ====== */
.process-section {
    background: linear-gradient(135deg, var(--dark-navy) 0%, #0a192f 100%);
    position: relative;
    overflow: hidden;
}

.process-section::before {
    content: "";
    position: absolute;
    top: -200px;
    right: -200px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 102, 0, 0.15), transparent 70%);
}

.process-step {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    padding: 15px;
    border-radius: 15px;
    transition: all 0.3s;
}

.process-step:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(10px);
}

.step-number {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: var(--primary-orange);
    color: white;
    font-weight: 800;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(255, 102, 0, 0.3);
}

.process-visual {
    position: relative;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.process-img {
    width: 100%;
    display: block;
}

.process-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(6, 17, 33, 0.5));
}

.process-badge {
    position: absolute;
    bottom: 30px;
    left: 30px;
    background: white;
    padding: 12px 20px;
    border-radius: 30px;
    font-weight: 600;
    color: var(--dark-navy);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
}

/* ====== CATALOGUE ====== */
.car-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-light);
    transition: all 0.3s;
    cursor: pointer;
}

.car-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
    border-color: transparent;
}

.car-img-wrap {
    position: relative;
    padding-bottom: 70%;
    overflow: hidden;
    background: #fafbfc;
}

.car-img-wrap img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.car-card:hover .car-img-wrap img {
    transform: scale(1.1);
}

.car-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: white;
    color: var(--dark-navy);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.car-badge.hot {
    background: #ff3d3d;
    color: white;
}

.car-badge.promo {
    background: var(--primary-orange);
    color: white;
}

.car-info {
    padding: 20px;
}

/* ====== AVANTAGES ====== */
.avantages-section {
    background: #fafbfc;
}

.avant-item {
    display: flex;
    gap: 18px;
    padding: 18px;
    border-radius: 15px;
    transition: all 0.3s;
    margin-bottom: 10px;
}

.avant-item:hover {
    background: white;
    transform: translateX(8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.avant-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: var(--primary-orange-light);
    color: var(--primary-orange);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.avant-visual img {
    border-radius: 25px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

/* ====== TESTIMONIALS ====== */
.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    height: 100%;
    border: 1px solid var(--border-light);
    transition: all 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.testi-stars {
    margin-bottom: 15px;
    font-size: 0.9rem;
}

/* ====== FINAL CTA ====== */
.final-cta {
    background: linear-gradient(135deg, var(--dark-navy) 0%, #0a192f 100%);
}

.final-cta-box {
    background: linear-gradient(135deg, var(--primary-orange) 0%, #ff8533 100%);
    box-shadow: 0 30px 60px rgba(255, 102, 0, 0.3);
}

.final-cta-box .btn-orange {
    background: var(--dark-navy);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.final-cta-box .btn-orange:hover {
    background: var(--light-navy);
}

/* ====== REGISTRATION FORM ====== */
#registration-section {
    background: linear-gradient(180deg, #fafbfc 0%, #ffffff 100%);
}

.big-icon-wrap {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-orange), #ff8533);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    box-shadow: 0 15px 40px rgba(255, 102, 0, 0.35);
}

.form-container {
    background: white;
    border-radius: 25px;
    padding: 40px;
    max-width: 750px;
    margin: 0 auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

/* Step progress */
.step-progress {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
    gap: 5px;
}

.step-circle {
    width: 38px;
    height: 38px;
    background: white;
    border: 2px solid #e0e5ec;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
    transition: all 0.3s;
    color: var(--text-light);
}
.step-circle i {
    font-size: 1.5rem;
}

.step-circle.active {
    background: var(--primary-orange);
    border-color: var(--primary-orange);
    color: white;
    box-shadow: 0 6px 15px rgba(255, 102, 0, 0.3);
    transform: scale(1.05);
}

.step-circle.completed {
    background: #2ecc71;
    border-color: #2ecc71;
    color: white;
}

.step-line {
    flex: 1;
    height: 2px;
    background: #e0e5ec;
    border-radius: 1px;
    position: relative;
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: fadeInUp 0.5s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.input-group-custom {
    position: relative;
    margin-bottom: 18px;
}

.input-group-custom i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 1.1rem;
    pointer-events: none;
}

.input-group-custom .form-control {
    padding-left: 48px;
    padding-right: 48px;
    height: 55px;
    border-radius: 12px;
    border: 1.5px solid #e0e5ec;
    background: #fafbfc;
    transition: all 0.2s;
}

.input-group-custom .form-control:focus {
    border-color: var(--primary-orange);
    background: white;
    box-shadow: 0 0 0 4px rgba(255, 102, 0, 0.1);
}

.input-group-custom .toggle-pwd {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    cursor: pointer;
    font-size: 1.1rem;
    pointer-events: auto;
}

.profile-option {
    border: 2px solid #e0e5ec;
    border-radius: 15px;
    padding: 18px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: all 0.25s;
    background: white;
}

.profile-option:hover {
    border-color: #c0c8d4;
    background: #fafbfc;
}

.profile-option.selected {
    border-color: var(--primary-orange);
    background-color: var(--primary-orange-light);
}

.profile-option .profile-icon {
    width: 50px;
    height: 50px;
    background: #f0f2f5;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 1.4rem;
    color: var(--dark-navy);
    transition: all 0.2s;
}

.profile-option.selected .profile-icon {
    background: var(--primary-orange);
    color: white;
}

.checkbox-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.2s;
    background: white;
}

.checkbox-item:hover {
    border-color: var(--primary-orange);
    background: #fffaf5;
}

.checkbox-item .form-check-input {
    width: 22px;
    height: 22px;
    border: 2px solid #c0c8d4;
    border-radius: 6px;
    cursor: pointer;
}

.checkbox-item .form-check-input:checked {
    background-color: var(--primary-orange);
    border-color: var(--primary-orange);
}

/* Recap */
.recap-icon-wrap {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-orange-light), rgba(255, 102, 0, 0.2));
    color: var(--primary-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    border: 4px solid white;
    box-shadow: 0 0 0 8px var(--primary-orange-light);
}

.recap-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #fafbfc;
    border-radius: 12px;
    margin-bottom: 10px;
}

.recap-icon-sm {
    width: 45px;
    height: 45px;
    background: var(--primary-orange-light);
    color: var(--primary-orange);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* Success screen */
.success-screen {
    text-align: center;
    color: var(--dark-navy);
    padding: 20px;
    max-width: 750px;
    margin: 0 auto;
}

.success-icon-wrap {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    box-shadow: 0 15px 40px rgba(46, 204, 113, 0.35);
    animation: bounceIn 0.8s;
}

@keyframes bounceIn {
    0% {
        transform: scale(0);
    }

    60% {
        transform: scale(1.15);
    }

    100% {
        transform: scale(1);
    }
}

.success-features {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

/* ====== FOOTER ====== */
.footer {
    padding-top: 80px !important;
}

.footer .social-link {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    transition: all 0.3s;
}

.footer .social-link:hover {
    background: var(--primary-orange);
    color: white;
    transform: translateY(-3px);
}

/* ====== RESPONSIVE ====== */
@media (max-width: 992px) {
    .navbar-collapse {
        background: white;
        padding: 20px;
        border-radius: 15px;
        margin-top: 15px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    }

    .navbar-nav {
        gap: 8px;
    }

    .btn-cta {
        text-align: center;
        margin-top: 8px;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
        letter-spacing: -1px;
    }

    .hero-section {
        padding: 40px 0;
    }

    .hero-visual {
        padding: 0;
    }

    .hero-img {
        transform: none;
    }

    .card-verif {
        top: 10px;
        left: 10px;
    }

    .card-price {
        bottom: 20px;
        right: 10px;
    }

    .floating-card {
        padding: 8px 14px;
        font-size: 0.85rem;
    }

    .fc-icon {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }

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

    .form-container {
        padding: 25px 20px;
    }

    .step-circle {
        width: 32px;
        height: 32px;
        font-size: 0.75rem;
    }

    .service-card {
        padding: 25px 20px;
    }

    .brands-row h5 {
        font-size: 0.75rem;
    }

    .hero-stats .d-flex {
        flex-wrap: wrap;
        gap: 15px;
    }

    .hero-stats .vr {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.9rem;
    }

    .search-bar-container {
        flex-wrap: wrap;
        padding: 10px;
    }

    .btn-search {
        width: 100%;
        margin-top: 8px;
    }

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

    .final-cta-box {
        text-align: center;
        padding: 25px 20px !important;
    }
}

/* =========================================================
   PUBLISH PAGE - publier-votre-annonce.html
   ========================================================= */

.publish-page {
    background: #f7f8fa;
}

/* ===== NAVBAR PUBLISH ===== */
.publish-navbar {
    background: white !important;
    border-bottom: 1px solid var(--border-light);
    padding: 12px 0 !important;
}

.publish-navbar .container {
    position: relative;
}

.btn-back-publish,
.btn-menu-publish {
    background: transparent;
    border: none;
    font-size: 1.6rem;
    color: var(--dark-navy);
    padding: 5px 10px;
    transition: color 0.2s;
}

.btn-back-publish:hover,
.btn-menu-publish:hover {
    color: var(--primary-orange);
}

/* ===== INTRO SCREEN ===== */
.publish-intro {
    position: relative;
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 40px 20px;
}

.publish-intro-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(180deg, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0.5) 60%, rgba(255, 255, 255, 0.3) 100%),
        url('https://images.unsplash.com/photo-1555215695-3004980ad54e?auto=format&fit=crop&q=80&w=1600');
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.publish-intro-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 600px;
}

.intro-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.15;
    color: var(--dark-navy);
    margin-bottom: 50px;
    letter-spacing: -1px;
}

.btn-intro-cta {
    padding: 16px 50px;
    font-size: 1.1rem;
    border-radius: 50px;
    box-shadow: 0 15px 40px rgba(255, 102, 0, 0.4);
}

/* ===== WIZARD ===== */
.publish-wizard {
    min-height: calc(100vh - 80px);
    background: #f7f8fa;
}

.publish-wizard .container {
    max-width: 600px;
}

/* Stepper */
.publish-stepper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 5px;
}

.p-step {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: white;
    border: 2px solid #e0e5ec;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--text-light);
    flex-shrink: 0;
    transition: all 0.3s;
    position: relative;
}

.p-step.active {
    background: var(--primary-orange);
    border-color: var(--primary-orange);
    color: white;
    box-shadow: 0 6px 15px rgba(255, 102, 0, 0.3);
}

.p-step.active::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 25px;
    height: 3px;
    background: var(--primary-orange);
    border-radius: 2px;
}

.p-step.completed {
    background: var(--primary-orange);
    border-color: var(--primary-orange);
    color: white;
}

.p-line {
    flex: 1;
    height: 2px;
    background: #e0e5ec;
}

/* Steps content */
.publish-step {
    display: none;
    animation: fadeInUp 0.4s ease;
}

.publish-step.active {
    display: block;
}

.publish-icon-circle {
    width: 70px;
    height: 70px;
    background: rgba(255, 102, 0, 0.15);
    color: var(--primary-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.publish-icon-circle.small-circle {
    width: 50px;
    height: 50px;
    background: var(--primary-orange);
    color: white;
    font-size: 1.3rem;
    font-weight: 700;
}

.publish-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--dark-navy);
    margin-bottom: 10px;
    line-height: 1.2;
}

.publish-subtitle {
    color: var(--text-gray);
    font-size: 1rem;
}

/* Card */
.publish-card {
    background: white;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.04);
}

/* Selects & Inputs */
.publish-select,
.publish-input {
    position: relative;
    background: white;
    border: 1.5px solid #e0e5ec;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.2s;
}

.publish-select:focus-within,
.publish-input:focus-within {
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 4px rgba(255, 102, 0, 0.08);
}

.publish-select .form-select,
.publish-input .form-control {
    border: none;
    background: transparent;
    height: 55px;
    padding-left: 18px;
    font-weight: 500;
    box-shadow: none !important;
    outline: none;
}

.publish-select.with-icon .form-select,
.publish-input.with-icon .form-control {
    padding-left: 48px;
}

.publish-select .brand-logo {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    object-fit: contain;
    z-index: 2;
}

.publish-select.with-icon .brand-logo {
    display: none;
}

.publish-select .form-select {
    padding-left: 55px;
}

.publish-select.with-icon .form-select {
    padding-left: 48px;
}

.publish-select i,
.publish-input i {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-gray);
    font-size: 1.1rem;
    z-index: 1;
    pointer-events: none;
}

.publish-input.with-suffix .suffix {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-gray);
    font-weight: 500;
    pointer-events: none;
}

.publish-input.with-suffix .form-control {
    padding-right: 40px;
}

/* Info Box Blue */
.info-box-blue {
    background: #eaf2fb;
    border-radius: 12px;
    padding: 15px;
    display: flex;
    gap: 12px;
    color: var(--dark-navy);
    margin-bottom: 20px;
    margin-top: 5px;
    align-items: flex-start;
}

.info-icon {
    width: 36px;
    height: 36px;
    background: rgba(6, 17, 33, 0.1);
    color: var(--dark-navy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.95rem;
}

/* Button Continue */
.btn-publish-next {
    padding: 16px 25px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== PHOTOS GRID ===== */
.photo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.photo-item {
    aspect-ratio: 1.4 / 1;
    border-radius: 12px;
    overflow: hidden;
    background: #f0f2f5;
    position: relative;
}

.photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photo-item.add-photo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #f0f2f5;
    border: 2px dashed #c0c8d4;
    cursor: pointer;
    color: var(--dark-navy);
    text-align: center;
    transition: all 0.2s;
}

.photo-item.add-photo:hover {
    background: #fff3e8;
    border-color: var(--primary-orange);
    color: var(--primary-orange);
}

.photo-item.add-photo i {
    font-size: 2rem;
    margin-bottom: 8px;
}

.photo-item.add-photo span {
    font-size: 0.85rem;
    font-weight: 500;
    line-height: 1.2;
}

/* ===== DESCRIPTION TEXTAREA ===== */
.textarea-wrap {
    position: relative;
}

.textarea-wrap textarea {
    border: 1.5px solid #e0e5ec;
    border-radius: 12px;
    padding: 15px;
    resize: none;
    background: #fafbfc;
    transition: all 0.2s;
}

.textarea-wrap textarea:focus {
    border-color: var(--primary-orange);
    background: white;
    box-shadow: 0 0 0 4px rgba(255, 102, 0, 0.08);
    outline: none;
}

.char-count {
    position: absolute;
    bottom: 10px;
    right: 15px;
    color: var(--text-light);
    font-size: 0.8rem;
}

/* ===== EQUIPMENT CHECKBOXES ===== */
.equip-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.equip-item {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    padding: 8px 0;
    user-select: none;
}

.equip-item input {
    display: none;
}

.custom-check {
    width: 26px;
    height: 26px;
    border: 2px solid #c0c8d4;
    border-radius: 6px;
    background: white;
    position: relative;
    transition: all 0.2s;
    flex-shrink: 0;
}

.equip-item input:checked+.custom-check {
    background: var(--primary-orange);
    border-color: var(--primary-orange);
}

.equip-item input:checked+.custom-check::after {
    content: "";
    position: absolute;
    left: 8px;
    top: 3px;
    width: 6px;
    height: 12px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.equip-item span:last-child {
    font-weight: 500;
    color: var(--dark-navy);
}

/* ===== PHONE INPUT ===== */
.phone-input {
    display: flex;
    align-items: center;
    background: white;
    border: 1.5px solid #e0e5ec;
    border-radius: 12px;
    overflow: hidden;
    height: 55px;
}

.phone-input:focus-within {
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 4px rgba(255, 102, 0, 0.08);
}

.phone-flag {
    display: flex;
    align-items: center;
    padding: 0 12px;
    border-right: 1px solid #e0e5ec;
    height: 100%;
    cursor: pointer;
}

.phone-flag img {
    width: 26px;
    height: 18px;
    object-fit: cover;
    border-radius: 2px;
}

.phone-code {
    padding: 0 12px;
    color: var(--dark-navy);
    font-weight: 500;
    border-right: 1px solid #e0e5ec;
    height: 100%;
    display: flex;
    align-items: center;
}

.phone-input .form-control {
    border: none;
    background: transparent;
    box-shadow: none !important;
    outline: none;
    height: 100%;
    padding-left: 15px;
}

.contact-icon-sm {
    display: inline-flex;
    width: 32px;
    height: 32px;
    background: var(--dark-navy);
    color: white;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    vertical-align: middle;
}

/* ===== SECURITY NOTE ===== */
.security-note {
    color: var(--text-gray);
    font-size: 0.85rem;
    padding: 10px;
}

/* ===== RECAP CARD ===== */
.success-check-circle {
    width: 90px;
    height: 90px;
    background: #d4f5dc;
    color: #2ecc71;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    border: 4px solid white;
    box-shadow: 0 0 0 4px #d4f5dc;
}

.recap-car-img {
    width: 90px;
    height: 70px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.price-confidential {
    background: #fafbfc;
    border-radius: 10px;
    padding: 12px;
    color: var(--dark-navy);
    font-size: 0.9rem;
    font-weight: 500;
}

/* ===== INFO STEPS (Et après ?) ===== */
.info-step-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: white;
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    margin-bottom: 5px;
}

.info-step-icon {
    width: 70px;
    height: 70px;
    background: #eaf2fb;
    color: #1e3a8a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    flex-shrink: 0;
}

.info-arrow {
    text-align: center;
    color: var(--text-light);
    font-size: 1.5rem;
    margin: 10px 0;
    position: relative;
}

.info-arrow::before,
.info-arrow::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 30%;
    height: 1px;
    background: #e0e5ec;
}

.info-arrow::before {
    left: 5%;
}

.info-arrow::after {
    right: 5%;
}

/* ===== FINAL SCREEN ===== */
.final-screen {
    text-align: center;
    padding: 20px 0;
    background-image:
        linear-gradient(180deg, rgba(247, 248, 250, 0.95) 0%, rgba(247, 248, 250, 0.7) 60%, rgba(247, 248, 250, 0.95) 100%),
        url('https://images.unsplash.com/photo-1556761175-5973dc0f32e7?auto=format&fit=crop&q=80&w=1200');
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    padding: 40px 20px;
    margin: 0 -10px;
}

.final-check-circle {
    width: 80px;
    height: 80px;
    background: white;
    color: var(--primary-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    animation: bounceIn 0.8s;
}

.ray {
    position: absolute;
    width: 4px;
    height: 18px;
    background: var(--primary-orange);
    border-radius: 2px;
    top: -25px;
    left: 50%;
    transform-origin: 50% 50px;
}

.ray.r1 {
    transform: translateX(-50%) rotate(0deg);
}

.ray.r2 {
    transform: translateX(-50%) rotate(60deg);
}

.ray.r3 {
    transform: translateX(-50%) rotate(120deg);
}

.ray.r4 {
    transform: translateX(-50%) rotate(180deg);
}

.ray.r5 {
    transform: translateX(-50%) rotate(240deg);
}

.ray.r6 {
    transform: translateX(-50%) rotate(300deg);
}

.final-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--dark-navy);
    line-height: 1.2;
    margin-bottom: 15px;
}

.orange-divider {
    width: 50px;
    height: 3px;
    background: var(--primary-orange);
    border-radius: 2px;
}

.final-desc {
    color: var(--dark-navy);
    max-width: 450px;
    margin: 0 auto;
}

/* Countdown */
.countdown-card {
    background: white;
    border-radius: 20px;
    padding: 25px 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.countdown-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.cd-block {
    text-align: center;
}

.cd-num {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-orange);
    line-height: 1;
}

.cd-label {
    font-size: 0.7rem;
    color: var(--text-gray);
    letter-spacing: 1px;
    font-weight: 700;
    margin-top: 5px;
}

.cd-sep {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-orange);
    line-height: 1;
}

.cd-footer {
    color: var(--dark-navy);
    font-weight: 500;
    font-size: 0.95rem;
    border-top: 1px solid var(--border-light);
    padding-top: 15px;
}

.quality-card {
    background: var(--dark-navy);
    color: white;
    padding: 18px 22px;
    border-radius: 16px;
    text-align: left;
    font-size: 0.95rem;
    box-shadow: 0 10px 30px rgba(6, 17, 33, 0.2);
}

.btn-back-home {
    background: var(--dark-navy);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-back-home:hover {
    background: var(--light-navy);
    color: white;
    transform: translateY(-2px);
}

/* ===== RESPONSIVE PUBLISH ===== */
@media (max-width: 576px) {
    .intro-title {
        font-size: 2.2rem;
    }

    .publish-title {
        font-size: 1.5rem;
    }

    .publish-card {
        padding: 20px 18px;
    }

    .final-title {
        font-size: 1.6rem;
    }

    .cd-num {
        font-size: 2.2rem;
    }

    .cd-sep {
        font-size: 1.8rem;
    }

    .info-step-card {
        padding: 15px;
        gap: 15px;
    }

    .info-step-icon {
        width: 55px;
        height: 55px;
        font-size: 1.4rem;
    }

    .photo-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}


/* =========================================================
   AUCTION PAGE - enchere.html
   ========================================================= */

.auction-page {
    background: #f7f8fa;
}

/* ===== NAVBAR ===== */
.auction-navbar {
    background: white !important;
    border-bottom: 1px solid var(--border-light);
    padding: 12px 0 !important;
}

.btn-nav-icon {
    background: transparent;
    border: none;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--dark-navy);
    transition: all 0.2s;
}

.btn-nav-icon:hover {
    background: #f0f2f5;
    color: var(--primary-orange);
}

/* ===== AUCTION WRAP ===== */
.auction-wrap {
    min-height: calc(100vh - 80px);
    max-width: 1500px;
    margin: 0 auto;
}

.back-link {
    color: var(--dark-navy);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: color 0.2s;
    font-size: 0.95rem;
}

.back-link:hover {
    color: var(--primary-orange);
}

/* ===== VEHICLE HEADER ===== */
.vehicle-header {
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-light);
}

.vehicle-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--dark-navy);
    line-height: 1.15;
    margin-bottom: 18px;
    letter-spacing: -1px;
}

.vehicle-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--dark-navy);
    font-weight: 500;
    font-size: 0.95rem;
}

.meta-item i {
    width: 28px;
    height: 28px;
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-navy);
    font-size: 0.9rem;
}

/* ===== MAIN PHOTO ===== */
.main-photo-wrap {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: #f0f2f5;
}

.main-photo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.photo-counter {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(6, 17, 33, 0.7);
    color: white;
    padding: 6px 14px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
}

.photo-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--dark-navy);
    cursor: pointer;
    transition: all 0.2s;
    opacity: 0;
}

.main-photo-wrap:hover .photo-nav {
    opacity: 1;
}

.photo-nav:hover {
    background: white;
    color: var(--primary-orange);
}

.photo-nav.prev {
    left: 15px;
}

.photo-nav.next {
    right: 15px;
}

/* ===== THUMBNAILS ===== */
.thumbs-row {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
}

.thumb {
    aspect-ratio: 1.4 / 1;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s;
    background: #f0f2f5;
}

.thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumb:hover {
    transform: translateY(-2px);
}

.thumb.active {
    border-color: var(--primary-orange);
    box-shadow: 0 4px 12px rgba(255, 102, 0, 0.25);
}

.thumb-more {
    background: white;
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-navy);
    font-size: 1.3rem;
}

.thumb-more:hover {
    background: var(--primary-orange-light);
    color: var(--primary-orange);
}

/* ===== INFO BLOCKS ===== */
.info-block {
    background: white;
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.block-title {
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: var(--dark-navy);
    margin-bottom: 18px;
    text-transform: uppercase;
}

.block-title-dark {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--dark-navy);
    margin-bottom: 5px;
}

.description-content p {
    color: var(--dark-navy);
    margin-bottom: 8px;
    line-height: 1.6;
}

.equip-bullets {
    list-style: none;
    padding-left: 0;
}

.equip-bullets li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 6px;
    color: var(--dark-navy);
}

.equip-bullets li::before {
    content: "•";
    position: absolute;
    left: 5px;
    color: var(--dark-navy);
    font-weight: 700;
}

.btn-see-more {
    background: none;
    border: none;
    color: #2563eb;
    font-weight: 700;
    padding: 12px 0 0 0;
    width: 100%;
    text-align: center;
    cursor: pointer;
    transition: color 0.2s;
}

.btn-see-more:hover {
    color: var(--primary-orange);
}

/* ===== SPECS GRID ===== */
.specs-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}

.spec-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #f5f6f8;
}

.spec-row:last-child {
    border-bottom: none;
}

.spec-label {
    color: var(--text-gray);
    font-size: 0.95rem;
}

.spec-value {
    color: var(--dark-navy);
    font-weight: 500;
    font-size: 0.95rem;
    text-align: right;
}

/* ===== SELLER CARD ===== */
.seller-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 5px 0;
}

.seller-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #f0f2f5;
    color: var(--dark-navy);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* ===== AUCTION PANEL (Right) ===== */
.auction-panel {
    background: white;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.sticky-panel {
    position: sticky;
    top: 90px;
}

.badge-active {
    background: #d4f5dc;
    color: #1a8a3e;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}

/* Countdown mini */
.countdown-mini {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.cd-mini-block {
    text-align: center;
    min-width: 60px;
}

.cd-mini-num {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary-orange);
    line-height: 1;
}

.cd-mini-label {
    font-size: 0.65rem;
    color: var(--text-gray);
    letter-spacing: 1px;
    font-weight: 700;
    margin-top: 4px;
}

.cd-mini-sep {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-orange);
}

/* Info boxes */
.info-box-green {
    background: #e8f5ec;
    border-radius: 12px;
    padding: 15px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    color: var(--dark-navy);
}

.info-box-grey {
    background: #f0f2f5;
    border-radius: 12px;
    padding: 15px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    color: var(--dark-navy);
}

.info-box-grey-lg {
    background: #f0f2f5;
    border-radius: 16px;
    padding: 22px;
    display: flex;
    gap: 18px;
    align-items: center;
    color: var(--dark-navy);
}

.info-icon-dark {
    width: 36px;
    height: 36px;
    background: white;
    color: var(--dark-navy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.95rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

/* Orange outline button */
.btn-outline-orange {
    border: 2px solid var(--primary-orange);
    color: var(--primary-orange);
    background: white;
    transition: all 0.2s;
}

.btn-outline-orange:hover {
    background: var(--primary-orange);
    color: white;
}

/* ===== CENTERED VIEWS ===== */
.centered-card {
    max-width: 650px;
    margin: 40px auto;
    text-align: center;
    padding: 20px;
}

.centered-title {
    font-size: 2.3rem;
    font-weight: 800;
    color: var(--dark-navy);
    line-height: 1.2;
    margin-bottom: 10px;
}

/* Envelope icon (submit success) */
.envelope-icon {
    position: relative;
    width: 180px;
    height: 140px;
    margin: 0 auto;
    color: #94a3b8;
    font-size: 8rem;
    line-height: 1;
}

.envelope-icon .bi-envelope-paper-fill {
    color: #d8dde6;
}

.env-check {
    position: absolute;
    width: 56px;
    height: 56px;
    background: #2ecc71;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 6px 20px rgba(46, 204, 113, 0.4);
    animation: bounceIn 0.7s;
}

.envelope-icon .ray {
    position: absolute;
    width: 4px;
    height: 16px;
    background: var(--primary-orange);
    border-radius: 2px;
    top: 50%;
    left: 50%;
    transform-origin: 50% 90px;
}

.envelope-icon .r1 {
    transform: translateX(-50%) rotate(0deg);
}

.envelope-icon .r2 {
    transform: translateX(-50%) rotate(45deg);
}

.envelope-icon .r3 {
    transform: translateX(-50%) rotate(90deg);
}

.envelope-icon .r4 {
    transform: translateX(-50%) rotate(135deg);
}

.envelope-icon .r5 {
    transform: translateX(-50%) rotate(180deg);
}

.envelope-icon .r6 {
    transform: translateX(-50%) rotate(225deg);
}

.envelope-icon .r7 {
    transform: translateX(-50%) rotate(270deg);
}

.envelope-icon .r8 {
    transform: translateX(-50%) rotate(315deg);
}

/* ===== MY OFFER VIEW ===== */
.myoffer-wrap {
    max-width: 700px;
    margin: 20px auto;
}

.my-offer-card,
.modify-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.offer-amount {
    font-size: 3rem;
    font-weight: 800;
    color: var(--dark-navy);
    text-align: center;
    letter-spacing: -1px;
}

/* ===== ENDED VIEW (Clock illustration) ===== */
.clock-illustration {
    position: relative;
    width: 280px;
    height: 280px;
    margin: 0 auto;
}

.clock-face {
    position: relative;
    width: 200px;
    height: 200px;
    border: 12px solid var(--primary-orange);
    border-radius: 50%;
    background: white;
    margin: 40px auto 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.clock-face::after {
    content: "";
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 8px;
    background: rgba(0, 0, 0, 0.08);
    border-radius: 50%;
    filter: blur(2px);
}

.clock-flag {
    position: absolute;
    top: -55px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
}

.flag-pole {
    position: absolute;
    left: 50%;
    top: 0;
    width: 3px;
    height: 100%;
    background: #1a2840;
    transform: translateX(-50%);
}

.flag-cloth {
    position: absolute;
    left: 50%;
    top: 0;
    width: 28px;
    height: 18px;
    background: var(--primary-orange);
    clip-path: polygon(0 0, 100% 0, 75% 50%, 100% 100%, 0 100%);
}

.clock-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    background: var(--primary-orange);
    border-radius: 50%;
    z-index: 2;
}

.clock-hand {
    position: absolute;
    top: 50%;
    left: 50%;
    background: var(--primary-orange);
    border-radius: 3px;
    transform-origin: 50% 100%;
}

.hand-hour {
    width: 5px;
    height: 50px;
    transform: translate(-50%, -100%) rotate(20deg);
}

.hand-min {
    width: 4px;
    height: 70px;
    transform: translate(-50%, -100%) rotate(80deg);
}

.tick {
    position: absolute;
    background: #d0d4dc;
    border-radius: 2px;
}

.t12 {
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 12px;
}

.t6 {
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 12px;
}

.t3 {
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 3px;
}

.t9 {
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 3px;
}

.deco {
    position: absolute;
    width: 4px;
    height: 14px;
    background: var(--primary-orange);
    border-radius: 2px;
    opacity: 0.7;
}

.d1 {
    top: 20px;
    left: 30px;
    transform: rotate(-30deg);
}

.d2 {
    top: 30px;
    right: 30px;
    transform: rotate(30deg);
}

.d3 {
    top: 50%;
    left: 0;
    transform: rotate(-90deg);
}

.d4 {
    top: 50%;
    right: 0;
    transform: rotate(90deg);
}

.d5 {
    bottom: 60px;
    left: 20px;
    transform: rotate(45deg);
}

.d6 {
    bottom: 60px;
    right: 20px;
    transform: rotate(-45deg);
}

.dot {
    position: absolute;
    width: 10px;
    height: 10px;
    background: #d0d4dc;
    border-radius: 50%;
}

.dt1 {
    top: 70px;
    left: 10px;
}

.dt2 {
    top: 80px;
    right: 15px;
}

.dt3 {
    bottom: 30px;
    left: 30px;
}

.dt4 {
    bottom: 50px;
    right: 5px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
    .vehicle-title {
        font-size: 1.6rem;
    }

    .vehicle-meta {
        gap: 15px;
    }

    .meta-item {
        font-size: 0.9rem;
    }

    .sticky-panel {
        position: static;
    }

    .thumbs-row {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (max-width: 768px) {
    .auction-navbar .brand-name {
        font-size: 1rem;
    }

    .auction-navbar .brand-sub {
        display: none;
    }

    .auction-navbar .logo-mark {
        width: 38px;
        height: 38px;
        font-size: 1.2rem;
    }

    .vehicle-title {
        font-size: 1.5rem;
        letter-spacing: 0;
    }

    .info-block {
        padding: 20px;
    }

    .auction-panel {
        padding: 20px;
    }

    .cd-mini-num {
        font-size: 1.8rem;
    }

    .cd-mini-block {
        min-width: 50px;
    }

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

    .offer-amount {
        font-size: 2.3rem;
    }

    .thumbs-row {
        grid-template-columns: repeat(5, 1fr);
        gap: 6px;
    }

    .main-photo-wrap {
        aspect-ratio: 4 / 3;
    }

    .photo-nav {
        opacity: 1;
        width: 38px;
        height: 38px;
    }

    .vehicle-meta {
        gap: 12px 18px;
    }

    .specs-grid {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .auction-navbar .navbar-brand {
        display: none !important;
    }

    .vehicle-title {
        font-size: 1.35rem;
    }

    .meta-item span {
        font-size: 0.85rem;
    }

    .thumbs-row {
        grid-template-columns: repeat(4, 1fr);
    }

    .clock-face {
        width: 160px;
        height: 160px;
        border-width: 10px;
    }

    .hand-min {
        height: 55px;
    }

    .hand-hour {
        height: 38px;
    }

    .envelope-icon {
        width: 140px;
        height: 110px;
        font-size: 6.5rem;
    }

    .env-check {
        width: 44px;
        height: 44px;
        font-size: 1.4rem;
    }

    .centered-title {
        font-size: 1.4rem;
    }
}

/* =========================================================
   AUCTION - STATE CARDS (3 vues : Submitted / MyOffer / Ended)
   ========================================================= */

/* ===== State card (Submitted & Ended) ===== */
.state-card {
    max-width: 600px;
    margin: 20px auto 60px;
    text-align: center;
    padding: 30px 25px;
    background: white;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.state-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--dark-navy);
    line-height: 1.2;
    margin: 20px 0 15px;
    letter-spacing: -0.5px;
}

.state-subtitle {
    color: var(--text-gray);
    font-size: 1rem;
    margin-bottom: 25px;
    line-height: 1.5;
}

.state-info-box {
    background: #f0f2f5;
    border-radius: 16px;
    padding: 22px;
    display: flex;
    gap: 18px;
    align-items: center;
    color: var(--dark-navy);
    text-align: left;
    margin: 25px 0;
    line-height: 1.5;
}

.state-info-icon {
    width: 44px;
    height: 44px;
    background: white;
    color: var(--dark-navy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.2rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.state-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 25px;
}

.state-actions.single {
    grid-template-columns: 1fr;
    max-width: 350px;
    margin-left: auto;
    margin-right: auto;
}

.btn-state {
    padding: 16px 20px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.95rem;
    border: 2px solid var(--dark-navy);
    transition: all 0.2s;
}

.btn-state-dark {
    background: var(--dark-navy);
    color: white;
    border-color: var(--dark-navy);
}

.btn-state-dark:hover {
    background: var(--light-navy);
    color: white;
}

/* ===== ENVELOPE ANIMATION (Submitted) ===== */
.envelope-wrap {
    position: relative;
    width: 220px;
    height: 180px;
    margin: 0 auto;
}

.envelope-svg {
    width: 100%;
    height: 100%;
    display: block;
    animation: bounceIn 0.7s;
}

.env-checkmark {
    position: absolute;
    width: 60px;
    height: 60px;
    background: #2ecc71;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 6px 20px rgba(46, 204, 113, 0.4);
    animation: bounceIn 0.9s 0.2s backwards;
    z-index: 2;
}

.env-ray {
    position: absolute;
    width: 4px;
    height: 14px;
    background: var(--primary-orange);
    border-radius: 2px;
    top: 50%;
    left: 50%;
    transform-origin: 50% 110px;
    opacity: 0;
    animation: rayFade 1s 0.5s forwards;
}

.env-ray.r1 {
    transform: translateX(-50%) rotate(0deg);
}

.env-ray.r2 {
    transform: translateX(-50%) rotate(45deg);
}

.env-ray.r3 {
    transform: translateX(-50%) rotate(90deg);
}

.env-ray.r4 {
    transform: translateX(-50%) rotate(135deg);
}

.env-ray.r5 {
    transform: translateX(-50%) rotate(180deg);
}

.env-ray.r6 {
    transform: translateX(-50%) rotate(225deg);
}

.env-ray.r7 {
    transform: translateX(-50%) rotate(270deg);
}

.env-ray.r8 {
    transform: translateX(-50%) rotate(315deg);
}

@keyframes rayFade {
    0% {
        opacity: 0;
        transform-origin: 50% 90px;
    }

    100% {
        opacity: 1;
    }
}

/* ===== MY OFFER VIEW ===== */
.myoffer-container {
    max-width: 700px;
    margin: 20px auto 60px;
    padding: 0 10px;
}

.myoffer-info-box {
    background: #f0f2f5;
    border-radius: 16px;
    padding: 22px;
    display: flex;
    gap: 18px;
    align-items: center;
    color: var(--dark-navy);
    line-height: 1.5;
}

.myoffer-lock {
    width: 44px;
    height: 44px;
    background: white;
    color: var(--dark-navy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.2rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.myoffer-card {
    background: white;
    border-radius: 20px;
    padding: 35px 30px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.04);
    border: 1px solid #f0f2f5;
}

.offer-big-amount {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--dark-navy);
    text-align: center;
    letter-spacing: -1.5px;
    line-height: 1;
}

.btn-modify-offer {
    width: 100%;
    padding: 18px 20px;
    background: white;
    border: 2px solid var(--primary-orange);
    color: var(--primary-orange);
    font-weight: 800;
    font-size: 1.1rem;
    border-radius: 14px;
    transition: all 0.2s;
    line-height: 1.3;
}

.btn-modify-offer:hover {
    background: var(--primary-orange-light);
}

.btn-back-action {
    background: none;
    border: none;
    color: var(--dark-navy);
    font-weight: 700;
    padding: 12px 25px;
    transition: color 0.2s;
}

.btn-back-action:hover {
    color: var(--primary-orange);
}

/* ===== CLOCK ILLUSTRATION (Ended) ===== */
.clock-illustration-wrap {
    width: 280px;
    height: 280px;
    margin: 0 auto;
    animation: bounceIn 0.8s;
}

.clock-svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* ===== DEMO SWITCHER (Bouton flottant pour tester les vues) ===== */
.demo-switcher {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 1050;
}

.demo-toggle {
    background: var(--dark-navy);
    color: white;
    border: none;
    padding: 12px 18px;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 8px 25px rgba(6, 17, 33, 0.3);
    transition: all 0.2s;
    display: flex;
    align-items: center;
}

.demo-toggle:hover {
    background: var(--primary-orange);
    transform: translateY(-2px);
}

.demo-menu {
    position: absolute;
    bottom: 60px;
    right: 0;
    background: white;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    padding: 12px;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s;
}

.demo-menu.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.demo-menu-title {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 8px 12px;
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 5px;
}

.demo-menu button {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 10px 12px;
    border-radius: 8px;
    color: var(--dark-navy);
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.15s;
    display: flex;
    align-items: center;
}

.demo-menu button:hover {
    background: var(--primary-orange-light);
    color: var(--primary-orange);
}

.lien {
    cursor: pointer;
}

/* ===== RESPONSIVE - 3 NEW VIEWS ===== */
@media (max-width: 768px) {
    .state-card {
        padding: 25px 18px;
        margin: 10px auto 40px;
    }

    .state-title {
        font-size: 1.6rem;
    }

    .state-subtitle {
        font-size: 0.95rem;
    }

    .state-info-box {
        padding: 18px;
        gap: 14px;
    }

    .state-info-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }

    .envelope-wrap {
        width: 180px;
        height: 150px;
    }

    .state-actions {
        grid-template-columns: 1fr;
    }

    .btn-state {
        padding: 14px 18px;
    }

    .myoffer-card {
        padding: 28px 22px;
    }

    .offer-big-amount {
        font-size: 2.8rem;
    }

    .clock-illustration-wrap {
        width: 220px;
        height: 220px;
    }

    .demo-switcher {
        bottom: 15px;
        right: 15px;
    }

    .demo-toggle {
        padding: 10px 14px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .state-title {
        font-size: 1.4rem;
    }

    .envelope-wrap {
        width: 150px;
        height: 130px;
    }

    .env-checkmark {
        width: 48px;
        height: 48px;
        font-size: 1.5rem;
        bottom: 22px;
    }

    .offer-big-amount {
        font-size: 2.3rem;
    }

    .clock-illustration-wrap {
        width: 200px;
        height: 200px;
    }

    .btn-modify-offer {
        font-size: 1rem;
        padding: 16px;
    }
}