/* ===== VARIABLES CSS ===== */
:root {
    /* Palette de couleurs ROSSI */
    --red-rossi: #E30613;
    --yellow-gourmet: #FCE300;
    --black-elite: #1A1A1A;
    --white-pure: #FFFFFF;
    --brown-soft: #4E342E;
    
    /* Typographies */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Roboto', sans-serif;
    --font-script: 'Pacifico', cursive;
    
    /* Espacements */
    --container-padding: 0 20px;
    --section-padding: 80px 0;
    
    /* Ombres */
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 8px 30px rgba(0, 0, 0, 0.15);
}

/* ===== RESET ET BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--black-elite);
    background-color: var(--white-pure);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
}

/* ===== TYPOGRAPHIE ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--black-elite);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--red-rossi);
    border-radius: 2px;
}

/* ===== BOUTONS CTA ===== */
.cta-btn {
    background: var(--red-rossi);
    color: var(--white-pure);
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    box-shadow: var(--shadow-soft);
}

.cta-btn:hover {
    background: var(--yellow-gourmet);
    color: var(--black-elite);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--red-rossi);
}

.nav {
    display: flex;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: var(--black-elite);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--red-rossi);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--red-rossi);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.header-cta {
    padding: 10px 25px;
    font-size: 0.9rem;
}

/* ===== MENU HAMBURGER ===== */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--red-rossi);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* ===== MENU MOBILE ===== */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--white-pure);
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    z-index: 1000;
    padding: 80px 30px 30px;
    display: flex;
    flex-direction: column;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu .nav-link {
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 1.1rem;
    font-weight: 600;
}

.mobile-menu .nav-link:last-child {
    border-bottom: none;
}

.mobile-menu .header-cta {
    margin-top: 30px;
    width: 100%;
    text-align: center;
}

.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ===== SECTION HERO ===== */
.hero {
    background: linear-gradient(135deg, var(--yellow-gourmet) 0%, #FFD700 100%);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23FFD700" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="%23FFD700" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="%23FFD700" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    color: var(--black-elite);
    margin-bottom: 20px;
    font-family: var(--font-script);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--brown-soft);
    margin-bottom: 30px;
    line-height: 1.8;
}

.hero-cta {
    font-size: 1.1rem;
    padding: 18px 40px;
}

.hero-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: var(--shadow-medium);
}

/* ===== SECTION PRODUITS ===== */
.products {
    padding: var(--section-padding);
    background: var(--white-pure);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
    justify-items: center;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.product-card {
    background: var(--white-pure);
    border-radius: 20px;
    padding: 25px;
    box-shadow: var(--shadow-soft);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
    border-color: var(--red-rossi);
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--yellow-gourmet);
    color: var(--black-elite);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.product-img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    border-radius: 15px;
    margin-bottom: 20px;
    background-color: #f8f9fa;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-title {
    font-size: 1.3rem;
    color: var(--red-rossi);
    margin-bottom: 10px;
}

.product-description {
    color: var(--brown-soft);
    margin-bottom: 15px;
    line-height: 1.6;
}

.product-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--black-elite);
    margin-bottom: 20px;
}

.product-cta {
    width: 100%;
    text-align: center;
}

/* ===== SECTION HISTOIRE ===== */
.story {
    padding: var(--section-padding);
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.story-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.story-description {
    font-size: 1.1rem;
    color: var(--brown-soft);
    margin-bottom: 20px;
    line-height: 1.8;
}

.values {
    display: flex;
    gap: 30px;
    margin-top: 30px;
}

.value-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.value-item i {
    font-size: 2rem;
    color: var(--red-rossi);
}

.value-item span {
    font-weight: 600;
    color: var(--black-elite);
}

.story-img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: var(--shadow-medium);
}

/* ===== SECTION AVIS CLIENTS ===== */
.testimonials {
    padding: var(--section-padding);
    background: var(--yellow-gourmet);
}

.testimonials-slider {
    position: relative;
    max-width: 1000px;
    margin: 50px auto 0;
    overflow: hidden;
}

.testimonials-track {
    display: flex;
    transition: transform 0.3s ease;
    gap: 0;
}

.testimonial-card {
    background: var(--white-pure);
    padding: 20px;
    border-radius: 15px;
    box-shadow: var(--shadow-soft);
    text-align: center;
    min-width: calc(33.333% - 10px);
    flex-shrink: 0;
    margin: 0 5px;
    max-width: 300px;
}

.stars {
    color: var(--red-rossi);
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.testimonial-text {
    font-style: italic;
    color: var(--brown-soft);
    margin-bottom: 20px;
    line-height: 1.6;
}

.testimonial-author {
    font-weight: 600;
    color: var(--black-elite);
}

/* ===== POINTS DE NAVIGATION ===== */
.testimonials-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(227, 6, 19, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--red-rossi);
    transform: scale(1.2);
}

.dot:hover {
    background: var(--red-rossi);
    transform: scale(1.1);
}





/* ===== SECTION CONTACT ===== */
.contact {
    padding: var(--section-padding);
    background: var(--white-pure);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 50px;
}

.contact-info h3 {
    color: var(--red-rossi);
    margin-bottom: 30px;
    font-size: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: var(--yellow-gourmet);
    transform: translateX(10px);
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--red-rossi);
    width: 30px;
}

.contact-item a {
    color: var(--black-elite);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--red-rossi);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--red-rossi);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--black-elite);
    color: var(--white-pure);
    padding: 50px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.footer-logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--red-rossi);
}

.footer-social {
    display: flex;
    gap: 20px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--yellow-gourmet);
    color: var(--black-elite);
    border-radius: 50%;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--red-rossi);
    color: var(--white-pure);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    color: #999;
}

/* ===== BOUTON WHATSAPP FLOTTANT ===== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: var(--white-pure);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    z-index: 1000;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

@keyframes pulse {
    0% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.8);
    }
    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .nav {
        display: none;
    }
    
    .header-cta {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .story-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .story-img {
        max-height: 300px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .values {
        flex-direction: column;
        gap: 20px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
    }
    
    .testimonials-slider {
        max-width: 100%;
        margin: 30px auto 0;
    }
    
    .testimonial-card {
        padding: 15px;
        min-width: calc(100% - 10px);
        max-width: 300px;
    }
    
    .testimonial-text {
        font-size: 0.8rem;
        line-height: 1.4;
    }
    
    .testimonial-author {
        font-size: 0.8rem;
    }
    
    .stars {
        font-size: 0.9rem;
        margin-bottom: 10px;
    }
    
    .testimonials-dots {
        gap: 6px;
        margin-top: 15px;
    }
    
    .dot {
        width: 8px;
        height: 8px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-padding {
        padding: 60px 0;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        bottom: 20px;
        right: 20px;
    }
}
