/* ==========================================================================
   STYLES DÉDIÉS À LA LANDING PAGE BOIS DE CHAUFFAGE
   ========================================================================== */

/* --- 1. Base et Polices --- */
:root {
    --lp-font-title: 'Montserrat', sans-serif;
    --lp-font-body: 'Roboto', sans-serif;
    --lp-color-primary: #E64A19;
    --lp-color-dark: #3E2723;
    --lp-color-text: #424242;
    --lp-color-light-bg: #F5F5F5;
    --lp-color-white: #FFFFFF;
    --lp-color-green: #4CAF50;
    --lp-border-radius: 12px;
    --lp-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

body {
    font-family: var(--lp-font-body);
    background-color: var(--lp-color-white);
    color: var(--lp-color-text);
    line-height: 1.7;
    margin: 0;
    padding-top: 50px;
}

h1, h2, h3 { font-family: var(--lp-font-title); color: var(--lp-color-dark); font-weight: 800; }
section { padding: 80px 5%; }
a { color: var(--lp-color-primary); text-decoration: none; }

/* --- 2. Bande d'Alerte --- */
.alert-band {
    position: fixed; top: 0; left: 0; width: 100%;
    background-color: var(--lp-color-primary); color: var(--lp-color-white);
    text-align: center; padding: 12px; font-weight: 500; z-index: 1000;
    transition: transform 0.3s ease-in-out; box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.alert-band.hidden { transform: translateY(-100%); }
.alert-band p { margin: 0; }

/* --- 3. Section Hero --- */
.lp-hero {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('images/hero.jpeg') center/cover no-repeat;
    color: var(--lp-color-white); text-align: center; padding: 60px 5% 80px;
}
.lp-logo { font-family: var(--lp-font-title); font-size: 1.5rem; font-weight: 700; margin-bottom: 40px; opacity: 0.8; }
.lp-hero h1 { font-size: 3.2rem; color: var(--lp-color-white); max-width: 800px; margin: 0 auto 15px; }
.lp-hero .subtitle { font-size: 1.2rem; max-width: 700px; margin: 0 auto 40px; opacity: 0.9; }
.cta-button {
    background-color: var(--lp-color-green); color: var(--lp-color-white); padding: 18px 40px;
    border-radius: 50px; text-decoration: none; font-size: 1.2rem; font-weight: 700;
    transition: transform 0.2s, box-shadow 0.2s; display: inline-block;
}
.cta-button:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0,0,0,0.2); }
.reassurance { margin-top: 40px; display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; opacity: 0.8; }
.reassurance span i { margin-right: 8px; color: var(--lp-color-green); }

/* --- 4. Section Produits (Grille Responsive Améliorée) --- */
.lp-products { background-color: var(--lp-light-bg); }
.lp-products h2 { text-align: center; font-size: 2.5rem; margin-bottom: 50px; }
.products-grid {
    display: grid; gap: 30px; max-width: 1400px; margin: 0 auto;
    grid-template-columns: repeat(4, 1fr); /* 4 colonnes par défaut */
}
.product-card {
    background-color: var(--lp-color-white); border-radius: var(--lp-border-radius);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05); overflow: hidden; display: flex;
    flex-direction: column; transition: transform 0.3s, box-shadow 0.3s;
}
.product-card:hover { transform: translateY(-8px); box-shadow: var(--lp-shadow); }
.product-img { height: 220px; background-size: cover; background-position: center; }
.product-info { padding: 25px; display: flex; flex-direction: column; flex-grow: 1; }
.product-info h3 { font-size: 1.4rem; margin-bottom: 10px; }
.product-info p { font-size: 0.95rem; color: #666; flex-grow: 1; margin-bottom: 20px; }
.product-info .price { font-size: 1.5rem; font-weight: 800; color: var(--lp-color-dark); margin-bottom: 20px; }
.product-btn {
    display: block; text-align: center; background-color: var(--lp-color-primary);
    color: var(--lp-color-white); padding: 12px; border-radius: 50px;
    font-weight: 700; transition: background-color 0.3s;
}
.product-btn:hover { background-color: #D84315; }
.accessories-link { text-align: center; margin-top: 40px; }
.accessories-link a:hover { text-decoration: underline; }

/* --- 5. Section Essences (Enrichie) --- */
.lp-essences { text-align: center; }
.lp-essences h2 { font-size: 2.5rem; margin-bottom: 15px; }
.lp-essences > p { max-width: 800px; margin: 0 auto 50px; }
.essence-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; max-width: 1300px; margin: 0 auto; }
.essence-card { background-color: var(--lp-light-bg); border-radius: var(--lp-border-radius); overflow: hidden; box-shadow: var(--lp-shadow); }
.essence-img { width: 100%; height: 200px; object-fit: cover; }
.essence-content { padding: 25px; }
.essence-slogan { font-style: italic; color: #777; margin-bottom: 15px; }

/* --- 6. Section Comparaison (Stylisée) --- */
.lp-comparison { background-color: var(--lp-light-bg); }
.lp-comparison h2 { text-align: center; font-size: 2.5rem; margin-bottom: 40px; }
.table-wrapper { max-width: 1000px; margin: 0 auto; overflow-x: auto; box-shadow: var(--lp-shadow); border-radius: var(--lp-border-radius); }
table { width: 100%; border-collapse: collapse; background: var(--lp-color-white); }
th, td { padding: 18px; text-align: center; border-bottom: 1px solid #e0e0e0; }
thead { background-color: var(--lp-color-dark); color: var(--lp-color-white); }
tbody tr:nth-child(even) { background-color: #f9f9f9; }
tbody tr:hover { background-color: #f0f0f0; }
tbody th { text-align: left; font-weight: 500; }
.value-high { color: #E67E22; font-weight: 700; }
.value-very-high { color: var(--lp-color-primary); font-weight: 700; }

/* --- 7. Section FAQ (Accordéon) --- */
.lp-faq h2 { text-align: center; font-size: 2.5rem; margin-bottom: 40px; }
.faq-container { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid #e0e0e0; }
.faq-question { display: flex; justify-content: space-between; align-items: center; cursor: pointer; padding: 20px 0; }
.faq-question h4 { margin: 0; font-size: 1.2rem; font-weight: 700; }
.faq-toggle i { transition: transform 0.3s ease; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease-out; }
.faq-answer p { padding: 0 0 20px 0; margin: 0; }
.faq-item.active .faq-answer { max-height: 200px; }
.faq-item.active .faq-toggle i { transform: rotate(180deg); }

/* --- 8. Section CTA Final --- */
.lp-cta-final { background-color: var(--lp-color-dark); color: var(--lp-color-white); text-align: center; }
.lp-cta-final h2 { color: var(--lp-color-white); font-size: 2.5rem; }
.lp-cta-final p { max-width: 600px; margin: 15px auto 30px; opacity: 0.9; }
.cta-button-final { background-color: var(--lp-color-green); color: var(--lp-color-white); padding: 18px 40px; border-radius: 50px; text-decoration: none; font-size: 1.2rem; font-weight: 700; transition: transform 0.2s, box-shadow 0.2s; display: inline-block; }
.cta-button-final:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0,0,0,0.2); }
.contact-info { margin-top: 30px !important; font-size: 0.9rem; opacity: 0.7 !important; }

/* --- 9. Responsivité --- */
@media (max-width: 1200px) {
    .products-grid { grid-template-columns: repeat(3, 1fr); } /* 3 colonnes sur tablette */
}
@media (max-width: 768px) {
    section { padding: 60px 5%; }
    .lp-hero h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem !important; }
    .products-grid { grid-template-columns: repeat(2, 1fr); } /* 2 colonnes sur mobile */
}
@media (max-width: 576px) {
    .products-grid { grid-template-columns: 1fr; } /* 1 colonne sur très petit écran si besoin, mais 2 est souvent mieux */
}
