/* ===================================
   SOCIETE SERVICES INDUSTRIELS - SSI
   Site Web de Marquage Industriel
   Feuille de Style Complète - Version 2.0
   =================================== */

/* Variables CSS */
:root {
    --primary-color: #0056b3;
    --primary-dark: #004494;
    --secondary-color: #4a5568;
    --accent-color: #e53e3e;
    --success-color: #38a169;
    --warning-color: #f59e0b;
    --light-bg: #f7fafc;
    --white: #ffffff;
    --text-dark: #2d3748;
    --text-light: #718096;
    --border-color: #e2e8f0;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
    --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-arabic: 'Cairo', 'Tajawal', sans-serif;
}

/* Reset et Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--light-bg);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===================================
   BANNIÈRE DÉFILANTE (MARQUEE)
   =================================== */
.marquee-banner,
.super-marquee {
    background: linear-gradient(135deg, #1a365d 0%, #2d3748 100%);
    color: var(--white);
    padding: 8px 0;
    overflow: hidden;
    position: relative;
}

.marquee-content,
.super-marquee-content {
    display: flex;
    animation: marquee 30s linear infinite;
    white-space: nowrap;
}

.marquee-content:hover,
.super-marquee-content:hover {
    animation-play-state: paused;
}

.marquee-item,
.super-marquee-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0 50px;
    font-size: 14px;
}

.marquee-item::before,
.super-marquee-item::before {
    content: '▶';
    font-size: 10px;
    opacity: 0.7;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ===================================
   HEADER ET NAVIGATION
   =================================== */
.header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    top: 35px;
    left: 0;
    right: 0;
    z-index: 1000;
}

.header-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    height: 60px;
    width: auto;
    transition: var(--transition);
}

.logo:hover img {
    transform: scale(1.05);
}

.logo-text h1 {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.2;
}

.logo-text p {
    font-size: 12px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.nav-menu a {
    font-weight: 500;
    color: var(--text-dark);
    padding: 10px 5px;
    position: relative;
    font-size: 15px;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--primary-color);
    transition: var(--transition);
    border-radius: 2px;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.nav-menu a .emoji {
    margin-right: 5px;
}

.dropdown {
    position: relative;
}

.dropdown-toggle::after {
    content: ' ▼';
    font-size: 10px;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    min-width: 280px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

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

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    border-bottom: 1px solid var(--border-color);
    font-size: 14px;
}

.dropdown-menu a:last-child {
    border-bottom: none;
}

.dropdown-menu a:hover {
    background: var(--light-bg);
    color: var(--primary-color);
    padding-left: 25px;
}

.dropdown-menu a .emoji {
    font-size: 18px;
}

.language-switcher {
    display: flex;
    gap: 8px;
    background: var(--light-bg);
    padding: 5px;
    border-radius: 8px;
}

.language-switcher a {
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    transition: var(--transition);
}

.language-switcher a.active {
    background: var(--primary-color);
    color: var(--white);
}

.language-switcher a:hover:not(.active) {
    background: var(--border-color);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
}

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: var(--transition);
}

/* ===================================
   HERO SECTION AVEC ANIMATIONS
   =================================== */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 200px 0 120px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: pulse-glow 4s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to top, var(--light-bg), transparent);
}

@keyframes pulse-glow {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

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

.hero h1 {
    font-size: 52px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    animation: fadeInUp 0.8s ease;
}

.hero p {
    font-size: 22px;
    margin-bottom: 35px;
    opacity: 0.95;
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.4s backwards;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 50px;
    animation: fadeInUp 0.8s ease 0.6s backwards;
}

.hero-stat {
    text-align: center;
}

.hero-stat-number {
    font-size: 36px;
    font-weight: 700;
    color: var(--white);
}

.hero-stat-label {
    font-size: 14px;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===================================
   BOUTONS AVEC ANIMATIONS
   =================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 15px 35px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: 0.5s;
}

.btn:hover::before {
    left: 100%;
}

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

.btn-primary:hover {
    background: var(--light-bg);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px);
}

.btn-accent {
    background: var(--accent-color);
    color: var(--white);
}

.btn-accent:hover {
    background: #c53030;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(229, 62, 62, 0.3);
}

.btn-sav {
    background: linear-gradient(135deg, var(--warning-color) 0%, #d97706 100%);
    color: var(--white);
}

.btn-sav:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.3);
}

/* ===================================
   SECTIONS GÉNÉRALES AVEC ANIMATIONS
   =================================== */
.section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 40px;
    color: var(--text-dark);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

.section-header p {
    color: var(--text-light);
    font-size: 18px;
    max-width: 700px;
    margin: 20px auto 0;
}

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

.bg-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
}

.bg-dark {
    background: #1a202c;
    color: var(--white);
}

/* ===================================
   CARTES DE PRODUITS AVEC ANIMATIONS
   =================================== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

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

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.product-card-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--accent-color);
    color: var(--white);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    z-index: 1;
    animation: pulse 2s ease-in-out infinite;
}

.product-card-image {
    height: 220px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #2d3748 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 64px;
    position: relative;
    overflow: hidden;
}

.product-card-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: 0.5s;
}

.product-card:hover .product-card-image::after {
    left: 100%;
}

.product-card-content {
    padding: 30px;
}

.product-card-content h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

.product-card-content h3 .emoji {
    font-size: 24px;
}

.product-card-content p {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 15px;
}

.product-card-content .btn {
    padding: 12px 25px;
    font-size: 14px;
}

/* ===================================
   PRODUITS PHARES (FLAGSHP)
   =================================== */
.flagship-product {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 3px solid var(--warning-color);
    position: relative;
}

.flagship-product::before {
    content: '⭐ PHARE';
    position: absolute;
    top: -15px;
    left: 20px;
    background: var(--warning-color);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}

.flagship-product .product-card-image {
    background: linear-gradient(135deg, var(--warning-color) 0%, #d97706 100%);
}

/* ===================================
   CARACTÉRISTIQUES / FEATURES AVEC ANIMATIONS
   =================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.feature-box {
    text-align: center;
    padding: 40px 30px;
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-box::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transform-origin: right;
    transition: var(--transition);
}

.feature-box:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.feature-box:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 40px;
    color: var(--white);
    position: relative;
    transition: var(--transition);
}

.feature-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid var(--primary-color);
    opacity: 0.3;
    transform: scale(1.2);
    animation: ripple 2s ease-out infinite;
}

@keyframes ripple {
    0% { transform: scale(1); opacity: 0.3; }
    100% { transform: scale(1.5); opacity: 0; }
}

.feature-box:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-box h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.feature-box h3 .emoji {
    font-size: 24px;
}

.feature-box p {
    color: var(--text-light);
    font-size: 15px;
}

/* ===================================
   SECTION SAV
   =================================== */
.sav-card {
    background: var(--white);
    border-radius: 16px;
    padding: 35px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

.sav-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.sav-card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--warning-color) 0%, #d97706 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 38px;
}

.sav-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.sav-card p {
    color: var(--text-light);
    font-size: 14px;
}

/* ===================================
   SECTION CONSOMMABLES
   =================================== */
.consumable-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.consumable-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.consumable-header {
    padding: 25px;
    color: var(--white);
    text-align: center;
}

.consumable-header.wax {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
}

.consumable-header.resin {
    background: linear-gradient(135deg, #805ad5 0%, #6b46c1 100%);
}

.consumable-header.mixed {
    background: linear-gradient(135deg, #4299e1 0%, #3182ce 100%);
}

.consumable-header h3 {
    font-size: 22px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.consumable-body {
    padding: 25px;
}

.consumable-body ul {
    text-align: left;
}

.consumable-body li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.consumable-body li:last-child {
    border-bottom: none;
}

.consumable-body li::before {
    content: '✓';
    color: var(--success-color);
    font-weight: bold;
}

/* ===================================
   PAGE PRODUIT DÉTAILLÉE
   =================================== */
.product-hero {
    padding: 180px 0 80px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #2d3748 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.product-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255,255,255,0.1) 0%, transparent 70%);
}

.product-hero h1 {
    font-size: 44px;
    margin-bottom: 15px;
    position: relative;
}

.product-hero p {
    font-size: 18px;
    opacity: 0.9;
    position: relative;
}

.product-detail {
    padding: 80px 0;
}

.product-detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.product-detail-image {
    background: linear-gradient(135deg, var(--light-bg) 0%, #edf2f7 100%);
    border-radius: 20px;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 150px;
    color: var(--primary-color);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.product-detail-image::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    border: 3px solid rgba(0, 86, 179, 0.2);
    border-radius: 12px;
}

.product-detail-info h2 {
    font-size: 30px;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.product-detail-info p {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.8;
}

.specs-list {
    margin: 30px 0;
    background: var(--light-bg);
    border-radius: 12px;
    padding: 20px;
}

.specs-list li {
    display: flex;
    justify-content: space-between;
    padding: 14px 0;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.specs-list li:hover {
    background: var(--white);
    padding-left: 10px;
    padding-right: 10px;
    border-radius: 8px;
}

.specs-list li:last-child {
    border-bottom: none;
}

.specs-list li span:first-child {
    font-weight: 600;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 8px;
}

.specs-list li span:last-child {
    color: var(--primary-color);
    font-weight: 500;
}

/* ===================================
   APPLICATIONS
   =================================== */
.applications-section {
    background: var(--light-bg);
    padding: 80px 0;
}

.applications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin-top: 50px;
}

.application-item {
    background: var(--white);
    padding: 30px 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.application-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transition: var(--transition);
}

.application-item:hover::before {
    transform: scaleX(1);
}

.application-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.application-item .emoji {
    font-size: 40px;
    margin-bottom: 15px;
    display: block;
}

.application-item h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 16px;
}

.application-item p {
    color: var(--text-light);
    font-size: 13px;
}

/* ===================================
   GALERIE
   =================================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #2d3748 100%);
    cursor: pointer;
}

.gallery-item-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 48px;
    transition: var(--transition);
}

.gallery-item:hover .gallery-item-placeholder {
    transform: scale(1.1);
}

.gallery-item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: var(--white);
    transform: translateY(100%);
    transition: var(--transition);
}

.gallery-item:hover .gallery-item-overlay {
    transform: translateY(0);
}

.gallery-item-overlay h4 {
    font-size: 16px;
    margin-bottom: 5px;
}

.gallery-item-overlay p {
    font-size: 13px;
    opacity: 0.8;
}

.gallery-video-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--accent-color);
    color: var(--white);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* ===================================
   FORMULAIRES
   =================================== */
.contact-section {
    padding: 100px 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-form {
    background: var(--white);
    padding: 45px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.form-group {
    margin-bottom: 25px;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 16px;
    transition: var(--transition);
    font-family: inherit;
    background: var(--light-bg);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(0, 86, 179, 0.1);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-group .required::after {
    content: '*';
    color: var(--accent-color);
    margin-left: 5px;
}

.contact-info {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 45px;
    border-radius: 20px;
    color: var(--white);
}

.contact-info h3 {
    font-size: 26px;
    margin-bottom: 35px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 30px;
}

.contact-item-icon {
    width: 55px;
    height: 55px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.contact-item-content h4 {
    font-size: 16px;
    margin-bottom: 5px;
}

.contact-item-content p {
    opacity: 0.9;
    line-height: 1.6;
}

/* ===================================
   WHATSAPP WIDGET AVEC ANIMATION
   =================================== */
.whatsapp-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
}

.whatsapp-toggle {
    width: 65px;
    height: 65px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 32px;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
    animation: whatsapp-bounce 2s ease-in-out infinite;
}

@keyframes whatsapp-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.whatsapp-toggle:hover {
    transform: scale(1.1);
    animation: none;
}

.whatsapp-menu {
    position: absolute;
    bottom: 80px;
    right: 0;
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    min-width: 280px;
}

.whatsapp-widget:hover .whatsapp-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.whatsapp-menu-header {
    background: var(--light-bg);
    padding: 15px 20px;
    font-weight: 600;
    color: var(--text-dark);
    border-bottom: 1px solid var(--border-color);
}

.whatsapp-menu a {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 20px;
    color: var(--text-dark);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.whatsapp-menu a:last-child {
    border-bottom: none;
}

.whatsapp-menu a:hover {
    background: var(--light-bg);
    color: var(--primary-color);
}

.whatsapp-menu a .icon {
    font-size: 22px;
}

/* Style simplifié pour les boutons WhatsApp */
.whatsapp-phone-btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 20px !important;
    background: linear-gradient(135deg, #f0f9f0 0%, #e8f5e9 100%);
    border-radius: 12px;
    margin: 10px;
    transition: var(--transition);
}

.whatsapp-phone-btn:hover {
    background: linear-gradient(135deg, #25d366 0%, #20b954 100%) !important;
    color: var(--white) !important;
    transform: scale(1.02);
}

.whatsapp-phone-btn .phone-number {
    font-size: 24px;
    font-weight: 700;
    color: #25d366;
    font-family: 'Courier New', monospace;
    letter-spacing: 2px;
}

.whatsapp-phone-btn:hover .phone-number {
    color: var(--white);
}

/* ===================================
   FOOTER
   =================================== */
.footer {
    background: #1a202c;
    color: var(--white);
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col h4 {
    font-size: 20px;
    margin-bottom: 25px;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-col h4 .emoji {
    font-size: 24px;
}

.footer-col p {
    color: #a0aec0;
    margin-bottom: 12px;
    line-height: 1.7;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #a0aec0;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-links a::before {
    content: '→';
    opacity: 0;
    transition: var(--transition);
}

.footer-links a:hover::before {
    opacity: 1;
}

.footer-bottom {
    border-top: 1px solid #2d3748;
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    color: #a0aec0;
}

.visitor-counter {
    background: #2d3748;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 14px;
    color: #a0aec0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.visitor-counter .emoji {
    font-size: 18px;
}

.visitor-counter span {
    color: var(--success-color);
    font-weight: 700;
    font-family: 'Courier New', monospace;
    font-size: 16px;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: #2d3748;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: var(--transition);
}

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

/* ===================================
   PAGE DE TÉLÉCHARGEMENT
   =================================== */
.brochures-section {
    padding: 80px 0;
}

.brochure-card {
    background: var(--white);
    border-radius: 16px;
    padding: 30px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 25px;
    transition: var(--transition);
}

.brochure-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateX(10px);
}

.brochure-icon {
    width: 90px;
    height: 110px;
    background: linear-gradient(135deg, var(--accent-color) 0%, #c53030 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 45px;
    flex-shrink: 0;
    transition: var(--transition);
}

.brochure-card:hover .brochure-icon {
    transform: rotate(-10deg) scale(1.1);
}

.brochure-info {
    flex: 1;
}

.brochure-info h4 {
    font-size: 20px;
    margin-bottom: 8px;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

.brochure-info p {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 15px;
}

.brochure-download {
    background: var(--primary-color);
    color: var(--white);
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.brochure-download:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 86, 179, 0.3);
}

/* ===================================
   ANIMATIONS DÉTAILLÉES
   =================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-20px);
    }
    60% {
        transform: translateY(-10px);
    }
}

/* Classes d'animation */
.animate-fade-up {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.animate-fade {
    opacity: 0;
    animation: fadeIn 0.6s ease forwards;
}

.animate-slide-left {
    opacity: 0;
    animation: slideInLeft 0.6s ease forwards;
}

.animate-slide-right {
    opacity: 0;
    animation: slideInRight 0.6s ease forwards;
}

.animate-zoom {
    opacity: 0;
    animation: zoomIn 0.6s ease forwards;
}

.animate-bounce {
    animation: bounce 2s ease infinite;
}

/* Délais d'animation */
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }
.delay-6 { animation-delay: 0.6s; }

/* ===================================
   EMOJI ANIMATIONS
   =================================== */
.emoji-hover {
    display: inline-block;
    transition: var(--transition);
}

.emoji-hover:hover {
    transform: scale(1.3) rotate(10deg);
}

.emoji-bounce {
    animation: emoji-bounce 1s ease infinite;
}

@keyframes emoji-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.emoji-spin {
    animation: emoji-spin 2s linear infinite;
}

@keyframes emoji-spin {
    100% { transform: rotate(360deg); }
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */
@media (max-width: 1200px) {
    .hero h1 {
        font-size: 44px;
    }
    
    .hero-stats {
        gap: 30px;
    }
}

@media (max-width: 992px) {
    .hero h1 {
        font-size: 36px;
    }
    
    .hero p {
        font-size: 18px;
    }
    
    .product-detail-content,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .header {
        top: 30px;
    }
}

@media (max-width: 768px) {
    .marquee-item {
        padding: 0 30px;
        font-size: 12px;
    }
    
    .hero {
        padding: 160px 0 80px;
    }
    
    .hero h1 {
        font-size: 28px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .brochure-card {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-form,
    .contact-info {
        padding: 30px;
    }
}

@media (max-width: 480px) {
    .header-top {
        display: none;
    }
    
    .header {
        top: 0;
    }
    
    .logo img {
        height: 45px;
    }
    
    .logo-text h1 {
        font-size: 18px;
    }
    
    .btn {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .language-switcher {
        display: none;
    }
    
    /* Responsive pour la section Devis */
    .quote-box {
        grid-template-columns: 1fr;
        padding: 30px;
    }
    
    .quote-content h2 {
        font-size: 24px;
    }
    
    .quote-contacts {
        gap: 15px;
    }
    
    .quote-contact-item {
        padding: 15px 20px;
    }
    
    .quote-contact-item a {
        font-size: 18px;
    }
}

/* ===================================
   RTL SUPPORT (ARABE)
   =================================== */
[dir="rtl"] {
    text-align: right;
}

[dir="rtl"] .header-main {
    flex-direction: row-reverse;
}

[dir="rtl"] .nav-menu {
    flex-direction: row-reverse;
}

[dir="rtl"] .nav-menu a::after {
    left: auto;
    right: 0;
}

[dir="rtl"] .nav-menu a:hover::after,
[dir="rtl"] .nav-menu a.active::after {
    width: 100%;
}

[dir="rtl"] .dropdown-menu {
    left: auto;
    right: 0;
}

[dir="rtl"] .hero-buttons {
    flex-direction: row-reverse;
}

[dir="rtl"] .hero-stats {
    flex-direction: row-reverse;
}

[dir="rtl"] .product-detail-content {
    direction: rtl;
}

[dir="rtl"] .specs-list li {
    flex-direction: row-reverse;
}

[dir="rtl"] .whatsapp-widget {
    left: 30px;
    right: auto;
}

[dir="rtl"] .whatsapp-menu {
    left: 0;
    right: auto;
}

[dir="rtl"] .footer-bottom {
    flex-direction: row-reverse;
}

[dir="rtl"] .footer-links a:hover {
    padding-left: 0;
    padding-right: 5px;
}

[dir="rtl"] .footer-links a::before {
    content: '←';
}

[dir="rtl"] .marquee-content {
    animation-direction: reverse;
}

[dir="rtl"] .dropdown-menu a:hover {
    padding-left: 20px;
    padding-right: 25px;
}

/* Police arabe */
[dir="rtl"] body {
    font-family: var(--font-arabic), var(--font-main);
}

/* ===================================
   SÉCURITÉ - HEADERS
   =================================== */
.security-notice {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    color: var(--white);
    padding: 10px 20px;
    text-align: center;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.security-notice .emoji {
    font-size: 18px;
}

/* ===================================
   SECTION DEMANDER UN DEVIS
   =================================== */
.quote-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
}

.quote-box {
    background: var(--white);
    border-radius: 20px;
    padding: 50px;
    box-shadow: var(--shadow-lg);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    border: 3px solid var(--warning-color);
    position: relative;
    overflow: hidden;
}

.quote-box::before {
    content: '📋';
    position: absolute;
    top: -20px;
    right: -20px;
    font-size: 150px;
    opacity: 0.1;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(10deg); }
}

.quote-content h2 {
    font-size: 32px;
    color: var(--text-dark);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.quote-content p {
    color: var(--text-light);
    font-size: 18px;
    line-height: 1.7;
}

.quote-contacts {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.quote-contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 25px;
    background: linear-gradient(135deg, var(--light-bg) 0%, #edf2f7 100%);
    border-radius: 12px;
    transition: var(--transition);
    border: 2px solid transparent;
}

.quote-contact-item:hover {
    border-color: var(--primary-color);
    transform: translateX(-10px);
    box-shadow: var(--shadow);
}

.quote-contact-item h4 {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.quote-contact-item a {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
    transition: var(--transition);
}

.quote-contact-item a:hover {
    color: var(--accent-color);
    transform: scale(1.05);
}

.quote-contact-item a[href^="mailto:"] {
    font-size: 16px;
}

/* ===================================
   PAGE TÉLÉCHARGEMENTS
   =================================== */
.downloads-category {
    margin-bottom: 60px;
}

.category-title {
    font-size: 24px;
    color: var(--text-dark);
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--primary-color);
    display: flex;
    align-items: center;
    gap: 15px;
}

.brochures-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.brochure-card {
    background: var(--white);
    border-radius: 16px;
    padding: 30px;
    box-shadow: var(--shadow);
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 25px;
    align-items: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

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

.brochure-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.brochure-info h4 {
    font-size: 18px;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.brochure-info p {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 12px;
    line-height: 1.6;
}

.brochure-features {
    margin-bottom: 10px;
}

.brochure-features li {
    font-size: 13px;
    color: var(--text-light);
    padding: 3px 0;
    padding-left: 15px;
    position: relative;
}

.brochure-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
}

.brochure-size {
    font-size: 12px;
    color: var(--text-light);
    background: var(--light-bg);
    padding: 5px 10px;
    border-radius: 5px;
}

.brochure-card .btn {
    padding: 12px 20px;
    font-size: 14px;
    white-space: nowrap;
}

/* Section Manuels */
.manuals-placeholder {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.manual-item {
    background: linear-gradient(135deg, var(--light-bg) 0%, #edf2f7 100%);
    border-radius: 12px;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    border: 2px dashed var(--border-color);
    transition: var(--transition);
}

.manual-item:hover {
    border-color: var(--primary-color);
    background: var(--white);
}

.manual-info h4 {
    font-size: 16px;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.manual-info p {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 10px;
}

.manual-status {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.manual-status.coming-soon {
    background: #fef3c7;
    color: #d97706;
}

/* Responsive */
@media (max-width: 768px) {
    .brochure-card {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .brochure-icon {
        margin: 0 auto;
    }
    
    .brochure-features {
        text-align: left;
        display: inline-block;
    }
    
    .category-title {
        font-size: 20px;
    }
}
