/**
 * Paris Grandes Cuisines - Stylesheet
 * Structure prête pour personnalisation UI/UX
 */

/* ============================================================
   VARIABLES & RESET
   ============================================================ */
:root {
    /* Couleurs principales - facilement modifiables par le designer */
    --primary: #1a365d;
    --primary-light: #2b6cb0;
    --primary-dark: #153e75;
    --secondary: #c53030;
    --accent: #dd6b20;
    --success: #38a169;
    --warning: #d69e2e;
    --danger: #e53e3e;
    --info: #3182ce;
    
    /* Neutres */
    --white: #ffffff;
    --gray-50: #f7fafc;
    --gray-100: #edf2f7;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e0;
    --gray-400: #a0aec0;
    --gray-500: #718096;
    --gray-600: #4a5568;
    --gray-700: #2d3748;
    --gray-800: #1a202c;
    --gray-900: #171923;
    
    /* Typographie */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Playfair Display', 'Georgia', serif;
    
    /* Espacements */
    --container-max: 1200px;
    --section-padding: 80px;
    --gap: 24px;
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 16px;
    
    /* Ombres */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.12);
    --shadow-xl: 0 20px 50px rgba(0,0,0,0.15);
    
    /* Transitions */
    --transition: all 0.3s ease;
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    color: var(--gray-700);
    line-height: 1.7;
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--primary-light);
    text-decoration: none;
    transition: var(--transition);
}
a:hover { color: var(--primary-dark); }

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul { list-style: none; }

/* ============================================================
   CONTAINER & LAYOUT
   ============================================================ */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: var(--section-padding) 0;
}

.bg-light { background-color: var(--gray-50); }

.mt-2 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: 0.75rem; }
.text-center { text-align: center; }
.text-muted { color: var(--gray-500); }
.text-success { color: var(--success); }
.text-warning { color: var(--warning); }
.text-danger { color: var(--danger); }
.text-line-through { text-decoration: line-through; color: var(--gray-400); }

/* ============================================================
   BOUTONS
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    font-family: var(--font-primary);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}
.btn-primary:hover {
    background-color: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

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

.btn-outline-light {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.5);
}
.btn-outline-light:hover {
    background: var(--white);
    color: var(--primary);
}

.btn-light {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
}
.btn-light:hover {
    background: var(--gray-100);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 14px 32px;
    font-size: 1.05rem;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.site-header.scrolled {
    box-shadow: var(--shadow);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-icon {
    height: 50px;
    width: auto;
    object-fit: contain;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.logo-text {
    height: 32px;
    width: auto;
    object-fit: contain;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-600);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary);
    background: var(--gray-50);
}

.nav-link.active {
    color: var(--primary);
    background: rgba(26, 54, 93, 0.08);
}

.nav-link i { font-size: 0.85rem; }

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--gray-700);
    transition: var(--transition);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 50%, #0d1b2a 100%);
    color: var(--white);
    overflow: hidden;
    padding-top: 72px;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="0.5" fill="white" opacity="0.03"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    max-width: 700px;
    padding: 60px 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 20px;
    backdrop-filter: blur(5px);
}

.hero-badge i { color: var(--warning); }

.hero-title {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 20px;
}

.text-gradient {
    background: linear-gradient(135deg, #ffd700, #ff8c00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.15rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.85);
    margin-bottom: 32px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    gap: 48px;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.15);
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--white);
}

.stat-label {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-tag {
    display: inline-block;
    padding: 4px 14px;
    background: rgba(26, 54, 93, 0.08);
    color: var(--primary);
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-display);
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--gray-800);
    line-height: 1.3;
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray-500);
    max-width: 600px;
    margin: 0 auto;
}

.section-cta {
    text-align: center;
    margin-top: 40px;
}

/* ============================================================
   PAGE HEADER (sous-pages)
   ============================================================ */
.page-header {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    padding: 120px 0 50px;
    text-align: center;
}

.page-header.compact { padding: 100px 0 30px; }

.page-header h1 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.page-header p {
    color: rgba(255,255,255,0.8);
    font-size: 1.1rem;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 0.85rem;
    margin-bottom: 16px;
    color: rgba(255,255,255,0.7);
}

.breadcrumb a {
    color: rgba(255,255,255,0.8);
}
.breadcrumb a:hover { color: var(--white); }
.breadcrumb i { font-size: 0.7rem; }

/* ============================================================
   SERVICES CARDS (accueil)
   ============================================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--gap);
}

.service-card {
    position: relative;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.service-card.featured {
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

.service-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--accent);
    color: var(--white);
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
}

.service-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    border-radius: var(--radius);
    font-size: 1.4rem;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.2rem;
    color: var(--gray-800);
    margin-bottom: 12px;
}

.service-card p {
    color: var(--gray-500);
    font-size: 0.92rem;
    margin-bottom: 16px;
}

.service-features {
    margin-bottom: 20px;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 0;
    font-size: 0.88rem;
    color: var(--gray-600);
}

.service-features li i {
    color: var(--success);
    font-size: 0.8rem;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary);
}

.service-link:hover {
    gap: 10px;
    color: var(--primary-dark);
}

/* ============================================================
   WHY US SECTION
   ============================================================ */
.why-us-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.why-us-content .section-title { text-align: left; }

.why-us-content > p {
    color: var(--gray-500);
    margin-bottom: 32px;
    font-size: 1.05rem;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.feature-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-50);
    border-radius: var(--radius-sm);
    color: var(--primary);
    font-size: 1.1rem;
}

.feature-item h4 {
    font-size: 1rem;
    color: var(--gray-800);
    margin-bottom: 4px;
}

.feature-item p {
    font-size: 0.88rem;
    color: var(--gray-500);
}

/* Image placeholder */
.image-placeholder, .image-placeholder-sm, .image-placeholder-gallery {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--gray-100);
    border: 2px dashed var(--gray-300);
    border-radius: var(--radius);
    color: var(--gray-400);
    text-align: center;
    padding: 40px;
}

.image-placeholder { min-height: 400px; }
.image-placeholder.large { min-height: 450px; }
.image-placeholder-sm { min-height: 200px; padding: 30px; }
.image-placeholder-gallery { min-height: 250px; padding: 30px; }

.image-placeholder i, .image-placeholder-sm i, .image-placeholder-gallery i {
    font-size: 3rem;
    margin-bottom: 12px;
    opacity: 0.5;
}

.image-placeholder p, .image-placeholder-sm p, .image-placeholder-gallery p {
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.image-placeholder small, .image-placeholder-gallery small {
    font-size: 0.78rem;
    opacity: 0.7;
}

/* ============================================================
   PRODUCTS GRID
   ============================================================ */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--gap);
}

.product-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.product-image {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: var(--gray-50);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--white);
}

.product-badge.promo { background: var(--danger); }
.product-badge.rupture { background: var(--gray-500); }
.product-badge.stock-low { background: var(--warning); color: var(--gray-800); }

.product-info {
    padding: 20px;
}

.product-category {
    display: inline-block;
    font-size: 0.75rem;
    color: var(--primary-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    margin-bottom: 6px;
}

.product-name {
    font-size: 1.02rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 8px;
    line-height: 1.4;
}

.product-desc {
    font-size: 0.85rem;
    color: var(--gray-500);
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-brand {
    display: inline-block;
    font-size: 0.8rem;
    color: var(--gray-500);
    margin-bottom: 12px;
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 1px solid var(--gray-100);
}

.price-current {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary);
}

.price-old {
    font-size: 0.85rem;
    color: var(--gray-400);
    text-decoration: line-through;
    margin-right: 8px;
}

.price-current-lg {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
}

.price-old-lg {
    font-size: 1.2rem;
    color: var(--gray-400);
    text-decoration: line-through;
    margin-right: 12px;
}

.price-savings {
    display: block;
    color: var(--success);
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: 4px;
}

/* ============================================================
   SERVICE DETAIL (page services)
   ============================================================ */
.service-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.service-detail-grid.reverse .service-detail-content { order: 1; }
.service-detail-grid.reverse .service-detail-image { order: 0; }

.service-detail-content .lead {
    font-size: 1.15rem;
    color: var(--gray-600);
    margin-bottom: 16px;
    line-height: 1.8;
}

.service-detail-content h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--gray-800);
    margin-bottom: 16px;
}

.service-detail-content h3 {
    font-size: 1.1rem;
    color: var(--gray-800);
    margin-top: 24px;
    margin-bottom: 12px;
}

.service-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 24px 0;
}

.sf-item {
    padding: 20px;
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-sm);
}

.bg-light .sf-item { background: var(--white); }

.sf-item i {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 10px;
    display: block;
}

.sf-item h4 {
    font-size: 0.95rem;
    color: var(--gray-800);
    margin-bottom: 4px;
}

.sf-item p {
    font-size: 0.82rem;
    color: var(--gray-500);
}

/* Process steps */
.process-steps {
    margin: 24px 0;
}

.step {
    display: flex;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--gray-100);
}

.step:last-child { border-bottom: none; }

.step-number {
    width: 40px;
    height: 40px;
    min-width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    font-weight: 700;
    font-size: 0.9rem;
}

.step-content h4 {
    font-size: 1rem;
    color: var(--gray-800);
    margin-bottom: 4px;
}

.step-content p {
    font-size: 0.88rem;
    color: var(--gray-500);
}

/* Equipment tags */
.equipment-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.tag {
    padding: 6px 14px;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 20px;
    font-size: 0.82rem;
    color: var(--gray-600);
}

/* Check list */
.check-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
    font-size: 0.92rem;
    color: var(--gray-600);
}

.check-list li i {
    color: var(--success);
}

/* Categories preview */
.categories-preview {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 20px 0;
}

.cat-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px;
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-700);
}

.bg-light .cat-item { background: var(--white); }

.cat-item i {
    color: var(--primary);
    font-size: 1.1rem;
}

/* ============================================================
   GALLERY
   ============================================================ */
.gallery-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 32px;
    justify-content: center;
}

.filter-btn {
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--gray-600);
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    cursor: pointer;
}

.filter-btn:hover {
    color: var(--primary);
    border-color: var(--primary-light);
}

.filter-btn.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.gallery-item {
    border-radius: var(--radius);
    overflow: hidden;
}

.gallery-image {
    position: relative;
    height: 260px;
    overflow: hidden;
    border-radius: var(--radius);
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover .gallery-image img {
    transform: scale(1.08);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay { opacity: 1; }

.gallery-info h4 {
    color: var(--white);
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.gallery-info p {
    color: rgba(255,255,255,0.8);
    font-size: 0.82rem;
}

.gallery-cat {
    display: inline-block;
    margin-top: 6px;
    padding: 2px 10px;
    background: rgba(255,255,255,0.2);
    border-radius: 12px;
    font-size: 0.72rem;
    color: var(--white);
}

.gallery-zoom {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.2);
    border: none;
    border-radius: 50%;
    color: var(--white);
    cursor: pointer;
    transition: var(--transition);
}

.gallery-zoom:hover {
    background: var(--white);
    color: var(--primary);
}

/* Gallery empty/demo state */
.empty-notice {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    margin-top: 24px;
}

.empty-notice i {
    font-size: 1.5rem;
    color: var(--info);
}

.empty-notice p {
    font-size: 0.9rem;
    color: var(--gray-600);
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0,0,0,0.95);
    align-items: center;
    justify-content: center;
}

.lightbox.active { display: flex; }

.lightbox-content {
    max-width: 90vw;
    max-height: 85vh;
    text-align: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: var(--radius-sm);
}

.lightbox-title {
    color: var(--white);
    margin-top: 12px;
    font-size: 0.95rem;
}

.lightbox-close, .lightbox-prev, .lightbox-next {
    position: absolute;
    background: rgba(255,255,255,0.1);
    border: none;
    color: var(--white);
    font-size: 1.3rem;
    cursor: pointer;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover {
    background: rgba(255,255,255,0.3);
}

.lightbox-close { top: 20px; right: 20px; }
.lightbox-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 20px; top: 50%; transform: translateY(-50%); }

/* ============================================================
   SHOP / BOUTIQUE
   ============================================================ */
.shop-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 32px;
    align-items: start;
}

.shop-grid {
    grid-template-columns: repeat(3, 1fr);
}

/* Sidebar */
.sidebar-widget {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 20px;
}

.sidebar-widget h3 {
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gray-800);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--gray-100);
}

.category-list li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    color: var(--gray-600);
    transition: var(--transition);
}

.category-list li a:hover {
    background: var(--gray-50);
    color: var(--primary);
}

.category-list li a.active {
    background: rgba(26, 54, 93, 0.08);
    color: var(--primary);
    font-weight: 600;
}

.count {
    background: var(--gray-100);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.75rem;
    color: var(--gray-500);
}

.sidebar-cta {
    background: var(--primary);
    color: var(--white);
    text-align: center;
}

.sidebar-cta i { font-size: 2rem; margin-bottom: 10px; }
.sidebar-cta h4 { font-size: 1rem; margin-bottom: 6px; }
.sidebar-cta p { font-size: 0.85rem; opacity: 0.8; margin-bottom: 12px; }

.search-form .form-input { margin-bottom: 10px; }

.search-results-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: var(--gray-50);
    border-radius: var(--radius-sm);
    margin-bottom: 24px;
}

.shop-empty {
    text-align: center;
    padding: 60px 20px;
}

.shop-empty i {
    font-size: 4rem;
    color: var(--gray-300);
    margin-bottom: 16px;
}

.shop-empty h3 {
    color: var(--gray-600);
    margin-bottom: 8px;
}

.shop-empty p {
    color: var(--gray-500);
    margin-bottom: 20px;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 32px;
}

.page-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    color: var(--gray-600);
    transition: var(--transition);
}

.page-link:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.page-link.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

/* ============================================================
   PRODUCT DETAIL — Alpagga-style
   ============================================================ */
.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.product-detail-image {
    position: relative;
}

.product-detail-image .main-image {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.product-etat-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.badge-neuf { background: #e8f5e9; color: #2e7d32; }
.badge-occasion { background: #fff3e0; color: #e65100; }
.badge-declasse { background: #fce4ec; color: #c62828; }

.product-discount-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--danger);
    color: var(--white);
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 800;
}

.product-detail-info h1 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--gray-800);
    margin-bottom: 8px;
    line-height: 1.3;
}

.pd-top-line {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.pd-brand {
    background: var(--gray-100);
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pd-ref {
    font-size: 0.85rem;
    color: var(--gray-400);
    margin-bottom: 16px;
}

/* ── Pricing block ── */
.pd-pricing {
    background: var(--gray-50);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius);
    padding: 20px 24px;
    margin-bottom: 20px;
}

.pd-prix-neuf {
    margin-bottom: 6px;
}

.pd-prix-neuf-label {
    font-size: 0.82rem;
    color: var(--gray-500);
    margin-right: 8px;
}

.pd-prix-neuf-value {
    font-size: 0.95rem;
    color: var(--gray-400);
    text-decoration: line-through;
}

.pd-prix-current {
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.pd-prix-amount {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.5px;
}

.pd-prix-reduction {
    background: var(--danger);
    color: var(--white);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.82rem;
    font-weight: 700;
}

/* ── Livraison ── */
.pd-livraison {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    background: #e8f5e9;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
}

.pd-livraison > i {
    font-size: 1.4rem;
    color: #2e7d32;
    flex-shrink: 0;
}

.pd-livraison div strong {
    display: block;
    font-size: 0.92rem;
    color: #1b5e20;
}

.pd-livraison div span {
    font-size: 0.8rem;
    color: #388e3c;
}

/* ── Options checkboxes ── */
.pd-options {
    margin-bottom: 20px;
}

.pd-options h4 {
    font-size: 0.95rem;
    color: var(--gray-700);
    margin-bottom: 12px;
    font-weight: 600;
}

.pd-option-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-sm);
    margin-bottom: 10px;
    cursor: pointer;
    transition: var(--transition);
    background: var(--white);
}

.pd-option-row:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-sm);
}

.pd-option-row:has(input:checked) {
    border-color: var(--primary);
    background: linear-gradient(135deg, rgba(26,54,93,0.02), rgba(43,108,176,0.05));
}

.pd-opt-check {
    width: 20px;
    height: 20px;
    accent-color: var(--primary);
    flex-shrink: 0;
}

.pd-opt-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1rem;
    color: var(--gray-500);
}

.pd-option-row:has(input:checked) .pd-opt-icon {
    background: var(--primary);
    color: var(--white);
}

.pd-opt-label {
    flex: 1;
}

.pd-opt-label strong {
    display: block;
    font-size: 0.9rem;
    color: var(--gray-800);
    margin-bottom: 2px;
}

.pd-opt-label small {
    font-size: 0.78rem;
    color: var(--gray-500);
}

.pd-opt-price {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
    white-space: nowrap;
}

/* ── Quantity + Total ── */
.pd-quantity-total {
    display: flex;
    align-items: flex-end;
    gap: 24px;
    padding: 20px 24px;
    background: var(--gray-50);
    border-radius: var(--radius);
    margin-bottom: 16px;
}

.pd-quantity label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--gray-600);
    margin-bottom: 8px;
}

.qty-selector {
    display: flex;
    align-items: center;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--white);
}

.qty-btn {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: var(--gray-50);
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--gray-600);
    transition: var(--transition);
}

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

.qty-input {
    width: 52px;
    height: 42px;
    text-align: center;
    border: none;
    border-left: 1px solid var(--gray-200);
    border-right: 1px solid var(--gray-200);
    font-size: 1rem;
    font-weight: 700;
    color: var(--gray-800);
    background: var(--white);
}

.pd-total {
    flex: 1;
    text-align: right;
}

.pd-total-label {
    display: block;
    font-size: 0.82rem;
    color: var(--gray-500);
    margin-bottom: 4px;
}

.pd-total-amount {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary);
}

/* ── Stock ── */
.product-stock {
    margin-bottom: 16px;
    font-size: 0.9rem;
}

.stock-ok { color: var(--success); }
.stock-low { color: var(--warning); }
.stock-out { color: var(--danger); }

/* ── WhatsApp button ── */
.btn-whatsapp {
    background: #25d366;
    color: var(--white) !important;
    border-color: #25d366;
}

.btn-whatsapp:hover {
    background: #1da851;
    border-color: #1da851;
}

/* ── Actions ── */
.product-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
}

/* ── Guarantees ── */
.product-guarantees {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid var(--gray-100);
}

.guarantee {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: var(--gray-500);
}

.guarantee i { color: var(--primary); font-size: 1rem; }
.guarantee.highlight { color: var(--success); font-weight: 600; }
.guarantee.highlight i { color: var(--success); }

/* ── Description + Dimensions blocks ── */
.pd-description-block,
.pd-dimensions-block {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--gray-100);
}

.pd-description-block h3,
.pd-dimensions-block h3 {
    font-size: 1.2rem;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gray-800);
}

.pd-description-text {
    color: var(--gray-600);
    line-height: 1.8;
    font-size: 0.95rem;
}

.pd-dims-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px;
}

.pd-dim-item {
    background: var(--gray-50);
    padding: 16px 20px;
    border-radius: var(--radius-sm);
    text-align: center;
}

.pd-dim-label {
    display: block;
    font-size: 0.78rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.pd-dim-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gray-800);
}

/* ── État badges on product cards ── */
.product-badge.etat-badge {
    top: auto;
    bottom: 40px;
    left: 10px;
    right: auto;
    font-size: 0.65rem;
    padding: 3px 8px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.product-badge.etat-badge.badge-neuf { background: #e8f5e9; color: #2e7d32; }
.product-badge.etat-badge.badge-occasion { background: #fff3e0; color: #e65100; }
.product-badge.etat-badge.badge-declasse { background: #fce4ec; color: #c62828; }

/* Installation badge on product cards */
.product-badge.installation {
    background: var(--success);
    color: var(--white);
    top: auto;
    bottom: 10px;
    right: 10px;
    left: auto;
    font-size: 0.7rem;
    padding: 4px 10px;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Specs table */
.product-specs {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--gray-100);
}

.product-specs h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
}

.specs-table tr { border-bottom: 1px solid var(--gray-100); }
.specs-table th, .specs-table td {
    padding: 12px 16px;
    text-align: left;
    font-size: 0.92rem;
}

.specs-table th {
    width: 200px;
    font-weight: 600;
    color: var(--gray-700);
    background: var(--gray-50);
}

.specs-table td { color: var(--gray-600); }

/* ============================================================
   ADVANCED FILTER SIDEBAR
   ============================================================ */
.filter-toggle-btn {
    display: none;
    margin-bottom: 16px;
    position: relative;
}

.filter-active-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--danger);
    display: inline-block;
    margin-left: 4px;
}

.filter-search-row {
    display: flex;
    gap: 8px;
}

.filter-search-row .form-input {
    flex: 1;
}

.form-input-sm {
    padding: 8px 12px !important;
    font-size: 0.85rem !important;
}

.filter-cat-label {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--gray-700);
    width: 100%;
    justify-content: space-between;
}

.filter-cat-label input[type="radio"] {
    display: none;
}

.filter-cat-label:has(input:checked) {
    color: var(--primary);
    font-weight: 600;
}

.filter-price-range .price-inputs {
    display: flex;
    align-items: center;
    gap: 8px;
}

.price-sep {
    color: var(--gray-400);
    font-weight: 600;
}

.filter-checkboxes {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.filter-check-label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
    cursor: pointer;
    font-size: 0.88rem;
    color: var(--gray-700);
}

.filter-check-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
    flex-shrink: 0;
}

.filter-check-text {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.filter-check-text .count {
    font-size: 0.78rem;
    color: var(--gray-400);
}

.filter-highlight {
    background: linear-gradient(135deg, rgba(26,54,93,0.04), rgba(43,108,176,0.08));
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    margin-top: 4px;
}

.filter-marques-search {
    margin-bottom: 10px;
}

.filter-marques-list {
    max-height: 200px;
    overflow-y: auto;
}

.filter-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* ── Shop toolbar ── */
.shop-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--gray-100);
}

.shop-result-count {
    font-size: 0.9rem;
    color: var(--gray-500);
    margin: 0;
}

.shop-sort-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--gray-600);
}

.shop-sort-label select {
    min-width: 160px;
}

/* ── Active filters tags ── */
.active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-bottom: 20px;
}

.filter-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--gray-100);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--gray-700);
}

.filter-tag a {
    color: var(--gray-400);
    line-height: 1;
}

.filter-tag a:hover {
    color: var(--danger);
}

.filter-clear-all {
    font-size: 0.8rem;
    color: var(--danger);
    text-decoration: underline;
    margin-left: 8px;
}

/* ── Admin badge-etat ── */
.badge-etat {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-etat.badge-neuf { background: #e8f5e9; color: #2e7d32; }
.badge-etat.badge-occasion { background: #fff3e0; color: #e65100; }
.badge-etat.badge-declasse { background: #fce4ec; color: #c62828; }

/* ============================================================
   WHATSAPP FLOATING BUTTON
   ============================================================ */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 42px;
    height: 42px;
    background: #25d366;
    color: #fff !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: 0 4px 12px rgba(37,211,102,0.35);
    z-index: 999;
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(37,211,102,0.5);
}

.whatsapp-tooltip {
    position: absolute;
    right: 54px;
    background: var(--gray-800);
    color: var(--white);
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
}

.contact-form-wrapper h2, .contact-info-wrapper h2 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--gray-800);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Forms */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 6px;
}

.form-group label i {
    margin-right: 4px;
    color: var(--gray-400);
}

.form-input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-family: var(--font-primary);
    font-size: 0.92rem;
    color: var(--gray-700);
    transition: var(--transition);
    background: var(--white);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(43, 108, 176, 0.1);
}

.form-input::placeholder { color: var(--gray-400); }

textarea.form-input { resize: vertical; }
select.form-input { cursor: pointer; }

.form-help {
    display: block;
    font-size: 0.8rem;
    color: var(--gray-400);
    margin-top: 4px;
}

/* Alerts */
.alert {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 20px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    font-size: 0.92rem;
}

.alert i { font-size: 1.2rem; margin-top: 2px; }
.alert ul { margin-top: 6px; padding-left: 18px; list-style: disc; }

.alert-success {
    background: rgba(56, 161, 105, 0.1);
    border: 1px solid rgba(56, 161, 105, 0.3);
    color: #276749;
}

.alert-error {
    background: rgba(229, 62, 62, 0.1);
    border: 1px solid rgba(229, 62, 62, 0.3);
    color: #c53030;
}

/* Contact cards */
.contact-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: var(--gray-50);
    border-radius: var(--radius-sm);
}

.contact-card-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: var(--white);
    border-radius: var(--radius-sm);
}

.contact-card h4 {
    font-size: 0.9rem;
    color: var(--gray-800);
    margin-bottom: 4px;
}

.contact-card p {
    font-size: 0.88rem;
    color: var(--gray-500);
}

.contact-card a { color: var(--primary-light); }

.map-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 250px;
    background: var(--gray-100);
    border: 2px dashed var(--gray-300);
    border-radius: var(--radius);
    color: var(--gray-400);
}

.map-placeholder i { font-size: 2.5rem; margin-bottom: 10px; }
.map-placeholder p { font-size: 0.9rem; }
.map-placeholder small { font-size: 0.78rem; }

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
}

.cta-content {
    text-align: center;
    max-width: 650px;
    margin: 0 auto;
}

.cta-content h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    margin-bottom: 16px;
}

.cta-content p {
    color: rgba(255,255,255,0.85);
    margin-bottom: 28px;
    font-size: 1.05rem;
}

.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    background: var(--gray-900);
    color: var(--gray-400);
    padding-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-logo {
    margin-bottom: 16px;
}

.footer-logo-img { height: 60px; width: auto; object-fit: contain; filter: brightness(0) invert(1); }
.footer-logo i { color: var(--secondary); font-size: 1.5rem; }

.footer-desc {
    font-size: 0.88rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
    color: var(--gray-400);
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
    color: var(--white);
}

.footer-col h4 {
    color: var(--white);
    font-size: 0.95rem;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary);
    display: inline-block;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: var(--gray-400);
    font-size: 0.88rem;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--white);
    padding-left: 4px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.footer-contact li i {
    color: var(--primary-light);
    margin-top: 3px;
    min-width: 16px;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.08);
    font-size: 0.82rem;
    gap: 16px;
}

/* Partners Band (above footer) */
.partners-band {
    background: #ffffff;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 40px 20px;
    text-align: center;
}

.footer-partners-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #999;
    font-weight: 600;
    width: 100%;
    text-align: center;
}

.footer-partners-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
}

.footer-partner-logo {
    height: 70px;
    width: auto;
    object-fit: contain;
    opacity: 0.85;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.footer-partner-logo:hover {
    opacity: 1;
    transform: scale(1.05);
}

.footer-bottom > p {
    margin: 0;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: var(--gray-500);
    font-size: 0.82rem;
}

.footer-links a:hover { color: var(--white); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .services-grid { grid-template-columns: 1fr; }
    .products-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid { grid-template-columns: repeat(3, 1fr); }
    .shop-layout { grid-template-columns: 240px 1fr; }
    .shop-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .why-us-grid { grid-template-columns: 1fr; }
    .why-us-image { display: none; }
    .service-detail-grid { 
        grid-template-columns: 1fr; 
        gap: 30px;
    }
    .service-detail-grid.reverse .service-detail-content { order: 0; }
    .service-detail-grid.reverse .service-detail-image { order: 1; }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 50px;
    }
    
    .hero-title { font-size: 2.2rem; }
    .hero-stats { gap: 24px; }
    .stat-number { font-size: 1.5rem; }
    
    .section-title { font-size: 1.75rem; }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow-lg);
    }
    
    .nav-menu.active { display: flex; }
    
    .nav-toggle { display: flex; }
    
    .hide-mobile { display: none; }
    
    .logo-icon { height: 36px; }
    .logo-text { height: 24px; }
    
    .products-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    
    .shop-layout {
        grid-template-columns: 1fr;
    }
    
    /* Collapsible filter sidebar on mobile */
    .filter-toggle-btn {
        display: inline-flex;
    }

    .shop-sidebar {
        display: none;
        order: -1;
    }

    .shop-sidebar.sidebar-open {
        display: block;
    }
    
    .shop-content { order: 0; }
    .shop-grid { grid-template-columns: repeat(2, 1fr); }
    
    .contact-grid { grid-template-columns: 1fr; }
    .product-detail-grid { grid-template-columns: 1fr; }
    
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
    
    .form-row { grid-template-columns: 1fr; }
    
    .hero-actions { flex-direction: column; }
    
    .product-actions { flex-direction: column; }
    
    .pd-quantity-total { flex-direction: column; gap: 16px; }
    .pd-total { text-align: left; }
    .pd-prix-amount { font-size: 1.6rem; }
    .product-guarantees { grid-template-columns: 1fr; }
    
    .shop-toolbar { flex-direction: column; gap: 12px; align-items: flex-start; }
    
    .categories-preview { grid-template-columns: repeat(2, 1fr); }
    .service-features-grid { grid-template-columns: 1fr; }
    
    .page-header h1 { font-size: 1.8rem; }

    .whatsapp-float { width: 38px; height: 38px; font-size: 1.1rem; bottom: 20px; right: 20px; }
    .whatsapp-tooltip { display: none; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 1.8rem; }
    .hero-stats { flex-direction: column; gap: 16px; }
    .gallery-grid { grid-template-columns: 1fr; }
    .shop-grid { grid-template-columns: 1fr; }
    .product-guarantees { grid-template-columns: 1fr; }
    .cta-actions { flex-direction: column; }
    .categories-preview { grid-template-columns: 1fr; }
    .pd-dims-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ═══ FICHE TECHNIQUE PDF BUTTON ═══ */
.product-fiche-technique {
    margin-top: 24px;
}

.btn-fiche-technique {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 24px;
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: #fff;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 3px 12px rgba(220, 53, 69, 0.3);
}

.btn-fiche-technique:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 53, 69, 0.4);
}

.btn-fiche-technique > i:first-child {
    font-size: 2rem;
    opacity: 0.9;
}

.btn-fiche-technique div {
    flex: 1;
}

.btn-fiche-technique div strong {
    display: block;
    font-size: 1rem;
    margin-bottom: 2px;
}

.btn-fiche-technique div span {
    font-size: 0.82rem;
    opacity: 0.85;
}

.btn-fiche-technique > i:last-child {
    font-size: 1.1rem;
    opacity: 0.7;
}

/* ═══ TECH DATA TABLE ═══ */
.product-tech-data .specs-table th i {
    margin-right: 8px;
    color: var(--primary);
    width: 18px;
    text-align: center;
}

/* ═══ ADMIN: CURRENT FICHE ═══ */
.current-fiche {
    margin-bottom: 16px;
    padding: 12px 16px;
    background: var(--gray-50);
    border-radius: 8px;
    border: 1px solid var(--gray-200);
}

.current-fiche .mt-1 {
    margin-top: 8px;
}

/* ═══════════════════════════════════════════════════════
   WHATSAPP CHAT BOT WIDGET
   ═══════════════════════════════════════════════════════ */

.wachat-widget {
    display: none;
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 370px;
    max-height: 520px;
    background: #ece5dd;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.22);
    z-index: 9999;
    flex-direction: column;
    overflow: hidden;
    animation: waChatSlideUp 0.3s ease;
}
.wachat-widget.active {
    display: flex;
}
@keyframes waChatSlideUp {
    from { opacity: 0; transform: translateY(20px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes waSlideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Header */
.wachat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #075e54;
    color: white;
    padding: 14px 16px;
}
.wachat-header-left {
    display: flex;
    align-items: center;
    gap: 10px;
}
.wachat-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #25d366;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}
.wachat-header-left strong {
    font-size: 0.9rem;
    display: block;
    line-height: 1.2;
}
.wachat-online {
    font-size: 0.7rem;
    opacity: 0.85;
}
.wachat-online i {
    font-size: 0.45rem;
    color: #25d366;
    margin-right: 3px;
}
.wachat-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.6rem;
    cursor: pointer;
    opacity: 0.8;
    line-height: 1;
}
.wachat-close:hover { opacity: 1; }

/* Chat body */
.wachat-body {
    flex: 1;
    overflow-y: auto;
    padding: 14px 14px 8px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-height: 280px;
    max-height: 350px;
    background: #ece5dd url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="200" height="200" fill="none"><rect width="200" height="200" fill="%23e5ddd5" opacity="0.3"/></svg>');
}

/* Message bubbles */
.wachat-msg {
    max-width: 85%;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.85rem;
    line-height: 1.45;
    position: relative;
    animation: waMsgIn 0.25s ease;
}
@keyframes waMsgIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}
.wachat-msg-bot {
    background: white;
    color: #1e293b;
    align-self: flex-start;
    border-top-left-radius: 2px;
    box-shadow: 0 1px 1px rgba(0,0,0,0.08);
}
.wachat-msg-user {
    background: #dcf8c6;
    color: #1e293b;
    align-self: flex-end;
    border-top-right-radius: 2px;
    box-shadow: 0 1px 1px rgba(0,0,0,0.08);
}
.wachat-msg-time {
    font-size: 0.6rem;
    color: #94a3b8;
    text-align: right;
    margin-top: 3px;
}

/* Option buttons inside bot messages */
.wachat-options {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 8px;
}
.wachat-opt-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #f8fafc;
    color: #334155;
    font-size: 0.83rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s;
    text-align: left;
    font-family: inherit;
    width: 100%;
}
.wachat-opt-btn:hover {
    border-color: #25d366;
    background: #f0fdf4;
    color: #166534;
}
.wachat-opt-btn i {
    font-size: 1rem;
    width: 20px;
    text-align: center;
    color: #25d366;
}

/* WhatsApp CTA button */
.wachat-wa-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 16px;
    background: #25d366;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s;
    margin-top: 8px;
    width: 100%;
    font-family: inherit;
}
.wachat-wa-btn:hover {
    background: #1fb855;
    color: white;
}

.wachat-live-link {
    display: block;
    text-align: center;
    margin-top: 6px;
    font-size: 0.75rem;
    color: #075e54;
    text-decoration: underline;
    cursor: pointer;
    background: none;
    border: none;
    font-family: inherit;
    padding: 4px;
    width: 100%;
}
.wachat-live-link:hover { color: #25d366; }

/* Typing indicator */
.wachat-typing {
    display: flex;
    gap: 4px;
    padding: 10px 14px;
    align-self: flex-start;
}
.wachat-typing span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #94a3b8;
    animation: waDot 1.2s infinite;
}
.wachat-typing span:nth-child(2) { animation-delay: 0.2s; }
.wachat-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes waDot {
    0%, 60%, 100% { opacity: 0.3; transform: scale(0.8); }
    30% { opacity: 1; transform: scale(1); }
}

/* Input area */
.wachat-input-area {
    display: flex;
    gap: 8px;
    padding: 10px 12px;
    background: #f0f0f0;
    border-top: 1px solid #ddd;
}
.wachat-input {
    flex: 1;
    border: none;
    border-radius: 20px;
    padding: 9px 16px;
    font-size: 0.85rem;
    background: white;
    outline: none;
    font-family: inherit;
}
.wachat-input:focus { box-shadow: 0 0 0 2px rgba(37,211,102,0.3); }
.wachat-send {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #25d366;
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    transition: background 0.15s;
}
.wachat-send:hover { background: #1fb855; }

/* Mobile responsive */
@media (max-width: 480px) {
    .wachat-widget {
        width: calc(100vw - 20px);
        right: 10px;
        bottom: 85px;
        max-height: 70vh;
    }
    .wachat-body {
        min-height: 220px;
        max-height: 50vh;
    }
}

/* WhatsApp float button - override from link to button */
button.whatsapp-float {
    border: none;
    font-size: inherit;
}


