/* Variables des couleurs */
:root {
    --color-primary: #E2001A;
    --color-secondary: #FF1A1A;
    --color-black: #000000;
    --color-background: #FFFFFF;
    --color-text: #000000;
    --color-text-light: #4A4A4A;
}

/* Reset et styles de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--color-background);
    color: var(--color-text);
    line-height: 1.6;
    opacity: 0;
    animation: fadeIn 0.8s ease-out forwards;
    overflow-x: hidden;
}

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

.page-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
.header {
    padding: 1.5rem 2rem;
    background-color: var(--color-background);
    border-bottom: 1px solid #EEEEEE;
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-center {
    height: 60px;
    display: flex;
    align-items: center;
}

.logo-center .logo-img {
    height: 100%;
    width: auto;
}

/* Main Content - Style Vitrine */
.main {
    flex: 1;
    background-color: var(--color-background);
    background-image: 
        linear-gradient(to right, rgba(0, 0, 0, 0.1) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 1px, transparent 1px);
    background-size: 30px 30px;
    padding: 0;
}

.hero {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 4rem;
    padding: 4rem 2rem;
    min-height: 80vh;
}

.hero-content {
    flex: 1;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--color-black);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-description {
    font-size: 1.3rem;
    color: var(--color-text-light);
    margin-bottom: 2.5rem;
    line-height: 1.6;
    max-width: 500px;
}

.features-preview {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: white;
    border: 2px solid var(--color-black);
    padding: 1rem 1.5rem;
    box-shadow: 4px 4px 0px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
}

.feature-item:hover {
    transform: translateY(-2px);
}

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

.feature-item span {
    font-weight: 600;
    color: var(--color-black);
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background-color: var(--color-primary);
    color: white;
    padding: 1.2rem 2.5rem;
    border: none;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 6px 6px 0px rgba(0, 0, 0, 0.1);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-button:hover {
    background-color: var(--color-secondary);
    transform: translateY(-3px);
    box-shadow: 8px 8px 0px rgba(0, 0, 0, 0.1);
}

.cta-button i {
    font-size: 1.2rem;
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.waffle-showcase {
    position: relative;
}

.waffle-showcase img {
    width: 400px;
    height: 400px;
    object-fit: cover;
    border: 2px solid var(--color-black);
    box-shadow: 8px 8px 0px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.waffle-showcase:hover img {
    transform: scale(1.05);
}

/* Sélecteur d'unité */
.unit-selector-container {
    text-align: center;
    margin: 15px 0;
}

.unit-selector {
    display: inline-flex;
    background-color: #f5f5f5;
    border-radius: 20px;
    padding: 5px;
    margin-bottom: 10px;
    overflow: hidden;
}

.unit-btn {
    border: none;
    background: none;
    padding: 8px 20px;
    border-radius: 15px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 14px;
}

.unit-btn.active {
    background-color: #4CAF50;
    color: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.unit-info {
    color: #666;
    font-size: 0.85em;
    margin-top: 5px;
}

@media (max-width: 1024px) {
    .header {
        padding: 1.2rem;
    }

    .logo-center {
        height: 55px;
    }

    .hero {
        flex-direction: column;
        gap: 3rem;
        text-align: center;
        padding: 3rem 1.5rem;
        min-height: auto;
    }

    .hero-content {
        order: 2;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-description {
        font-size: 1.2rem;
        max-width: none;
        margin: 0 auto 2rem;
    }

    .features-preview {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
        margin-bottom: 2rem;
    }

    .feature-item {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .cta-button {
        width: 100%;
        max-width: 300px;
        justify-content: center;
        margin: 0 auto;
    }

    .hero-visual {
        order: 1;
        margin-bottom: 2rem;
    }

    .waffle-showcase img {
        width: 300px;
        height: 300px;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 1rem;
    }

    .logo-center {
        height: 50px;
    }

    .hero {
        flex-direction: column;
        gap: 2rem;
        padding: 2rem 1rem;
        text-align: center;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 1.1rem;
        max-width: 100%;
    }

    .features-preview {
        flex-direction: column;
        align-items: center;
    }

    .feature-item {
        width: 100%;
        max-width: 300px;
        justify-content: center;
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
    }

    .cta-button {
        width: 100%;
        max-width: 300px;
        justify-content: center;
        padding: 1rem 2rem;
        font-size: 1rem;
    }

    .waffle-showcase img {
        width: 250px;
        height: 250px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 1.5rem 1rem;
        gap: 1.5rem;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .feature-item {
        padding: 0.7rem 0.8rem;
        font-size: 0.85rem;
    }

    .cta-button {
        padding: 0.9rem 1.5rem;
        font-size: 0.95rem;
    }

    .waffle-showcase img {
        width: 220px;
        height: 220px;
    }
}