/* =================================
   VARIABLES & RESET
   ================================= */
:root {
    --primary-color: #8B1E3F;      /* Rouge Rubis 2026 */
    --secondary-color: #0c0c0c;    /* Noir profond */
    --accent-color: #D4AF37;       /* Or */
    --text-light: #FFFFFF;
    --text-dark: #333333;
    --text-muted: #666666;
    --background-light: #FAFAFA;
    --gradient-primary: linear-gradient(135deg, var(--primary-color), #52081C);
    --gradient-accent: linear-gradient(135deg, var(--accent-color), #F4E4C1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background-light);
    overflow-x: hidden;
}

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

body.no-scroll { overflow: hidden; }

h1, h2, h3, h4 { font-family: 'Playfair Display', serif; font-weight: 700; line-height: 1.2; }

/* =================================
   HEADER (LOGO UNE COULEUR)
   ================================= */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    font-size: 1.5rem;
    color: var(--primary-color); /* Une seule couleur ici */
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--secondary-color);
    font-size: 1.25rem;
    padding: 0.5rem;
    border-radius: 10px;
}

.nav-toggle:active { transform: scale(0.98); }

.mobile-nav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(340px, 88vw);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-left: 1px solid rgba(0,0,0,0.08);
    z-index: 2500;
    transform: translateX(105%);
    transition: transform 0.25s ease;
    padding: 90px 1.25rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.mobile-nav.is-open { transform: translateX(0); }

.mobile-nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    padding: 0.85rem 1rem;
    border-radius: 14px;
    background: rgba(0,0,0,0.03);
}

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

.mobile-nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.35);
    z-index: 2400;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
}

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

.btn-nav {
    padding: 0.5rem 1.2rem;
    background: var(--primary-color);
    color: white !important;
    border-radius: 30px;
}
.btn-nav:hover { background: #6b152e; }

@media (max-width: 768px) {
    .nav-menu { display: none; }
    .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
}

/* =================================
   HERO SECTION (SPLIT DESIGN)
   ================================= */
.hero {
    min-height: 100vh;
    position: sticky; /* Sticky Effect */
    top: 0;
    z-index: 0;
    background: linear-gradient(to right, #FFF5F5 50%, #FFEcec 50%);
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 2rem;
    align-items: center;
    transition: filter 0.1s ease, opacity 0.1s ease;
}

.hero-tag {
    display: inline-block;
    background: rgba(139, 30, 63, 0.1);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-cta { display: flex; gap: 1rem; margin-bottom: 3rem; }

.hero-image-side {
    position: relative;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-wrapper {
    position: relative;
    width: 100%;
    max-width: 500px;
    height: 600px;
    border-radius: 200px 200px 0 0;
    overflow: hidden;
    box-shadow: 20px 20px 60px rgba(139, 30, 63, 0.15);
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}
.image-wrapper:hover img { transform: scale(1.05); }

.floating-card {
    position: absolute;
    bottom: 30px;
    right: -20px;
    background: white;
    padding: 1rem 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--primary-color);
    animation: float 4s ease-in-out infinite;
}

/* =================================
   SECTION COMMANDER (NOUVEAU DESIGN)
   ================================= */
section {
    position: relative;
    z-index: 10; /* Passe au dessus du hero */
    background: var(--background-light);
    padding: 5rem 0;
}

.how-to-order {
    background: white;
}

.steps-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 3rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.step-card {
    flex: 1;
    min-width: 200px;
    text-align: center;
    padding: 2rem;
    background: #FAFAFA;
    border-radius: 20px;
    transition: transform 0.3s;
}

.step-card:hover { transform: translateY(-5px); background: #FFF; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }

.step-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 1.5rem;
    box-shadow: 0 5px 15px rgba(139, 30, 63, 0.3);
}

.step-card h3 { color: var(--primary-color); margin-bottom: 0.5rem; }
.step-card p { color: var(--text-muted); font-size: 0.9rem; }

/* =================================
   PACKS & CARDS (STYLE ORIGINAL RESTAURÉ)
   ================================= */
.packs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.pack-card {
    background: var(--text-light);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
}

.pack-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0,0,0,0.15); }
.pack-card.featured { border: 2px solid var(--accent-color); transform: scale(1.02); }

.pack-badge {
    position: absolute; top: 20px; right: 20px;
    background: var(--gradient-accent); color: var(--secondary-color);
    padding: 0.5rem 1rem; border-radius: 25px; font-size: 0.8rem; font-weight: 600; z-index: 1;
}

.pack-image {
    height: 200px;
    background: var(--gradient-primary);
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
}

.pack-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.pack-card:hover .pack-image img { transform: scale(1.05); }

.pack-content { padding: 2rem; }
.pack-name { color: var(--primary-color); margin-bottom: 1rem; font-size: 1.5rem; font-weight: 700; }
.pack-description { color: var(--text-muted); margin-bottom: 1.5rem; }
.pack-price { font-size: 1.5rem; font-weight: 700; color: var(--primary-color); margin-bottom: 1rem; }

.pack-items { list-style: none; margin-bottom: 1.5rem; }
.pack-items li { padding: 0.5rem 0; border-bottom: 1px solid #F0F0F0; display: flex; align-items: center; gap: 0.5rem; }
.pack-items i { color: var(--accent-color); font-size: 0.9rem; }

/* Styles spécifiques section sombre */
.section-dark { background-color: var(--secondary-color); color: var(--text-light); }
.section-dark .section-title { color: var(--text-light) !important; }
.section-dark .section-subtitle { color: #DDD !important; }
.section-dark .pack-card { background: #252525; }
.section-dark .pack-name { color: var(--text-light); }
.section-dark .pack-description { color: rgba(255,255,255,0.8); }
.section-dark .pack-items li { border-bottom-color: rgba(255,255,255,0.1); color: #DDD; }
.section-dark .pack-price { color: var(--accent-color); }

/* =================================
   BOUTONS
   ================================= */
.btn {
    display: inline-block; padding: 1rem 2rem; border: none; border-radius: 50px;
    font-family: 'Montserrat', sans-serif; font-weight: 600; text-decoration: none;
    text-align: center; cursor: pointer; transition: all 0.3s ease;
}

.btn-primary { background: var(--gradient-primary); color: var(--text-light); box-shadow: 0 4px 15px rgba(114, 47, 55, 0.3); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(114, 47, 55, 0.4); }

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

.btn-reserve { background: var(--gradient-accent); color: var(--secondary-color); width: 100%; margin-top: 1rem; }
.btn-reserve:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4); }

/* =================================
   FORMULAIRE
   ================================= */
.reservation-section { background: var(--gradient-primary); color: white; }
.reservation-section .section-title { color: white; }
.reservation-section .section-subtitle { color: rgba(255,255,255,0.8); }

.reservation-form-container { display: grid; grid-template-columns: 2fr 1fr; gap: 4rem; margin-top: 3rem; }
.reservation-form { background: rgba(255,255,255,0.1); backdrop-filter: blur(10px); padding: 3rem; border-radius: 20px; border: 1px solid rgba(255,255,255,0.2); }

.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; margin-bottom: 0.5rem; font-weight: 600; color: white; }
.form-group input, .form-group select, .form-group textarea {
    width: 100%; padding: 1rem; border: 1px solid rgba(255,255,255,0.3); border-radius: 10px;
    background: rgba(255,255,255,0.1); color: white; font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    line-height: 1.25;
}

.reservation-form input::placeholder,
.reservation-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.75);
}

.reservation-form input::-webkit-input-placeholder,
.reservation-form textarea::-webkit-input-placeholder {
    color: rgba(255, 255, 255, 0.75);
}

.reservation-form input::-ms-input-placeholder,
.reservation-form textarea::-ms-input-placeholder {
    color: rgba(255, 255, 255, 0.75);
}

.reservation-form input:-ms-input-placeholder,
.reservation-form textarea:-ms-input-placeholder {
    color: rgba(255, 255, 255, 0.75);
}

.reservation-form select {
    color: white;
}

.reservation-form select:invalid {
    color: rgba(255, 255, 255, 0.75);
}

.reservation-form select option[disabled] {
    color: rgba(255, 255, 255, 0.75);
}
.form-group select option { background: var(--primary-color); color: white; }

.form-group input:focus, .form-group select:focus { outline: none; border-color: var(--accent-color); background: rgba(255,255,255,0.2); }

.contact-item {
    background: rgba(255,255,255,0.1); padding: 2rem; border-radius: 15px;
    display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem;
}
.contact-item i { font-size: 2rem; color: var(--accent-color); }
.contact-item a { color: white; text-decoration: none; }

/* =================================
   BOUTON FORMULAIRE (BORDEAUX FONCÉ -> RUBIS)
   ================================= */

.reservation-form button[type="submit"] {
    background: #52081C;    /* BASE : Un Rouge Bordeaux très foncé et profond */
    background-image: none; /* Pas de dégradé */
    color: #FFFFFF;         /* Texte Blanc */
    border: 1px solid #52081C;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(82, 8, 28, 0.3); /* Ombre discrète */
    transition: all 0.3s ease;
}

/* Effet au survol : On éclaircit au lieu de mettre du noir */
.reservation-form button[type="submit"]:hover {
    background: #8B1E3F;    /* SURVOL : Devient Rouge Rubis (plus clair/vivant) */
    color: #FFFFFF;         /* Reste blanc */
    border-color: #8B1E3F;
    transform: translateY(-2px); /* Monte légèrement */
    box-shadow: 0 6px 20px rgba(139, 30, 63, 0.4); /* L'ombre devient un peu plus rouge */
}

/* =================================
   FOOTER
   ================================= */
.footer {
    background: var(--secondary-color);
    color: var(--text-light);
    padding: 3rem 0 1rem;
    position: relative; z-index: 10;
}
.footer-content { display: grid; grid-template-columns: 2fr 1fr; gap: 3rem; margin-bottom: 2rem; }
.footer-brand h3 { color: var(--accent-color); margin-bottom: 1rem; }
.footer-brand p { color: #CCCCCC; }
.footer-contact h4 { color: var(--accent-color); margin-bottom: 1rem; }
.footer-contact p { color: #CCCCCC; margin-bottom: 0.5rem; }
.footer-bottom { text-align: center; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.1); color: #999; }

/* =================================
   MISC & RESPONSIVE
   ================================= */
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; width: 100%; }
.section-header { text-align: center; margin-bottom: 4rem; }
.section-title { font-size: 2.5rem; color: var(--primary-color); margin-bottom: 1rem; }

.whatsapp-float {
    position: fixed; bottom: 30px; right: 30px; background: #25D366; color: white;
    width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; z-index: 2000; box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
}

.scroll-indicator {
    position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
    color: var(--primary-color); font-size: 1.5rem; animation: bounce 2s infinite;
}

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

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

@media (max-width: 900px) {
    .hero-container { grid-template-columns: 1fr; text-align: center; padding-top: 2rem; }
    .hero-image-side { order: -1; margin-bottom: 2rem; }
    .image-wrapper { height: 400px; border-radius: 100px 100px 20px 20px; }
    .hero-cta { justify-content: center; }
    .steps-container { flex-direction: column; }
    .step-connector { display: none; }
    .reservation-form-container { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    .container { padding: 0 1.25rem; }

    section { padding: 4rem 0; }

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

    .hero { padding-top: 72px; }
    .hero-container { gap: 2rem; padding: 1.25rem; }
    .hero-title { font-size: clamp(2.1rem, 7.2vw, 3.2rem); }
    .hero-description { font-size: 1rem; margin-bottom: 1.75rem; }

    .hero-cta { flex-direction: column; align-items: stretch; margin-bottom: 2rem; }
    .btn { width: 100%; padding: 0.95rem 1.25rem; }

    .image-wrapper { height: 320px; max-width: 420px; border-radius: 90px 90px 16px 16px; }
    .floating-card { right: 12px; bottom: 12px; padding: 0.75rem 1rem; border-radius: 12px; }

    .packs-grid { grid-template-columns: 1fr; }
    .pack-content { padding: 1.5rem; }

    .reservation-form { padding: 1.75rem; }
    .contact-item { padding: 1.5rem; }

    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px;
        padding: 1.05rem 1rem;
    }

    .form-group select {
        min-height: 52px;
    }

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

    .whatsapp-float { width: 54px; height: 54px; right: 16px; bottom: 16px; font-size: 1.35rem; }
}

@media (max-width: 420px) {
    .container { padding: 0 1rem; }
    .hero-container { padding: 1rem; }
    .image-wrapper { height: 280px; border-radius: 80px 80px 14px 14px; }
    .pack-items li { align-items: flex-start; }
    .packs-grid { gap: 1.25rem; }
    .reservation-form { padding: 1.25rem; }
}

/* =================================
   CRÉDITS DESIGNER (FOOTER)
   ================================= */
.designer-credit {
    margin-top: 10px;
    font-size: 0.9rem;
    color: #888;
}

/* Le cœur qui bat */
.designer-credit i {
    color: #e31b23; /* Rouge vif pour le cœur */
    margin: 0 5px;
    display: inline-block;
    animation: heartbeat 1.5s infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    10%, 30% { transform: scale(1.2); }
    20%, 40% { transform: scale(1); }
}

/* Le lien vers le portfolio */
.designer-credit a {
    color: var(--accent-color); /* Votre nom en Or */
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border-bottom: 1px dotted var(--accent-color);
}

.designer-credit a:hover {
    color: white; /* Devient blanc au survol */
    border-bottom: 1px solid white;
}

/* =================================
   CORRECTIF MOBILE : STICKY RETARDÉ
   ================================= */
@media (max-width: 900px) {
    .hero {
        /* 1. On garde l'effet sticky */
        position: sticky;
        
        /* 2. L'ASTUCE MAGIQUE : On ne colle pas tout de suite en haut (0).
           On dit : "Laisse scroller 250px avant de coller". 
           Comme ça, on a le temps de voir les boutons en bas. */
        top: -250px; 
        
        /* 3. On agrandit la zone pour repousser la section suivante */
        min-height: 130vh; 
        
        /* 4. On s'assure que le contenu est bien visible */
        align-items: center;
        padding-bottom: 100px; /* Espace de sécurité en bas */
        z-index: 0;
    }

    /* Le contenu reste au premier plan */
    .hero-container {
        position: relative;
        z-index: 1;
    }

    /* La section suivante passe PAR DESSUS le hero */
    section:not(.hero):not(.section-dark):not(.reservation-section) {
        position: relative;
        z-index: 10; /* Plus haut que le hero */
        background-color: var(--background-light); /* Important pour cacher le hero dessous */
    }
}