/* =========================
   BASE
========================= */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #F5F1E9;
    color: #333333;
}

a {
    color: inherit;
}

/* =========================
   HEADER / NAVBAR - LOGO EN PREMIER PLAN
========================= */
header {
    background: #F5F1E9;
    padding: 15px 40px;
    border-bottom: 1px solid #ddd;
    margin-top: 32px;
    position: relative;
    z-index: 100;
    height: 70px;
    display: flex;
    align-items: center;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    position: relative;
}

.navbar nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.logo {
    position: absolute;
    left: 40px;
    z-index: 10;
}

nav {
    position: relative;
    z-index: 20;
}

.btn-devis {
    position: absolute;
    right: 40px;
    z-index: 20;
}


.logo img {
    height: 140px;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    z-index: 110;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: translateY(-50%) scale(1.1);
}


nav a {
    color: #333333;
    text-decoration: none;
    margin: 0 12px;
    font-weight: bold;
}

nav a:hover {
    color: #d89800;
}

.btn-devis {
    background: #d89800;
    color: white;
    padding: 10px 18px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
}

/* =========================
   HERO SLIDER
========================= */
.slider {
    position: relative;
    height: 85vh;
    overflow: hidden;
    margin-top: -60px; /* Remonte le slider pour que le logo empiète */
    padding-top: 60px; /* Compense pour ne pas couper le haut de l'image */
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slider::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.35);
}

.slider-text {
    position: relative;
    z-index: 2;
    color: white;
    text-align: center;
    top: 35%;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.slider-text .btn-devis {
    position: static;
    display: inline-block;
    transform: none;
    margin: 0 auto;
}

.cta-center {
    text-align: center;
    margin-top: 30px;
}

.cta-center .btn-devis,
.slider-text .btn-devis {
    position: static;
    display: inline-block;
    margin: 0 auto;
}

.slider-text h1 {
    font-size: 48px;
    margin-bottom: 15px;
    color: #d89800;
}

.slider-text p {
    font-size: 18px;
    margin-bottom: 30px;
}

/* =========================
   SECTIONS
========================= */
.presentation,
.services,
.realisations,
.contact-home,
.contact-page {
    padding: 80px 10%;
    background: #F5F1E9;
}

.presentation p,
.services p,
.realisations p,
.contact-home p ,
.contact-page p {
    color: #555555;
}

.presentation h2,
.services h2,
.realisations h2,
.contact-home h2,
.contact-page h2 {
    text-align: center;
    margin-bottom: 45px;
    font-size: 34px;
    color: #d89800;
}

.presentation-content p {
    max-width: 900px;
    margin: 0 auto 20px auto;
    line-height: 1.8;
    font-size: 17px;
    color: #444444;
}

.presentation-content .highlight {
    font-weight: bold;
    color: #333333;
}

/* =========================
   SERVICES
========================= */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: #ffffff;
    padding: 35px;
    border-radius: 12px;
    border: 1px solid #ddd;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.service-card h3 {
    margin-bottom: 15px;
    color: #333333;
}

.service-card ul {
    padding-left: 20px;
}

.service-card li {
    margin-bottom: 8px;
    color: #555555;
}

.services-footer {
    text-align: center;
    margin-top: 35px;
    font-weight: bold;
}

/* =========================
   PRESTATIONS
========================= */
.prestations {
    background: #F5F1E9;
    padding: 80px 10%;
}

.prestations h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 50px;
    color: #d89800;
}

.prestations-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.prestation-card {
    background: #ffffff;
    border: 1px solid #ddd;
    padding: 30px 25px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.prestation-card h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: #d89800;
}

.prestation-card ul {
    list-style: none;
    padding: 0;
}

.prestation-card ul li {
    font-size: 0.95rem;
    color: #555555;
    margin-bottom: 10px;
}

.prestation-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.prestation-card h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: #d89800;
}

.prestation-card ul {
    list-style: none;
    padding: 0;
}

.prestation-card ul li {
    font-size: 0.95rem;
    color: #cfcfcf;
    margin-bottom: 10px;
}

/* Hover premium */
.prestation-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}


@media (max-width: 1100px) {
    .prestations-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .prestations-grid {
        grid-template-columns: 1fr;
    }
}

.prestation-hero {
    background: #F5F1E9;
    padding: 80px 20px;
    text-align: center;
}

.prestation-content {
    background: #ffffff;
    padding: 60px 20px;
}

.prestation-hero h1 {
    color: #d89800;
}

.prestation-content h2 {
    margin-top: 40px;
    color: #d89800;
}

.prestation-content .container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    color: #555555;
}

.prestation-list {
    margin: 20px 0;
    padding-left: 20px;
    text-align: left;
    display: inline-block;
    color: #555555;
}

.prestation-list li {
    margin-bottom: 8px;
}

.note {
    font-size: 0.9rem;
    color: #777777;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.gallery-grid img {
    width: 100%;
    height: 300px;          /* taille uniforme */
    object-fit: cover;     /* recadre sans déformer */
    border-radius: 10px;
}

@media (max-width: 768px) {
    .gallery-grid img {
        height: 180px;
    }

    .prestation-content .container {
        text-align: left;
    }
}


/* =========================
   RÉALISATIONS
========================= */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.gallery img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid #ddd;
}

/* =========================
   CONTACT HOME
========================= */
.contact-home {
    background: #F5F1E9;
    text-align: center;
}

.contact-home p {
    margin: 10px 0;
    font-size: 17px;
}

/* =========================
   CONTACT PAGE
========================= */
.contact-page {
    text-align: center;
}

.contact-page form {
    max-width: 500px;
    margin: 30px auto 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.merci-container {
    max-width: 500px;
    margin: 60px auto;
    padding: 40px;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #ddd;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.merci-container h1 {
    color: #d89800;
    font-size: 42px;
    margin-bottom: 20px;
}

.merci-icon {
    font-size: 60px;
    color: #28a745;
    margin: 20px 0;
    line-height: 1;
}

.merci-text {
    font-size: 20px;
    color: #333333;
    margin-bottom: 10px;
}

.merci-subtext {
    font-size: 16px;
    color: #777777;
    margin-bottom: 30px;
}

.contact-page input,
.contact-page textarea {
    background: #ffffff;
    border: 1px solid #ddd;
    padding: 12px;
    color: #333333;
    border-radius: 5px;
}

.contact-page button {
    background: #d89800;
    color: white;
    padding: 14px;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    font-weight: bold;
}

/* =========================
   FOOTER
========================= */
footer {
    background: #E8E4DC;
    color: #d89800;
    text-align: center;
    padding: 18px;
    border-top: 1px solid #ddd;
}

footer p {
    margin: 8px 0;
}

.mentions-link {
    color: #777777;
    font-size: 0.85rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.mentions-link:hover {
    color: #d89800;
}

/* =========================
   RESPONSIVE - LOGO
========================= */
@media (max-width: 768px) {
    
    .logo img {
        height: 55px;
        margin-left: -7px;
    }

    .navbar {
        display: flex;
        align-items: center;
        width: 100%;
    }
    
    .btn-devis {
        display: none;
    }


    
    .logo::after {
        display: none;
    }
    
    .slider {
        margin-top: -20px;
        padding-top: 20px;
    }
    
    .slider-text h1 {
        font-size: 34px;
	color: #d89800;
    }

    header {
        padding: 15px 20px;
    }
}
/* =========================
   PARTENAIRES
========================= */
.partenaires {
    background: #F5F1E9;
    padding: 70px 10%;
    text-align: center;
}

.partenaires h2 {
    margin-bottom: 40px;
    color: #d89800;
}

.partenaires-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

.partenaires-logos img {
    max-width: 140px;
    max-height: 80px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: filter 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
}

.partenaires-logos img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

/* Responsive */
@media (max-width: 768px) {
    .partenaires-logos {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 40px;
    align-items: center;
    justify-items: center;
}


    .partenaires-logos img {
        max-height: 60px;
    }
}
@media (max-width: 1200px) {
    .partenaires-logos {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 900px) {
    .partenaires-logos {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 600px) {
    .partenaires-logos {
        grid-template-columns: repeat(2, 1fr);
    }
}

.instagram {
    background: #F5F1E9;
    padding: 60px 10%;
    text-align: center;
}

.btn-insta {
    background: #833ab4;
    color: white;
    padding: 10px 18px;
    text-decoration: none;
    border-radius: 5px;
}

.instagram h2 {
    color: #d89800;
}



/* =========================
   ANIMATIONS AU SCROLL
========================= */

.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.show {
    opacity: 1;
    transform: translateY(0);
}
.service-card.fade-in {
    transition-delay: 0.1s;
}



/* =========================
   TOP SOCIAL BAR
========================= */
.top-social-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #E8E4DC;
    border-bottom: 1px solid #ddd;
    z-index: 1100;
    display: flex;
    align-items: center;
    padding: 0 20px;
    height: 36px;
    font-size: 0.85rem;
    z-index: 100;
}

.top-social-left {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap; /* passe à la ligne si nécessaire */
}

.top-link {
    color: #555555;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.top-link:hover {
    color: #333333;
}

.separator {
    color: #ccc;
}

.top-social-icon img {
    width: 18px;
    height: 18px;
    filter: grayscale(100%);
    opacity: 0.8;
    transition: filter 0.25s ease, opacity 0.25s ease, transform 0.25s ease;
}

.top-social-icon:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

/* Décalage du header */
header {
    margin-top: 36px;
}

/* Responsive */
@media (max-width: 768px) {
    .top-social-bar {
        flex-direction: column;
        align-items: flex-start;
        height: auto;
        padding: 5px 15px;
        z-index: 150; /* Au-dessus du slider */
    }
    .top-social-left {
        gap: 6px;
        margin-bottom: 4px;
    }
    .top-link {
        font-size: 0.75rem;
    }
}




/* Responsive */
@media (max-width: 768px) {
    .top-social-bar {
        font-size: 0.75rem;
        padding: 0 18px;
    }

    .top-social-left {
        gap: 8px;
    }
}

/* =========================
   FLASH MESSAGE SUCCESS
========================= */
.flash-container {
    position: fixed;
    top: 70px; /* sous la top bar + header */
    left: 50%;
    transform: translateX(-50%);
    z-index: 2000;
}

.flash-message {
    background: rgba(255, 255, 255, 0.95);
    color: #333333;
    border-left: 3px solid #d89800;
    padding: 14px 22px;
    border-radius: 6px;
    font-size: 0.95rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    opacity: 0;
    animation: flashFadeInOut 4s ease forwards;
}

/* Animation */
@keyframes flashFadeInOut {
    0% {
        opacity: 0;
        transform: translateY(-10px);
    }
    10% {
        opacity: 1;
        transform: translateY(0);
    }
    85% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translateY(-10px);
    }
}

/* =========================
 *  SOCIAL & REVIEWS
 = *======================== */
.social-reviews {
    background: #F5F1E9;
    padding: 80px 10%;
}

.social-reviews-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.social-card {
    background: #ffffff;
    padding: 35px;
    border-radius: 12px;
    border: 1px solid #ddd;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.social-card h2 {
    color: #d89800;
    margin-bottom: 15px;
    font-size: 28px;
    text-align: center;
}

.social-card p {
    color: #555555;
    text-align: center;
    margin-bottom: 25px;
}

/* Instagram Gallery */
/* Instagram Gallery Slider */
.instagram-gallery {
    position: relative;
    height: 600px;
    margin-bottom: 25px;
    border-radius: 8px;
    overflow: hidden;
}

.instagram-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.instagram-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.instagram-slide.active {
    opacity: 1;
}

/* Navigation dots pour Instagram */
.instagram-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.instagram-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: background 0.3s ease;
}

.instagram-dot.active {
    background: #d89800;
}

/* Overlay léger pour améliorer la lisibilité des dots */
.instagram-gallery::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to top, rgba(0,0,0,0.2), transparent);
    pointer-events: none;
}

/* Responsive */
@media (max-width: 600px) {
    .instagram-gallery {
        height: 400px;
    }
}

/* Google Reviews */
.reviews-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 25px;
}

.review-item {
    background: #ffffff;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.review-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #d89800;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    margin-right: 12px;
    font-size: 14px;
}

.review-author {
    flex: 1;
}

.review-author h4 {
    margin: 0;
    color: #333333;
    font-size: 15px;
}

.review-stars {
    color: #d89800;
    font-size: 14px;
}

.review-text {
    color: #555555;
    font-size: 14px;
    line-height: 1.6;
}

/* Google Rating */
.google-rating {
    text-align: center;
    margin-bottom: 20px;
    padding: 15px;
    background: #ffffff;
    border-radius: 8px;
}

.rating-score {
    font-size: 42px;
    color: #d89800;
    font-weight: bold;
}

.rating-stars {
    color: #d89800;
    font-size: 24px;
    margin: 5px 0;
}

.rating-count {
    color: #777777;
    font-size: 14px;
}

/* Buttons */
.social-btn {
    display: block;
    text-align: center;
    background: #d89800;
    color: white;
    padding: 12px 20px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.social-btn:hover {
    background: #b87d00;
}

.google-btn {
    background: #4285f4;
}

.google-btn:hover {
    background: #3367d6;
}

/* Responsive */
@media (max-width: 968px) {
    .social-reviews-grid {
        grid-template-columns: 1fr;
    }

    .instagram-gallery {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (max-width: 600px) {
    .social-reviews {
        padding: 60px 5%;
    }

    .social-card {
        padding: 25px;
    }

    .instagram-gallery img {
        height: 400px;
    }
}

/* =========================
   MENTIONS LEGALES
======================== */
.mentions-legales {
    background: #F5F1E9;
    padding: 80px 10%;
}

.mentions-legales .container {
    max-width: 900px;
    margin: 0 auto;
}

.mentions-legales h1 {
    text-align: center;
    color: #d89800;
    margin-bottom: 50px;
    font-size: 34px;
}

.mentions-legales section {
    margin-bottom: 40px;
}

.mentions-legales h2 {
    color: #d89800;
    font-size: 22px;
    margin-bottom: 20px;
}

.mentions-legales p {
    color: #555555;
    line-height: 1.8;
    margin: 10px 0;
}

