﻿
/* ================= RESET ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #f9fafb;
}

/* ================= NAVBAR ================= */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #1f2937;
    padding: 20px 30px;
    color: white;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo img 
{
	
    height: 45px;
}

/* MENU */
.menu {
    list-style: none;
    display: flex;
    gap: 25px;
}

.menu li {
    position: relative;
}

.menu a {
    color: white;
    text-decoration: none;
    font-size: 15px;
    transition: 0.3s;
}

.menu a:hover {
    color: #f59e0b;
}

/* ================= DROPDOWN ================= */
.dropdown {
    position: relative;
}

.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #374151;
    list-style: none;
    padding: 10px 0;
    min-width: 220px;
    border-radius: 8px;

    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;

    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.dropdown:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.submenu li {
    padding: 10px 20px;
}

.submenu li a {
    display: block;
    color: white;
    font-size: 14px;
}

.submenu li:hover {
    background: #4b5563;
}

/* Anti bug espace */
.dropdown::after {
    content: "";
    position: absolute;
    top: 100%;
    width: 100%;
    height: 10px;
}

/* ================= HERO ================= */
/* ================= HERO ================= */
.hero {
    position: relative;
    height: 520px;
    background: url('/Images/hero-bg.webp') center/cover no-repeat;
   
}
.hero::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.0);
    top: 0;
    left: 0;
}
/* ================= LOGO ================= */
.hero-logo {
    position: absolute;
    top: 20px;
    left: 20px;

    width: 300px;
    height: 120px;
    object-fit: contain;

    z-index: 10;
}

/* ================= TEXTE CENTRÉ ================= */
.hero-center {
    position: absolute;
    top: 25%;
    left: 20%;
    transform: translateX(-50%);

    text-align: center;
    width: 100%;
    max-width: 900px;
    padding: 0 30px;
}

.hero-center h1 {
    color: white;
    font-size: 38px;
    margin-bottom: 10px;
    
}

.hero-center p {
    color: white;
    font-size: 18px;
}

/* ================= PRODUITS ================= */
.hero-products {
    position: absolute;
    bottom: 40px;
    left: 60%;
    transform: translateX(-50%);

    display: flex;
    align-items: flex-end;
}

/* ================= IMAGE PRODUIT ================= */
.product {
    width: 200px;

    opacity: 0;
    transform: translateY(80px);

    will-change: transform;

    transition:
        transform 1.6s cubic-bezier(.22,1,.36,1),
        opacity 1.6s ease,
        filter .8s ease;

    filter: 
        drop-shadow(0 25px 30px rgba(0,0,0,0.25))
        drop-shadow(0 10px 15px rgba(0,0,0,0.15));
}

/* CHEVAUCHEMENT */
.product:not(:first-child) {
    margin-left: -30px;
}

/* ================= CHEVAUCHEMENT ================= */
.product:nth-child(2),
.product:nth-child(3),
.product:nth-child(4) {
    margin-left: -30px; /* 🔥 effet groupé */
}

/* ================= APPARITION ================= */
.product.show {
    opacity: 1;
    transform: translateY(0);
}

/* ================= PROFONDEUR ================= */
.product:nth-child(2) {
    transform: scale(1.08);
    z-index: 3;
}

.product:nth-child(3) {
    transform: scale(1.05);
    z-index: 2;
}

.product:nth-child(1),
.product:nth-child(4) {
    z-index: 1;
}
/* HOVER */
.product:hover {
    transform: translateY(-10px) scale(1.05);

    filter: 
        drop-shadow(0 35px 50px rgba(0,0,0,0.35))
        drop-shadow(0 15px 20px rgba(0,0,0,0.2));
}



/* ================= PRODUITS ================= */
.produits {
    padding: 60px 20px;
    text-align: center;
}

.produits h2 {
    font-size: 28px;
    margin-bottom: 40px;
}

/* GRID */
.grid {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

/* CARD */
.card {
    width: 300px;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    transition: 0.3s;
    position: relative;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

/* ================= IMAGE DYNAMIQUE (SQL) ================= */
.img-box {
    height: 200px;
    position: relative;

    background-size: contain;   /* 🔥 IMPORTANT */
    background-position: center;
    background-repeat: no-repeat;

    transition: transform 0.4s ease;
}

/* Zoom image */
.card:hover .img-box {
    transform: scale(1.05);
}

/* Overlay pro */
.img-box::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(0,0,0,0.2);
    opacity: 0;
    transition: 0.3s;
}

.card:hover .img-box::after {
    opacity: 1;
}

/* CONTENT */
.content {
    padding: 20px;
}

.content h3 {
    margin-bottom: 10px;
}

.content p {
    color: #555;
    font-size: 14px;
    margin-bottom: 15px;
}

/* BOUTON */
.btn-card {
    background: #f59e0b;
    color: white;
    padding: 10px 15px;
    text-decoration: none;
    border-radius: 5px;
    display: inline-block;
    transition: 0.3s;
}

.btn-card:hover {
    background: #d97706;
}

/* ================= REFERENCES ================= */
.references {
    padding: 50px;
    background: #f3f4f6;
    text-align: center;
}

.logos img {
    width: 120px;
    margin: 10px;
    opacity: 0.7;
    transition: 0.3s;
}

.logos img:hover {
    opacity: 1;
    transform: scale(1.1);
}

/* ================= FOOTER ================= */
footer {
    background: #1f2937;
    color: white;
    text-align: center;
    padding: 25px;
}

/* ================= RESPONSIVE ================= */
.hamburger {
    display: none;
    font-size: 26px;
    cursor: pointer;
}

@media (max-width: 768px) {

    .hamburger {
        display: block;
    }

    .menu {
        display: none;
        flex-direction: column;
        background: #1f2937;
        position: absolute;
        top: 60px;
        right: 0;
        width: 220px;
        padding: 10px;
    }

    .menu.active {
        display: flex;
    }

    .submenu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        box-shadow: none;
    }

    .submenu.active {
        display: block;
    }

    /* HERO */
    .hero {
        height: 300px;
    }

    /* TEXTE */
    .hero-center {

        position: absolute;

        top: 90px;
        left: 50%;

        transform: translateX(-50%);

        width: 100%;

        text-align: center;

        z-index: 30;

        padding: 0 15px;
    }

    .hero-center h1 {

        font-size: 28px;

        line-height: 1.2;

        margin-bottom: 10px;

        padding: 0;

        color: white;
    }

    .hero-center p {

        font-size: 16px;

        line-height: 1.4;

        color: white;
    }

    /* PRODUITS */
    .hero-products {

        bottom: 10px;

        gap: 8px;
    }

    .product {
        width: 80px;
    }

    .armoire {
        width: 100px;
    }

    .rayonnage {
        width: 90px;
    }

    .bureau {
        width: 75px;
    }

    /* LOGO */
    .hero-logo {

        width: 120px;

        top: 15px;
        left: 15px;
    }


    .product:not(:first-child) {
        margin-left: -15px;
    }

    .grid {
        flex-direction: column;
        align-items: center;
    }
    
}
.grid-modeles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.card-modele {
    background: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.card-modele:hover {
    transform: translateY(-5px);
}

.img-modele {
    height: 150px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.prix {
    font-weight: bold;
    color: #0ea5e9;
    margin: 10px 0;
}

.btn-acheter {
    display: inline-block;
    padding: 10px 15px;
    background: #0ea5e9;
    color: white;
    border-radius: 5px;
    text-decoration: none;
}
/* ================= DETAIL PRODUIT TEXTE ================= */
.info-detail {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;

    font-family: 'Segoe UI', Arial, sans-serif;
    font-size: 20px;
    line-height: 30px;

    color: #334155;
    background: #f9fafb;
}

/* DESCRIPTION (contenu dynamique) */
.info-detail .content {
    font-size: 20px;
    line-height: 30px;
}

/* TITRE */
.info-detail .titre-produit {
    font-size: 34px;
    color: #0f172a;
    margin-bottom: 10px;
}

/* PARAGRAPHES issus du rich text */
.info-detail .content p {
    margin-bottom: 15px;
    text-align: justify;
}

/* TITRES CKEDITOR */
.info-detail .content h2 {
    font-size: 26px;
    margin-top: 25px;
    color: #0f172a;
}

.info-detail .content h3 {
    font-size: 22px;
    margin-top: 20px;
    color: #0ea5e9;
}

/* LISTES */
.info-detail .content ul {
    margin-left: 25px;
}
.btn-whatsapp {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 15px;
    background: #25D366;
    color: white;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.btn-whatsapp:hover {
    background: #1ebe5d;
    transform: scale(1.05);
}
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 25px;
    right: 25px;
    background-color: #25D366;
    color: white;
    font-size: 28px;
    text-align: center;
    line-height: 60px;
    border-radius: 50%;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    z-index: 999;
    transition: 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #1ebe5d;
}
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.whatsapp-float {
    animation: pulse 2s infinite;
}
.form input, .form textarea {
    width: 100%;
    padding: 10px;
    margin: 5px 0;
    border-radius: 5px;
    border: 1px solid #ccc;
}

.btn {
    background: #0ea5e9;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
/* TITRE PAGE */
.page-title {
    text-align: center;
    margin: 40px 0 20px 0;
}

/* H1 */
.page-title h1 {
    font-size: 32px;
    color: #0f172a;
    margin-bottom: 10px;
}

/* LIGNE */
.page-title .line {
    width: 70px;
    height: 4px;
    background: #0ea5e9;
    margin: 10px auto;
    border-radius: 5px;
}

/* SOUS TEXTE */
.page-title p {
    color: #64748b;
    font-size: 14px;
}
.contact-info {
    background: #ffffff;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    line-height: 1.8;
    font-size: 14px;
    color: #334155;
}
/* CONTAINER GLOBAL */
.contact-container {
    display: flex;
    gap: 30px;
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
}

/* COLONNE GAUCHE */
.contact-left {
    flex: 1;
}

/* COLONNE DROITE (MAP) */
.contact-right {
    flex: 1;
}

/* MAP */
.contact-right iframe {
    width: 100%;
    height: 100%;
    min-height: 400px;
    border: 0;
    border-radius: 10px;
}

/* FORMULAIRE */
.form input,
.form textarea {
    width: 100%;
    padding: 10px;
    margin: 8px 0;
    border-radius: 6px;
    border: 1px solid #ccc;
}

/* BOUTON */
.btn {
    background: #0ea5e9;
    color: white;
    padding: 10px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

/* MOBILE RESPONSIVE */
@media (max-width: 768px) {
    .contact-container {
        flex-direction: column;
    }
}
.content {
    max-width: 1200px;
    margin: 40px auto;
    line-height: 1.8;
    font-size: 16px;
    color: #334155;
}

.content img {
    max-width: 100%;
    border-radius: 10px;
}

.content iframe {
    width: 100%;
    min-height: 400px;
    border: 0;
}
.content h2 {
    margin-top: 30px;
    color: #0f172a;
}

.content h3 {
    margin-top: 15px;
    color: #0ea5e9;
}

.content p {
    margin: 8px 0;
    
}

.content ul {
    margin: 10px 0 20px 20px;
}
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;
    line-height: 60px;
    font-size: 26px;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    z-index: 999;
}
/* ================= TYPOGRAPHIE PRO (STYLE HELLOPRO) ================= */

.content p 
{
	line-height: 30px;
    font-size: 20px;
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #f9fafb;

}
.section-title {
    text-align: center;
    margin: 50px 0 30px 0;
}

/* TITRE */
.titre-section {
    font-size: 26px;
    font-weight: bold;
    color: #0f172a;
    margin-bottom: 10px;
}

/* LIGNE */
.ligne-section {
    width: 60px;
    height: 4px;
    background: #f59e0b; /* couleur différente pour varier */
    margin: 10px auto;
    border-radius: 5px;
}

/* SOUS-TITRE */
.sous-titre-section {
    font-size: 14px;
    color: #64748b;
}
/* video */

/* FIX GRID VIDEO RESPONSIVE */
.video-box {
    flex: 1 1 300px;   /* clé du problème */
    max-width: 350px;
    width: 100%;
}

/* éviter collapse */
.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}
/* footer */

footer a {
    text-decoration: none;   /* enlève le trait */
    color: inherit;          /* prend la couleur du parent */
}


footer a:hover, footer a:focus, footer a:visited { text-decoration: none; color: inherit; }
cursor: pointer;
