:root {
    --bg-color: #F8F8F8;
    --text-color: #1a1a1a;
    --accent-color: #D8A389;
    --accent-hover: #BF8A70;
    --border-color: #e5e5e5;
}
body { font-family: 'Jost', sans-serif; margin: 0; background: var(--bg-color); color: var(--text-color); }
.container { max-width: 1300px; margin: 0 auto; padding: 100px 20px; }
h1, h2, h3 { font-weight: 400; }
a { text-decoration: none; color: var(--text-color); }

header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 1.5rem 2.5rem; background: #fff; border-bottom: 1px solid var(--border-color);
}
.logo { font-size: 1.8rem; font-weight: 600; position: absolute; left: 50%; transform: translateX(-50%); }
nav a, .header-icons a { margin: 0 15px; font-weight: 500; }

.hero {
    height: 80vh; background-image: url('interieur.jpg');
    background-size: cover; background-position: center; display: flex; align-items: center; justify-content: center;
}
.hero-content { text-align: center; background: rgba(255,255,255,0.7); padding: 40px; }
.hero h1 { font-size: 3rem; margin: 0; }
.hero p { font-size: 1.2rem; }
.btn {
    display: inline-block; background: var(--accent-color); color: #fff; padding: 12px 30px;
    margin-top: 20px; transition: background-color 0.3s;
}
.btn:hover { background-color: var(--accent-hover); }

.section-title { text-align: center; font-size: 2rem; font-weight: 500; margin-bottom: 50px; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.product-card { text-align: center; }
.product-card img { width: 100%; display: block; margin-bottom: 15px; }
.product-card h3 { font-size: 1.1rem; font-weight: 500; margin: 0; }
.product-card p { font-size: 1rem; color: #555; }

/* Product Page */
.product-page-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: flex-start; }
.product-gallery img { width: 100%; }
.product-details h1 { font-size: 2.5rem; margin-top: 0; }
.product-details .price { font-size: 1.5rem; color: var(--accent-color); font-weight: 500; }
.product-details .description { line-height: 1.8; }
.add-to-cart { width: 100%; padding: 15px; font-size: 1rem; border: none; cursor: pointer; }

footer { text-align: center; padding: 30px; border-top: 1px solid var(--border-color); font-size: 0.9rem; }
/* --- Styles pour la page Boutique --- */
.shop-header {
    text-align: center;
    padding: 0 0 60px 0;
}
.shop-header h1 {
    font-size: 2.8rem;
}
.shop-header p {
    font-size: 1.1rem;
    color: #555;
    max-width: 500px;
    margin: 10px auto 0 auto;
}

.shop-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 40px;
}

.filters h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
}
.filters ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.filters li {
    margin-bottom: 10px;
}
.filters a {
    color: var(--text-color);
    font-weight: 400;
}
.filters a:hover, .filters a.active-filter {
    color: var(--accent-color);
    font-weight: 600;
}
.filters select {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 0;
    background: #fff;
    font-family: 'Jost', sans-serif;
    font-size: 1rem;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 60px;
}
.pagination a {
    color: var(--text-color);
    padding: 10px 15px;
    border: 1px solid var(--border-color);
    transition: background-color 0.3s, color 0.3s;
}
.pagination a:hover, .pagination a.active {
    background-color: var(--accent-color);
    color: #fff;
    border-color: var(--accent-color);
}
/* --- Styles pour la page Notre Histoire --- */
.story-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.story-image img {
    width: 100%;
    height: auto;
    display: block;
}
.story-content h2 {
    font-size: 2rem;
    font-weight: 500;
    color: var(--text-color);
}
.story-content p {
    line-height: 1.8;
    color: #555;
}

/* --- Styles pour la page Journal --- */
.article-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.article-card {
    position: relative;
    display: block;
    color: #fff;
    overflow: hidden;
}
.article-card.featured {
    grid-column: 1 / -1; /* Prend toute la largeur */
}
.article-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.article-card:hover img {
    transform: scale(1.05);
}
.article-card .article-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
}
.article-card .category {
    display: inline-block;
    background: var(--accent-color);
    color: #fff;
    padding: 5px 12px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 10px;
    border-radius: 4px;
}
.article-card h3 {
    color: #fff;
    font-size: 1.8rem;
    margin: 0;
    line-height: 1.2;
}
.article-card.featured h3 {
    font-size: 2.5rem;
}
.article-card .excerpt {
    color: rgba(255,255,255,0.8);
    margin-top: 10px;
}
/* Style pour le lien de navigation actif */
header nav a.active {
    color: var(--accent-color);
    font-weight: 600;
}
/* --- Styles pour les Pages Légales --- */
.legal-content {
    max-width: 800px;
    margin: 0 auto; /* Centre le contenu */
    padding-top: 50px;
    padding-bottom: 50px;
}
.legal-content h1 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 40px;
}
.legal-content h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 40px;
    margin-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
}
.legal-content p, .legal-content ul {
    line-height: 1.8;
    color: #555;
}

/* --- Styles pour le footer légal --- */
footer .legal-links {
    margin: 15px 0;
}
footer .legal-links a {
    color: #777;
    text-decoration: none;
    font-size: 0.9rem;
    margin: 0 10px;
}
footer .legal-links a:hover {
    color: var(--text-color);
}

/* --- Styles pour la Bannière de Cookies --- */
#cookie-consent-banner {
    display: none; /* Caché par défaut */
    position: fixed;
    bottom: 20px;
    left: 20px;
    max-width: 400px;
    background-color: #fff;
    color: var(--text-color);
    padding: 25px;
    z-index: 1001;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
    border: 1px solid var(--border-color);
    border-radius: 12px;
}
#cookie-consent-banner p {
    margin: 0 0 20px 0;
    font-size: 0.9rem;
    line-height: 1.6;
}
#cookie-consent-banner a {
    color: var(--text-color);
    font-weight: 600;
    text-decoration: underline;
}
#cookie-consent-banner .btn {
    width: 100%;
    text-align: center;
}