/* --- 1. TYPOGRAPHIE & COULEURS (L'ADN) --- */
@import url('https://fonts.googleapis.com/css2?family=Abril+Fatface&family=DM+Sans:wght@400;500;700&display=swap');

:root {
    --bleu-facade: #8DA3B6;
    --bleu-fonce: #6B8092;
    --ocre-logo: #D8A655;
    --bois: #C19A6B;
    --pierre: #F5F2EA;
    --neon: #FFF8E7;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding-top: 0;
    font-family: 'DM Sans', sans-serif;
    background-color: #FAF8F3;
    color: #2c2c2c;
    /* Fond doux et épuré avec texture subtile */
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(245, 242, 234, 0.5) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 248, 231, 0.3) 0%, transparent 50%);
    background-attachment: fixed;
}

h1, h2, h3 {
    font-family: 'Abril Fatface', cursive; /* Rappel du style Stencil/Logo */
    font-weight: 400;
    margin: 0;
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--bleu-fonce);
}

h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--bleu-fonce);
}

p {
    line-height: 1.7;
    color: #555;
}

/* --- 2. HEADER "LIGHTBOX" --- */
header {
    position: sticky;
    top: 0;
    width: 100%;
    padding: 15px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    z-index: 1000;
    box-sizing: border-box;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

header.scrolled {
    padding: 10px 40px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.logo {
    display: flex;
    align-items: center;
    height: 50px;
}

.logo-img {
    height: 100%;
    width: auto;
    max-width: 200px;
    transition: transform 0.3s ease;
}

header.scrolled .logo-img {
    transform: scale(0.9);
}

nav ul {
    display: flex;
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Style Caisson Lumineux */
.nav-item {
    padding: 8px 20px;
    border: 2px solid var(--bois);
    background: #fff;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 0 rgba(0,0,0,0.05);
}

.nav-item:hover {
    background: var(--neon);
    box-shadow: 0 0 15px var(--neon), 0 4px 0 rgba(0,0,0,0.05);
    color: var(--ocre-logo);
    border-color: var(--ocre-logo);
}

.btn-cta {
    background: var(--ocre-logo);
    color: white;
    border-color: var(--ocre-logo);
}

/* --- 3. HERO SECTION (NEON & PIERRE) --- */
.hero {
    height: 90vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.2)), url('images/boutique.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, transparent 0%, rgba(0,0,0,0.1) 100%);
    pointer-events: none;
}

.hero-content {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(15px);
    padding: 50px 70px;
    border: 2px solid rgba(255,255,255,0.4);
    max-width: 650px;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
    position: relative;
    z-index: 1;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-logo {
    max-width: 350px;
    width: 100%;
    height: auto;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 30px rgba(216, 166, 85, 0.8)) drop-shadow(2px 2px 4px rgba(0,0,0,0.3));
    animation: fadeInUp 1s ease-out;
}

.hero p {
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 0;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
    font-weight: 500;
}

/* --- 4. SEPARATEUR "ORAC" (CANNELÉ BLEU) --- */
.divider-fluted {
    height: 60px;
    width: 100%;
    /* Génération des stries verticales en CSS */
    background: repeating-linear-gradient(
        90deg,
        var(--bleu-facade),
        var(--bleu-facade) 10px,
        var(--bleu-fonce) 10px,
        var(--bleu-fonce) 20px
    );
    box-shadow: inset 0 0 20px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.divider-btn {
    background: white;
    padding: 12px 35px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border: 2px solid var(--bleu-facade);
    color: var(--bleu-facade);
    transform: translateY(0px);
    transition: all 0.3s ease;
    cursor: pointer;
    border-radius: 4px;
    font-size: 0.85rem;
}

.divider-btn:hover {
    transform: scale(1.08) translateY(-2px);
    background: var(--ocre-logo);
    color: white;
    border-color: var(--ocre-logo);
    box-shadow: 0 6px 20px rgba(216, 166, 85, 0.4);
}

/* --- 5. CONTENU & CARTE --- */
.section {
    padding: 100px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 15px;
}

.section-subtitle {
    text-align: center;
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 50px;
}

.intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.intro-text {
    line-height: 1.8;
}

.intro-text strong {
    color: var(--ocre-logo);
    font-weight: 700;
}

.intro-badges {
    margin-top: 25px;
    font-size: 0.95rem;
    color: var(--bleu-fonce);
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.intro-badges small {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    background: rgba(216, 166, 85, 0.1);
    border-radius: 20px;
    color: var(--ocre-logo);
    font-weight: 500;
}

.intro-img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.intro-img:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 40px rgba(0,0,0,0.25);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.menu-card {
    background: white;
    padding: 35px 30px;
    text-align: center;
    border: 1px solid rgba(0,0,0,0.08);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.menu-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    border-color: var(--ocre-logo);
}

.menu-card h3 {
    transition: color 0.3s ease;
}

.menu-card:hover h3 {
    color: var(--ocre-logo);
}

/* Petite bande striée bleue en haut des cartes */
.menu-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 10px;
    background: repeating-linear-gradient(90deg, var(--bleu-facade), var(--bleu-facade) 5px, var(--bleu-fonce) 5px, var(--bleu-fonce) 10px);
}

.price {
    display: inline-block;
    margin-top: 20px;
    padding: 8px 20px;
    background: var(--ocre-logo);
    color: white;
    font-weight: bold;
    font-size: 0.95rem;
    border-radius: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(216, 166, 85, 0.3);
}

.menu-card:hover .price {
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(216, 166, 85, 0.4);
}

/* --- 5.5. SECTION POINTS DE VENTE --- */
.locations-section {
    background: rgba(255,255,255,0.7);
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.location-card {
    background: white;
    padding: 40px 30px;
    text-align: center;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.location-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--ocre-logo), var(--bleu-facade));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.location-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.15);
    border-color: var(--ocre-logo);
}

.location-card:hover::before {
    transform: scaleX(1);
}

.location-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.location-card h3 {
    color: var(--bleu-fonce);
    margin-bottom: 15px;
    font-size: 1.6rem;
}

.location-address {
    color: #555;
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 25px;
    font-weight: 500;
}

.location-hours {
    padding-top: 25px;
    border-top: 2px solid rgba(0,0,0,0.08);
}

.location-hours strong {
    color: var(--ocre-logo);
    font-size: 1rem;
    display: block;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

.location-hours p {
    color: #666;
    margin: 0;
    line-height: 1.8;
    font-size: 0.95rem;
}

/* --- 6. FOOTER --- */
footer {
    background: linear-gradient(135deg, var(--bleu-facade) 0%, var(--bleu-fonce) 100%);
    color: white;
    padding: 80px 20px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('images/bg-terrazo.png');
    background-repeat: repeat;
    background-size: 200px 200px;
    opacity: 0.15;
    mix-blend-mode: soft-light;
    pointer-events: none;
    z-index: 0;
}

footer > * {
    position: relative;
    z-index: 1;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: repeating-linear-gradient(90deg, var(--ocre-logo), var(--ocre-logo) 10px, transparent 10px, transparent 20px);
}

footer h3 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.footer-locations {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 800px;
    margin: 0 auto 40px;
}

.footer-location {
    text-align: center;
}

.footer-location p {
    color: rgba(255,255,255,0.95);
    font-size: 1rem;
    margin: 8px 0;
    line-height: 1.8;
}

.footer-location p strong {
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    display: block;
    margin-bottom: 5px;
}

footer small {
    display: block;
    margin-top: 30px;
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
}

/* Animations au scroll */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 15px;
        padding: 15px 20px;
    }
    
    header.scrolled {
        padding: 10px 20px;
    }
    
    .intro {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero {
        height: 70vh;
        min-height: 500px;
        background-attachment: scroll;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-content {
        padding: 30px 40px;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .section {
        padding: 60px 20px;
    }
    
    .menu-grid {
        grid-template-columns: 1fr;
    }
    
    .locations-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-locations {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    
    .nav-item {
        font-size: 0.75rem;
        padding: 6px 15px;
    }
}
