/* --- 1. BASES & TYPOGRAPHIE --- */
:root {
    --accent: #5B8374;      /* Vert Sauge */
    --gold: #C5A059;        /* Or Vieilli */
    --bg-sand: #F9F6F2;     /* Sable Doux */
    --text-dark: #1a1a1a;
    --text-light: #666666;
    --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-dark);
    background-color: #fff;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4, .logo-text, .serif-quote {
    font-family: 'Playfair Display', serif;
    font-weight: 400;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

/* Suppression visuelle du gras selon la charte Gabriel */
strong, b {
    font-weight: 400;
}

/* --- 2. HEADER & NAVIGATION MOBILE (BURGER) --- */
.site-header {
    width: 100%;
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.announcement-bar {
    background: var(--bg-sand);
    text-align: center;
    padding: 8px;
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
}

.header-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 8%;
    max-width: 1600px;
    margin: 0 auto;
    position: relative;
}

.menu-toggle {
    display: none; /* Masqué sur desktop */
    flex-direction: column;
    justify-content: space-between;
    width: 25px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1002;
}

.menu-toggle .bar {
    width: 100%;
    height: 1px;
    background-color: var(--text-dark);
    transition: all 0.3s ease;
}

.nav-left, .nav-right {
    display: flex;
    gap: 30px;
    flex: 1;
}

.nav-right { justify-content: flex-end; }

.nav-left a, .nav-right a {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.7;
}

.nav-left a:hover, .nav-right a:hover { opacity: 1; color: var(--accent); }

.logo-center {
    text-align: center;
    flex: 0;
    min-width: 200px;
}

.logo-text {
    font-size: 1.8rem;
    margin: 0;
    color: inherit;
}

.logo-center span {
    font-size: 0.6rem;
    letter-spacing: 4px;
    display: block;
    margin-top: 5px;
    opacity: 0.6;
}

/* --- 3. STRUCTURES HERO & SECTIONS --- */
.hero-asymmetric {
    padding: 80px 8%;
    background: #fff;
}

.grid-hero {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 60px;
    max-width: 1400px;
    margin: 0 auto;
}

.hero-img img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.hero-card {
    padding: 60px;
    background: var(--bg-sand);
    margin-left: -150px;
    position: relative;
    z-index: 2;
}

.subtitle {
    display: block;
    font-size: 0.7rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 20px;
}

/* --- 4. GRILLES DE CONTENU (BOUTIQUE & JOURNAL) --- */
.product-section {
    padding: 100px 0;
}

.clean-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    padding: 0 8%;
    max-width: 1400px;
    margin: 0 auto;
}

.product-item {
    text-align: center;
    transition: var(--transition);
}

.img-container {
    overflow: hidden;
    margin-bottom: 25px;
    background: var(--bg-sand);
}

.img-container img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    transition: transform 1.2s ease;
}

.product-item:hover img {
    transform: scale(1.05);
}

.price {
    color: var(--accent);
    margin: 10px 0 20px;
    font-size: 1.1rem;
}

/* --- 5. COMPOSANTS RÉCURRENTS --- */
.btn-pill {
    display: inline-block;
    padding: 15px 35px;
    border: 1px solid var(--text-dark);
    font-size: 0.65rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: var(--transition);
    cursor: pointer;
    background: transparent;
}

.btn-pill:hover {
    background: var(--text-dark);
    color: #fff;
}

.serif-quote {
    font-size: 2.2rem;
    font-style: italic;
    text-align: center;
    padding: 100px 15%;
    line-height: 1.3;
}

.content-narrow {
    max-width: 750px;
    margin: 0 auto;
    padding: 0 20px;
}

.dropcap::first-letter {
    font-family: 'Playfair Display', serif;
    font-size: 4.5rem;
    float: left;
    margin-right: 15px;
    line-height: 1;
    color: var(--gold);
}

/* --- 6. FOOTER --- */
.site-footer {
    padding: 100px 8% 60px;
    background: var(--bg-sand);
    text-align: center;
}

.footer-inner p {
    font-size: 0.8rem;
    opacity: 0.6;
}

/* --- 7. RESPONSIVE (SMARTPHONE) --- */
@media (max-width: 1024px) {
    .grid-hero { grid-template-columns: 1fr; }
    .hero-card { margin-left: 0; margin-top: -80px; padding: 40px; }
    .clean-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .menu-toggle { display: flex; } /* Affiche le burger */
    
    .nav-left, .nav-right {
        position: fixed;
        left: -100%;
        top: 0;
        width: 100%;
        height: 100vh;
        background: #fff;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.4s ease;
        z-index: 1001;
        gap: 30px;
    }

    /* Fusion des menus quand actif */
    .nav-left.active, .nav-right.active {
        left: 0;
    }

    /* Décalage pour voir tous les liens */
    .nav-right.active {
        top: 50%;
        height: 50vh;
        background: var(--bg-sand);
    }
    .nav-left.active {
        height: 50vh;
    }

    .nav-left a, .nav-right a {
        font-size: 1.3rem;
        font-family: 'Playfair Display', serif;
        text-transform: none;
    }

    /* Animation Burger vers Croix */
    .menu-toggle.active .bar:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
    .menu-toggle.active .bar:nth-child(2) { opacity: 0; }
    .menu-toggle.active .bar:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }

    .logo-center { min-width: auto; }
    .logo-text { font-size: 1.4rem; }

    .clean-grid { grid-template-columns: 1fr; }
    .serif-quote { font-size: 1.6rem; padding: 60px 8%; }
    .hero-asymmetric { padding: 40px 5%; }
}
/* --- Style du Popup --- */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* Fond sombre transparent */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease-in-out;
}

.popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    background: #fff;
    padding: 50px 40px;
    max-width: 450px;
    width: 90%;
    text-align: center;
    position: relative;
    border-radius: 2px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    transform: translateY(20px);
    transition: transform 0.5s ease;
}

.popup-overlay.active .popup-content {
    transform: translateY(0);
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #999;
    line-height: 1;
}

.popup-close:hover {
    color: #333;
}