/* Variables */
:root {
    --primary-color: #7a4a18; /* bois foncé */
    --secondary-color: #d4af37; /* doré */
    --accent-color: #800000; /* rouge profond */
    --bg-dark: #23180d; /* fond sombre */
    --bg-light: #f5e6c5; /* beige clair */
    --text-light: #f5e6c5;
    --text-dark: #23180d;
    --font-primary: 'Pirata One', serif;
    --font-secondary: 'Roboto', sans-serif;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background:
        /* Taches foncées */
        radial-gradient(ellipse at 20% 30%, rgba(120, 90, 40, 0.10) 0%, transparent 70%),
        radial-gradient(ellipse at 80% 60%, rgba(120, 90, 40, 0.08) 0%, transparent 80%),
        radial-gradient(ellipse at 60% 10%, rgba(120, 90, 40, 0.07) 0%, transparent 80%),
        /* Effet parchemin central */
        radial-gradient(ellipse at 50% 50%, #f5e6c5 60%, #e2c89a 100%),
        /* Grain léger */
        repeating-linear-gradient(135deg, rgba(180,160,120,0.03) 0 2px, transparent 2px 6px),
        /* Couleur de base */
        #f8f6f1;
    background-blend-mode: multiply, multiply, multiply, normal, normal, normal;
    color: #23180d;
    font-family: var(--font-secondary);
    line-height: 1.6;
    position: relative;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    opacity: 0.18;
    background:
        radial-gradient(circle at 15% 20%, rgba(120,90,40,0.13) 0 18%, transparent 60%),
        radial-gradient(circle at 80% 80%, rgba(120,90,40,0.09) 0 14%, transparent 60%),
        radial-gradient(circle at 60% 40%, rgba(120,90,40,0.07) 0 12%, transparent 60%);
    mix-blend-mode: multiply;
    pointer-events: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3 {
    font-family: var(--font-primary);
    color: #23180d;
    letter-spacing: 1.5px;
}

h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

/* Header flottant externe */
.floating-header {
    position: fixed;
    top: 20px;
    left: 20px;
    right: 20px;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.header-container {
    background: linear-gradient(180deg, 
        #3a2810 0%, 
        #5c3d1f 20%, 
        #8b5a2b 50%, 
        #5c3d1f 80%, 
        #3a2810 100%);
    border-radius: 25px 25px 0 0;
    box-shadow: 
        0 10px 40px rgba(0,0,0,0.5),
        inset 0 2px 4px rgba(212, 175, 55, 0.3),
        inset 0 -2px 4px rgba(0,0,0,0.5);
    border: 3px solid #d4af37;
    border-bottom: none;
    position: relative;
    overflow: hidden;
}

.header-container::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        repeating-linear-gradient(90deg, 
            transparent 0, 
            transparent 20px, 
            rgba(0,0,0,0.1) 20px, 
            rgba(0,0,0,0.1) 21px),
        repeating-linear-gradient(0deg, 
            transparent 0, 
            transparent 20px, 
            rgba(212,175,55,0.05) 20px, 
            rgba(212,175,55,0.05) 21px);
    pointer-events: none;
}

/* Décoration corde */
.rope-decoration {
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 10px;
    background: repeating-linear-gradient(
        90deg,
        #8b5a2b 0px,
        #d4af37 2px,
        #8b5a2b 4px,
        #3a2810 6px,
        #8b5a2b 8px
    );
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

/* Bannière pirate */
.header-decoration {
    position: relative;
    background: rgba(0,0,0,0.3);
    padding: 0.3rem 0;
    border-bottom: 2px solid #d4af37;
}

.pirate-banner {
    text-align: center;
    position: relative;
    z-index: 1;
}

.banner-text {
    color: #d4af37;
    font-family: var(--font-primary);
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
    display: inline-flex;
    align-items: center;
    gap: 1rem;
}

.banner-text i {
    font-size: 1rem;
    animation: skullFloat 3s ease-in-out infinite;
}

@keyframes skullFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-3px) rotate(10deg); }
}

/* Navigation wrapper */
.nav-wrapper {
    position: relative;
    padding: 1.5rem 2rem 0;
}

.main-navigation {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
}

.nav-left, .nav-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex: 1;
}

.nav-left {
    justify-content: flex-end;
}

.nav-right {
    justify-content: flex-start;
}

/* Logo central avec rayons */
.logo-center {
    margin: 0 3rem;
    position: relative;
}

.logo-wrapper {
    position: relative;
    display: inline-block;
}

.header-logo {
    height: 90px;
    width: auto;
    filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.5));
    position: relative;
    z-index: 2;
    transition: all 0.4s ease;
    cursor: pointer;
}

.logo-rays {
    position: absolute;
    inset: -30px;
    background: radial-gradient(
        circle,
        rgba(212, 175, 55, 0.3) 0%,
        transparent 70%
    );
    animation: raysPulse 3s ease-in-out infinite;
    z-index: 1;
}

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

.header-logo:hover {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 0 30px rgba(212, 175, 55, 0.8));
}

/* Liens de navigation */
.nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    color: #f5e6c5;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 15px;
    transition: all 0.3s ease;
    position: relative;
    background: rgba(0,0,0,0.2);
    border: 1px solid transparent;
}

.nav-icon {
    font-size: 1.2rem;
    color: #d4af37;
    transition: all 0.3s ease;
}

.nav-text {
    font-family: var(--font-primary);
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
}

.nav-link:hover {
    background: rgba(212, 175, 55, 0.2);
    border-color: #d4af37;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.nav-link:hover .nav-icon {
    transform: scale(1.2) rotate(10deg);
    color: #ffd700;
}

/* Bouton panier */
.cart-link {
    position: relative;
    color: #f5e6c5;
    font-size: 1.3rem;
    padding: 0.8rem;
    background: rgba(212, 175, 55, 0.3);
    border-radius: 50%;
    transition: all 0.3s ease;
    border: 2px solid #d4af37;
}

.cart-link:hover {
    background: rgba(212, 175, 55, 0.5);
    transform: scale(1.1) rotate(-10deg);
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.4);
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff4444;
    color: white;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
    border: 2px solid #3a2810;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

/* Vague pirate déchiquetée */
.pirate-wave {
    position: absolute;
    bottom: -1px;
    left: -3px;
    right: -3px;
    height: 100px;
    overflow: hidden;
}

.pirate-wave svg {
    position: absolute;
    bottom: 0;
    width: calc(100% + 6px);
    height: 100%;
}

.pirate-wave path {
    filter: drop-shadow(0 3px 5px rgba(0,0,0,0.3));
    animation: waveMotion 15s ease-in-out infinite;
}

@keyframes waveMotion {
    0%, 100% { 
        d: path("M0,20 L40,25 L80,15 L120,30 L160,20 L200,35 L240,25 L280,40 L320,30 L360,45 L400,35 L440,50 L480,40 L520,55 L560,45 L600,60 L640,50 L680,65 L720,55 L760,70 L800,60 L840,75 L880,65 L920,80 L960,70 L1000,85 L1040,75 L1080,90 L1120,80 L1160,95 L1200,85 L1240,100 L1280,90 L1320,95 L1360,85 L1400,90 L1440,80 L1440,100 L0,100 Z");
    }
    50% { 
        d: path("M0,30 L40,20 L80,35 L120,25 L160,40 L200,30 L240,45 L280,35 L320,50 L360,40 L400,55 L440,45 L480,60 L520,50 L560,65 L600,55 L640,70 L680,60 L720,75 L760,65 L800,80 L840,70 L880,85 L920,75 L960,90 L1000,80 L1040,95 L1080,85 L1120,100 L1160,90 L1200,95 L1240,85 L1280,100 L1320,90 L1360,95 L1400,85 L1440,90 L1440,100 L0,100 Z");
    }
}

/* Header compact au scroll */
.floating-header.scrolled {
    top: 10px;
    left: 40px;
    right: 40px;
}

.floating-header.scrolled .header-decoration {
    max-height: 0;
    padding: 0;
    opacity: 0;
    overflow: hidden;
}

.floating-header.scrolled .rope-decoration {
    display: none;
}

.floating-header.scrolled .nav-wrapper {
    padding: 0.8rem 2rem 0;
}

.floating-header.scrolled .header-logo {
    height: 60px;
}

.floating-header.scrolled .nav-link {
    flex-direction: row;
    gap: 0.5rem;
}

.floating-header.scrolled .nav-icon {
    font-size: 1rem;
}

.floating-header.scrolled .pirate-wave {
    height: 60px;
}

/* Bouton menu mobile */
.mobile-menu-btn {
    display: none;
    background: rgba(212, 175, 55, 0.3);
    border: 2px solid #d4af37;
    border-radius: 10px;
    padding: 0.5rem;
    cursor: pointer;
    width: 45px;
    height: 45px;
    position: relative;
    overflow: hidden;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background: #f5e6c5;
    margin: 5px auto;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-btn:hover {
    background: rgba(212, 175, 55, 0.5);
    transform: scale(1.05);
}

/* Responsive */
@media (max-width: 768px) {
    .floating-header {
        top: 10px;
        left: 10px;
        right: 10px;
    }
    
    .nav-wrapper {
        padding: 1rem;
    }
    
    .nav-left, .nav-right {
        display: none;
    }
    
    .logo-center {
        margin: 0;
    }
    
    .header-logo {
        height: 60px;
    }
    
    .mobile-menu-btn {
        display: block;
        position: absolute;
        right: 1rem;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .pirate-wave {
        height: 60px;
    }
}

/* Menu mobile avec style pirate */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: linear-gradient(180deg, #3a2810 0%, #5c3d1f 50%, #3a2810 100%);
    box-shadow: -5px 0 20px rgba(0,0,0,0.5);
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1002;
    display: flex;
    flex-direction: column;
    padding: 2rem;
    overflow-y: auto;
    border-left: 3px solid #d4af37;
}

.mobile-menu.active {
    right: 0;
}

.mobile-logo {
    width: 150px;
    margin: 0 auto 2rem;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.mobile-menu .nav-link {
    color: #f5e6c5;
    text-decoration: none;
    font-family: var(--font-primary);
    font-size: 1.2rem;
    letter-spacing: 1px;
    padding: 1rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    transition: all 0.3s ease;
    display: block;
}

.mobile-menu .nav-link:hover {
    color: #d4af37;
    transform: translateX(10px);
}

.mobile-menu .cart-link {
    color: #f5e6c5;
    font-size: 1.2rem;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.mobile-menu-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: #f5e6c5;
    font-size: 2rem;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.mobile-menu-close:hover {
    transform: rotate(90deg);
}

.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1001;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f6f1;
    overflow: hidden;
    padding-top: 250px; /* Espace pour le header flottant */
}

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.hero-bg img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 60%;
    filter: brightness(0.85) saturate(1.1);
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(35,24,13,0.45) 0%, rgba(245,230,197,0.92) 80%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 4rem 2rem 3rem 2rem;
}

.hero-content h1 {
    color: #23180d;
    font-size: 3rem;
    text-shadow: none;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.hero-content h2 {
    color: #23180d;
    font-size: 1.4rem;
    margin-bottom: 2rem;
    font-weight: 400;
}

.hero-btn {
    background: none;
    color: #23180d;
    border: 2px solid #23180d;
    border-radius: 8px;
    padding: 1rem 2.5rem;
    font-family: var(--font-primary);
    font-size: 1.1rem;
    font-weight: bold;
    letter-spacing: 1px;
    box-shadow: none;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    text-transform: uppercase;
}

.hero-btn:hover {
    background: #23180d;
    color: #f8f6f1;
}

/* Sections */
.section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 0 2rem 0;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    position: relative;
    z-index: 10;
}

/* Premier section après le hero */
.presentation {
    margin-top: -50px; /* Compense l'espace */
}

.section h2 {
    color: #23180d;
    text-align: center;
    font-size: 2.1rem;
    margin-bottom: 2.5rem;
    text-transform: uppercase;
}

/* Presentation */
.presentation .section-content {
    display: flex;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
    justify-content: space-between;
}

.presentation-text {
    flex: 1 1 320px;
}

.presentation-text p {
    color: var(--bg-light);
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 0;
}

.presentation-img {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2.5rem;
}

.presentation-img img {
    max-width: 700px !important;
    width: 100%;
    height: auto;
    display: block;
    border-radius: 18px;
    box-shadow: 0 4px 24px #0007;
    border: 3px solid var(--secondary-color);
}

.presentation-img img.animated-float {
    max-width: 700px !important;
    width: 100%;
    height: auto;
    display: block;
}

.presentation-img img.animated-rotate {
    animation: none !important;
}

@keyframes floatYLogo {
    from { transform: translateY(0); }
    to   { transform: translateY(22px); }
}

.presentation-logo-big {
    max-width: 900px !important;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border: none !important;
    box-shadow: none !important;
    background: none !important;
    animation: floatYLogo 4.5s ease-in-out infinite alternate;
}

/* Menu Grid */
.menu-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.8rem;
    margin-top: 2.5rem;
}

.menu-section-title {
    font-size: 2.2rem;
    font-weight: bold;
    margin: 40px 0 25px 0;
    text-align: center;
    letter-spacing: 1.5px;
    color: var(--primary-color);
    font-family: var(--font-primary);
    text-transform: uppercase;
}

.menu-block::before,
.menu-block::after {
    display: none !important;
}

.menu-block {
    max-width: 420px;
    min-width: 260px;
    width: auto;
    margin: 18px auto;
    border-radius: 18px;
    box-shadow: none !important;
    overflow: hidden;
    position: relative;
    background: transparent !important;
    padding: 0;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none !important;
}

.parchment-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: 18px;
    background: #fffef0;
    background-image: url('data:image/png;base64,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');
    filter: url(#wavy-parchment);
    min-height: 100%;
    min-width: 100%;
}
.parchment-bg::before {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
}

.parchment-bg::after {
    display: none !important;
}

.menu-block:hover .parchment-bg::after {
    opacity: 0.6;
    filter: drop-shadow(0 0 8px #a85c1a55);
}

.menu-content {
    position: relative;
    z-index: 2;
    padding: 1.8rem 1.2rem 1.2rem 1.2rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: transparent !important;
}

.menu-block:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 12px 36px rgba(0,0,0,0.15), 0 4px 12px rgba(0,0,0,0.1);
    border-color: var(--secondary-color);
}

.menu-block h3 {
    color: #7a4a18;
    font-family: var(--font-primary);
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    text-align: center;
    letter-spacing: 1.2px;
    text-shadow: 1px 1px 4px #c2a05a22;
    font-weight: bold;
}

.menu-block .plat-name {
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
    display: block;
    text-align: center;
}

.menu-block .plat-price {
    color: #7a4a18;
    font-weight: bold;
    font-size: 1.05rem;
    float: right;
    transition: color 0.3s ease;
}

.menu-block:hover .plat-price {
    color: var(--accent-color);
}

.menu-block .plat-desc {
    color: #bfa97a;
    font-size: 0.95rem;
    margin-top: 0.2em;
    line-height: 1.4;
    clear: both;
    text-align: center;
    transition: color 0.3s ease;
}

.menu-block:hover .plat-desc {
    color: var(--primary-color);
}

.menu-block ul {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

.menu-block li {
    margin-bottom: 0.8rem;
    color: #7a5a2f;
    font-size: 1rem;
    position: relative;
    padding-left: 0;
    text-align: left;
}

.menu-block li b {
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1.05em;
}

.menu-block li span {
    display: block;
    color: #bfa97a;
    font-size: 0.9em;
    margin-top: 0.1em;
    font-weight: 400;
    line-height: 1.3;
}

.menu-block hr {
    border: none;
    border-top: 1.5px solid #e2c89a;
    margin: 1.2rem 0 1rem 0;
}

.menu-corner-icon {
    position: absolute;
    font-size: 1.8rem;
    color: #d4af37cc;
    opacity: 0.6;
    z-index: 4;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-block:hover .menu-corner-icon {
    transform: scale(1.1) rotate(5deg);
    opacity: 0.8;
}

.menu-corner-icon.gouvernail { top: -12px; left: -12px; }
.menu-corner-icon.epee { bottom: -12px; right: -12px; transform: rotate(-15deg);}
.menu-corner-icon.chapeau { top: -12px; right: -12px; }

.menu-block .menu-icon {
    font-size: 2.5rem;
    color: #d4af37;
    margin-bottom: 0.5rem;
    filter: drop-shadow(0 2px 4px #7a4a1840);
    text-shadow: 0 2px 6px #fff7;
    display: block;
    text-align: center;
    transition: transform 0.3s ease;
}

.menu-block:hover .menu-icon {
    transform: scale(1.1);
}

.menu-img {
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-img img {
    max-width: 200px;
    border-radius: 0;
    box-shadow: none;
    border: none;
    opacity: 0.7;
}

.menu-note {
    color: #23180d;
    font-weight: bold;
    text-align: center;
    margin-top: 2rem;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

/* Horaires */
.horaires-content {
    display: flex;
    align-items: center;
    gap: 2rem;
    background: rgba(35, 24, 13, 0.92);
    border-radius: 14px;
    box-shadow: 0 2px 12px #0005;
    padding: 2rem 1.2rem;
    color: var(--text-light);
    max-width: 500px;
    margin: 0 auto;
    justify-content: center;
}

.horaires-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
}

.horaires-text p {
    margin: 0.3em 0;
    color: var(--text-light);
    font-size: 1.1rem;
}

/* Contact Section */
.contact-content {
    display: flex;
    align-items: flex-start;
    gap: 2.5rem;
    flex-wrap: wrap;
    justify-content: space-between;
}

.contact-info {
    flex: 1 1 220px;
    color: var(--text-light);
    font-size: 1.1rem;
}

.contact-img {
    flex: 1 1 220px;
    text-align: right;
}

.contact-img img {
    max-width: 220px;
    border-radius: 14px;
    box-shadow: 0 2px 12px #0005;
    border: 2px solid var(--secondary-color);
}

.social-links {
    display: flex;
    gap: 1.2rem;
    margin-top: 1.5rem;
}

.social-icon {
    font-size: 2rem;
    color: var(--secondary-color);
    transition: color 0.2s;
}

.social-icon:hover {
    color: var(--accent-color);
}

/* Footer */
footer {
    background: #18120a;
    color: var(--secondary-color);
    padding: 2.5rem 0 1.5rem 0;
    text-align: center;
    margin-top: 3rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    list-style: none;
    margin: 1.2rem 0 0 0;
    padding: 0;
}

.footer-links a {
    color: var(--secondary-color);
    text-decoration: none;
    font-family: var(--font-primary);
    font-size: 1rem;
    letter-spacing: 1px;
    transition: color 0.2s;
    text-transform: uppercase;
}

.footer-links a:hover {
    color: var(--bg-light);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

section {
    animation: fadeIn 1s ease-out;
}

/* --- MENU EN GRILLE --- */
.menu-category {
    background: rgba(255, 254, 240, 0.95);
    border-radius: 18px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 24px #8f592230;
    position: relative;
    overflow: hidden;
}

.menu-category:hover {
    box-shadow: 0 8px 32px #8f592240;
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

.menu-category h3 {
    color: var(--primary-color);
    font-family: var(--font-primary);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    text-align: center;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.menu-category ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-category li {
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-size: 1.1rem;
    position: relative;
    padding-left: 1.5rem;
}

.menu-category li::before {
    content: "•";
    color: var(--secondary-color);
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

/* Filigrane illustrations */
.menu-section-bg {
    position: absolute;
    inset: 0;
    opacity: 0.1;
    background-image: url('assets/images/parchment-texture.png');
    background-size: cover;
    pointer-events: none;
    z-index: 0;
}

.icon-deco {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-right: 0.5rem;
    filter: drop-shadow(0 2px 4px #7a4a1840);
}

.icon-deco-lg {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    filter: drop-shadow(0 2px 4px #7a4a1840);
}

.menu-block h3 .icon-deco {
    font-size: 1.4rem;
    vertical-align: middle;
    margin-right: 0.8rem;
}

/* --- SECTIONS EN CARTE IMMERSIVE --- */
.section-card {
    background: rgba(255, 254, 240, 0.95);
    border-radius: 18px;
    padding: 2.5rem;
    margin: 2rem 0;
    box-shadow: 0 4px 24px #8f592230;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--secondary-color);
}

/* --- FILIGRANES PIRATES GLOBAUX --- */
.pirate-bg-art {
    position: absolute;
    opacity: 0.12;
    filter: grayscale(1) drop-shadow(0 2px 6px #0002);
    user-select: none;
    pointer-events: none;
    transition: opacity 0.3s;
    z-index: 0;
}

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
    .menu-grid {
        flex-direction: column;
        align-items: stretch;
        gap: 1.5rem;
    }
    .presentation .section-content, .contact-content {
        flex-direction: column;
        gap: 2rem;
    }
    .menu-block {
        max-width: 98vw;
        min-width: 0;
        width: auto;
    }
}
@media (max-width: 600px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
        padding: 0.7rem 0.5rem;
    }
    .hero {
        min-height: 65vh;
    }
    .hero-content h1 {
        font-size: 2rem;
    }
    .section {
        padding: 2rem 0.5rem 1.5rem 0.5rem;
    }
    .menu-grid {
        grid-template-columns: 1fr;
    }
    .horaires-content {
        flex-direction: column;
        gap: 1rem;
        padding: 1.2rem 0.5rem;
    }
    .footer-links {
        flex-direction: column;
        gap: 0.7rem;
    }
    .menu-block {
        max-width: 98vw;
        min-width: 0;
        width: auto;
    }
}

hr {
    border: none;
    border-top: 1.5px solid #b6a77a;
    margin: 2.5rem 0;
}

/* Filigrane illustrations (à placer en background ou pseudo-elements) */
.menu-section-bg {
}

.icon-deco {
}
.icon-deco-lg {
}
.menu-block h3 .icon-deco {
}

/* --- FILIGRANES PIRATES GLOBAUX --- */
.pirate-bg-art {
}

.bg-art {
    position: absolute;
    opacity: 0.16;
    filter: grayscale(1) drop-shadow(0 2px 6px #0002);
    user-select: none;
    pointer-events: none;
    transition: opacity 0.3s;
}
.bg-art.kraken   { left: 2vw;  top: 18vh; width: 340px; transform: rotate(-7deg);}
.bg-art.barrel   { right: 3vw; bottom: 8vh; width: 120px; transform: rotate(12deg);}
.bg-art.bottle   { left: 7vw;  bottom: 10vh; width: 90px; transform: rotate(-18deg);}
.bg-art.wine     { right: 8vw; top: 12vh; width: 90px; transform: rotate(8deg);}
.bg-art.anchor   { left: 50vw; bottom: 2vh; width: 80px; transform: rotate(-10deg);}
.bg-art.chest    { right: 12vw; top: 30vh; width: 110px; transform: rotate(5deg);}
.bg-art.skull    { left: -60px; top: -40px; width: 220px; opacity: 0.10;}

/* Supprime les anciens filigranes de section */
.hero::before, .hero::after, .carte.section::before, .carte.section::after, .menu-block:last-child::after, .horaires.section::before, .contact.section::after, .menu-section-bg {
    display: none !important;
}

.animated-float {
    animation: floatY 5s ease-in-out infinite alternate, fadeInFiligrane 1.2s;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.15));
}
@keyframes floatY {
    0% { transform: translateY(0) scale(1) rotate(-7deg); }
    50% { transform: translateY(12px) scale(1.02) rotate(-5deg); }
    100% { transform: translateY(18px) scale(1.03) rotate(-7deg); }
}
@keyframes fadeInFiligrane {
    from { opacity: 0; }
    to   { opacity: 0.16; }
}

.animated-rotate {
    animation: none !important;
}

@keyframes rotateLogo {
    0% { transform: rotate(-7deg); }
    100% { transform: rotate(353deg); }
}

.hero-logo {
    display: block;
    max-width: 220px;
    width: 100%;
    height: auto;
    margin: 0 auto 0.5rem auto;
    border: none;
    box-shadow: none;
    background: none;
    animation: floatYLogo 4.5s ease-in-out infinite alternate;
}
@media (max-width: 600px) {
    .hero-logo {
        max-width: 120px;
    }
}

/* Améliorations des animations et transitions */
.menu-block {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.menu-block:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 12px 36px rgba(0,0,0,0.15), 0 4px 12px rgba(0,0,0,0.1);
}

/* Effet de brillance sur les éléments dorés */
.nav-links a, .menu-icon, .icon-deco {
    position: relative;
    overflow: hidden;
}

.nav-links a::after, .menu-icon::after, .icon-deco::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 215, 0, 0.1),
        transparent
    );
    transform: rotate(45deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
}

/* Amélioration du fond parchemin */
.parchment-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: 18px;
    background: #fffef0;
    background-image: url('data:image/png;base64,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');
    filter: url(#wavy-parchment);
}

/* Effet de flottement amélioré pour les éléments décoratifs */
.animated-float {
    animation: floatY 5s ease-in-out infinite alternate, fadeInFiligrane 1.2s;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.15));
}

@keyframes floatY {
    0% { transform: translateY(0) scale(1) rotate(-7deg); }
    50% { transform: translateY(12px) scale(1.02) rotate(-5deg); }
    100% { transform: translateY(18px) scale(1.03) rotate(-7deg); }
}

/* Amélioration des titres de section */
.menu-section-title {
    position: relative;
    padding-bottom: 1rem;
    margin-bottom: 2.5rem;
}

.menu-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--secondary-color), transparent);
}

/* Effet de survol sur les prix */
.plat-price {
    transition: color 0.3s ease;
}

.menu-block:hover .plat-price {
    color: var(--accent-color);
}

/* Amélioration des icônes de coin */
.menu-corner-icon {
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-block:hover .menu-corner-icon {
    transform: scale(1.1) rotate(5deg);
    opacity: 0.8;
}

/* Effet de survol sur les liens de navigation */
.nav-links a {
    position: relative;
    transition: all 0.3s ease;
}

.nav-links a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--secondary-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.nav-links a:hover::before {
    transform: scaleX(1);
}

/* Amélioration du bouton hero */
.hero-btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color);
    background: transparent;
}

.hero-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: 0.5s;
}

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

.hero-btn:hover {
    background: var(--primary-color);
    color: var(--text-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Amélioration des cartes de menu */
.menu-block {
    background: rgba(255, 254, 240, 0.98);
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.menu-block:hover {
    border-color: var(--secondary-color);
}

/* Effet de survol sur les descriptions */
.plat-desc {
    transition: color 0.3s ease;
}

.menu-block:hover .plat-desc {
    color: var(--primary-color);
}

/* Styles pour la page panier */
.cart-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 250px 2rem 2rem 2rem; /* Ajout du padding-top pour le header flottant */
    min-height: calc(100vh - 200px); /* Pour que le footer soit en bas */
}

.cart-header {
    text-align: center;
    margin-bottom: 3rem;
}

.cart-items {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.cart-item {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: 1.5rem;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1.5rem;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.cart-item-info h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.cart-item-desc {
    margin: 5px 0;
    color: #666;
    font-size: 0.9em;
    font-style: italic;
}

.cart-item-price {
    color: var(--accent-color);
    font-weight: bold;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.quantity-btn {
    background: var(--primary-color);
    color: var(--text-light);
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quantity-btn:hover {
    background: var(--accent-color);
}

.cart-item-remove {
    color: var(--accent-color);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.cart-item-remove:hover {
    transform: scale(1.1);
}

.cart-summary {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: 2rem;
    margin-top: 2rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--primary-color);
}

.cart-comments {
    margin-top: 2rem;
}

.cart-comments textarea {
    width: 100%;
    min-height: 100px;
    padding: 1rem;
    border: 1px solid var(--primary-color);
    border-radius: 8px;
    margin-bottom: 1rem;
    font-family: var(--font-secondary);
    resize: vertical;
}

.checkout-btn {
    background: var(--primary-color);
    color: var(--text-light);
    border: none;
    border-radius: 8px;
    padding: 1rem 2rem;
    font-family: var(--font-primary);
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 1rem;
}

.checkout-btn:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Responsive design pour le panier */
@media (max-width: 768px) {
    .cart-item {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .cart-item-quantity {
        justify-content: center;
    }
    
    .cart-item-remove {
        margin-top: 1rem;
    }
}

/* Styles pour le panier */
.cart-items {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.cart-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    margin-bottom: 15px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.cart-item-info {
    flex: 1;
}

.cart-item-info h3 {
    margin: 0;
    font-size: 1.2em;
    color: #333;
}

.cart-item-desc {
    margin: 5px 0;
    color: #666;
    font-size: 0.9em;
    font-style: italic;
}

.cart-item-price {
    margin: 5px 0 0;
    color: #666;
    font-weight: bold;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 20px;
}

.quantity-btn {
    background: #4a90e2;
    color: white;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2em;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
}

.quantity-btn:hover {
    background: #357abd;
}

.cart-item-remove {
    background: none;
    border: none;
    color: #ff4444;
    cursor: pointer;
    font-size: 1.2em;
    padding: 5px;
    transition: color 0.3s;
}

.cart-item-remove:hover {
    color: #cc0000;
}

.cart-summary {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #ddd;
}

.cart-total h3 {
    margin: 0;
    font-size: 1.5em;
    color: #333;
}

#cart-total-price {
    font-size: 1.5em;
    font-weight: bold;
    color: #4a90e2;
}

.cart-comments {
    margin-bottom: 20px;
}

.cart-comments textarea {
    width: 100%;
    min-height: 100px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    resize: vertical;
}

#checkout-btn {
    display: block;
    width: 100%;
    padding: 15px;
    background: #4a90e2;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1.2em;
    cursor: pointer;
    transition: background-color 0.3s;
}

#checkout-btn:hover {
    background: #357abd;
}

.empty-cart {
    text-align: center;
    padding: 40px;
    color: #666;
    font-size: 1.2em;
}

.cart-notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #4a90e2;
    color: white;
    padding: 15px 25px;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s ease-out;
}

.cart-notification.show {
    transform: translateY(0);
    opacity: 1;
}

/* Responsive styles */
@media (max-width: 768px) {
    .cart-item {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .cart-item-quantity {
        margin: 10px 0;
    }

    .cart-total {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

/* Boutons Ajouter au panier harmonisés style pirate */
.add-to-cart-btn {
  background: linear-gradient(90deg, #e2c89a 0%, #d4af37 100%);
  color: #7a4a18;
  border: 2px solid #b88c2a;
  border-radius: 10px;
  padding: 0.6rem 1.3rem;
  font-family: 'Pirata One', serif;
  font-size: 1.05rem;
  font-weight: bold;
  letter-spacing: 1px;
  box-shadow: 0 2px 8px #d4af3722;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s;
  margin-top: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-shadow: 0 2px 8px #fffbe6cc;
}
.add-to-cart-btn:hover {
  background: #7a4a18;
  color: #fffbe6;
  box-shadow: 0 4px 16px #d4af3740;
  transform: translateY(-2px) scale(1.04);
}
.add-to-cart-btn i {
  font-size: 1.1rem;
  color: #d4af37;
  transition: color 0.2s;
}
.add-to-cart-btn:hover i {
  color: #fffbe6;
}
@media (max-width: 600px) {
  .add-to-cart-btn { padding: 0.5rem 0.7rem; font-size: 0.95rem; }
}

/* Bouton style parchemin pour ajouter au panier */
.btn-parchment {
  background: #fffbe6;
  color: #7a4a18;
  border: 1.5px solid #d4af37;
  border-radius: 12px;
  font-family: 'Pirata One', serif;
  font-size: 1.08rem;
  font-weight: bold;
  letter-spacing: 1px;
  box-shadow: 0 2px 12px #d4af3722, 0 1px 0 #fffbe6 inset;
  padding: 0.7rem 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.15s;
  text-shadow: 0 2px 8px #fffbe6cc;
  cursor: pointer;
  margin-top: 1rem;
  position: relative;
}
.btn-parchment i {
  font-size: 1.2rem;
  color: #d4af37;
  margin-right: 0.5rem;
  transition: color 0.2s;
}
.btn-parchment:hover, .btn-parchment:focus {
  background: #e2c89a;
  color: #7a4a18;
  box-shadow: 0 6px 24px #d4af3740, 0 1px 0 #fffbe6 inset;
  transform: translateY(-2px) scale(1.04);
  border-color: #b88c2a;
}
.btn-parchment:hover i, .btn-parchment:focus i {
  color: #b88c2a;
}
@media (max-width: 600px) {
  .btn-parchment { padding: 0.5rem 1rem; font-size: 0.98rem; }
}

.cart-category-header {
    background: var(--primary-color);
    color: var(--text-light);
    padding: 10px 20px;
    margin: 20px 0 10px;
    border-radius: 8px;
    font-family: 'Pirata One', serif;
    font-size: 1.4rem;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.cart-item-time {
    font-size: 0.8rem;
    color: #666;
    margin-top: 5px;
    font-style: italic;
}

.cart-item-price {
    font-weight: bold;
    color: var(--primary-color);
    margin: 5px 0;
}

.cart-item {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    transition: transform 0.2s ease;
}

.cart-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.cart-item-info h3 {
    color: var(--primary-color);
    margin-bottom: 8px;
    font-family: 'Pirata One', serif;
}

.cart-item-desc {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.cart-summary {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: 2rem;
    margin-top: 2rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border: 1px solid #ddd;
}

#cart-total-price {
    font-size: 1.8rem;
    color: var(--primary-color);
    font-weight: bold;
    font-family: 'Pirata One', serif;
}

.cart-total {
    font-size: 1.4rem;
    color: #333;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--primary-color);
    font-family: 'Pirata One', serif;
}

.cart-max-width {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}