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

body {
    font-family: 'Space Grotesk', sans-serif;
    min-height: 120vh; /* au lieu de 100vh, un peu plus grand que la hauteur de l'écran */
    background-color: #ffffff; /* Fond blanc */
    overflow-x: hidden;
    padding-bottom: 40px; /* espace en bas du body */
    margin: 0;
}


/* Conteneur principal */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 1;
}



/* Grille des produits */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Toujours 3 colonnes */
    gap: 40px;
    padding: 20px 0;
}

/* Carte produit */
.product-card {
    background: transparent;
    padding: 20px;
    text-align: center;
    transition: transform 0.4s ease;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.product-card:hover {
    transform: translateY(-10px) scale(1.05);
}

/* Image produit */
.product-image {
    width: 100%;
    height: 280px;
    object-fit: contain;
    margin-bottom: 25px;
}

/* Titre produit */
.product-title {
    font-size: 1.3rem;
    font-weight: bold;
    color: #000000;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Description produit */
.product-description {
    font-size: 0.95rem;
    color: #333333;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Prix produit */
.product-price {
    font-size: 1.8rem;
    font-weight: bold;
    color: #ff6b6b;
}

/* Message de chargement */
.loading {
    text-align: center;
    font-size: 1.4rem;
    color: #000000;
    margin: 50px 0;
}

/* Animation du logo */


/* Responsive design */

.separator {
    width: 100%;
    height: 80px;
    background: none;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.separator-white-top::before,
.separator-white-bottom::before,
.separator-yellow-bottom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 120%;
    height: 100%;
    background-color: white;
    transform: rotate(-2deg) scaleX(1.2);
    transform-origin: top left;
}

.separator-yellow-bottom::before {
    background-color: #FFD700; /* Jaune Nabatex */
    transform: rotate(2deg) scaleX(1.2);
    transform-origin: top right;
}


.header-360 {
  display: flex;
  align-items: center; /* aligne verticalement */
  gap: 30px; /* espace entre titre et viewer */
  margin-bottom: 40px;
  justify-content: center;
}

.page-title {
  font-size: 2.5rem;
  font-weight: bold;
  color: #000;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin: 0;
  white-space: nowrap;
}

.viewer-container {
  width: 200px;
  height: 200px;
  cursor: grab;
}

.viewer-container img {
  width: 100%;
  height: auto;
  user-select: none;
  pointer-events: none;
}


/* newseletre */

  /* Newsletter Badge Fixe */
        .newsletter-container {
            position: fixed;
            right: 0;
            top: 50%;
            transform: translateY(-50%);
            z-index: 1000;
        }

        .newsletter-badge {
            background: #333;
            color: white;
            padding: 20px 15px;
            border-radius: 25px 0 0 25px;
            font-weight: bold;
            letter-spacing: 2px;
            font-size: 14px;
            cursor: pointer;
            transition: all 0.3s ease;
            writing-mode: vertical-rl;
            text-orientation: mixed;
            box-shadow: -5px 0 15px rgba(0,0,0,0.2);
        }

        .newsletter-badge:hover {
            background: #444;
            transform: translateX(-5px);
        }

        /* Formulaire qui apparaît au survol */
        .quote-form {
            position: absolute;
            right: 100%;
            top: 50%;
            transform: translateY(-50%);
            background: white;
            border-radius: 20px 0 0 20px;
            box-shadow: -10px 0 30px rgba(0,0,0,0.2);
            width: 400px;
            padding: 40px 30px;
            opacity: 0;
            visibility: hidden;
            transition: all 0.4s ease;
            pointer-events: none;
        }

        .newsletter-container:hover .quote-form {
            opacity: 1;
            visibility: visible;
            transform: translateY(-50%) translateX(-10px);
            pointer-events: all;
        }

        .form-header {
            text-align: center;
            margin-bottom: 30px;
        }

        .form-header h2 {
            color: #333;
            font-size: 24px;
            font-weight: 700;
            margin-bottom: 8px;
        }

        .form-header p {
            color: #666;
            font-size: 14px;
        }

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

        .form-group label {
            display: block;
            color: #333;
            font-weight: 600;
            margin-bottom: 6px;
            font-size: 13px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .form-group input,
        .form-group textarea {
            width: 100%;
            padding: 12px 15px;
            border: 2px solid #e1e5e9;
            border-radius: 10px;
            font-size: 14px;
            transition: all 0.3s ease;
            background: #f8f9fa;
        }

        .form-group input:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: #667eea;
            background: white;
            box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
            transform: translateY(-2px);
        }

        .form-group textarea {
            resize: vertical;
            min-height: 80px;
            font-family: inherit;
        }

        .submit-btn {
            width: 100%;
            padding: 15px;
            background: linear-gradient(135deg, #ffd700, #ffed4e);
            color: #333;
            border: none;
            border-radius: 10px;
            font-size: 16px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 1px;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 6px 20px rgba(255, 215, 0, 0.3);
            position: relative;
            overflow: hidden;
        }

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

        .submit-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
        }

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

        /* Flèche d'indication */
        .newsletter-badge::after {
            content: '◀';
            position: absolute;
            left: -10px;
            top: 50%;
            transform: translateY(-50%);
            font-size: 12px;
            opacity: 0.7;
            animation: pulse 2s infinite;
        }

        @keyframes pulse {
            0%, 100% { opacity: 0.7; }
            50% { opacity: 1; }
        }

        /* Animation d'entrée du formulaire */
        @keyframes slideIn {
            from {
                opacity: 0;
                transform: translateY(-50%) translateX(20px);
            }
            to {
                opacity: 1;
                transform: translateY(-50%) translateX(-10px);
            }
        }

        .newsletter-container:hover .quote-form {
            animation: slideIn 0.4s ease-out;
        }

        /* Responsive */

    


        /* footer */

          .footer {
            background: linear-gradient(135deg, #ffcc00 0%, #daae00 100%);
            color: rgb(0, 0, 0);
            padding: 60px 0 20px;
            margin-top: auto;
        }

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

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

        .footer-section h3 {
            font-size: 1.4em;
            margin-bottom: 20px;
            color: #000000;
            position: relative;
            padding-bottom: 10px;
        }

        .footer-section h3:after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 50px;
            height: 3px;
            background: linear-gradient(90deg, #969595, #2980b9);
            border-radius: 2px;
        }

        .footer-links {
            list-style: none;
        }

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

        .footer-links a {
            color: #000000;
            text-decoration: none;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            padding: 5px 0;
        }

        .footer-links a:hover {
            color: #3498db;
            padding-left: 10px;
            transform: translateX(5px);
        }

        .footer-links svg {
            width: 16px;
            height: 16px;
            margin-right: 10px;
            opacity: 0.7;
        }

        .company-info p {
            color: #000000;
            line-height: 1.6;
            margin-bottom: 15px;
        }

        .contact-info {
            display: flex;
            flex-direction: column;
            gap: 15px;
        }

        .contact-item {
            display: flex;
            align-items: center;
            color: #000000;
            transition: color 0.3s ease;
        }

        .contact-item:hover {
            color: #3498db;
        }

        .contact-item svg {
            width: 20px;
            height: 20px;
            margin-right: 15px;
            opacity: 0.8;
        }

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

        .social-link {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 45px;
            height: 45px;
            background: rgba(0, 0, 0, 0.1);
            border-radius: 50%;
            transition: all 0.3s ease;
            backdrop-filter: blur(10px);
        }

        .social-link:hover {
            background: #3498db;
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);
        }

        .social-link svg {
            width: 20px;
            height: 20px;
            fill: rgb(0, 0, 0);
        }

        /* .newsletter {
            background: rgba(255, 255, 255, 0.1);
            padding: 25px;
            border-radius: 15px;
            backdrop-filter: blur(10px);
        }

        .newsletter h4 {
            margin-bottom: 15px;
            color: #fff;
        }

        .newsletter p {
            color: #bdc3c7;
            margin-bottom: 20px;
            font-size: 0.9em;
        }

        .newsletter-form {
            display: flex;
            gap: 10px;
            margin-bottom: 15px;
        }

        .newsletter-form input {
            flex: 1;
            padding: 12px 15px;
            border: none;
            border-radius: 25px;
            background: rgba(255, 255, 255, 0.9);
            font-size: 0.9em;
            outline: none;
        }

        .newsletter-form button {
            padding: 12px 25px;
            background: linear-gradient(135deg, #3498db, #2980b9);
            color: white;
            border: none;
            border-radius: 25px;
            cursor: pointer;
            font-weight: 600;
            transition: all 0.3s ease;
            white-space: nowrap;
        }

        .newsletter-form button:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);
        } */

        .footer-bottom {
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            padding-top: 30px;
            text-align: center;
        }

        .footer-bottom-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 20px;
        }

        .footer-logo {
            font-size: 1.5em;
            font-weight: bold;
            color: #000000;
        }

        .footer-bottom p {
            color: #000000;
            font-size: 0.9em;
        }

        .footer-bottom-links {
            display: flex;
            gap: 30px;
            flex-wrap: wrap;
        }

        .footer-bottom-links a {
            color: #000000;
            text-decoration: none;
            font-size: 0.9em;
            transition: color 0.3s ease;
        }

        .footer-bottom-links a:hover {
            color: #3498db;
        }

 
        .btn-primary {
            background: linear-gradient(135deg, #3498db, #2980b9);
            color: white;
            padding-bottom:  12px;
            text-decoration: none;
            border-radius: 25px;
            font-weight: 500;
            display: inline-block;
            transition: all 0.3s ease;
            border: none;
            cursor: pointer;
        }

        .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);
        }


        /* navbar */

        .navbar {
    background: #ffcc00;
    position: fixed;
    top: 0;
    left: 50px; /* Réduit de 75px */
    right: 50px; /* Réduit de 75px */
    z-index: 1000;
    padding: 0 24px; /* Réduit de 36px */
    height: 60px; /* Réduit de 75px */
}

.nav-container {
    max-width: 1400px; /* Réduit de 1800px */
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px; /* Réduit de 90px */
}

.logo img {
    height: 60px;
    width: auto;
    display: block;
}


.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 32px; /* Réduit de 48px */
}

.nav-item {
    position: relative;
}

.nav-link {
    text-decoration: none;
    color: #425466;
    font-weight: 500;
    font-size: 18px; /* Réduit de 24px */
    padding: 8px 0; /* Réduit de 12px */
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 4px; /* Réduit de 6px */
}

.nav-link:hover {
    color: #635bff;
}

.dropdown-arrow {
    width: 14px; /* Réduit de 18px */
    height: 14px; /* Réduit de 18px */
    transition: transform 0.2s ease;
}

.nav-item:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown {
    position: absolute;
    top: 100%;
    left: -40px; /* Réduit de -60px */
    background: white;
    border-radius: 12px; /* Réduit de 18px */
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15); /* Réduit */
    padding: 20px; /* Réduit de 30px */
    min-width: 360px; /* Réduit de 480px */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px); /* Réduit de -15px */
    transition: all 0.3s ease;
    border: 1px solid #e3e8ee;
}

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

.dropdown-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px; /* Réduit de 24px */
}

.dropdown-item {
    padding: 12px; /* Réduit de 18px */
    border-radius: 8px; /* Réduit de 12px */
    transition: background 0.2s ease;
    cursor: pointer;
}

.dropdown-item:hover {
    background: #f6f9fc;
}

.dropdown-item h4 {
    color: #1a1f36;
    font-size: 16px; /* Réduit de 21px */
    font-weight: 600;
    margin-bottom: 4px; /* Réduit de 6px */
}

.dropdown-item p {
    color: #6b7c93;
    font-size: 14px; /* Réduit de 19.5px */
    line-height: 1.4;
}

/* .nav-buttons {
    display: flex;
    align-items: center;
    gap: 16px; 
} */


.btn {
  display: inline-flex;
  align-items: center;
  /* gap: 15px; */
  padding: 10px 24px;
  border-radius: 20px;
  font-weight: 500;
  font-size: 20px;
  color: white;
  background-color: #25d366; /* Vert WhatsApp */
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}
.btn-primary {
    background: #635bff;
    color: white;
}

.btn-primary:hover {
    background: #5a54e5;
    transform: translateY(-1px);
}
.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 4px; /* Réduit de 6px */
    cursor: pointer;
}

.mobile-menu span {
    width: 28px; /* Réduit de 36px */
    height: 2px; /* Réduit de 3px */
    background: #425466;
    transition: all 0.3s ease;
}


.support-banner-gradient-container {
    position: relative;
    width: 100%;
    height: 12px;
    overflow: hidden;
}

.support-banner-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 300%;
    height: 12px;
    background: linear-gradient(
        90deg,
        #fab000,
        #ff7600 6.25%,
        #ff5996 12.5%,
        #635bff 18.75%,
        #02bcf5 25%,
        #635bff 31.25%,
        #ff5996 37.5%,
        #ff7600 43.75%,
        #fab000 50%,
        #ff7600 56.25%,
        #ff5996 62.5%,
        #635bff 68.75%,
        #02bcf5 75%,
        #635bff 81.25%,
        #ff5996 87.5%,
        #ff7600 93.75%,
        #fab000
    );
    animation: support-banner-gradient-scroll 6s linear infinite;
}

@keyframes support-banner-gradient-scroll {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-66.66%);
    }
}

        body.mobile-mode .company-info p {
  color: #000000 !important;
  font-size: 0.5em !important;
}

/* popupproduct */
  .popup-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.8);
            backdrop-filter: blur(5px);
            display: none;
            justify-content: center;
            align-items: center;
            z-index: 1000;
            opacity: 0;
            transition: all 0.3s ease;
        }

        .popup-overlay.active {
            display: flex;
            opacity: 1;
        }

        .popup-content {
            background: white;
            border-radius: 25px;
            max-width: 800px;
            width: 90%;
            max-height: 90vh;
            overflow-y: auto;
            position: relative;
            transform: scale(0.7);
            transition: all 0.3s ease;
            box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
        }

        .popup-overlay.active .popup-content {
            transform: scale(1);
        }

        .popup-header {
            position: relative;
            background: linear-gradient(135deg, #ffcc00 0%, #ffcc00 100%);
            color: white;
            padding: 30px;
            border-radius: 25px 25px 0 0;
            text-align: center;
        }

        .close-btn {
            position: absolute;
            top: 15px;
            right: 20px;
            background: rgba(255, 255, 255, 0.2);
            border: none;
            color: white;
            font-size: 24px;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
        }

        .close-btn:hover {
            background: rgba(255, 255, 255, 0.3);
            transform: rotate(90deg);
        }

        .popup-title {
            font-size: 2rem;
            font-weight: 700;
            margin-bottom: 10px;
        }

        .popup-subtitle {
            font-size: 1.1rem;
            opacity: 0.9;
        }

        .popup-body {
            padding: 40px;
        }

        .product-details {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 40px;
            align-items: start;
        }

        .product-image-large {
            width: 100%;
            height: 300px;
            object-fit: contain;
            border-radius: 15px;
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
        }

        .product-info {
            color: #333;
        }

        .info-section {
            margin-bottom: 25px;
        }

        .info-title {
            font-size: 1.2rem;
            font-weight: 600;
            color: #ffcc00;
            margin-bottom: 10px;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .info-content {
            font-size: 1rem;
            line-height: 1.6;
            color: #666;
        }

        .features-list {
            list-style: none;
            padding: 0;
        }

        .features-list li {
            padding: 8px 0;
            padding-left: 25px;
            position: relative;
            color: #666;
        }

        .features-list li::before {
            content: "✓";
            position: absolute;
            left: 0;
            color: #ffcc00;
            font-weight: bold;
        }

        .price-section {
            background: transparent;
            color: rgb(5, 5, 5);
            padding: 20px;
            border-radius: 15px;
            text-align: center;
            margin-top: 20px;
        }

     
        .action-buttons {
            display: flex;
            gap: 15px;
            margin-top: 30px;
        }

        .btn {
            flex: 1;
            padding: 15px 25px;
            border: none;
            border-radius: 12px;
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            text-decoration: none;
            display: inline-block;
            text-align: center;
              background: linear-gradient(135deg, #ffcc00, #d4aa00);
            color: white;
        }
        .btn :hover {
            background: #ffcc00;
            color: white;
            border: 2px solid #ffcc00;
        }

        .btn-primary {
             background: #ffcc00;
            color: white;
            border: 2px solid #ffcc00;
        }

        .btn-primary:hover {
            background: white;
            color: #ffcc00;
            border: 2px solid #ffcc00;
        }

        .btn-secondary {
            background: #ffcc00;
            color: white;
            border: 2px solid #ffcc00;
        }

        .btn-secondary:hover {
            background: white;
            color: #ffcc00;
        }

        .icon {
            width: 20px;
            height: 20px;
            fill: #ffcc00;
        }

      

        /* Animation d'entrée */
        @keyframes slideInUp {
            from {
                opacity: 0;
                transform: translateY(100px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .popup-content {
            animation: slideInUp 0.4s ease-out;
        }



