@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color: #1A3A1F;
    --secondary-color: #4A7C59;
    --accent-color: #ffd10c;
    --text-color: #2C3639;
    --light-bg: #F7F7F7;
    --dark-bg: #1A1A1A;
    --gradient-primary: linear-gradient(135deg, #1A3A1F 0%, #4A7C59 100%);
    --gradient-accent: linear-gradient(135deg, #C8B6A6 0%, #D4B996 100%);
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
}

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

body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Header et Navigation */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('assets/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    height: 80vh;
    color: white;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: rgba(26, 58, 31, 0.98);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar.scrolled {
    padding: 0.8rem 5%;
    background: rgba(26, 58, 31, 0.98);
}

.logo {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: white;
    position: relative;
    letter-spacing: 1px;
}

.logo::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.logo:hover::after {
    transform: scaleX(1);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    position: relative;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.nav-links a:hover {
    color: var(--accent-color);
}

.nav-links a:hover::after {
    transform: scaleX(1);
}

.hero-content {
    text-align: center;
    max-width: 800px;
    padding: 0 2rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    letter-spacing: 1px;
}

.hero-content p {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 400;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
    letter-spacing: 0.5px;
}

/* Section Produits */
.products-section {
    padding: 8rem 5%;
    background: var(--light-bg);
}

.products-section p {
    text-align: center;
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    color: var(--primary-color);
}

.products-section h2 {
    text-align: center;
    font-family: 'Poppins', sans-serif;
    font-size: 3rem;
    margin-bottom: 4rem;
    color: var(--primary-color);
    position: relative;
}

.products-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--gradient-primary);
}

.filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.8rem 2rem;
    border: none;
    background: white;
    color: var(--primary-color);
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    box-shadow: var(--shadow-sm);
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--gradient-primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, 450px);
    gap: 3rem;
    padding: 3rem;
    max-width: 1800px;
    margin: 0 auto;
    justify-content: center;
    position: relative;
    min-height: 700px;
}

.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    width: 450px;
    height: 650px;
    opacity: 1;
    transform: scale(1);
    position: relative;
}

.product-card.hidden {
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
    position: absolute;
    visibility: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

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

.product-card:hover::before {
    opacity: 0.1;
}

.product-media-container {
    position: relative;
    width: 100%;
    height: 450px;
    overflow: hidden;
    cursor: pointer;
    flex-shrink: 0;
}

.product-media {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-media-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.product-media-overlay span {
    color: white;
    font-size: 1.2rem;
    text-align: center;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 8px;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.product-card:hover .product-media-overlay {
    opacity: 1;
}

.product-card:hover .product-media-overlay span {
    transform: translateY(0);
}

.product-info {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow-y: auto;
    max-height: 200px;
}

.product-info h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.3rem;
    color: #2c3e50;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

.product-info p {
    margin: 0 0 1rem 0;
    color: #666;
    flex: 1;
    font-size: 1rem;
    line-height: 1.4;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    overflow-y: auto;
    z-index: 100;
}

.product-price-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.price {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.like-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    position: relative;
}

.like-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    z-index: 99;
}

.like-btn:hover {
    transform: scale(1.1);
}

.like-btn:active {
    transform: scale(0.95);
}

.like-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.like-icon {
    font-size: 1.2rem;
}

.like-count {
    font-size: 0.9rem;
    font-weight: 600;
}

.like-timer-bubble {
    position: absolute;
    top: -30px;
    right: 0;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 0.3rem 0.6rem;
    border-radius: 15px;
    font-size: 0.8rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.like-btn:hover + .like-timer-bubble {
    opacity: 1;
}

/* Suppression des styles des étoiles */
.product-rating {
    display: none;
}

.star,
.star.empty,
.star.half {
    display: none;
}

/* Section À Propos */
.about-section {
    padding: 8rem 5%;
    background: var(--gradient-primary);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('assets/pattern.png');
    opacity: 0.1;
}

.about-section h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 3rem;
    margin-bottom: 2rem;
    position: relative;
}

.about-section p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.2rem;
    line-height: 1.8;
}

/* Footer */
footer {
    background-color: var(--dark-bg);
    color: white;
    padding: 5rem 5%;
    position: relative;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.form-footer {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    position: relative;
    z-index: 2;
}

.footer-section h3 {
    font-family: 'Poppins', sans-serif;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    position: relative;
    display: inline-block;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--accent-color);
}

.social-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.social-link,
.legal-link {
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.social-link:hover,
.legal-link:hover {
    color: var(--accent-color);
    transform: translateY(-2px);
}

.social-link i {
    font-size: 1.5rem;
}

.legal-link {
    display: block;
    margin-bottom: 0.8rem;
}

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

.footer-bottom p {
    opacity: 0.8;
    font-size: 0.9rem;
}

.footer-credits {
    text-align: center;
    padding: 1rem 0;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-credits p {
    color: #fff;
    font-size: 0.9rem;
    font-family: 'Montserrat', sans-serif;
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    footer {
        padding: 3rem 5%;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-section {
        text-align: center;
    }

    .footer-section h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .social-links {
        justify-content: center;
    }
}

/* Media queries pour la réactivité */
@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(auto-fit, 400px);
        gap: 2.5rem;
    }

    .product-card {
        width: 400px;
        height: 600px;
    }
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(auto-fit, 350px);
        gap: 2rem;
        padding: 2rem;
    }

    .product-card {
        width: 350px;
        height: 550px;
    }

    .hero {
        height: 70vh;
    }

    .navbar {
        padding: 0.8rem 5%;
    }

    .logo {
        font-size: 1.5rem;
    }

    .nav-links {
        display: none;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 300px;
    }

    .product-card {
        width: 300px;
        height: 500px;
    }
}

/* Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.floating {
    animation: float 3s ease-in-out infinite;
}

/* Amélioration de l'accessibilité */
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}

/* Styles pour le pop-up vidéo */
.video-popup-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    z-index: 2000;
    pointer-events: none;
}

.video-popup {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
    z-index: 3;
}

.video-popup.active {
    opacity: 1;
    transform: scale(1);
}

.video-popup video {
    width: 90%;
    height: 90%;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.close-video {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 4;
}

.close-video:hover {
    background: rgba(255, 0, 0, 0.8);
    transform: scale(1.1);
}

.error-message {
    color: white;
    text-align: center;
    padding: 2rem;
    font-size: 1.2rem;
    background: rgba(255, 0, 0, 0.2);
    border-radius: 10px;
    margin: 1rem;
}

/* Section Statistiques */
.stats-section {
    padding: 6rem 5%;
    background: var(--light-bg);
    position: relative;
    overflow: hidden;
}

.stats-title {
    text-align: center;
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
    font-family: 'Poppins', sans-serif;
}

.stats-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--gradient-primary);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.stat-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

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

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    line-height: 1;
}

.stat-label {
    font-size: 1.2rem;
    color: var(--text-color);
    font-weight: 500;
}

.stat-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

/* Media queries pour la section stats */
@media (max-width: 768px) {
    .stats-section {
        padding: 4rem 5%;
    }

    .stats-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 2rem;
    }

    .stat-card {
        padding: 2rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .stat-label {
        font-size: 1rem;
    }
}

.section-separator {
    width: 80%;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--primary-color), transparent);
    margin: 4rem auto;
    opacity: 0.5;
}

.tutorial-section {
    padding: 6rem 5%;
    background: var(--light-bg);
    position: relative;
}

.tutorial-section h2 {
    text-align: center;
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 4rem;
    position: relative;
    font-family: 'Poppins', sans-serif;
}

.tutorial-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--gradient-primary);
}

.tutorial-steps {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.tutorial-step {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease;
}

.tutorial-step:hover {
    transform: translateY(-5px);
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

.step-content h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.step-content p {
    color: var(--text-color);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .tutorial-step {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1rem;
    }

    .step-number {
        margin-bottom: 1rem;
    }
}

/* Styles pour le formulaire */
.form-container {
    max-width: 800px;
    margin: 6rem auto 2rem;
    padding: 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
}

.form-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid rgba(76, 175, 80, 0.1);
    padding-bottom: 1rem;
}

.tab-btn {
    padding: 1rem 2rem;
    border: none;
    background: transparent;
    color: #666;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    border-radius: 8px;
}

.tab-btn::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 0;
    width: 100%;
    height: 3px;
    background: #4CAF50;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.tab-btn.active {
    color: #4CAF50;
    background: rgba(76, 175, 80, 0.1);
}

.tab-btn.active::after {
    transform: scaleX(1);
}

.tab-btn:hover {
    color: #4CAF50;
    background: rgba(76, 175, 80, 0.05);
}

.form-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.form-content.active {
    display: block;
}

.form-content h2 {
    color: #333;
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    font-family: 'Poppins', sans-serif;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #555;
    font-weight: 500;
    font-size: 1rem;
    position: relative;
}

.form-group label.required::after {
    content: '*';
    color: #ff4444;
    margin-left: 0.25rem;
    font-size: 1.2rem;
    position: absolute;
    top: -0.2rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4CAF50;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

.form-group input:required,
.form-group textarea:required {
    border-left: 3px solid #ff4444;
}

.form-group input:required:focus,
.form-group textarea:required:focus {
    border-left-color: #4CAF50;
}

.radio-group {
    display: flex;
    gap: 2rem;
    margin-top: 0.5rem;
}

.radio-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    color: #666;
    transition: color 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

.radio-group label:hover {
    color: #4CAF50;
    background: rgba(76, 175, 80, 0.05);
}

.radio-group input[type="radio"] {
    width: auto;
    margin: 0;
    accent-color: #4CAF50;
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: #4CAF50;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 2rem;
}

.submit-btn:hover {
    background: #45a049;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.3);
}

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

/* Responsive */
@media (max-width: 768px) {
    .form-container {
        margin: 5rem 1rem 1rem;
        padding: 1.5rem;
    }

    .form-tabs {
        flex-direction: column;
        gap: 0.5rem;
    }

    .tab-btn {
        width: 100%;
        text-align: left;
    }

    .radio-group {
        flex-direction: column;
        gap: 1rem;
    }
}

.search-container {
    position: relative;
    width: 100%;
}

.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    max-height: 200px;
    overflow-y: auto;
    background: white;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: none;
    z-index: 10;
}

.search-results.active {
    display: block;
}

.search-result-item {
    padding: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item:hover {
    background: rgba(76, 175, 80, 0.1);
}

.order-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.order-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    background: rgba(76, 175, 80, 0.1);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.order-item:hover {
    background: rgba(76, 175, 80, 0.15);
}

.order-item-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.order-item-name {
    font-weight: 500;
    color: #333;
}

.order-item-price {
    color: #666;
    font-size: 0.9rem;
}

.order-item-quantity {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.quantity-btn {
    width: 30px;
    height: 30px;
    border: none;
    background: #4CAF50;
    color: white;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.quantity-btn:hover {
    background: #45a049;
}

.quantity-input {
    width: 50px;
    text-align: center;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    padding: 0.5rem;
}

.remove-btn {
    background: #ff4444;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 0.5rem 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.remove-btn:hover {
    background: #cc0000;
}

.product-search-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.product-search-name {
    font-weight: 500;
    color: #333;
}

.product-search-price {
    color: #4CAF50;
    font-weight: 600;
}

.product-search-details {
    display: flex;
    gap: 1rem;
    font-size: 0.9rem;
    color: #666;
}

.product-search-category {
    background: rgba(76, 175, 80, 0.1);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

.product-search-effect {
    font-style: italic;
}

.order-item-category {
    font-size: 0.9rem;
    color: #666;
    background: rgba(76, 175, 80, 0.1);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    display: inline-block;
    margin: 0.25rem 0;
}

.order-item-effect {
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
    margin-bottom: 0.5rem;
}

.search-result-item {
    padding: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.search-result-item:hover {
    background: rgba(76, 175, 80, 0.1);
}

.search-result-item:last-child {
    border-bottom: none;
}

/* Styles pour les notifications */
.notification {
    position: relative;
    padding: 15px 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    color: white;
    font-weight: 500;
    transform: translateY(-20px);
    opacity: 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.notification.show {
    transform: translateY(0);
    opacity: 1;
}

.notification.success {
    background-color: #4CAF50;
}

.notification.error {
    background-color: #f44336;
}

/* Animation du bouton d'envoi */
.submit-btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.submit-btn.submitting {
    background-color: #666;
    cursor: not-allowed;
}

.submit-btn.submitting::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: loading 1.5s infinite;
}

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

/* Style pour le bouton désactivé */
.submit-btn:disabled {
    background-color: #666;
    cursor: not-allowed;
    opacity: 0.7;
}

/* Styles pour la page de formulaire */
.form-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('assets/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-bottom: 4rem;
}

.form-hero-content {
    max-width: 800px;
    padding: 0 2rem;
}

.form-hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-family: 'Poppins', sans-serif;
}

.form-hero-content p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.form-steps {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 4rem;
    padding: 0 2rem;
}

.step {
    text-align: center;
    max-width: 300px;
}

.step-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

.step h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.step p {
    color: var(--text-color);
    line-height: 1.6;
}

.form-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 2rem;
    color: var(--text-color);
    font-size: 1.1rem;
    line-height: 1.6;
}

.form-info {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 4rem;
    margin-bottom: 4rem;
    padding: 0 2rem;
}

.info-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    max-width: 300px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

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

.info-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.info-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.info-card p {
    color: var(--text-color);
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
    .form-steps {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .form-info {
        flex-direction: column;
        align-items: center;
    }

    .form-hero-content h1 {
        font-size: 2.5rem;
    }
}

.form-content.closed {
    position: relative;
    opacity: 0.8;
    pointer-events: none;
    transition: all 0.3s ease;
}

.form-content.closed::before {
    content: 'FORMULAIRE FERMÉ';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, rgba(255, 0, 0, 0.9), rgba(200, 0, 0, 0.9));
    color: white;
    padding: 2rem 4rem;
    border-radius: 20px;
    font-size: 2.5rem;
    font-weight: 700;
    z-index: 2;
    box-shadow: 0 10px 30px rgba(255, 0, 0, 0.3);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-family: 'Poppins', sans-serif;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    text-align: center;
}

.form-content.closed::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
    backdrop-filter: blur(8px);
    border-radius: 10px;
}

.tab-btn.closed {
    opacity: 0.8;
    position: relative;
    background: linear-gradient(135deg, rgba(255, 0, 0, 0.1), rgba(200, 0, 0, 0.1));
    border: 1px solid rgba(255, 0, 0, 0.2);
    transition: all 0.3s ease;
}

/* .tab-btn.closed::after {
    content: 'FERMÉ';
    position: absolute;
    top: -8px;
    right: -8px;
    background: linear-gradient(135deg, #ff4444, #cc0000);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(255, 0, 0, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Poppins', sans-serif;
    border: 1px solid rgba(255, 255, 255, 0.2);
} */

.tab-btn.closed:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.2);
}

/* Amélioration des styles pour la section des formulaires */
.forms-section {
    padding: 6rem 5%;
    background: var(--light-bg);
    position: relative;
    overflow: hidden;
}

.forms-section h2 {
    text-align: center;
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 4rem;
    position: relative;
    font-family: 'Poppins', sans-serif;
}

.forms-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--gradient-primary);
}

.forms-intro {
    margin-bottom: 3rem;
    font-size: 1.2rem;
    color: var(--text-color);
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

.forms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.form-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.form-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

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

.form-btn {
    margin-top: 20px;
    padding: 12px 25px;
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-size: 1rem;
}

.form-btn:hover {
    background-color: var(--secondary-color);
} 