/* ============================================================
   Casa Caliente - Restaurant Méditerranéen
   Style méditerranéen chaleureux et élégant
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400&family=DM+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
    /* --- Palette Casa Caliente --- */
    --couleur-primaire: 175 95 62;        /* #af5f3e terracota */
    --couleur-primaire-hover: 145 75 48;  /* terracota foncé */
    --couleur-primaire-clair: 250 245 233; /* #faf5e9 beige */
    
    /* Couleurs complémentaires */
    --beige: #faf5e9;
    --terracota: #af5f3e;
    --terracota-dark: #8b4a30;
    --terracota-light: #d4896a;
    --cream: #f5efe3;
    --warm-gray: #6b5c4c;
    --dark-brown: #3d2e24;
}

/* --- Typographie --- */
body {
    font-family: 'DM Sans', sans-serif;
    background-color: var(--beige);
    color: var(--dark-brown);
}

.font-brand {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
}

.font-elegant {
    font-family: 'Cormorant Garamond', serif;
}

h1, h2, h3 {
    font-family: 'Cormorant Garamond', serif;
}

/* --- HERO SECTION --- */
.hero-casa {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-casa::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(61, 46, 36, 0.65) 0%,
        rgba(61, 46, 36, 0.55) 50%,
        rgba(61, 46, 36, 0.75) 100%
    );
    z-index: 1;
}

/* Amélioration lisibilité texte hero */
.hero-title {
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), 0 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-description {
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.hero-casa-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-content {
    position: relative;
    z-index: 2;
}

/* --- Section Styles --- */
.section-beige {
    background-color: var(--beige);
}

.section-cream {
    background-color: var(--cream);
}

.section-terracota {
    background-color: var(--terracota);
    color: var(--beige);
}

/* --- Décorations méditerranéennes --- */
.decorative-line {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--terracota), transparent);
    margin: 0 auto;
}

.decorative-line-left {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--terracota), transparent);
}

/* --- Cards du menu --- */
.menu-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(61, 46, 36, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.menu-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(61, 46, 36, 0.12);
}

.menu-card-image {
    height: 240px;
    object-fit: cover;
    width: 100%;
}

/* --- Menu items --- */
.menu-item {
    padding: 16px 0;
    border-bottom: 1px solid rgba(175, 95, 62, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
}

.menu-item:last-child {
    border-bottom: none;
}

.menu-item-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--dark-brown);
}

.menu-item-description {
    font-size: 0.875rem;
    color: var(--warm-gray);
    margin-top: 4px;
}

.menu-item-signature {
    font-size: 0.75rem;
    color: var(--terracota);
    font-style: italic;
    margin-top: 2px;
}

.menu-item-price {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--terracota);
    white-space: nowrap;
}

/* --- Icon badges --- */
.icon-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: rgba(175, 95, 62, 0.1);
    color: var(--terracota);
    font-size: 24px;
}

.icon-badge-light {
    background-color: rgba(250, 245, 233, 0.2);
    color: var(--beige);
}

/* --- Boutons --- */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    background-color: var(--terracota);
    color: var(--beige);
    font-weight: 600;
    border-radius: 9999px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary:hover {
    background-color: var(--terracota-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(175, 95, 62, 0.25);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    background-color: transparent;
    color: var(--terracota);
    font-weight: 600;
    border-radius: 9999px;
    border: 2px solid var(--terracota);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: var(--terracota);
    color: var(--beige);
}

.btn-light {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    background-color: var(--beige);
    color: var(--terracota);
    font-weight: 600;
    border-radius: 9999px;
    transition: all 0.3s ease;
}

.btn-light:hover {
    background-color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* --- Pills / Tags --- */
.pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 9999px;
    background-color: rgba(175, 95, 62, 0.1);
    color: var(--terracota);
    font-weight: 500;
    font-size: 0.875rem;
}

.pill-light {
    background-color: rgba(250, 245, 233, 0.2);
    color: var(--beige);
    padding: 8px 16px;
    border-radius: 9999px;
}

/* --- Gallery Grid --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Gallery Grid Cuisine (6 images) --- */
.gallery-grid-cuisine {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

@media (max-width: 768px) {
    .gallery-grid-cuisine {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

.gallery-item {
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 12px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* --- Event Card --- */
.event-card {
    background: linear-gradient(135deg, var(--terracota) 0%, var(--terracota-dark) 100%);
    border-radius: 24px;
    padding: 48px;
    color: var(--beige);
    position: relative;
    overflow: hidden;
}

.event-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(250, 245, 233, 0.05);
}

.event-card::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -20%;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(250, 245, 233, 0.03);
}

/* --- Contact Card --- */
.contact-card {
    background: white;
    border-radius: 24px;
    box-shadow: 0 8px 40px rgba(61, 46, 36, 0.08);
    overflow: hidden;
}

/* --- Animation subtile --- */
.fade-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.6s ease forwards;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Lift effect --- */
.lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(61, 46, 36, 0.12);
}

/* --- Testimonial cards --- */
.testimonial-card {
    position: relative;
    border: 1px solid rgba(175, 95, 62, 0.08);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    right: 24px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 80px;
    line-height: 1;
    color: rgba(175, 95, 62, 0.08);
    pointer-events: none;
}

/* --- Pattern Background (optionnel) --- */
.pattern-bg {
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23af5f3e' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* --- Form Inputs --- */
input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
    border: 1px solid rgba(175, 95, 62, 0.2);
    background: white;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus {
    border-color: var(--terracota);
    box-shadow: 0 0 0 3px rgba(175, 95, 62, 0.1);
    outline: none;
}

/* --- Scrollbar personnalisée --- */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--beige);
}

::-webkit-scrollbar-thumb {
    background: var(--terracota-light);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--terracota);
}

/* --- Responsive adjustments --- */
@media (max-width: 768px) {
    .hero-casa {
        min-height: 90vh;
    }
    
    .event-card {
        padding: 32px 24px;
    }
}

/* --- Image avec overlay gradient --- */
.img-overlay {
    position: relative;
}

.img-overlay::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(61, 46, 36, 0.5) 0%, transparent 50%);
    pointer-events: none;
}

/* --- Note / Info box --- */
.note {
    background: white;
    border-left: 4px solid var(--terracota);
    border-radius: 8px;
    padding: 16px 20px;
}

/* --- Divider avec ornement --- */
.divider-ornament {
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--terracota);
}

.divider-ornament::before,
.divider-ornament::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(175, 95, 62, 0.3), transparent);
}

/* --- Premium card effect --- */
.card-premium {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--terracota) 0%, var(--terracota-dark) 100%);
}

.card-premium::after {
    content: "";
    position: absolute;
    top: 0;
    left: -200%;
    width: 200%;
    height: 100%;
    transform: skewX(-20deg);
    background-image: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.15) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transition: left 0.6s ease-out;
}

.card-premium:hover::after {
    left: 100%;
}

/* ============================================================
   ANIMATIONS UX 2025 - Modern & Trendy
   ============================================================ */

/* --- Scroll Reveal Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left.revealed {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right.revealed {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-scale.revealed {
    opacity: 1;
    transform: scale(1);
}

/* Stagger delays for grid items */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }

/* --- Hero Animations --- */
.hero-casa-bg {
    animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.05); }
}

.hero-content {
    animation: heroFadeIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes heroFadeIn {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero title letter spacing animation */
.hero-title {
    animation: heroTitle 1.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes heroTitle {
    0% {
        opacity: 0;
        letter-spacing: 0.3em;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        letter-spacing: 0.025em;
        transform: translateY(0);
    }
}

/* --- Enhanced Button Animations --- */
.btn-primary,
.btn-secondary,
.btn-light {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary::before,
.btn-light::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn-primary:hover::before,
.btn-light:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary:active,
.btn-secondary:active,
.btn-light:active {
    transform: scale(0.97);
}

/* --- Floating Animation --- */
.float {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* --- Pulse Animation for CTAs --- */
.pulse-soft {
    animation: pulseSoft 3s ease-in-out infinite;
}

@keyframes pulseSoft {
    0%, 100% { box-shadow: 0 4px 20px rgba(175, 95, 62, 0.2); }
    50% { box-shadow: 0 8px 40px rgba(175, 95, 62, 0.35); }
}

/* --- Enhanced Card Hover Effects --- */
.menu-card {
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), 
                box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.menu-card:hover {
    transform: translateY(-8px) scale(1.01);
}

.menu-card-image {
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.menu-card:hover .menu-card-image {
    transform: scale(1.08);
}

/* --- Icon Badge Animation --- */
.icon-badge {
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.icon-badge:hover {
    transform: scale(1.1) rotate(5deg);
}

/* --- Gallery Enhanced Hover --- */
.gallery-item {
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item:hover {
    transform: scale(1.02);
    z-index: 10;
}

.gallery-item img {
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1),
                filter 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
    filter: brightness(1.05);
}

/* --- Testimonial Card Enhanced --- */
.testimonial-card {
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(61, 46, 36, 0.15);
}

.testimonial-card:hover::before {
    color: rgba(175, 95, 62, 0.15);
}

/* --- Decorative Line Animation --- */
.decorative-line {
    position: relative;
    overflow: hidden;
}

.decorative-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    50%, 100% { left: 100%; }
}

/* --- Star Rating Animation --- */
.testimonial-card .fa-star {
    transition: transform 0.3s ease;
}

.testimonial-card:hover .fa-star {
    animation: starPop 0.4s ease forwards;
}

.testimonial-card:hover .fa-star:nth-child(1) { animation-delay: 0s; }
.testimonial-card:hover .fa-star:nth-child(2) { animation-delay: 0.05s; }
.testimonial-card:hover .fa-star:nth-child(3) { animation-delay: 0.1s; }
.testimonial-card:hover .fa-star:nth-child(4) { animation-delay: 0.15s; }
.testimonial-card:hover .fa-star:nth-child(5) { animation-delay: 0.2s; }

@keyframes starPop {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

/* --- Smooth Scroll Behavior --- */
html {
    scroll-behavior: smooth;
}

/* --- Link Hover Effects --- */
a:not(.btn-primary):not(.btn-secondary):not(.btn-light) {
    position: relative;
}

.nav-link-animated::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--terracota);
    transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-link-animated:hover::after {
    width: 100%;
}

/* --- Pill Hover Animation --- */
.pill {
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.pill:hover {
    background-color: rgba(175, 95, 62, 0.15);
    transform: translateY(-2px);
}

/* --- Event Card Animated Background --- */
.event-card::before,
.event-card::after {
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.event-card:hover::before {
    transform: scale(1.2) translate(10%, -10%);
}

.event-card:hover::after {
    transform: scale(1.3) translate(-10%, 10%);
}

/* --- Glassmorphism effect for header on scroll --- */
.header-scrolled {
    background: rgba(250, 245, 233, 0.85) !important;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 4px 30px rgba(61, 46, 36, 0.1);
}

/* --- Contact Card Hover --- */
.contact-card {
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-card:hover {
    box-shadow: 0 15px 50px rgba(61, 46, 36, 0.12);
}

/* --- Reduced Motion Preference --- */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .hero-casa-bg {
        animation: none;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* --- Cursor Effects (optional enhancement) --- */
.cursor-pointer {
    cursor: pointer;
}

/* --- Focus States for Accessibility --- */
.btn-primary:focus-visible,
.btn-secondary:focus-visible,
.btn-light:focus-visible {
    outline: 3px solid var(--terracota);
    outline-offset: 3px;
}

a:focus-visible {
    outline: 2px solid var(--terracota);
    outline-offset: 2px;
    border-radius: 4px;
}

/* ============================================================
   SECTION RÉSERVATION - Widget TheFork
   ============================================================ */

/* --- Bouton Hero Réservation --- */
.btn-reservation-hero {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 36px;
    background: linear-gradient(135deg, var(--terracota) 0%, var(--terracota-dark) 100%);
    color: var(--beige);
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 9999px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(175, 95, 62, 0.4);
    animation: pulseReservation 2.5s ease-in-out infinite;
}

.btn-reservation-hero:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 40px rgba(175, 95, 62, 0.5);
}

.btn-reservation-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
    transition: left 0.6s ease;
}

.btn-reservation-hero:hover::before {
    left: 100%;
}

@keyframes pulseReservation {
    0%, 100% { 
        box-shadow: 0 8px 30px rgba(175, 95, 62, 0.4);
    }
    50% { 
        box-shadow: 0 8px 40px rgba(175, 95, 62, 0.6), 0 0 20px rgba(175, 95, 62, 0.3);
    }
}

/* --- Section Réservation --- */
.reservation-section {
    background: linear-gradient(180deg, var(--cream) 0%, var(--beige) 100%);
    position: relative;
}

.reservation-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--terracota-light), transparent);
}

/* --- Widget Container --- */
.reservation-widget-container {
    max-width: 800px;
    margin: 0 auto;
}

.reservation-widget-wrapper {
    background: white;
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 10px 60px rgba(61, 46, 36, 0.1), 0 4px 20px rgba(175, 95, 62, 0.08);
    border: 1px solid rgba(175, 95, 62, 0.1);
}

/* --- Trust Badges --- */
.trust-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(175, 95, 62, 0.1);
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--warm-gray);
}

.trust-badge i {
    color: var(--terracota);
    font-size: 1rem;
}

/* --- Widget Frame --- */
.widget-frame-container {
    width: 100%;
    min-height: 500px;
    border-radius: 16px;
    overflow: hidden;
    background: var(--beige);
    position: relative;
}

.thefork-widget {
    width: 100%;
    height: 500px;
    border: none;
    border-radius: 12px;
}

/* --- Alternative Contact --- */
.reservation-alternative {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(175, 95, 62, 0.1);
    text-align: center;
}

/* --- Bouton Sticky de Réservation --- */
.sticky-reservation-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    background: linear-gradient(135deg, var(--terracota) 0%, var(--terracota-dark) 100%);
    color: var(--beige);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 9999px;
    box-shadow: 0 8px 30px rgba(175, 95, 62, 0.4);
    z-index: 999;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    animation: stickyBtnAppear 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards,
               stickyPulse 3s ease-in-out infinite 1s;
}

.sticky-reservation-btn:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 40px rgba(175, 95, 62, 0.5);
}

.sticky-reservation-btn i {
    font-size: 1.1rem;
}

@keyframes stickyBtnAppear {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes stickyPulse {
    0%, 100% {
        box-shadow: 0 8px 30px rgba(175, 95, 62, 0.4);
    }
    50% {
        box-shadow: 0 8px 40px rgba(175, 95, 62, 0.55), 0 0 15px rgba(175, 95, 62, 0.25);
    }
}

/* --- Mobile Responsive --- */
@media (max-width: 768px) {
    .reservation-widget-wrapper {
        padding: 20px 16px;
        border-radius: 16px;
    }
    
    .trust-badges {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .thefork-widget {
        height: 550px;
    }
    
    .widget-frame-container {
        min-height: 550px;
    }
    
    .sticky-reservation-btn {
        bottom: 16px;
        right: 16px;
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    
    .sticky-reservation-btn span {
        display: none;
    }
    
    .sticky-reservation-btn {
        padding: 14px;
        border-radius: 50%;
    }
    
    .sticky-reservation-btn i {
        margin: 0;
        font-size: 1.2rem;
    }
}

/* --- Animation au scroll pour le bouton sticky --- */
.sticky-reservation-btn.hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
}

/* ============================================================
   MODALE DE RÉSERVATION - Mobile/Tablet
   ============================================================ */

/* --- Affichage conditionnel Desktop/Mobile --- */
.reservation-desktop-only {
    display: block;
}

.reservation-mobile-cta {
    display: none;
}

/* Sur mobile et tablette : masquer le widget inline, afficher le CTA */
@media (max-width: 1024px) {
    .reservation-desktop-only {
        display: none;
    }
    
    .reservation-mobile-cta {
        display: block;
    }
}

/* --- Bouton trigger pour ouvrir la modale --- */
.reservation-modal-trigger {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 20px 32px;
    background: linear-gradient(135deg, var(--terracota) 0%, var(--terracota-dark) 100%);
    color: var(--beige);
    font-size: 1.2rem;
    font-weight: 700;
    border: none;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 8px 30px rgba(175, 95, 62, 0.35);
    animation: pulseReservation 2.5s ease-in-out infinite;
}

.reservation-modal-trigger:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 40px rgba(175, 95, 62, 0.45);
}

.reservation-modal-trigger:active {
    transform: scale(0.98);
}

.reservation-modal-trigger i:first-child {
    font-size: 1.4rem;
}

.reservation-modal-trigger i:last-child {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.reservation-modal-trigger:hover i:last-child {
    transform: translateX(4px);
}

/* --- Modale Container --- */
.reservation-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.reservation-modal.active {
    opacity: 1;
    visibility: visible;
}

/* --- Backdrop --- */
.reservation-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(61, 46, 36, 0.7);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    cursor: pointer;
}

/* --- Modal Content Container --- */
.reservation-modal-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    max-height: 95vh;
    background: var(--beige);
    border-radius: 24px 24px 0 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 -10px 50px rgba(61, 46, 36, 0.2);
}

.reservation-modal.active .reservation-modal-container {
    transform: translateY(0);
}

/* --- Tablet: centered modal --- */
@media (min-width: 640px) and (max-width: 1024px) {
    .reservation-modal {
        align-items: center;
        padding: 24px;
    }
    
    .reservation-modal-container {
        max-width: 540px;
        max-height: 90vh;
        border-radius: 24px;
        transform: translateY(30px) scale(0.95);
        opacity: 0;
    }
    
    .reservation-modal.active .reservation-modal-container {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

/* --- Modal Header --- */
.reservation-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: white;
    border-bottom: 1px solid rgba(175, 95, 62, 0.1);
    flex-shrink: 0;
}

.reservation-modal-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark-brown);
}

.reservation-modal-title i {
    color: var(--terracota);
}

.reservation-modal-close {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(175, 95, 62, 0.1);
    border: none;
    border-radius: 50%;
    color: var(--terracota);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.reservation-modal-close:hover {
    background: var(--terracota);
    color: var(--beige);
}

/* --- Modal Body (iframe container) --- */
.reservation-modal-body {
    flex: 1;
    overflow: hidden;
    background: white;
}

.reservation-modal-iframe {
    width: 100%;
    height: 100%;
    min-height: 500px;
    border: none;
}

/* Mobile: taller iframe */
@media (max-width: 639px) {
    .reservation-modal-iframe {
        min-height: calc(95vh - 140px);
    }
}

/* --- Modal Footer --- */
.reservation-modal-footer {
    padding: 12px 20px;
    background: white;
    border-top: 1px solid rgba(175, 95, 62, 0.1);
    flex-shrink: 0;
}

/* --- Prevent body scroll when modal is open --- */
body.modal-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}
