/* =========================================
   HIMALAYA – FEUILLE DE STYLE UNIFIÉE
   ========================================= */

/* ---- 1. BASES ---- */
html, body {
    overflow-x: hidden;
    width: 100%;
}

body {
    margin: 0;
    font-family: 'Poppins', 'Helvetica Neue', Arial, sans-serif;
    background-color: #f5f0e6;
    color: #1a1a1a;
    line-height: 1.8;
    font-size: 1.4rem;
}

/* ---- 2. HEADER & NAVIGATION ---- */
header nav {
    background-image: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)),
                      url('../images/bois.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.logo-container {
    display: flex;
    align-items: center;
    background-color: rgba(245, 240, 230, 0.9);
    padding: 10px;
    border-radius: 8px;
    transition: transform 0.3s;
}

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

.menu {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.menu a {
    color: white;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.menu a:hover,
.menu a.active {
    color: #d99343;
}

/* ---- 3. ACCUEIL – INTRO & VIDÉO ---- */
.intro {
    text-align: center;
    padding: 4rem 15%;
}

.btn-decouvrir {
    display: inline-block;
    background-color: #a66555;
    color: white;
    padding: 15px 45px;
    border-radius: 35px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.4rem;
    margin: 25px 0;
    transition: background 0.3s;
}

.btn-decouvrir:hover {
    background-color: #8c4235;
}

.video-full-width {
    width: 100vw;
    position: relative;
    left: 50%;
    margin-left: -50vw;
    margin-top: 20px;
    margin-bottom: 40px;
    line-height: 0;
    overflow: hidden;
}

.video-boutique {
    width: 100%;
    height: auto;
    display: block;
}

/* ---- 4. SECTIONS ALTERNÉES (site 1) ---- */
.content-row {
    display: flex;
    align-items: center;
    padding: 3rem 10%;
    gap: 5rem;
}

.content-row.reverse {
    flex-direction: row-reverse;
}

.text-box {
    flex: 1;
}

.text-box h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.image-box {
    flex: 1;
    padding: 25px;
    transition: transform 0.4s;
}

.frame-red    { background-color: #8c4235; }
.frame-orange { background-color: #d99343; }
.frame-green  { background-color: #727a5c; }

.image-box img {
    width: 100%;
    display: block;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* ---- 5. PAGES SECONDAIRES ---- */
.page-header {
    text-align: center;
    padding: 3rem 10% 1rem;
}

.page-header h1 {
    color: #8c4235;
    font-size: 3rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 0.5rem;
}

.placeholder,
.contact-info p {
    font-size: 1.4rem;
}

.content-placeholder {
    text-align: center;
    padding: 3rem 10%;
}

.message-attente {
    border: 2px dashed #d99343;
    display: inline-block;
    padding: 2rem 4rem;
    border-radius: 8px;
    color: #8c4235;
}

.contact-info {
    padding: 2rem 10%;
}

/* ---- 6. SAVOIR-FAIRE (site 2) ---- */
.conteneur {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.hero {
    text-align: center;
    padding: 4rem 10%;
}

.hero h1 {
    color: #8c4235;
    font-size: 3rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.intro-text {
    font-size: 1.4rem;
    color: #1a1a1a;
    font-style: italic;
    max-width: 800px;
    margin: 0 auto;
}

.bloc-contenu {
    padding: 2rem 0;
}

.fond-beige {
    background-color: #ede8da;
}

.flex-row {
    display: flex;
    align-items: center;
    padding: 2rem 10%;
    gap: 5rem;
}

.inverse {
    flex-direction: row-reverse;
}

.col-texte,
.col-image {
    flex: 1;
}

.col-texte h2 {
    font-size: 2.2rem;
    color: #1a1a1a;
    text-transform: uppercase;
    border: none;
    padding: 0;
    margin-bottom: 1rem;
}

.col-image img {
    width: 100%;
    height: auto;
    display: block;
    padding: 20px;
    background-color: #8c4235;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    box-sizing: border-box;
}

.bloc-contenu:nth-child(even) .col-image img { background-color: #d99343; }
.bloc-contenu:nth-child(odd)  .col-image img { background-color: #727a5c; }

.section-finale {
    text-align: center;
    padding: 3rem 10%;
    background-color: #ede8da;
}

.section-finale h2 {
    color: #8c4235;
    font-size: 2.2rem;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.texte-centre {
    max-width: 860px;
    margin: 0 auto;
}

/* ---- 7. FOOTER ---- */
footer {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
                url('../images/bois.jpg') center / cover;
    color: white;
    padding: 60px 10%;
    margin-top: 50px;
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

.footer-col { flex: 1; }

.footer-col strong,
.footer-col p,
.footer-col a {
    display: block;
    font-size: 1.4rem !important;
    color: white !important;
    text-decoration: none;
    margin-bottom: 12px;
    font-weight: normal;
    line-height: 1.5;
}

/* ---- 8. RESPONSIVE ---- */
@media (max-width: 900px) {
    .menu {
        gap: 1.2rem;
    }
    .menu a {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    header nav {
        flex-direction: column;
        padding: 10px 0;
        gap: 15px;
    }

    .menu {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.8rem;
        padding: 0 5%;
    }

    .menu a {
        font-size: 0.95rem !important;
    }

    .logo-img {
        height: 60px;
    }

    .content-row,
    .content-row.reverse {
        flex-direction: column;
        padding: 2rem 5%;
        gap: 2rem;
    }

    .text-box {
        text-align: center;
    }

    .video-full-width {
        margin-left: -50vw;
    }

    .footer-grid {
        flex-direction: column;
        text-align: center;
    }

    .flex-row,
    .inverse {
        flex-direction: column !important;
        padding: 2rem 5%;
    }

    .col-texte,
    .col-image {
        width: 100% !important;
        margin-bottom: 30px;
    }

    .page-header h1 {
        font-size: 2.2rem;
        letter-spacing: 2px;
    }

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

/* ---- 9. GRILLE PRODUITS ---- */
.grille-produits {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 0 5%;
    gap: 40px 2%;
}

.produit {
    width: 30%;
    background: transparent;
}

.image-produit img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    object-position: center;
    display: block;
    padding: 15px;
    background-color: #8c4235;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
    transition: transform 0.3s;
    box-sizing: border-box;
}

.produit:nth-child(2n) .image-produit img { background-color: #d99343; }
.produit:nth-child(3n) .image-produit img { background-color: #727a5c; }
.produit:hover .image-produit img { transform: translateY(-5px); }

.info-produit {
    text-align: center;
    padding-top: 15px;
}

.info-produit h3 {
    color: #8c4235;
    font-size: 1.6rem;
    text-transform: uppercase;
    font-weight: bold;
    margin-bottom: 5px;
}

.info-produit p {
    font-size: 1.2rem;
    color: #555;
    margin: 0;
}

/* ---- 10. GRILLE GALERIE ---- */
.section-galerie {
    padding: 2.5rem 0;
}

.section-galerie h2 {
    text-align: center;
    color: #8c4235;
    font-size: 2.2rem;
    text-transform: uppercase;
    margin-bottom: 0.3rem;
}

.sous-titre-section {
    text-align: center;
    color: #777;
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.grille-photos {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 0 5%;
    gap: 20px 2%;
}

.cadre-photo {
    width: 30%;
    margin-bottom: 10px;
}

.cadre-photo img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
    padding: 12px;
    background-color: #8c4235;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    box-sizing: border-box;
}

.cadre-photo:nth-child(2n) img { background-color: #d99343; }
.cadre-photo:nth-child(3n) img { background-color: #727a5c; }
.cadre-photo:hover img { transform: translateY(-5px); }

/* ---- 11. PAGES LÉGALES ---- */
.legal-section, .contact-section {
    padding: 3rem 10%;
    max-width: 900px;
    margin: 0 auto;
}

.legal-section h2, .contact-section h2 {
    color: #8c4235;
    font-size: 1.8rem;
    text-transform: uppercase;
    margin-top: 2.5rem;
    margin-bottom: 0.5rem;
}

.legal-section p, .contact-section p {
    font-size: 1.3rem;
    line-height: 1.9;
    color: #333;
}

.legal-section ul {
    font-size: 1.3rem;
    line-height: 2;
    color: #333;
    padding-left: 2rem;
}

.date-maj {
    font-size: 1.1rem;
    color: #888;
    font-style: italic;
    margin-bottom: 2rem;
}

/* Contact map */
.contact-grid {
    display: flex;
    gap: 4rem;
    align-items: flex-start;
    padding: 2rem 10%;
}

.contact-info-col { flex: 1; }
.contact-map-col  { flex: 1.2; }

.contact-map-col iframe {
    width: 100%;
    height: 380px;
    border: 0;
    display: block;
}

.contact-link {
    display: inline-block;
    background-color: #a66555;
    color: white !important;
    padding: 10px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 1.2rem;
    margin: 6px 4px 0;
    transition: background 0.3s;
}

.contact-link:hover { background-color: #8c4235; }

/* Copyright footer */
.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.2);
    margin-top: 30px;
    padding-top: 20px;
    font-size: 1.1rem !important;
    color: rgba(255,255,255,0.7) !important;
}

/* ---- 12. RESPONSIVE COMPLÉMENTAIRE ---- */
@media (max-width: 768px) {
    .grille-produits, .grille-photos {
        display: block;
        padding: 0 5%;
    }
    .produit, .cadre-photo {
        width: 100% !important;
        margin-bottom: 30px;
    }
    .image-produit img, .cadre-photo img {
        height: 220px;
    }
    .contact-grid {
        flex-direction: column;
        padding: 1.5rem 5%;
        gap: 2rem;
    }
    .contact-map-col iframe {
        height: 280px;
    }
}
