/* --- DESIGN SYSTEM --- */
:root {
    --primary-color: #e9d8d8;
    --accent-color: #e2b5b6;
    --text-color: #1A1A1A;
    --text-light: #555555;
    --white: #FFFFFF;
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
    
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.04);
    --shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.08);
    --radius: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--primary-color);
    color: var(--text-color);
    line-height: 1.7;
    overflow-x: hidden;
    padding-bottom: 80px;
}

/* --- ANIMATIONS DE CHARGEMENT --- */
.fade-in {
    opacity: 0;
    animation: fadeIn 1.2s ease-out forwards;
}

.fade-in-up {
    opacity: 0;
    animation: fadeInUp 1.2s ease-out 0.3s forwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

/* --- ANIMATIONS AU SCROLL --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

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

/* --- HEADER MOBILE --- */
header {
    background-color: var(--white);
    padding: 1px 20px; 
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 2px 20px rgba(0,0,0,0.02);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo-container img {
    height: 75px; 
    object-fit: contain;
}

.desktop-nav {
    display: none;
}

/* --- HERO SECTION MOBILE --- */
.hero {
    padding: 60px 20px 40px;
    text-align: center;
    background: linear-gradient(to bottom, var(--white), var(--primary-color));
}

.sur-titre {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-light);
    display: block;
    margin-bottom: 15px;
    font-weight: 500;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-color);
}

.hero p {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 30px;
}

.hide-on-mobile {
    display: none;
}

/* --- PRÉSENTATION (PORTFOLIO) --- */
.presentation-vitrine {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 20px 60px;
    text-align: center;
}

.presentation-vitrine h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: var(--text-color);
}

.presentation-vitrine p {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.8;
}

/* --- PORTFOLIO & FILTRES MOBILE --- */
.portfolio-section {
    padding: 60px 20px;
    text-align: center;
}

.portfolio-section h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 30px;
}

.filters-container {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 15px;
    margin-bottom: 20px;
    scrollbar-width: none;
}

.filters-container::-webkit-scrollbar {
    display: none;
}

.filters {
    display: flex;
    gap: 10px;
    width: max-content;
    margin: 0 auto;
    padding: 0 10px;
}

.filter-btn {
    background: transparent;
    border: 1px solid #DDD;
    padding: 10px 20px;
    border-radius: 30px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn.active {
    background-color: var(--text-color);
    color: var(--white);
    border-color: var(--text-color);
}

/* --- GRILLE D'IMAGES MOBILE --- */
.gallery {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.gallery-item {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease;
}

.gallery-item img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

/* --- INFOS PRATIQUES & CONTACT --- */
.infos-section {
    padding: 60px 20px;
    display: flex;
    justify-content: center;
    background-color: var(--white);
}

.infos-card {
    background-color: var(--primary-color);
    padding: 40px 20px;
    border-radius: var(--radius);
    width: 100%;
    text-align: center;
    border-top: 4px solid var(--accent-color);
}

.infos-card h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.adresse {
    font-weight: 600;
    margin: 15px 0;
}

.contact-action {
    margin: 30px 0;
    padding: 25px 20px;
    background-color: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
}

.contact-action p {
    font-weight: 500;
    margin-bottom: 15px;
    color: var(--text-color);
}

/* --- CONTACT WHATSAPP (REVISITÉ POUR LA DA) --- */
.btn-whatsapp-vitrine {
    display: inline-block;
    background-color: var(--text-color);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.btn-whatsapp-vitrine:hover {
    transform: translateY(-2px);
    background-color: var(--accent-color);
    color: var(--text-color);
    box-shadow: 0 8px 20px rgba(226, 181, 182, 0.4);
}

.insta-link {
    display: inline-block;
    margin-top: 10px;
    color: var(--text-color);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* --- STICKY CTA (Mobile) --- */
.sticky-cta-container {
    position: fixed;
    bottom: 20px;
    left: 0;
    width: 100%;
    padding: 0 20px;
    z-index: 999;
}

.sticky-cta {
    display: block;
    width: 100%;
    background-color: var(--text-color);
    color: var(--white);
    text-align: center;
    padding: 16px 0;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    transition: transform 0.2s;
}

.sticky-cta:active {
    transform: scale(0.98);
}

footer {
    text-align: center;
    padding: 30px 20px;
    font-size: 0.8rem;
    color: var(--text-light);
}

/* =========================================================
   ADAPTATION BUREAU (PC et Tablettes) 
   ========================================================= */
@media (min-width: 768px) {
    body {
        padding-bottom: 0;
    }

    header {
        flex-direction: row;
        padding: 0.5rem 5%; 
        justify-content: space-between; 
    }

    .logo-container img {
        height: 95px; 
    }

    .desktop-nav {
        display: flex;
        align-items: center;
        gap: 30px;
    }

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

    .desktop-nav a:hover {
        opacity: 0.7;
    }

    .btn-reserver-header {
        background-color: var(--accent-color);
        color: var(--text-color) !important;
        padding: 10px 24px;
        border-radius: 30px;
    }

    .btn-reserver-header:hover {
        opacity: 1 !important;
        background-color: var(--text-color);
        color: var(--white) !important;
    }

    .hero {
        padding: 120px 20px 80px;
    }

    .hero h1 {
        font-size: 3.5rem;
    }

    .hero p {
        font-size: 1.15rem;
    }

    .hide-on-mobile {
        display: inline-block;
        background-color: var(--text-color);
        color: var(--white);
        padding: 15px 40px;
        border-radius: 50px;
        text-decoration: none;
        font-weight: 500;
        transition: background-color 0.3s;
    }

    .hide-on-mobile:hover {
        background-color: var(--accent-color);
        color: var(--text-color);
    }

    /* RESPONSIVE : PRÉSENTATION */
    .presentation-vitrine {
        padding: 40px 20px 80px;
    }
    
    .presentation-vitrine h2 {
        font-size: 2.8rem;
    }

    .gallery {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
        gap: 30px;
    }

    .gallery-item {
        transition: transform 0.4s ease, box-shadow 0.4s ease;
    }

    .gallery-item:hover {
        transform: translateY(-8px);
        box-shadow: var(--shadow-hover);
    }

    .infos-card {
        padding: 60px;
    }

    .sticky-cta-container {
        display: none;
    }
}