/*==================================================
        MAISON DERNIER HOMMAGE
        STYLE.CSS VERSION 3.0
==================================================*/


/*==============================
        RESET
==============================*/

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

html{
    scroll-behavior:smooth;
}

body{
    font-family:"Poppins",sans-serif;
    background:#f8f8f8;
    color:#333;
    line-height:1.7;
    overflow-x:hidden;
}


/*==============================
        VARIABLES
==============================*/

:root{

    --primary:#0b2d48;
    --secondary:#c8a96a;
    --white:#ffffff;
    --light:#f8f8f8;
    --dark:#222;
    --text:#555;

    --shadow:0 10px 30px rgba(0,0,0,.10);
    --shadow-hover:0 20px 45px rgba(0,0,0,.18);

    --radius:18px;

    --transition:.35s ease;

}


/*==============================
        CONTENEUR
==============================*/

.container{

    width:90%;
    max-width:1200px;
    margin:auto;

}


/*==============================
        ELEMENTS GENERAUX
==============================*/

img{

    display:block;
    width:100%;
    height:auto;

}

a{

    text-decoration:none;
    color:inherit;

}

ul{

    list-style:none;

}

button{

    font-family:inherit;

}


/*==============================
        TITRES
==============================*/

h1,
h2,
h3,
h4{

    color:var(--primary);
    line-height:1.3;

}

h2{

    font-size:2.3rem;
    margin-bottom:20px;

}

.section-title{

    display:inline-block;

    color:var(--secondary);

    font-size:.95rem;

    font-weight:600;

    letter-spacing:1px;

    text-transform:uppercase;

    margin-bottom:15px;

}

.section-description{

    max-width:700px;

    margin:15px auto 50px;

    color:var(--text);

}


/*==============================
        HEADER
==============================*/

.header{

    position:fixed;

    top:0;
    left:0;

    width:100%;

    background:rgba(11,45,72,.97);

    backdrop-filter:blur(8px);

    z-index:1000;

    box-shadow:0 5px 20px rgba(0,0,0,.15);

    transition:.35s;

}

.header.scrolled{

    background:rgba(11,45,72,.99);

    box-shadow:0 12px 30px rgba(0,0,0,.22);

}

.header .container{

    display:flex;

    justify-content:space-between;

    align-items:center;

    height:85px;

    transition:height .35s;

}

.header.scrolled .container{

    height:75px;

}


/*==============================
        LOGO
==============================*/

.logo{

    display:flex;

    align-items:center;

    gap:15px;

}

.logo img{

    width:65px;

}

.logo-text h1{

    color:#fff;

    font-size:1.25rem;

    margin-bottom:2px;

}

.logo-text span{

    color:#ddd;

    font-size:.82rem;

}


/*==============================
        MENU
==============================*/

.navbar ul{

    display:flex;

    gap:30px;

}

.navbar a{

    color:#fff;

    font-weight:500;

    position:relative;

    transition:.3s;

}

.navbar a:hover{

    color:var(--secondary);

}

.navbar a::after{

    content:"";

    position:absolute;

    left:0;

    bottom:-6px;

    width:0;

    height:2px;

    background:var(--secondary);

    transition:.3s;

}

.navbar a:hover::after{

    width:100%;

}


/*==============================
        MENU MOBILE
==============================*/

.menu-toggle{

    width:40px;

    height:35px;

    display:none;

    flex-direction:column;

    justify-content:space-between;

    background:none;

    border:none;

    cursor:pointer;

}

.menu-toggle span{

    width:100%;
    height:3px;

    background:#fff;

    border-radius:5px;

    transition:.3s;

}

.menu-toggle.open span:nth-child(1){

    transform:translateY(16px) rotate(45deg);

}

.menu-toggle.open span:nth-child(2){

    opacity:0;

}

.menu-toggle.open span:nth-child(3){

    transform:translateY(-16px) rotate(-45deg);

}


/*==============================
        RESPONSIVE HEADER
==============================*/

@media(max-width:900px){

.header .container{

    height:75px;

}

.logo img{

    width:52px;

}

.logo-text h1{

    font-size:1rem;

}

.logo-text span{

    display:none;

}

.menu-toggle{

    display:flex;

}

.navbar{

    position:absolute;

    top:75px;

    left:0;

    width:100%;

    background:var(--primary);

    max-height:0;

    overflow:hidden;

    transition:max-height .4s ease;

}

.navbar.active{

    max-height:420px;

}

.navbar ul{

    flex-direction:column;

    gap:0;

}

.navbar li{

    border-top:1px solid rgba(255,255,255,.08);

}

.navbar a{

    display:block;

    padding:18px 25px;

}

}

/*==============================
        PAGE BANNER
==============================*/

.page-banner{

    padding:170px 0 90px;
    background:linear-gradient(135deg,#0b2d48,#153d5f);
    text-align:center;
    color:#fff;

}

.page-banner h1{

    color:#fff;
    font-size:3rem;
    margin:15px 0 20px;
    line-height:1.2;

}

.page-banner h2{

    color:#fff;
    font-size:2.8rem;
    margin-bottom:20px;
    max-width:700px;
    margin-left:auto;
    margin-right:auto;

}

.page-banner p{

    max-width:750px;
    margin:auto;
    color:rgba(255,255,255,.92);

}


/*==============================
        HERO COMMUN
==============================*/

.hero{

    position:relative;
    overflow:hidden;
    padding:170px 0 100px;
    background:linear-gradient(135deg,#0b2d48,#153d5f);

}

.hero-overlay{

    position:absolute;
    inset:0;
    background:rgba(0,0,0,.35);

}

.hero-content{

    position:relative;
    z-index:2;

    display:grid;
    grid-template-columns:1.1fr .9fr;
    align-items:center;
    gap:60px;

}

.hero-text{

    color:#fff;

}

.hero-badge{

    display:inline-block;

    padding:10px 18px;

    border-radius:50px;

    background:rgba(255,255,255,.15);

    border:1px solid rgba(255,255,255,.20);

    color:#fff;

    font-size:.9rem;

    margin-bottom:25px;

}

.hero-text h1{

    color:#fff;

    font-size:2.8rem;

    line-height:1.25;

    max-width:650px;

    margin-bottom:12px;

}

.hero-text h2{

    color:rgba(255,255,255,.92);

    font-size:1.25rem;

    font-weight:400;

    line-height:1.5;

    margin-bottom:22px;

}

.hero-text p{

    color:#f1f1f1;

    max-width:620px;

    margin-bottom:35px;

}

.hero-image{

    display:flex;
    justify-content:center;
    align-items:center;

}

.hero-image img{

    width:100%;
    max-width:500px;

    border-radius:20px;

    box-shadow:0 20px 45px rgba(0,0,0,.35);

    transition:.45s;

}

.hero-image img:hover{

    transform:scale(1.03);

}


/*==============================
        HERO SERVICES
==============================*/

.hero-services .hero-content{

    grid-template-columns:1.1fr .9fr;

}


/*==============================
        HERO CERCUEILS
==============================*/

.hero-cercueils .hero-content{

    grid-template-columns:1.1fr .9fr;

}


/*==============================
        BOUTONS
==============================*/

.hero-buttons,
.cta-buttons{

    display:flex;
    gap:20px;
    flex-wrap:nowrap;
    align-items:center;

}

.btn{

    display:inline-flex;

    justify-content:center;

    align-items:center;

    padding:15px 30px;

    border-radius:50px;

    font-weight:600;

    transition:.35s;

}

.btn-primary{

    background:var(--secondary);

    color:#fff;

    box-shadow:0 10px 25px rgba(200,169,106,.35);

}

.btn-primary:hover{

    transform:translateY(-4px);

}

.btn-outline{

    border:2px solid #fff;

    color:#fff;

}

.btn-outline:hover{

    background:#fff;

    color:var(--primary);

}


/*==============================
        SECTIONS
==============================*/

.presentation,
.services,
.collections,
.atelier,
.why-us,
.cta{

    padding:100px 0;

}

.presentation .container,
.atelier .container{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:70px;

    align-items:center;

}

.presentation-image,
.atelier-image{

    overflow:hidden;

    border-radius:20px;

}

.presentation-image img,
.atelier-image img{

    border-radius:20px;

    box-shadow:var(--shadow);

    transition:.5s;

}

.presentation-image:hover img,
.atelier-image:hover img{

    transform:scale(1.05);

}

/*==============================
        SERVICES
==============================*/

.services-grid{

    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
    gap:30px;
    margin-top:50px;

}

.service-card{

    background:#fff;
    border-radius:20px;
    overflow:hidden;
    box-shadow:var(--shadow);
    transition:.4s;

}

.service-card:hover{

    transform:translateY(-10px);
    box-shadow:var(--shadow-hover);

}

.service-card img{

    width:100%;
    height:240px;
    object-fit:cover;
    transition:.6s;

}

.service-card:hover img{

    transform:scale(1.08);

}

.service-card h3{

    padding:25px 25px 10px;

}

.service-card p{

    padding:0 25px 30px;
    color:var(--text);

}


/*==============================
        COLLECTIONS
==============================*/

.collections{

    background:#f4f6f9;

}

.collections-grid{

    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
    gap:35px;
    margin-top:50px;

}

.collection-card{

    background:#fff;
    border-radius:20px;
    overflow:hidden;
    box-shadow:var(--shadow);
    transition:.4s;

}

.collection-card:hover{

    transform:translateY(-10px);
    box-shadow:var(--shadow-hover);

}

.collection-card img{

    width:100%;
    height:260px;
    object-fit:cover;
    transition:.6s;

}

.collection-card:hover img{

    transform:scale(1.08);

}

.collection-content{

    padding:28px;

}

.collection-content h3{

    margin-bottom:15px;

}

.collection-content p{

    color:var(--text);
    margin-bottom:20px;

}

.collection-content ul{

    padding-left:18px;

}

.collection-content li{

    margin-bottom:10px;
    color:var(--text);

}


/*==============================
        POURQUOI NOUS
==============================*/

.why-grid{

    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:30px;
    margin-top:50px;

}

.why-card{

    background:#fff;
    border-radius:20px;
    padding:40px 30px;
    text-align:center;
    box-shadow:var(--shadow);
    transition:.4s;

}

.why-card:hover{

    transform:translateY(-10px);
    box-shadow:var(--shadow-hover);

}

.why-icon{

    width:80px;
    height:80px;
    margin:0 auto 25px;
    border-radius:50%;
    display:flex;
    justify-content:center;
    align-items:center;
    background:var(--primary);
    color:#fff;
    font-size:32px;
    transition:.35s;

}

.why-card:hover .why-icon{

    background:var(--secondary);
    transform:rotate(8deg);

}

.why-card h3{

    margin-bottom:15px;

}

.why-card p{

    color:var(--text);

}


/*==============================
        CTA
==============================*/

.cta{

    background:linear-gradient(135deg,var(--primary),#18476f);
    color:#fff;
    text-align:center;

}

.cta h2{

    color:#fff;
    margin-bottom:20px;

}

.cta p{

    max-width:700px;
    margin:0 auto 35px;
    color:rgba(255,255,255,.90);

}

.cta-buttons{

    justify-content:center;

}


/*==============================
        FOOTER
==============================*/

.footer{

    background:#091f33;
    color:#ddd;
    padding:80px 0 25px;

}

.footer-grid{

    display:grid;
    grid-template-columns:2fr 1fr 1.3fr;
    gap:50px;

}

.footer-logo{

    width:85px;
    margin-bottom:20px;

}

.footer h3{

    color:#fff;
    margin-bottom:20px;

}

.footer p{

    margin-bottom:12px;
    line-height:1.8;

}

.footer ul li{

    margin-bottom:14px;

}

.footer ul li a{

    transition:.3s;

}

.footer ul li a:hover{

    color:var(--secondary);
    padding-left:6px;

}

.footer i{

    color:var(--secondary);
    width:22px;
    margin-right:8px;

}

.footer-bottom{

    margin-top:55px;
    padding-top:25px;
    border-top:1px solid rgba(255,255,255,.10);
    text-align:center;
    color:#aaa;
    font-size:.95rem;

}

/*==================================================
        RESPONSIVE
==================================================*/

@media (max-width:900px){

    .page-banner{
        padding:140px 0 70px;
    }

    .page-banner h1{
        font-size:2.2rem;
    }

    .page-banner h2{
        font-size:2rem;
    }

    .hero{
        padding:140px 0 70px;
    }

    .hero-content,
    .hero-services .hero-content,
    .hero-cercueils .hero-content{

        grid-template-columns:1fr;
        text-align:center;
        gap:35px;

    }

    .hero-text h1{

        font-size:2rem;
        max-width:100%;
        white-space:normal;

    }

    .hero-text h2{

        font-size:1.2rem;

    }

    .hero-text p{

        max-width:100%;
        margin:0 auto 30px;

    }

    .hero-buttons{

        flex-direction:column;
        align-items:center;
        flex-wrap:wrap;

    }

    .hero-buttons .btn{

        width:100%;
        max-width:320px;

    }

    .hero-image{

        margin-top:10px;

    }

    .hero-image img{

        max-width:420px;

    }

    .presentation .container,
    .atelier .container{

        grid-template-columns:1fr;

    }

    .presentation-content,
    .atelier-content{

        text-align:center;

    }

    .presentation-image{

        order:-1;

    }

    .collections-grid,
    .services-grid,
    .why-grid,
    .footer-grid{

        grid-template-columns:1fr;

    }

    .footer{

        text-align:center;

    }

    .footer-logo{

        margin:0 auto 20px;

    }

}


@media (max-width:768px){

    .container{

        width:92%;

    }

    h2{

        font-size:1.8rem;

    }

    .hero-text h1{

        font-size:1.8rem;

    }

    .hero-text h2{

        font-size:1.1rem;

    }

    .presentation,
    .services,
    .collections,
    .atelier,
    .why-us,
    .cta{

        padding:70px 0;

    }

    .service-card img,
    .collection-card img{

        height:220px;

    }

}


@media (max-width:480px){

    .logo-text h1{

        font-size:.9rem;

    }

    .section-title{

        font-size:.8rem;

    }

    .hero-text h1{

        font-size:1.65rem;

    }

    .hero-text h2{

        font-size:1rem;

    }

    .hero-badge{

        font-size:.8rem;

    }

    .why-card,
    .service-card,
    .collection-card{

        border-radius:15px;

    }

}


/*==================================================
        BOUTONS FLOTTANTS
==================================================*/

#whatsappButton{

    position:fixed;
    left:25px;
    bottom:25px;

    width:65px;
    height:65px;

    border-radius:50%;

    display:flex;
    justify-content:center;
    align-items:center;

    background:#25D366;

    box-shadow:0 10px 30px rgba(0,0,0,.25);

    z-index:999;

    transition:.35s;

}

#whatsappButton:hover{

    transform:translateY(-5px);

}

#whatsappButton i{

    font-size:36px;

    color:#fff;

}


#backToTop{

    position:fixed;

    right:25px;
    bottom:25px;

    width:60px;
    height:60px;

    border:none;
    border-radius:50%;

    background:var(--primary);

    color:#fff;

    display:flex;
    justify-content:center;
    align-items:center;

    cursor:pointer;

    opacity:0;
    visibility:hidden;

    transition:.35s;

    z-index:999;

}

#backToTop.show{

    opacity:1;
    visibility:visible;

}

#backToTop:hover{

    background:var(--secondary);

}


/*==================================================
        ANIMATIONS
==================================================*/

.fade-in{

    opacity:0;
    transform:translateY(50px);
    filter:blur(6px);

    transition:
    opacity .8s ease,
    transform .8s ease,
    filter .8s ease;

}

.fade-in.show{

    opacity:1;
    transform:translateY(0);
    filter:blur(0);

}

/*==============================
        GALERIE
==============================*/

.gallery-section{

    padding:100px 0;

}

.gallery-grid{

    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(350px,1fr));
    gap:35px;
    margin-top:45px;

}

.gallery-item{

    overflow:hidden;
    border-radius:20px;
    background:#fff;
    box-shadow:var(--shadow);
    transition:.4s;

}

.gallery-item:hover{

    transform:translateY(-8px);
    box-shadow:0 20px 45px rgba(0,0,0,.18);

}

.gallery-item img{

    width:100%;
    height:340px;
    object-fit:cover;
    transition:.6s;

}

.gallery-item:hover img{

    transform:scale(1.08);

}

@media(max-width:900px){

.gallery-grid{

    grid-template-columns:1fr;

}

.gallery-item img{

    height:260px;

}

}

/*==================================================
        CONTACT PAGE PREMIUM
==================================================*/


/* SECTION CONTACT */

.contact-section{

    padding:100px 0;
    background:#fff;

}


.contact-grid{

    display:grid;
    grid-template-columns:1fr 1fr;
    gap:60px;
    align-items:center;

}



.contact-info h2{

    margin-bottom:20px;

}



.contact-info p{

    color:var(--text);
    margin-bottom:30px;

}



.contact-item{

    background:#f8f8f8;
    padding:20px;
    border-radius:15px;
    margin-bottom:18px;
    border-left:4px solid var(--secondary);
    transition:.35s;

}



.contact-item:hover{

    transform:translateX(8px);
    box-shadow:var(--shadow);

}



.contact-item h3{

    font-size:1.05rem;
    margin-bottom:8px;

}



.contact-item p{

    margin:0;
    color:var(--text);

}



.contact-image img{

    border-radius:25px;
    box-shadow:var(--shadow);

}

/* FORMULAIRE */

.contact-form-section{

    padding:100px 0;
    background:#f4f6f9;
    text-align:center;

}

.contact-form{

    max-width:850px;
    margin:50px auto 0;
    background:#fff;
    padding:45px;
    border-radius:25px;
    box-shadow:var(--shadow);

}

.form-group{

    margin-bottom:20px;

}

.form-group input,
.form-group textarea{

    width:100%;
    padding:16px 20px;
    border:1px solid #ddd;
    border-radius:12px;
    font-size:1rem;
    font-family:inherit;
    outline:none;
    transition:.3s;

}

.form-group input:focus,
.form-group textarea:focus{

    border-color:var(--secondary);
    box-shadow:0 0 0 3px rgba(200,169,106,.15);

}


.form-group textarea{

    resize:none;

}



.contact-form .btn{

    border:none;
    cursor:pointer;

}






/* FAQ CONTACT */


.faq-section{

    padding:100px 0;
    background:#fff;

}



.faq-grid{

    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:30px;
    margin-top:50px;

}



.faq-card{

    background:#fff;
    padding:35px 25px;
    border-radius:20px;
    text-align:center;
    box-shadow:var(--shadow);
    transition:.35s;

}



.faq-card:hover{

    transform:translateY(-8px);
    box-shadow:var(--shadow-hover);

}



.faq-icon{

    width:70px;
    height:70px;
    margin:0 auto 20px;
    border-radius:50%;
    background:var(--primary);
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:30px;

}



.faq-card h3{

    margin-bottom:15px;

}



.faq-card p{

    color:var(--text);

}







/* BOUTON WHATSAPP DANS CTA */


.cta .btn i{

    margin-right:8px;

}







/* RESPONSIVE CONTACT */


@media(max-width:900px){


.contact-grid{

    grid-template-columns:1fr;
    text-align:center;

}



.contact-image{

    order:-1;

}



.contact-form{

    padding:30px 20px;

}


.contact-item{

    text-align:left;

}



}



@media(max-width:480px){


.contact-section,
.contact-form-section,
.faq-section{

    padding:70px 0;

}



.contact-form{

    border-radius:18px;

}

}

/*==============================
        BLOC CREDIBILITE
==============================*/

.credibility{

    padding:100px 0;

    background:#f4f6f9;

}


.credibility-header{

    max-width:750px;

    margin:0 auto 50px;

    text-align:center;

}


.credibility-header h2{

    margin-bottom:20px;

}


.credibility-header p{

    color:var(--text);

    line-height:1.8;

}


.credibility-grid{

    display:grid;

    grid-template-columns:
    repeat(4,1fr);

    gap:25px;

}


.credibility-card{

    background:#fff;

    padding:35px 25px;

    border-radius:20px;

    text-align:center;

    box-shadow:var(--shadow);

    transition:
    transform .35s ease,
    box-shadow .35s ease;

}


.credibility-card:hover{

    transform:translateY(-8px);

    box-shadow:var(--shadow-hover);

}


.credibility-icon{

    width:70px;

    height:70px;

    margin:0 auto 20px;

    border-radius:50%;

    display:flex;

    align-items:center;

    justify-content:center;

    background:var(--primary);

    color:#fff;

    font-size:28px;

    transition:.35s ease;

}


.credibility-card:hover
.credibility-icon{

    background:var(--secondary);

    transform:rotate(8deg);

}


.credibility-card strong{

    display:block;

    color:var(--primary);

    font-size:2rem;

    line-height:1.2;

    margin-bottom:8px;

}


.credibility-card span{

    display:block;

    color:var(--text);

    font-size:.95rem;

}


/*==============================
        RESPONSIVE
==============================*/

@media(max-width:900px){

    .credibility-grid{

        grid-template-columns:
        repeat(2,1fr);

    }

}


@media(max-width:600px){

    .credibility{

        padding:70px 0;

    }


    .credibility-grid{

        grid-template-columns:1fr;

        gap:20px;

    }


    .credibility-card{

        padding:30px 20px;

    }


    .credibility-card strong{

        font-size:1.8rem;

    }

}

/*==============================
        CHAMP ANTI-SPAM
==============================*/

.honeypot-field{

    position:absolute;

    width:1px;
    height:1px;

    padding:0;
    margin:-1px;

    overflow:hidden;

    clip:rect(0 0 0 0);

    white-space:nowrap;

    border:0;

}

/*==================================================
        FIN STYLE.CSS
==================================================*/