/* ═══════════════════════════════════════════════════
   SHOWCASE — Continental Detailing  v3
   Layout: stacked (vehicle nav top → stage → panel)
   ═══════════════════════════════════════════════════ */

/* ── Wrapper: full-width vertical layout ── */
.showcase-wrapper {
    width: 100%;
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 8px;
    overflow: hidden;
    background: #18181E;
    box-shadow: 0 32px 64px -16px rgba(0,0,0,0.5);
    margin-bottom: 2.5rem;
}

/* ══════════════════════════════════════════
   1. VEHICLE NAV BAR  (top strip)
   ══════════════════════════════════════════ */
.vehicle-nav {
    display: flex;
    align-items: stretch;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.vehicle-nav::-webkit-scrollbar { display: none; }

.veh-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 18px 16px;
    border: none;
    border-right: 1px solid rgba(255,255,255,0.07);
    background: rgba(255,255,255,0.03);
    color: #8A8480;
    font-size: 0.70rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    flex: 1;
    min-width: 80px;
    position: relative;
}

.veh-tab:last-child { border-right: none; }

.veh-tab i {
    font-size: 1.4rem;
    color: #7A7570;
    transition: color 0.2s ease;
}

.veh-tab .veh-devis {
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #A8884A;
    text-transform: uppercase;
}

.veh-tab:hover {
    background: rgba(255,255,255,0.07);
    color: #C4BFB8;
}
.veh-tab:hover i { color: #A8A29E; }

/* Active tab */
.veh-tab.active {
    background: rgba(168,136,74,0.12);
    color: #D4B56D;
}
.veh-tab.active i { color: #C4A55D; }
.veh-tab.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #C4A55D, transparent);
    border-radius: 1px;
}

/* ══════════════════════════════════════════
   2. STAGE + PANEL — two-column row
   ══════════════════════════════════════════ */
.showcase-body {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    min-height: 460px;
}

@media (max-width: 768px) {
    .showcase-body { grid-template-columns: 1fr; }
}

/* ── LEFT: Car Stage ── */
.car-stage {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2.5rem 2rem 2rem;
    overflow: hidden;
    background: radial-gradient(ellipse at 50% 50%, rgba(168,136,74,0.07) 0%, transparent 70%);
    border-right: 1px solid rgba(255,255,255,0.07);
}

.stage-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 10%, rgba(100,80,200,0.04) 0%, transparent 55%),
        radial-gradient(ellipse at 70% 90%, rgba(168,136,74,0.04) 0%, transparent 55%);
}

.spotlight {
    position: absolute;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    pointer-events: none;
}
.spotlight-1 {
    top: -100px; left: 15%;
    background: radial-gradient(ellipse, rgba(168,136,74,0.1) 0%, transparent 65%);
    animation: spotPulse 5s ease-in-out infinite;
}
.spotlight-2 {
    top: -80px; right: 10%;
    background: radial-gradient(ellipse, rgba(100,80,200,0.05) 0%, transparent 65%);
    animation: spotPulse 5s ease-in-out infinite 2.5s;
}
@keyframes spotPulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}

.car-platform {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    flex: 1;
}

.car-image-wrap {
    position: relative;
    width: 100%;
    max-width: 400px;
    transition: transform 0.45s cubic-bezier(0.16,1,0.3,1), opacity 0.3s ease;
    transform-style: preserve-3d;
    filter: drop-shadow(0 16px 32px rgba(0,0,0,0.55));
}

.showcase-car-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    animation: carFloat 7s ease-in-out infinite;
}

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

.car-reflection {
    position: absolute;
    bottom: -24px; left: 10%; right: 10%;
    height: 24px;
    background: radial-gradient(ellipse, rgba(168,136,74,0.18) 0%, transparent 70%);
    filter: blur(6px);
    border-radius: 50%;
}

.car-glow {
    position: absolute;
    bottom: -18px; left: 20%; right: 20%;
    height: 1px;
    transition: box-shadow 0.5s ease;
}

.platform-ring {
    position: absolute;
    bottom: -36px; left: 50%;
    transform: translateX(-50%);
    width: 70%; height: 16px;
    border-radius: 50%;
    box-shadow: 0 0 32px 4px rgba(168,136,74,0.08);
}

.car-label-wrap {
    text-align: center;
    padding-bottom: 0.5rem;
    z-index: 2;
}

.car-label-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #EDE8DF;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-family: 'Playfair Display', serif;
}

.car-label-sub {
    font-size: 0.7rem;
    color: #7A7570;
    margin-top: 2px;
    letter-spacing: 0.05em;
}

.particle-canvas {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 5;
}

/* ══════════════════════════════════════════
   3. RIGHT: Services Panel
   ══════════════════════════════════════════ */
.services-panel {
    display: flex;
    flex-direction: column;
    background: rgba(255,255,255,0.015);
}

/* ══════════════════════════════════════════
   STEP HEADERS — section separators
   ══════════════════════════════════════════ */
.showcase-step-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 20px 11px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    background: rgba(0,0,0,0.15);
}

.panel-step-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 16px 11px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    background: rgba(0,0,0,0.12);
}

.step-badge {
    width: 26px;
    height: 26px;
    border-radius: 6px;
    background: rgba(168,136,74,0.2);
    border: 1px solid rgba(168,136,74,0.4);
    color: #C4A55D;
    font-size: 0.64rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.step-badge--sm {
    width: 22px;
    height: 22px;
    border-radius: 4px;
    font-size: 0.58rem;
}

.step-title {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    color: #8A8480;
}

.step-title--sm {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    color: #7A7570;
}

/* ══════════════════════════════════════════
   FORMULE PILLS — distinct from vehicle nav
   ══════════════════════════════════════════ */
.formule-pills {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0;
}

.fpill {
    display: block;
    width: 100%;
    border: none;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    background: transparent;
    cursor: pointer;
    transition: background 0.18s ease, border-left-color 0.18s ease;
    text-align: left;
    border-left: 3px solid transparent;
    padding: 0;
}
.fpill:last-child { border-bottom: none; }
.fpill:hover { background: rgba(255,255,255,0.04); }

.fpill-inner {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
}

.fpill-icon {
    font-size: 1.25rem;
    color: #7A7570;
    width: 26px;
    text-align: center;
    flex-shrink: 0;
    transition: color 0.18s ease;
}

.fpill-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
}

.fpill-name {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    color: #9A9490;
    white-space: nowrap;
    transition: color 0.18s ease;
}

.fpill-sub, .fpill-rec {
    font-size: 0.60rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-top: 2px;
}

.fpill-sub { color: #5A5650; }
.fpill-rec {
    color: #A8884A;
    font-weight: 700;
}

.fpill-price {
    font-size: 1.1rem;
    font-weight: 800;
    color: #7A7570;
    flex-shrink: 0;
    transition: color 0.18s ease;
    font-family: 'Inter', sans-serif;
}

/* Featured pill (Pack Complet) */
.fpill--featured {
    background: rgba(168,136,74,0.04);
}
.fpill--featured .fpill-icon { color: #A8884A; }
.fpill--featured .fpill-name { color: #C4BFB8; }

/* Active state */
.fpill.active {
    border-left-color: #A8884A;
    background: rgba(168,136,74,0.10);
}
.fpill.active .fpill-icon { color: #C4A55D; }
.fpill.active .fpill-name { color: #E8D8A0; }
.fpill.active .fpill-price { color: #D4B56D; }
.fpill.active .fpill-rec { color: #C4A55D; }

/* Services list */
.services-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 1rem;
    overflow-y: auto;
    min-height: 180px;
}

.services-empty {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #3F3D38;
    text-align: center;
    gap: 0.75rem;
    padding: 2rem;
}
.services-empty i { font-size: 2rem; opacity: 0.4; }
.services-empty p { font-size: 0.8rem; line-height: 1.6; }

.service-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.65rem 0.9rem;
    border-radius: 4px;
    background: rgba(255,255,255,0.03);
    color: #C8C4BE;
    font-size: 0.82rem;
    font-weight: 400;
    opacity: 0;
    transform: translateX(12px);
    transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.16,1,0.3,1), background 0.15s ease;
    letter-spacing: 0.01em;
}

.service-item.visible { opacity: 1; transform: translateX(0); }

.service-item:hover {
    background: rgba(168,136,74,0.06);
    color: #EDE8DF;
}

.service-item i {
    color: #A8884A;
    font-size: 0.7rem;
    flex-shrink: 0;
    opacity: 0.8;
}

/* Economy badge */
.economy-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 0 0.75rem 0.75rem;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    background: rgba(34,197,94,0.06);
    border: 1px solid rgba(34,197,94,0.15);
    color: #4ade80;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}

/* Panel price summary */
.price-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1rem 0.9rem;
    border-top: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.02);
    margin-top: auto;
}

.price-label {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #8A8480;
}

.price-value {
    font-size: 1.8rem;
    font-weight: 800;
    color: #EDE8DF;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
}

.price-value span {
    font-size: 0.85rem;
    font-weight: 400;
    color: #7A7570;
    margin-left: 2px;
}

.price-cta {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.75rem 1.4rem;
    background: #A8884A;
    color: #09090B;
    border: none;
    border-radius: 3px;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}
.price-cta:hover {
    background: #C4A55D;
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(168,136,74,0.25);
}

/* Mobile Optimizations */
@media (max-width: 640px) {
  .vehicle-nav {
      justify-content: flex-start;
      padding-bottom: 2px;
  }
  .veh-tab {
      flex: 0 0 auto;
      flex-shrink: 0;
      min-width: 85px;
      padding: 10px 6px;
      gap: 4px;
  }
  .veh-tab i { font-size: 1.1rem; }
  .veh-devis { font-size: 0.5rem; }
  
  .fpill-inner { padding: 10px 12px; gap: 10px; }
  .fpill-icon { font-size: 1.2rem; }
  .car-stage { padding: 1rem 0.5rem 0.5rem; }
  
  .showcase-body { min-height: 350px; }
  
  .fpill-name { font-size: 0.75rem; }
  .fpill-sub { font-size: 0.55rem; }
  .fpill-price { font-size: 0.95rem; }
  
  .car-image-wrap { max-width: 80%; }
  .car-reflection { bottom: -15px; }
  .platform-ring { bottom: -25px; height: 10px; }
}
