/* ============================================================
   LEGEND PRESSING — White & Blue Premium Theme
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Inter:wght@300;400;500;600;700&display=swap');

/* ============================================================
   CSS VARIABLES — PUBLIC (LIGHT THEME)
   ============================================================ */
:root {
    /* Blue Palette */
    --blue:          #2563EB;
    --blue-light:    #3B82F6;
    --blue-dark:     #1D4ED8;
    --blue-deeper:   #1E3A8A;
    --blue-bright:   #60A5FA;
    --blue-electric: #38BDF8;
    --blue-pale:     #EFF6FF;
    --blue-pale2:    #DBEAFE;

    /* Public backgrounds — LIGHT */
    --bg-dark:       #F8FAFF;
    --bg-card:       #FFFFFF;
    --bg-surface:    #EFF6FF;
    --bg-elevated:   #DBEAFE;

    /* Text — DARK (for light bg) */
    --text-main:     #0F172A;
    --text-muted:    #64748B;
    --text-dim:      #94A3B8;

    /* Borders */
    --border-gold:   rgba(37, 99, 235, 0.15);
    --border-subtle: rgba(37, 99, 235, 0.07);
    --border-strong: #BFDBFE;

    /* Shadows */
    --shadow-card:    0 2px 16px rgba(37, 99, 235, 0.07), 0 1px 4px rgba(0,0,0,0.04);
    --shadow-gold:    0 6px 32px rgba(37, 99, 235, 0.22);
    --shadow-gold-lg: 0 10px 48px rgba(37, 99, 235, 0.32);
    --shadow-sm:      0 1px 3px rgba(0,0,0,0.06);
    --shadow-md:      0 4px 16px rgba(37, 99, 235, 0.1);
    --shadow-lg:      0 8px 32px rgba(37, 99, 235, 0.15);

    /* Gradients */
    --gradient-blue:      linear-gradient(135deg, #1D4ED8 0%, #2563EB 40%, #3B82F6 100%);
    --gradient-blue-h:    linear-gradient(90deg, #1E3A8A, #2563EB, #60A5FA, #2563EB, #1E3A8A);
    --gradient-blue-text: linear-gradient(135deg, #1D4ED8 0%, #2563EB 45%, #60A5FA 100%);
    --gradient-blue-subtle: linear-gradient(135deg, rgba(37,99,235,0.08), rgba(37,99,235,0.02));

    /* ─── Legacy aliases so existing templates keep working ─── */
    --gold:                 #2563EB;
    --gold-light:           #3B82F6;
    --gold-dark:            #1D4ED8;
    --gold-bright:          #60A5FA;
    --gold-muted:           rgba(37, 99, 235, 0.5);
    --border-color:         rgba(37, 99, 235, 0.15);
    --primary-color:        #2563EB;
    --primary-hover:        #1D4ED8;
    --bg-color:             #F8FAFF;
    --card-bg:              #FFFFFF;
    --gradient-gold:        var(--gradient-blue);
    --gradient-gold-h:      var(--gradient-blue-h);
    --gradient-gold-subtle: var(--gradient-blue-subtle);
    --gradient-gold-text:   var(--gradient-blue-text);
    --shadow-dark:          0 8px 40px rgba(0,0,0,0.1);

    /* Radius */
    --radius-xl: 24px;
    --radius-lg: 18px;
    --radius-md: 12px;
    --radius-sm: 8px;
    --radius-xs: 5px;

    /* Status */
    --success: #10B981;
    --warning: #F59E0B;
    --danger:  #EF4444;
    --info:    #3B82F6;
}


/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-main);
}
h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
p  { color: var(--text-muted); line-height: 1.7; }

.gold-text, .blue-text {
    color: var(--blue-dark);
}

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ============================================================
   WAVE DIVIDERS
   ============================================================ */
.wave-down svg, .wave-up svg {
    display: block;
    width: 100%;
    height: auto;
}
.wave-down { line-height: 0; }
.wave-up { line-height: 0; transform: rotate(180deg); }

/* ============================================================
   CARDS
   ============================================================ */
.card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    border: 1px solid var(--border-gold);
    box-shadow: var(--shadow-card);
    transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}
.card.hoverable:hover {
    border-color: var(--blue-light);
    box-shadow: var(--shadow-gold);
    transform: translateY(-3px);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.72rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none;
    letter-spacing: 0.3px;
    font-family: 'Inter', sans-serif;
    white-space: nowrap;
}

.btn-primary {
    background: var(--blue);
    color: #fff;
    font-weight: 700;
    box-shadow: 0 4px 18px rgba(37, 99, 235, 0.35);
}
.btn-primary:hover {
    background: var(--blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(37, 99, 235, 0.5);
    color: #fff;
}

.btn-outline {
    background: transparent;
    border: 2px solid rgba(37, 99, 235, 0.3);
    color: var(--blue);
}
.btn-outline:hover {
    background: var(--blue-pale);
    border-color: var(--blue);
    color: var(--blue-dark);
}

.btn-success {
    background: #10B981;
    color: #fff;
    font-weight: 700;
}
.btn-success:hover {
    box-shadow: 0 4px 18px rgba(16,185,129,0.35);
    transform: translateY(-1px);
}

.btn-danger {
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #EF4444;
}
.btn-danger:hover { background: rgba(239, 68, 68, 0.15); }

.btn-warning {
    background: #F59E0B;
    color: #fff;
    font-weight: 700;
}
.btn-warning:hover {
    box-shadow: 0 4px 18px rgba(245,158,11,0.35);
    transform: translateY(-1px);
}

/* ============================================================
   FORMS
   ============================================================ */
.form-group { margin-bottom: 1.25rem; }

.form-label {
    display: block;
    font-size: 0.73rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--blue-dark);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-family: 'Inter', sans-serif;
}
.admin-body .form-label { color: #60A5FA; }

.form-control {
    display: block;
    width: 100%;
    padding: 0.78rem 1rem;
    font-size: 0.95rem;
    color: var(--text-main);
    background-color: var(--bg-card);
    border: 1.5px solid var(--border-gold);
    border-radius: var(--radius-sm);
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
    font-family: 'Inter', sans-serif;
    line-height: 1.5;
}
.form-control:focus {
    border-color: var(--blue);
    outline: none;
    box-shadow: 0 0 0 3px rgba(37,99,235,0.15);
    background-color: var(--bg-card);
}
.form-control::placeholder { color: var(--text-dim); }
.form-control option { background: #fff; color: #0F172A; }

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%232563EB' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-color: var(--bg-card);
    padding-right: 2.5rem;
}

input[type="number"].form-control { -moz-appearance: textfield; }
input[type="number"].form-control::-webkit-outer-spin-button,
input[type="number"].form-control::-webkit-inner-spin-button { -webkit-appearance: none; }

/* ============================================================
   NAVBAR (public)
   ============================================================ */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(37, 99, 235, 0.1);
    padding: 0.75rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(37, 99, 235, 0.06);
}
.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
}
.navbar-brand img {
    height: 46px;
    width: auto;
}
.navbar-brand-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--blue-dark);
}
.navbar-nav {
    display: flex;
    align-items: center;
    gap: 1.75rem;
}
.nav-link {
    text-decoration: none;
    color: #475569;
    font-weight: 500;
    font-size: 0.88rem;
    transition: color 0.2s;
    letter-spacing: 0.3px;
}
.nav-link:hover, .nav-link.active { color: var(--blue); }
.nav-cta {
    padding: 0.45rem 1.2rem;
    border: 2px solid var(--blue);
    border-radius: var(--radius-sm);
    color: var(--blue);
    font-size: 0.83rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.22s;
    background: transparent;
}
.nav-cta:hover {
    background: var(--blue);
    color: #fff;
    box-shadow: 0 4px 18px rgba(37,99,235,0.35);
}

/* Mobile nav */
.nav-mobile-toggle {
    display: none;
    background: transparent;
    border: 1.5px solid rgba(37, 99, 235, 0.3);
    color: var(--blue);
    padding: 0.4rem 0.6rem;
    border-radius: var(--radius-xs);
    cursor: pointer;
    font-size: 1.1rem;
    line-height: 1;
}
@media (max-width: 768px) {
    .nav-mobile-toggle { display: flex; align-items: center; justify-content: center; }
    .navbar-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0; right: 0;
        background: rgba(255,255,255,0.98);
        border-bottom: 1px solid rgba(37,99,235,0.1);
        flex-direction: column;
        padding: 1rem 1.5rem;
        gap: 0.85rem;
        align-items: flex-start;
        box-shadow: 0 8px 32px rgba(37,99,235,0.08);
    }
    .navbar-nav.open { display: flex; }
}

/* ============================================================
   HERO SECTION — WHITE + BLUE ACCENTS
   ============================================================ */
.hero {
    background: #EFF6FF;
    padding: 7rem 1rem 5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 92vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Decorative blue orbs */
.hero::before {
    content: '';
    position: absolute;
    top: -120px; right: -120px;
    width: 500px; height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(37,99,235,0.1) 0%, transparent 70%);
    pointer-events: none;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: 80px; left: -100px;
    width: 400px; height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(56,189,248,0.1) 0%, transparent 70%);
    pointer-events: none;
}

/* Grid overlay */
.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(37,99,235,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(37,99,235,0.04) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 90%);
    -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 90%);
}

/* Floating decorative rings */
.hero-ring-1 {
    position: absolute;
    top: 8%; right: 8%;
    width: 180px; height: 180px;
    border: 2px solid rgba(37,99,235,0.12);
    border-radius: 50%;
    animation: floatRing 8s ease-in-out infinite;
}
.hero-ring-2 {
    position: absolute;
    bottom: 15%; left: 6%;
    width: 120px; height: 120px;
    border: 2px solid rgba(56,189,248,0.15);
    border-radius: 50%;
    animation: floatRing 10s ease-in-out infinite reverse;
}
.hero-ring-3 {
    position: absolute;
    top: 20%; left: 12%;
    width: 60px; height: 60px;
    border: 2px solid rgba(37,99,235,0.1);
    border-radius: 50%;
    animation: floatRing 6s ease-in-out infinite 2s;
}
@keyframes floatRing {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-18px) rotate(12deg); }
}

/* Blue dot accent */
.hero-dot {
    position: absolute;
    border-radius: 50%;
    background: var(--blue);
    opacity: 0.12;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(37,99,235,0.08);
    border: 1px solid rgba(37,99,235,0.2);
    color: var(--blue-dark);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.35rem 1rem;
    border-radius: 50px;
    margin-bottom: 1.75rem;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    font-family: 'Inter', sans-serif;
    position: relative;
    z-index: 1;
}
.hero-badge .pulse-dot {
    width: 7px; height: 7px;
    background: var(--blue);
    border-radius: 50%;
    animation: pulse 2s infinite;
    box-shadow: 0 0 0 0 rgba(37,99,235,0.4);
}
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37,99,235,0.4); }
    70% { box-shadow: 0 0 0 8px rgba(37,99,235,0); }
    100% { box-shadow: 0 0 0 0 rgba(37,99,235,0); }
}

.hero h1 {
    font-size: clamp(2.4rem, 6vw, 4.4rem);
    color: #0F172A;
    margin-bottom: 1.25rem;
    line-height: 1.1;
    position: relative;
    z-index: 1;
}

.hero p {
    font-size: 1.1rem;
    color: #475569;
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

.hero-divider {
    width: 70px; height: 3px;
    background: var(--blue);
    margin: 1.5rem auto 0;
    border-radius: 2px;
    position: relative;
    z-index: 1;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2.5rem;
    position: relative;
    z-index: 1;
}

/* Hero stats ribbon */
.hero-stats {
    display: flex;
    gap: 3rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 3rem;
    position: relative;
    z-index: 1;
    padding-top: 2rem;
    border-top: 1px solid rgba(37,99,235,0.1);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.hero-stat-item { text-align: center; }
.hero-stat-value {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--blue-dark);
    line-height: 1;
}
.hero-stat-label {
    font-size: 0.75rem;
    color: #64748B;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 0.25rem;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
}

/* Wave bottom of hero */
.hero-wave {
    position: absolute;
    bottom: -1px; left: 0;
    width: 100%;
    line-height: 0;
    z-index: 2;
}
.hero-wave svg { width: 100%; height: auto; display: block; }

/* WhatsApp floating button */
.whatsapp-float {
    position: fixed;
    bottom: 2rem; right: 2rem;
    z-index: 900;
    width: 58px; height: 58px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.65rem;
    box-shadow: 0 4px 24px rgba(37, 211, 102, 0.5);
    transition: all 0.3s;
    animation: whatsappPop 0.5s ease-out;
}
.whatsapp-float:hover { transform: scale(1.12); box-shadow: 0 6px 32px rgba(37, 211, 102, 0.65); }
@keyframes whatsappPop {
    from { transform: scale(0); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
}

/* ============================================================
   FEATURES / AVANTAGES BAND
   ============================================================ */
.features-band {
    background: var(--bg-surface);
    padding: 3.5rem 1rem;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}
.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}
.feature-item-icon {
    width: 50px; height: 50px;
    background: white;
    border: 1px solid rgba(37,99,235,0.15);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue);
    flex-shrink: 0;
    box-shadow: 0 2px 12px rgba(37,99,235,0.08);
}
.feature-item h4 {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 0.2rem;
}
.feature-item p { font-size: 0.83rem; margin: 0; color: #64748B; }

/* ============================================================
   SERVICES SECTION
   ============================================================ */
.services-section {
    padding: 6rem 1rem;
    background: var(--bg-card);
    position: relative;
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.75rem;
    margin-top: 3rem;
}
.service-card {
    background: var(--bg-card);
    border: 1.5px solid rgba(37,99,235,0.12);
    border-radius: var(--radius-lg);
    padding: 2.25rem;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: all 0.35s ease;
    box-shadow: 0 2px 16px rgba(37,99,235,0.05);
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--blue);
    transform: scaleX(0);
    transition: transform 0.35s ease;
    transform-origin: left;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover {
    border-color: rgba(37,99,235,0.3);
    box-shadow: 0 8px 40px rgba(37,99,235,0.12);
    transform: translateY(-6px);
}
.service-icon-wrap {
    width: 68px; height: 68px;
    background: #EFF6FF;
    border: 1px solid rgba(37,99,235,0.15);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue);
    margin-bottom: 1.35rem;
    transition: all 0.3s;
}
.service-card:hover .service-icon-wrap {
    background: #DBEAFE;
    box-shadow: 0 4px 20px rgba(37,99,235,0.2);
}
.service-card h3 { font-size: 1.2rem; color: #0F172A; margin-bottom: 0.6rem; }
.service-card p { font-size: 0.9rem; line-height: 1.7; flex: 1; color: #64748B; }
.service-card .service-from {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--blue);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px dashed rgba(37,99,235,0.15);
    font-family: 'Inter', sans-serif;
}

/* ============================================================
   STEPS / COMMENT ÇA MARCHE
   ============================================================ */
.step-card {
    background: var(--bg-card);
    border: 1.5px solid rgba(37,99,235,0.12);
    border-radius: var(--radius-lg);
    box-shadow: 0 2px 16px rgba(37,99,235,0.06);
    transition: all 0.3s;
}
.step-card:hover {
    border-color: rgba(37,99,235,0.3);
    box-shadow: 0 8px 32px rgba(37,99,235,0.12);
    transform: translateY(-5px);
}
.step-number {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--blue);
    line-height: 1;
    opacity: 0.2;
    position: absolute;
    top: 1.5rem; right: 1.75rem;
}
.step-icon { font-size: 2.5rem; margin-bottom: 1.25rem; color: var(--blue); display: flex; align-items: center; justify-content: center; }

/* ============================================================
   TARIFS — ITEM CARDS
   ============================================================ */
.item-card {
    background: var(--bg-card);
    border: 1.5px solid rgba(37,99,235,0.1);
    border-radius: var(--radius-md);
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    transition: all 0.3s;
    box-shadow: 0 2px 10px rgba(37,99,235,0.04);
}
.item-card:hover {
    border-color: rgba(37,99,235,0.28);
    box-shadow: 0 6px 28px rgba(37,99,235,0.1);
    transform: translateY(-2px);
}
.item-thumb {
    width: 52px; height: 52px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    border: 1px solid rgba(37,99,235,0.12);
    flex-shrink: 0;
}
.item-thumb-placeholder {
    width: 52px; height: 52px;
    border-radius: var(--radius-sm);
    background: #EFF6FF;
    border: 1px solid rgba(37,99,235,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}
.item-name { font-weight: 700; color: #0F172A; font-size: 0.95rem; margin-bottom: 0.15rem; }
.item-type { font-size: 0.78rem; color: #64748B; }
.item-price { margin-left: auto; text-align: right; flex-shrink: 0; }
.item-price-amount {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--blue-dark);
    line-height: 1;
}
.item-price-label { font-size: 0.7rem; color: #94A3B8; font-weight: 700; letter-spacing: 1px; }

/* ============================================================
   COMMANDE / ORDER FORM
   ============================================================ */
.commande-section {
    background: var(--bg-surface);
    padding: 6rem 1rem;
    position: relative;
}
.commande-card {
    background: white;
    border: 1.5px solid rgba(37,99,235,0.12);
    border-radius: var(--radius-xl);
    padding: 3rem;
    max-width: 820px;
    margin: 3rem auto 0;
    box-shadow: 0 20px 60px rgba(37,99,235,0.1), 0 4px 16px rgba(37,99,235,0.06);
}
.commande-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}
@media (max-width: 768px) {
    .commande-grid { grid-template-columns: 1fr; }
    .commande-grid .form-group { grid-column: 1 !important; }
    .commande-card { padding: 1.75rem 1.25rem; }
}

/* ============================================================
   CONTACT SECTION — DARK BLUE
   ============================================================ */
.contact-section {
    background: #1E3A8A;
    padding: 6rem 1rem;
    position: relative;
    overflow: hidden;
}
.contact-section::before {
    content: '';
    position: absolute;
    top: -100px; right: -100px;
    width: 400px; height: 400px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    pointer-events: none;
}
.contact-section::after {
    content: '';
    position: absolute;
    bottom: -80px; left: -80px;
    width: 300px; height: 300px;
    border-radius: 50%;
    background: rgba(255,255,255,0.04);
    pointer-events: none;
}
.contact-section .section-badge {
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.25);
    color: rgba(255,255,255,0.9);
}
.contact-section .section-title { color: #fff; }
.contact-section .section-subtitle { color: rgba(255,255,255,0.75); }
.contact-section .section-line { background: rgba(255,255,255,0.4); }

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
    position: relative;
    z-index: 1;
}
.contact-card {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    transition: all 0.3s;
    text-decoration: none;
    display: block;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.contact-card:hover {
    background: rgba(255,255,255,0.18);
    border-color: rgba(255,255,255,0.3);
    transform: translateY(-4px);
    box-shadow: 0 10px 32px rgba(0,0,0,0.15);
}
.contact-icon {
    width: 64px; height: 64px;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin: 0 auto 1.25rem;
    transition: all 0.3s;
}
.contact-card:hover .contact-icon {
    background: rgba(255,255,255,0.25);
    box-shadow: 0 0 20px rgba(255,255,255,0.15);
}
.contact-card h3 {
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 0.6rem;
}
.contact-card p {
    font-size: 0.95rem;
    color: #fff;
    font-weight: 600;
    margin: 0;
    line-height: 1.6;
}

/* ============================================================
   TIMELINE STATUT
   ============================================================ */
@media (max-width: 640px) {
    .timeline-h { display: none !important; }
    .timeline-v { display: flex !important; }
}

/* ============================================================
   TRACKING SECTION
   ============================================================ */
.tracking-section {
    padding: 0 1rem;
    margin-top: -5.5rem;
    position: relative;
    z-index: 20;
}
.tracking-card { max-width: 750px; margin: 0 auto; }
.tracking-card .card {
    background: white;
    border: 1.5px solid rgba(37,99,235,0.12);
    box-shadow: 0 20px 60px rgba(37,99,235,0.12);
    padding: 2.5rem;
    border-radius: var(--radius-xl);
}
.tracking-form {
    display: flex;
    gap: 0.75rem;
    align-items: stretch;
}
.tracking-form .form-group { margin-bottom: 0; flex: 1; }
.tracking-form .form-control { height: 52px; font-size: 1rem; }
.tracking-form .btn { height: 52px; padding: 0 2rem; font-size: 0.95rem; white-space: nowrap; }
@media (max-width: 600px) {
    .tracking-form { flex-direction: column; }
    .tracking-form .btn { height: 48px; }
}

/* ============================================================
   SECTION HELPERS
   ============================================================ */
.section-badge {
    display: inline-block;
    background: rgba(37,99,235,0.08);
    border: 1px solid rgba(37,99,235,0.2);
    color: var(--blue-dark);
    font-size: 0.68rem;
    font-weight: 700;
    padding: 0.28rem 0.9rem;
    border-radius: 50px;
    margin-bottom: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    font-family: 'Inter', sans-serif;
}
.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.7rem, 4vw, 2.4rem);
    color: #0F172A;
    margin-bottom: 0.85rem;
}
.section-subtitle {
    font-size: 1rem;
    color: #64748B;
    max-width: 540px;
    margin: 0 auto;
    line-height: 1.75;
}
.section-line {
    width: 55px; height: 3px;
    background: var(--blue);
    margin: 1.25rem auto 0;
    border-radius: 2px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background: #0F172A;
    padding: 3.5rem 0 2rem;
    color: #94A3B8;
    font-size: 0.85rem;
    font-family: 'Inter', sans-serif;
}
.footer a { color: #60A5FA; text-decoration: none; transition: color 0.2s; }
.footer a:hover { color: #93C5FD; }
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2.5rem;
}
.footer-brand img {
    height: 56px;
    width: auto;
    mix-blend-mode: lighten;
    margin-bottom: 1rem;
    display: block;
}
.footer-brand p { font-size: 0.88rem; max-width: 280px; color: #64748B; }
.footer-col h4 {
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #60A5FA;
    margin-bottom: 1rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col ul li a { font-size: 0.88rem; color: #64748B; }
.footer-col ul li a:hover { color: #93C5FD; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    color: #64748B;
}
@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer-bottom { flex-direction: column; text-align: center; }
}

/* ============================================================
   TABLES
   ============================================================ */
.table-wrapper {
    overflow-x: auto;
    border-radius: var(--radius-md);
    border: 1px solid rgba(37,99,235,0.12);
}
.table { width: 100%; border-collapse: collapse; }
.table th, .table td {
    padding: 0.95rem 1.25rem;
    text-align: left;
    border-bottom: 1px solid rgba(37,99,235,0.07);
}
.table th {
    background: #F0F6FF;
    font-weight: 700;
    color: var(--blue-dark);
    font-size: 0.67rem;
    text-transform: uppercase;
    letter-spacing: 1.8px;
    font-family: 'Inter', sans-serif;
}
.table td { color: #0F172A; font-size: 0.9rem; }
.table td p { color: #0F172A; }
.table td strong { color: #0F172A; font-weight: 600; }
.table tbody tr:last-child td { border-bottom: none; }
.table tbody tr { transition: background 0.15s; }
.table tbody tr:hover { background: #F8FAFF; }

/* ============================================================
   BADGES
   ============================================================ */
.badge {
    display: inline-block;
    padding: 0.3rem 0.85rem;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: 'Inter', sans-serif;
    white-space: nowrap;
}
.badge-En_attente  { background: #FEF3C7; color: #92400E; border: 1px solid #FCD34D; }
.badge-Collecté    { background: #DBEAFE; color: #1D4ED8; border: 1px solid #93C5FD; }
.badge-En_cours_de_lavage { background: #E0F2FE; color: #0369A1; border: 1px solid #7DD3FC; }
.badge-En_repassage { background: #EDE9FE; color: #5B21B6; border: 1px solid #C4B5FD; }
.badge-Prêt        { background: #D1FAE5; color: #065F46; border: 1px solid #6EE7B7; }
.badge-Livré       { background: #CCFBF1; color: #134E4A; border: 1px solid #5EEAD4; }
.badge-Nettoyé     { background: #E0F2FE; color: #0369A1; border: 1px solid #7DD3FC; }
.badge-Récupéré    { background: #D1FAE5; color: #065F46; border: 1px solid #6EE7B7; }
.badge-success     { background: #D1FAE5; color: #065F46; border: 1px solid #6EE7B7; }
.badge-warning     { background: #FEF3C7; color: #92400E; border: 1px solid #FCD34D; }

/* ============================================================
   ALERTS
   ============================================================ */
.alert {
    padding: 0.9rem 1.25rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1.25rem;
    font-weight: 500;
    font-size: 0.88rem;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-family: 'Inter', sans-serif;
}
.alert-success { background: #D1FAE5; border: 1px solid #6EE7B7; color: #065F46; }
.alert-error   { background: #FEE2E2; border: 1px solid #FCA5A5; color: #991B1B; }
.alert-info    { background: #DBEAFE; border: 1px solid #93C5FD; color: #1D4ED8; }

/* ============================================================
   ADMIN LAYOUT
   ============================================================ */
.admin-grid {
    display: grid;
    grid-template-columns: 260px 1fr;
    min-height: 100vh;
}

/* Sidebar */
.sidebar {
    background: #FFFFFF;
    border-right: 1px solid rgba(37,99,235,0.12);
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: #BFDBFE transparent;
}
.sidebar-header {
    padding: 1.4rem 1.25rem;
    border-bottom: 1px solid rgba(37,99,235,0.1);
    background: #EFF6FF;
}
.sidebar-brand { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; }
.sidebar-brand img { height: 42px; width: auto; display: none; }
.sidebar-brand-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--blue-dark);
    display: block;
}
.sidebar-nav { padding: 1rem 0.875rem; flex: 1; display: flex; flex-direction: column; gap: 0.2rem; }
.sidebar-section-label {
    font-size: 0.62rem;
    font-weight: 700;
    color: #94A3B8;
    text-transform: uppercase;
    letter-spacing: 2.2px;
    padding: 1.1rem 0.75rem 0.4rem;
    font-family: 'Inter', sans-serif;
}
.sidebar-link {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.7rem 0.875rem;
    color: #475569;
    text-decoration: none;
    border-radius: var(--radius-sm);
    font-weight: 500;
    font-size: 0.875rem;
    transition: all 0.22s;
    border: 1px solid transparent;
    font-family: 'Inter', sans-serif;
}
.sidebar-link .link-icon { font-size: 1.05rem; width: 22px; text-align: center; }
.sidebar-link:hover { background: rgba(37,99,235,0.07); color: var(--blue); border-color: rgba(37,99,235,0.15); }
.sidebar-link.active { background: rgba(37,99,235,0.1); color: var(--blue); border-color: rgba(37,99,235,0.2); font-weight: 600; }
.sidebar-badge {
    margin-left: auto;
    background: var(--blue);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.1rem 0.45rem;
    border-radius: 50px;
    min-width: 18px;
    text-align: center;
}
.sidebar-footer { padding: 1.25rem; border-top: 1px solid rgba(37,99,235,0.1); display: flex; flex-direction: column; gap: 0.6rem; }

/* Mobile toggle */
.mobile-nav-toggle {
    display: none;
    align-items: center;
    justify-content: space-between;
    background: #FFFFFF;
    border-bottom: 1px solid rgba(37,99,235,0.12);
    padding: 0.8rem 1.25rem;
    position: sticky;
    top: 0;
    z-index: 500;
}
.mobile-brand { display: flex; align-items: center; gap: 0.5rem; text-decoration: none; }
.mobile-brand img { display: none; }
.mobile-brand-name {
    font-family: 'Playfair Display', serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--blue-dark);
    display: block;
}
.hamburger-btn {
    background: transparent;
    border: 1px solid rgba(37,99,235,0.2);
    color: var(--blue);
    padding: 0.45rem 0.6rem;
    border-radius: var(--radius-xs);
    cursor: pointer;
    font-size: 1.15rem;
    line-height: 1;
    transition: all 0.2s;
}
.hamburger-btn:hover { background: rgba(37,99,235,0.07); }
.sidebar-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.4); z-index: 998; backdrop-filter: blur(2px); }
.sidebar-overlay.open { display: block; }

@media (max-width: 840px) {
    .admin-grid { grid-template-columns: minmax(0, 1fr); }
    .sidebar {
        position: fixed; left: -270px; top: 0; z-index: 999;
        height: 100vh; transition: left 0.28s ease; width: 260px;
    }
    .sidebar.open { left: 0; box-shadow: 4px 0 24px rgba(37,99,235,0.15); }
    .mobile-nav-toggle { display: flex; }
    .main-content { padding: 1.25rem; overflow-x: hidden; max-width: 100%; }
}

/* Main content area */
.main-content {
    padding: 2.25rem 2.5rem;
    background: #F8FAFF;
    min-height: 100vh;
}

/* ============================================================
   ADMIN PAGE HEADERS
   ============================================================ */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(37,99,235,0.1);
}
.page-title { font-family: 'Playfair Display', serif; font-size: 1.75rem; font-weight: 700; color: #0F172A; }
.page-title .accent {
    color: var(--blue);
}

/* ============================================================
   STAT CARDS (dashboard)
   ============================================================ */
.stat-card {
    background: #FFFFFF;
    border: 1.5px solid rgba(37,99,235,0.12);
    border-radius: var(--radius-md);
    padding: 1.75rem;
    position: relative;
    overflow: hidden;
    transition: all 0.28s ease;
    box-shadow: 0 2px 12px rgba(37,99,235,0.06);
}
.stat-card::after {
    content: '';
    position: absolute;
    top: -20px; right: -20px;
    width: 100px; height: 100px;
    background: radial-gradient(circle, rgba(37,99,235,0.07), transparent 65%);
    pointer-events: none;
}
.stat-card:hover { border-color: rgba(37,99,235,0.3); box-shadow: 0 6px 28px rgba(37,99,235,0.12); transform: translateY(-2px); }
.stat-icon { position: absolute; top: 1.5rem; right: 1.75rem; opacity: 0.2; display: flex; align-items: center; justify-content: center; }
.stat-label { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.8px; color: #94A3B8; margin-bottom: 0.85rem; font-family: 'Inter', sans-serif; }
.stat-value { font-family: 'Playfair Display', serif; font-size: 2.6rem; font-weight: 700; line-height: 1; }
.stat-value.gold, .stat-value.blue {
    color: var(--blue-dark);
}
.stat-value.warning { color: #F59E0B; }
.stat-value.success { color: #10B981; }

/* ============================================================
   ORDER ITEM ROWS
   ============================================================ */
.item-row-wrapper { display: flex; gap: 0.75rem; align-items: center; margin-bottom: 0.75rem; }
.item-row-wrapper .remove-row {
    background: transparent;
    border: 1px solid rgba(239,68,68,0.3);
    color: #EF4444;
    border-radius: var(--radius-xs);
    padding: 0.7rem 0.75rem;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.2s;
    flex-shrink: 0;
}
.item-row-wrapper .remove-row:hover { background: rgba(239,68,68,0.1); }

/* Gold/Blue Divider */
.gold-divider {
    height: 1px;
    background: rgba(37,99,235,0.2);
    margin: 2rem 0;
}

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.text-center     { text-align: center; }
.text-right      { text-align: right; }
.text-primary    { color: var(--blue); }
.text-muted      { color: var(--text-muted) !important; }
.text-success    { color: #10B981; }
.text-warning    { color: #F59E0B; }
.text-danger     { color: #EF4444; }
.mt-2  { margin-top: 0.5rem; }   .mt-4  { margin-top: 1rem; }
.mt-6  { margin-top: 1.5rem; }   .mt-8  { margin-top: 2rem; }
.mb-0  { margin-bottom: 0; }     .mb-2  { margin-bottom: 0.5rem; }
.mb-4  { margin-bottom: 1rem; }  .mb-6  { margin-bottom: 1.5rem; }
.mb-8  { margin-bottom: 2rem; }  .p-0   { padding: 0; }
.flex            { display: flex; }
.flex-col        { flex-direction: column; }
.items-center    { align-items: center; }
.items-start     { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.justify-center  { justify-content: center; }
.justify-end     { justify-content: flex-end; }
.gap-2  { gap: 0.5rem; }  .gap-4  { gap: 1rem; }  .gap-6  { gap: 1.5rem; }
.w-full { width: 100%; }  .flex-1 { flex: 1; }  .flex-grow { flex-grow: 1; }
.grid         { display: grid; }
.grid-cols-1  { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2  { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3  { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .grid-cols-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 768px) {
    .grid-cols-2, .grid-cols-3 { grid-template-columns: 1fr; }
    h1 { font-size: 1.85rem; }
    h2 { font-size: 1.5rem; }
    .hero { padding: 5rem 1rem 4rem; min-height: auto; }
    .hero-ring-1, .hero-ring-2, .hero-ring-3 { display: none; }
    .steps-connector { display: none; }
    .hero-actions { flex-direction: column; align-items: center; }
    .hero-actions .btn { width: 100%; max-width: 320px; }
    .hero-stats { gap: 1.5rem; }
    .services-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr 1fr; }
    .section-subtitle { font-size: 0.95rem; }
}
@media (max-width: 480px) {
    .contact-grid { grid-template-columns: 1fr; }
    .hero h1 { font-size: 1.65rem; }
    .commande-card { padding: 1.25rem 1rem; }
}

/* ============================================================
   PRIX — empêche le retour à la ligne dans les montants
   ============================================================ */
.item-price-amount,
.item-price,
.pos-item-prix,
.pos-total-amount,
td .price,
.stat-value { white-space: nowrap; }

/* ============================================================
   SCROLLBAR
   ============================================================ */
::-webkit-scrollbar       { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: #F1F5F9; }
::-webkit-scrollbar-thumb { background: #BFDBFE; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--blue); }

/* ============================================================
   CONTACT — Layout horizontal compact
   ============================================================ */
.contact-grid-mobile {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.contact-card-h {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius-md);
    padding: 1rem 1.25rem;
    text-decoration: none;
    color: white;
    transition: all 0.25s;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.contact-card-h:hover {
    background: rgba(255,255,255,0.18);
    border-color: rgba(255,255,255,0.28);
    transform: translateX(4px);
}
.contact-icon-sm {
    width: 46px; height: 46px;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: white;
    flex-shrink: 0;
}
.contact-label {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255,255,255,0.65);
    margin-bottom: 0.2rem;
    font-family: 'Inter', sans-serif;
}
.contact-value {
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    line-height: 1.3;
}
.contact-sub {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.6);
    margin-top: 0.1rem;
}

/* Sur desktop : grille 3 colonnes */
@media (min-width: 769px) {
    .contact-grid-mobile {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1.25rem;
    }
    .contact-card-h {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
    }
    .contact-card-h:hover { transform: translateY(-4px); }
    .contact-icon-sm { width: 60px; height: 60px; margin: 0 auto 1rem; }
    .contact-label { font-size: 0.68rem; }
    .contact-value { font-size: 1rem; }
}

/* ============================================================
   MOBILE — Touch-first optimisations
   ============================================================ */

/* Taille minimale de touch target */
.btn { min-height: 44px; }

/* Évite le zoom iOS sur les champs */
.form-control { font-size: 1rem; }

/* Mobile-only cells masquées sur desktop */
.table-mobile-show { display: none; }

/* ── 768px ── */
@media (max-width: 768px) {
    /* Hero moins haut */
    .hero { min-height: auto; padding: 4rem 1.25rem 3rem; }
    .hero h1 { margin-bottom: 0.75rem; }
    .hero-badge { margin-bottom: 1.25rem; }
    .hero-divider { margin-top: 1rem; }
    .hero p { font-size: 0.97rem; }
    .hero-actions { margin-top: 1.75rem; gap: 0.75rem; }
    /* Masque les points décoratifs */
    .hero-dot { display: none; }

    /* Page headers des sous-pages (commander, services, track) */
    .page-subheader { padding: 3rem 1rem 2.5rem !important; }

    /* Formulaire de commande */
    .commande-card { padding: 1.25rem 1rem; border-radius: var(--radius-md); }

    /* Badges info : 3 colonnes compactes */
    .info-badges-grid { grid-template-columns: repeat(3, 1fr) !important; gap: 0.5rem !important; }

    /* Champs formulaire compacts */
    .form-group { margin-bottom: 0.85rem; }
    .form-control { padding: 0.6rem 0.85rem; }
    .form-label { font-size: 0.68rem; margin-bottom: 0.3rem; }
    textarea.form-control { padding: 0.65rem 0.85rem; }

    /* Footer brand pleine largeur */
    .footer-brand p { max-width: 100%; }

    /* Tableau track : colonnes compactes */
    .table th, .table td { padding: 0.75rem 0.9rem; }
}

/* ── 640px ── */
@media (max-width: 640px) {
    /* Hero stats sur 1 ligne compressée */
    .hero-stats { gap: 1.25rem; padding-top: 1.25rem; }
    .hero-stat-value { font-size: 1.6rem; }

    /* Features band : 1 colonne */
    .features-grid { grid-template-columns: 1fr; gap: 1.25rem; }

    /* Steps : 1 colonne */
    .steps-grid { grid-template-columns: 1fr !important; }

    /* Page subheader compact */
    .page-subheader { padding: 2rem 1rem 1.5rem !important; }

    /* Track : bouton de recherche pleine largeur */
    .track-search-wrap { flex-direction: column !important; }
    .track-search-wrap .btn { width: 100%; min-height: 48px; }
    .track-search-wrap input { min-width: 0 !important; text-align: left !important; letter-spacing: 1px !important; }

    /* Commande : grid → 1 colonne */
    .commande-grid { grid-template-columns: 1fr !important; gap: 0 !important; }
    .commande-grid .form-group[style*="span 2"] { grid-column: span 1 !important; }

    /* Bouton submit pleine largeur */
    .submit-wrap .btn { width: 100%; max-width: 100% !important; }
    .submit-wrap { margin-top: 1.25rem !important; }

    /* ─── Services ─── */
    .services-section { padding: 2.5rem 1rem 3rem; }
    .services-grid { margin-top: 1.5rem; gap: 1rem; }
    .service-card { padding: 1.25rem 1.25rem 1rem; }
    .service-icon-wrap { width: 48px; height: 48px; margin-bottom: 0.75rem; }
    .service-card h3 { font-size: 1.05rem; margin-bottom: 0.35rem; }
    .service-card p { font-size: 0.85rem; line-height: 1.55; }
    .service-card .service-from {
        font-size: 0.68rem;
        letter-spacing: 0.5px;
        text-transform: none;
        margin-top: 0.85rem;
        padding-top: 0.75rem;
    }

    /* ─── Steps : layout horizontal sur mobile ─── */
    .steps-section { padding: 2.5rem 1rem 3rem !important; }
    .steps-header { margin-bottom: 1.75rem !important; }

    .step-card-item {
        display: flex !important;
        flex-direction: row !important;
        align-items: flex-start !important;
        text-align: left !important;
        padding: 1.1rem 1.25rem !important;
        gap: 1rem;
    }
    /* Masque le grand numéro décoratif */
    .step-card-item .step-number { display: none !important; }

    /* Icône : petit cercle à gauche */
    .step-card-item .step-icon {
        width: 52px !important;
        height: 52px !important;
        min-width: 52px;
        background: #EFF6FF;
        border: 2px solid rgba(37,99,235,0.2);
        border-radius: 50% !important;
        display: flex !important;
        align-items: center;
        justify-content: center;
        color: var(--blue);
        margin: 0 !important;
        flex-shrink: 0;
    }

    /* Contenu à droite */
    .step-card-item .step-content { flex: 1; }
    .step-card-item h3 { font-size: 1rem !important; margin-bottom: 0.3rem !important; }
    .step-card-item p  { font-size: 0.83rem !important; line-height: 1.55 !important; margin: 0; }

    /* Section title/subtitle compact */
    .section-title { font-size: 1.65rem; margin-bottom: 0.5rem; }
    .section-subtitle { font-size: 0.88rem; }
    .section-line { margin-top: 0.85rem; }

    /* Footer condensé */
    .footer { padding: 2.5rem 0 1.5rem; }
    .footer-grid { gap: 1.5rem; }
}

/* ── 480px ── */
@media (max-width: 480px) {
    h1 { font-size: 1.65rem; }
    h2 { font-size: 1.35rem; }

    /* Hero */
    .hero { padding: 3.5rem 1rem 3rem; }
    .hero p { font-size: 0.92rem; }

    /* Stat cards dashboard */
    .stat-value { font-size: 2rem; }

    /* Table track : masquer colonne "Type" sur très petits écrans */
    .table-mobile-hide { display: none; }
    .table-mobile-show { display: table-cell; }

    /* Commande card padding minimal */
    .commande-card { padding: 1.25rem 1rem; }

    /* Navbar brand texte court */
    .navbar-brand-name { font-size: 1rem; }

    /* Bouton flottant WhatsApp décalé */
    .whatsapp-float { bottom: 1rem; right: 1rem; width: 50px; height: 50px; font-size: 1.4rem; }

    /* Tracking : header commande empilé */
    .order-header-flex { flex-direction: column !important; align-items: flex-start !important; }

    /* Section steps compactes */
    .step-card { padding: 1.75rem 1.25rem; }
}

.mobile-only { display: none; }

/* ── Admin: stat grid ── */
.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.25rem;
    margin-bottom: 2rem;
}

/* ── Admin mobile 640px ── */
@media (max-width: 640px) {
    .stat-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 0.75rem !important; }
    .stat-grid > .stat-card:last-child:nth-child(odd) { grid-column: span 2; }
    .stat-card { padding: 1rem; }
    .stat-card .stat-icon { display: none; }
    .page-header { flex-direction: column; align-items: stretch; gap: 0.75rem; margin-bottom: 1.25rem; padding-bottom: 1rem; }
    .page-header > .btn { width: 100%; justify-content: center; text-align: center; }
    .page-header > div:not([class*="page-title"]) { flex-wrap: wrap; }
    .page-header > div > .btn { width: 100%; justify-content: center; text-align: center; }
    .page-header > div > .page-title { font-size: 1.3rem; }
    .admin-sub-hide { display: none; }
    .mobile-only { display: block; }
    .main-content .table th, .main-content .table td { padding: 0.6rem 0.65rem; }
    .main-content .table th { font-size: 0.62rem; }
    .main-content .badge { font-size: 0.65rem; padding: 0.2rem 0.55rem; }
    .page-title { font-size: 1.3rem; }
    .admin-col-hide { display: none; }
}
