
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.7)), url('assets/image/restau.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: inherit;
    background-attachment: fixed;
    transform: scale(1.1);
    transition: transform 10s ease-out;
}

.hero:hover::before {
    transform: scale(1.15);
}

.hero-traiteur {
    background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.7)), url('assets/image/traiteur.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}


.reveal {
    opacity: 0;
    transform: translateY(60px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-80px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(80px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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


.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }
.delay-500 { transition-delay: 0.5s; }


.hero-title {
    overflow: hidden;
}

.hero-title span {
    display: inline-block;
    animation: slideUp 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    opacity: 0;
    transform: translateY(100%);
}

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

.hero-subtitle {
    animation: fadeInUp 1s ease 0.5s forwards;
    opacity: 0;
}

.hero-buttons {
    animation: fadeInUp 1s ease 0.8s forwards;
    opacity: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
        
        header {
            background-color: #DED1C1;
            transition: all 0.3s ease;
        }
        
        header.scrolled {
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        }
        
        
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        @keyframes fadeIn {
            from {
                opacity: 0;
            }
            to {
                opacity: 1;
            }
        }
        
        .animate-fade-in {
            animation: fadeIn 1.5s ease-in;
        }
        
        
        .counter {
            transition: all 0.5s ease;
        }
        
        
        html {
            scroll-behavior: smooth;
        }
        
        .menu-item:hover .menu-overlay {
            opacity: 1;
            transform: translateY(0);
        }
        
        .menu-overlay {
            transition: all 0.3s ease;
            opacity: 0;
            transform: translateY(20px);
        }
        
        .testimonial-card {
            transition: all 0.3s ease;
        }
        
        .testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

        
        .google-reviews-section {
            background: #ffffff;
        }

        .google-rating-summary {
            display: flex;
            justify-content: center;
            align-items: center;
            flex-wrap: wrap;
            gap: 14px;
            margin-bottom: 2.5rem;
        }

        .google-rating-stars {
            display: flex;
            align-items: center;
            gap: 0.25rem;
            color: #f4b400;
            font-size: 1.35rem;
        }

        .google-rating-stars .muted-star {
            color: #d1d5db;
        }

        .google-rating-value {
            font-size: 1.6rem;
            font-weight: 700;
            color: #111827;
            line-height: 1;
        }

        .google-rating-count {
            font-size: 1.2rem;
            color: #4b5563;
            font-weight: 500;
        }

        .google-reviews-track {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 1rem;
            align-items: stretch;
        }

        .google-review-card {
            background: #ffffff;
            border-radius: 16px;
            padding: 1.15rem;
            border: 1px solid rgba(17, 24, 39, 0.06);
            box-shadow: 0 8px 20px rgba(17, 24, 39, 0.08);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .google-review-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 12px 26px rgba(17, 24, 39, 0.14);
        }

        .google-review-header {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            margin-bottom: 0.6rem;
        }

        .review-platform-icon {
            width: 44px;
            height: 44px;
            border-radius: 999px;
            background: #f3f4f6;
            border: 1px solid #e5e7eb;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }

        .google-g {
            font-size: 1.55rem;
            font-weight: 800;
            line-height: 1;
            background: linear-gradient(45deg, #4285f4 0 25%, #34a853 25% 50%, #fbbc05 50% 75%, #ea4335 75% 100%);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
        }

        .google-review-author {
            color: #111827;
            font-size: 1.05rem;
            font-weight: 700;
            line-height: 1.1;
        }

        .google-review-date {
            color: #6b7280;
            font-size: 0.9rem;
            margin-top: 2px;
        }

        .google-review-stars {
            display: flex;
            align-items: center;
            gap: 0.18rem;
            color: #f4b400;
            font-size: 0.85rem;
            margin-top: 0.35rem;
        }

        .google-review-message {
            color: #1f2937;
            font-size: 0.98rem;
            line-height: 1.45;
            margin-top: 0.75rem;
        }

        .google-add-review-btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 0.55rem;
            min-width: min(560px, 100%);
            padding: 0.85rem 1.6rem;
            border-radius: 999px;
            border: 1px solid #3f4958;
            background: linear-gradient(180deg, #22252b 0%, #191c21 100%);
            color: #9ec4ff;
            font-size: 2rem;
            font-weight: 500;
            line-height: 1;
            box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
            transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
        }

        .google-add-review-btn:hover {
            border-color: #5f7899;
            box-shadow: 0 8px 22px rgba(17, 24, 39, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.08);
            transform: translateY(-1px);
            color: #b8d6ff;
        }

        .google-add-review-plus {
            font-size: 2.2rem;
            font-weight: 300;
            line-height: 0.8;
        }

        @media (min-width: 1024px) {
            .google-reviews-track {
                grid-template-columns: repeat(4, minmax(0, 1fr));
            }
        }

        @media (max-width: 768px) {
            .google-rating-stars {
                font-size: 1.15rem;
            }

            .google-rating-value {
                font-size: 1.35rem;
            }

            .google-rating-count {
                font-size: 1rem;
            }

            .google-review-card {
                padding: 1rem;
                border-radius: 14px;
            }

            .review-platform-icon {
                width: 40px;
                height: 40px;
            }

            .google-g {
                font-size: 1.3rem;
            }

            .google-review-author {
                font-size: 0.95rem;
            }

            .google-review-date {
                font-size: 0.82rem;
            }

            .google-review-message {
                font-size: 0.92rem;
                margin-top: 0.65rem;
            }

            .google-add-review-btn {
                min-width: 100%;
                font-size: 1.4rem;
                padding: 0.75rem 1rem;
            }

            .google-add-review-plus {
                font-size: 1.75rem;
            }
        }


.whatsapp-showcase-section {
    background: radial-gradient(circle at 10% 10%, #f9fafb 0%, #ffffff 45%, #f3f4f6 100%);
}

.whatsapp-phone {
    width: min(420px, 100%);
    margin: 0 auto;
    background: #0b0f14;
    border-radius: 34px;
    border: 1px solid #2c3646;
    box-shadow: 0 30px 60px rgba(2, 6, 23, 0.28);
    overflow: hidden;
}

.wa-topbar {
    height: 52px;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #f8fafc;
    font-weight: 600;
    font-size: 1.05rem;
    background: #04070b;
}

.wa-signals {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
}

.wa-chat-header {
    height: 74px;
    background: #0a0d12;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    gap: 12px;
    color: #f8fafc;
    padding: 0 14px;
}

.wa-chat-header .fa-chevron-left {
    font-size: 1.25rem;
}

.wa-avatar {
    width: 44px;
    height: 44px;
    object-fit: cover;
    border-radius: 999px;
    background: #f5d0de;
    border: 2px solid rgba(255, 255, 255, 0.15);
}

.wa-contact-name {
    font-size: 1.25rem;
    font-weight: 700;
}

.wa-verified {
    color: #22c55e;
    font-size: 1.05rem;
}

.wa-chat-body {
    padding: 14px;
    background-color: #05080d;
    background-image:
        radial-gradient(circle at 25% 15%, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px),
        radial-gradient(circle at 70% 35%, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px),
        radial-gradient(circle at 40% 65%, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px),
        linear-gradient(180deg, #06090f 0%, #04070c 100%);
    background-size: 24px 24px, 36px 36px, 30px 30px, auto;
}

.wa-meta-note {
    background: #111a13;
    color: #6df59e;
    text-align: center;
    border-radius: 14px;
    padding: 12px 14px;
    line-height: 1.35;
    font-size: 0.95rem;
    margin-bottom: 14px;
}

.wa-quick-msg {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    text-decoration: none;
    color: #f8fafc;
    background: rgba(148, 163, 184, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    padding: 14px 16px;
    margin-bottom: 10px;
    font-size: 1.05rem;
    line-height: 1.25;
    backdrop-filter: blur(2px);
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.wa-quick-msg:hover {
    background: rgba(148, 163, 184, 0.28);
    border-color: rgba(255, 255, 255, 0.22);
    transform: translateY(-2px);
}

.wa-quick-msg i {
    font-size: 1.5rem;
    color: #ffffff;
}

.wa-input-bar {
    height: 62px;
    background: #1c2327;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    gap: 12px;
    color: #f8fafc;
    padding: 0 14px;
    font-size: 1.6rem;
}

.wa-fake-input {
    flex: 1;
    height: 34px;
    border-radius: 999px;
    background: #3d4348;
    border-left: 2px solid #22c55e;
}

@media (max-width: 768px) {
    .whatsapp-phone {
        border-radius: 26px;
    }

    .wa-topbar {
        height: 46px;
        font-size: 0.95rem;
    }

    .wa-chat-header {
        height: 64px;
    }

    .wa-avatar {
        width: 38px;
        height: 38px;
    }

    .wa-contact-name {
        font-size: 1.05rem;
    }

    .wa-meta-note {
        font-size: 0.86rem;
    }

    .wa-quick-msg {
        font-size: 0.95rem;
        padding: 12px 13px;
    }

    .wa-quick-msg i {
        font-size: 1.25rem;
    }

    .wa-input-bar {
        height: 54px;
        font-size: 1.35rem;
        gap: 10px;
    }

    .wa-fake-input {
        height: 30px;
    }
}


.image-reveal {
    overflow: hidden;
    position: relative;
}

.image-reveal img {
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.image-reveal:hover img {
    transform: scale(1.08);
}

.image-reveal::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(217, 119, 6, 0.2) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.image-reveal:hover::after {
    opacity: 1;
}


.section-content {
    position: relative;
}

.section-divider {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom, transparent, #d97706, transparent);
}


.line-animated {
    width: 0;
    transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.line-animated.active {
    width: 5rem;
}


.btn-elegant {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-elegant::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
    z-index: -1;
}

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


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

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


.cursor-glow {
    position: fixed;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(217, 119, 6, 0.4) 0%, transparent 70%);
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease;
    display: none;
}

@media (min-width: 768px) {
    .cursor-glow {
        display: block;
        width: 40px;
        height: 40px;
    }
}


.section-title {
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #d97706, transparent);
    transition: transform 0.6s ease;
}

.section-title.active::after {
    transform: translateX(-50%) scaleX(1);
}


.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #DED1C1;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-logo {
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

@media (max-width: 640px) {
    #home {
        display: none;
    }
    #titre {
        margin-top: 20%;
    }
    
    
    .hero, .hero-traiteur {
        background-attachment: scroll;
    }
}


.whatsapp-float {
    position: fixed;
    bottom: 88px;
    right: 12px;
    width: 92px;
    height: 92px;
    color: #22c55e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
    z-index: 1000;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

@keyframes pulse-whatsapp {
    0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 4px 30px rgba(37, 211, 102, 0.7); }
}

.float-ring {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    animation: rotate-ring 10s linear infinite;
    pointer-events: none;
}

.float-ring text {
    font-size: 8.6px;
    font-weight: 800;
    letter-spacing: 1.7px;
    text-transform: uppercase;
}

.whatsapp-float .float-ring text {
    fill: #22c55e;
}

.deliveroo-float .float-ring text {
    fill: #00b8a9;
}

.float-core {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
}

.float-core-whatsapp {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    font-size: 30px;
}

.float-core-deliveroo {
    background: linear-gradient(135deg, #00ccbc 0%, #00b8a9 100%);
}

@keyframes rotate-ring {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.phone-float {
    position: fixed;
    bottom: 170px;
    right: 25px;
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 4px 15px rgba(217, 119, 6, 0.4);
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.phone-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(217, 119, 6, 0.6);
}

.deliveroo-float {
    position: fixed;
    bottom: 196px;
    right: 12px;
    width: 92px;
    height: 92px;
    color: #00b8a9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
    z-index: 1000;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.deliveroo-float:hover {
    transform: scale(1.1);
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 25px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(217, 119, 6, 0.4);
}


.map-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}


a:focus-visible,
button:focus-visible {
    outline: 3px solid #d97706;
    outline-offset: 2px;
}


.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #d97706;
    color: white;
    padding: 8px 16px;
    z-index: 10000;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 0;
}


footer a:hover {
    color: #d97706 !important;
}


@media (max-width: 640px) {
    .whatsapp-float {
        bottom: 78px;
        right: 8px;
        width: 78px;
        height: 78px;
    }

    .float-ring text {
        font-size: 7.6px;
        letter-spacing: 1.4px;
    }

    .float-core {
        width: 48px;
        height: 48px;
    }

    .float-core-whatsapp {
        font-size: 24px;
    }
    
    .phone-float {
        bottom: 155px;
        right: 15px;
        width: 50px;
        height: 50px;
        font-size: 22px;
    }

    .deliveroo-float {
        bottom: 228px;
        right: 8px;
        width: 78px;
        height: 78px;
    }

    /* Masquer le bouton Deliveroo flottant sur mobile */
    @media (max-width: 640px) {
        .deliveroo-float {
            display: none !important;
        }
    }
}


.whatsapp-modal {
    position: fixed;
    inset: 0;
    z-index: 1001;
    display: flex;
    align-items: flex-end;
    animation: slideUp 0.3s ease-out;
}

.whatsapp-modal.hidden {
    display: none;
}

.whatsapp-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s ease-out;
}

.whatsapp-modal-content {
    position: relative;
    background: white;
    width: 100%;
    max-width: 500px;
    margin: auto;
    border-radius: 16px 16px 0 0;
    padding: 0;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.15);
    animation: slideUp 0.3s ease-out;
}

.whatsapp-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    background: transparent;
    border: none;
    color: #64748b;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.whatsapp-modal-close:hover {
    color: #1e293b;
}

.wa-modal-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 24px;
    border-bottom: 1px solid #e2e8f0;
    color: #22c55e;
}

.wa-modal-header i {
    font-size: 24px;
}

.wa-modal-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
}

.wa-messages-list {
    display: flex;
    flex-direction: column;
    padding: 12px 0;
    max-height: 60vh;
    overflow-y: auto;
}

.wa-message-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    color: #1e293b;
    text-decoration: none;
    transition: background-color 0.2s;
    border-bottom: 1px solid #f1f5f9;
    cursor: pointer;
}

.wa-message-item:last-child {
    border-bottom: none;
}

.wa-message-item:hover {
    background-color: #f0fdf4;
}

.wa-message-item i {
    font-size: 20px;
    color: #22c55e;
    flex-shrink: 0;
}

.wa-message-item span {
    flex: 1;
    font-size: 15px;
    font-weight: 500;
}

@media (max-width: 640px) {
    .whatsapp-modal-content {
        max-width: 100%;
    }
    
    .back-to-top {
        bottom: 25px;
        right: 15px;
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}