/* ==========================================================================
   1. VARIABLES GLOBALES & THÈME
   ========================================================================== */
:root {
    --vert-jungle: #1b2e1a;
    --vert-mousse: #2e592b;
    --vert-petant: #25e236;       
    --vert-clair: #4e704b;
    --beige-bois: #e8e4d9;        
    --ivoire-texte: #ffffff;
    
    /* Couleur du fond global */
    --noir-fond: #506e4c;                                    
    
    /* NOUVEAU DÉGRADÉ : De blanc-verdi à vert très sombre */
    --fond-carte: linear-gradient(160deg, #eaf5ea 0%, #4a6d46 45%, #1a2e19 100%); 
    --bordure-carte: #6b8e67;                                
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 15px;
}

body {
    background-color: var(--noir-fond);
    color: var(--ivoire-texte);
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ==========================================================================
   2. HEADER & NAVIGATION
   ========================================================================== */
.main-header {
    background-color: rgba(22, 37, 20, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding: 10px 30px;
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo-container {
    flex: 1;
}

.logo-container a {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 50px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    flex: 2;
}

.nav-links a {
    font-size: 14px;
    font-weight: 600;
    color: #e5a823;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.2s ease, text-shadow 0.2s ease;
}

.nav-links a:hover {
    color: var(--vert-petant);
    text-shadow: 0 0 6px rgba(37, 226, 54, 0.5);
}

.main-header::after {
    content: "";
    flex: 1;
}

/* ==========================================================================
   3. BANNIÈRE & LOGO AGRANDI
   ========================================================================== */
.hero-banner {
    background: linear-gradient(rgba(0, 0, 0, 0.35), rgba(15, 25, 15, 0.55)), 
                url('../images/banniere.png') center/cover no-repeat;
    padding: 30px 20px;
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-content {
    max-width: 750px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-logo {
    max-height: 160px; 
    width: auto;
    margin-bottom: 15px;
    filter: drop-shadow(0px 4px 10px rgba(0, 0, 0, 0.7));
}

.hero-subtitle {
    font-size: 18px;
    color: #f0ebd8;
    font-weight: 500;
    letter-spacing: 1px;
    text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.8);
}

/* ==========================================================================
   4. STRUCTURE DE PAGE
   ========================================================================== */
.main-body {
    flex: 1;
    padding: 40px 20px;
    max-width: 1140px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.title-card {
    text-align: center;
    margin-bottom: 30px;
    width: 100%;
}

.title-card h2 {
    font-family: 'Playfair Display', serif;
    font-size: 30px;
    color: #ffffff;
    margin-bottom: 8px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.section-subtitle {
    font-size: 15px;
    color: #f0ebd8;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(250px, 1fr));
    gap: 25px;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto 35px auto;
    justify-content: center;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
    width: 100%;
}

.category-section {
    background-color: var(--beige-bois) !important;
    border: 1px solid #d1ccc0 !important;
    border-radius: 10px !important;
    padding: 25px 20px !important;
    margin-bottom: 35px !important;
    width: 100%;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15) !important;
}

.category-section h2, 
.category-section h3 {
    color: #1a2e19 !important;
    font-family: 'Playfair Display', serif !important;
    font-size: 22px !important;
    margin-bottom: 20px !important;
}

/* ==========================================================================
   5. CARTES PRODUITS
   ========================================================================== */
.product-card, .produit-item, .feature-card {
    background: var(--fond-carte) !important;
    border: 1px solid var(--bordure-carte) !important;
    border-radius: 12px !important;
    padding: 22px 18px !important;
    text-align: center !important;
    color: #ffffff !important;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25) !important;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease !important;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    
    /* Propriétés ajoutées pour contenir le bandeau "Bientôt disponible" */
    position: relative;
    overflow: hidden;
}

.product-card:hover, .produit-item:hover, .feature-card:hover {
    transform: translateY(-6px) !important;
    border-color: var(--vert-petant) !important;
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.35) !important;
}

.product-card img, .produit-item img {
    max-width: 100%;
    height: 160px;
    object-fit: contain;
    border-radius: 5px;
    margin-bottom: 12px;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.15)); 
}

.product-card h3, 
.produit-item h3, 
.product-title,
.feature-card h3 {
    color: #ffffff !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    margin-bottom: 10px !important;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.8);
}

.product-card p, 
.produit-item p, 
.product-description,
.feature-card p {
    color: #f7f5f0 !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
    margin-bottom: 15px !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

.product-price {
    color: #fce288 !important;
    font-weight: 800 !important;
    font-size: 16px !important;
    margin-bottom: 15px !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

/* ==========================================================================
   6. BOUTONS PREMIUM ("Commander" / "À Venir")
   ========================================================================== */
.btn-primary, 
.btn-commander, 
button.btn, 
.btn-commander-styled {
    display: inline-block;
    background: linear-gradient(135deg, #34d058 0%, #218838 100%) !important;
    color: #ffffff !important;
    padding: 12px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 800;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border: none !important;
    cursor: pointer;
    box-shadow: 0 6px 15px rgba(33, 136, 56, 0.4), inset 0 2px 2px rgba(255, 255, 255, 0.2);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    margin: 0 auto;
    width: fit-content;
}

.btn-primary:hover, 
.btn-commander:hover, 
button.btn:hover,
.btn-commander-styled:hover {
    background: linear-gradient(135deg, #3deb64 0%, #28a745 100%) !important;
    color: #ffffff !important;
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 10px 20px rgba(33, 136, 56, 0.6), inset 0 2px 2px rgba(255, 255, 255, 0.3);
}

.btn-a-venir, 
.btn-disabled {
    display: inline-block;
    background: linear-gradient(135deg, #8ba888 0%, #5d755a 100%) !important;
    color: #ffffff !important;
    padding: 12px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 800;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border: none !important;
    cursor: not-allowed;
    box-shadow: 0 4px 10px rgba(93, 117, 90, 0.3), inset 0 2px 2px rgba(255, 255, 255, 0.1);
    margin: 0 auto;
    width: fit-content;
}

/* ==========================================================================
   7. FOOTER 
   ========================================================================== */
.main-footer-wood {
    width: 100%;
    margin-top: 40px;
    background-color: #506e4c !important; 
    background-image: url('../images/texture-bouton-bois.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    
    padding: 45px 20px 20px 20px;
    border-top: none !important;
    box-shadow: none; /* Ombre retirée pour une transition invisible */
}

.footer-container {
    max-width: 950px;
    margin: 0 auto 30px auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    justify-content: center;
    text-align: center;
}

.footer-col {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-col h4 {
    font-family: 'Playfair Display', serif;
    font-size: 19px;
    margin-bottom: 14px;
    color: #ffffff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.9);
}

.footer-col p, .footer-contact-item {
    font-size: 13px;
    line-height: 1.6;
    color: #f7f5f0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.9);
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul li a {
    color: #f7f5f0;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.9);
    transition: color 0.2s ease;
}

.footer-col ul li a:hover {
    color: var(--vert-petant);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.25);
    padding-top: 15px;
    max-width: 950px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    color: #e2ded0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.9);
}

.footer-bottom-links a {
    color: #e2ded0;
    text-decoration: none;
    margin-left: 12px;
}

.footer-bottom-links a:hover {
    color: #ffffff;
}

/* Responsivité */
@media (max-width: 850px) {
    .features-grid,
    .footer-container {
        grid-template-columns: 1fr;
        max-width: 450px;
    }
}

/* ==========================================================================
   8. BANDEAU "BIENTÔT DISPONIBLE"
   ========================================================================== */
.badge-bientot {
    position: absolute;
    top: 22px;
    right: -45px;
    background-color: #e5a823;
    color: #1a2e19;
    padding: 6px 45px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    transform: rotate(45deg);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.4);
    z-index: 10;
    letter-spacing: 1px;
    text-align: center;
}