@charset "UTF-8";
@import url(main.css);
a.nav-link.fs-6.dropdown-toggle.px-0.text-color-secondary.text-center { color: #200000 !important; font-family: Lexend !important; font-weight: 700 !important; }

/*-----------------------------------------------------------------------padding bloc avant/après---------------------------------------------------------------------------*/
.photoTitleText.text-color-sixth { padding: 3%; }

/*---------------------------------------------------------------------------bug flèche lottie--------------------------------------------------------------------------------*/
.lottie-scroll { display: none; }

/*----------------------------------------------------------------------------logo carrousel---------------------------------------------------------------------------------*/
img.logo_nav.slider-with-features-carousel-logo { height: 25vh !important; /* augmente la taille (mets la valeur que tu veux) */ filter: brightness(0) invert(1); /* rend l'image blanche */ }

/*-----------------------------------------------------------------------space page secondaire-----------------------------------------------------------------------------*/
.spacer { display: none; }

/*------------------------------------------------------------------------formulaire de contact------------------------------------------------------------------------------*/
form#formContact { font-family: 'Zain', sans-serif; }

/*------------------------------------------------------------------------augmentation header------------------------------------------------------------------------------*/
.navbar-brand { height: 10vh !important; width: 14vw !important; }

.logo_nav { height: 10vh !important; }

/*----------------------------------------------------------------------------Bloc maps-------------------------------------------------------------------------------------*/
.maps-section .content { color: #FFEBEB !important; }

.maps-section .map-content { padding: 50px; }

.maps-section iframe { border-radius: 20px !important; }

.item-content.mx-5 { color: #FFEBEB !important; font-family: 'Zain', sans-serif; }

.maps-section.position-relative.bg-sixthColor { border-top: 1px solid #FFEBEB; border-bottom: 1px solid #FFEBEB; }

/*-------------------------------------------------------------------------bloc image droite---------------------------------------------------------------------------------*/
#bloc-image-droite li { color: #200000; }

.image-droite { background-color: #FFEBEB !important; }

/*------------------------------------------------------------------------bloc image gauche---------------------------------------------------------------------------------*/
#bloc-image-gauche li { color: #FFEBEB; }

.image-gauche { background-color: #F30000 !important; }

/*----------------------------------------------------------------------bloc presta savoir-faire-------------------------------------------------------------------------------*/
#plomberie { scroll-margin-top: 90px; }

#chauffage { scroll-margin-top: 90px; }

#metallerie { scroll-margin-top: 90px; }

/*-----------------------------------------------------------------------bloc presta ouvrages--------------------------------------------------------------------------------*/
#salle-de-bain { scroll-margin-top: 90px; }

#cuisine { scroll-margin-top: 90px; }

#sanitaire { scroll-margin-top: 90px; }

/*----------------------------------------------------------------------------texte footer------------------------------------------------------------------------------------*/
footer, footer p, footer a, footer li, footer ul, footer i { color: #FFEBEB !important; font-family: 'Zain', sans-serif; font-size: 1rem; }

footer h5 { color: #200000 !important; font-family: 'Lexend', sans-serif; font-weight: 700 !important; font-size: 1.25rem; /* légèrement plus grand pour se démarquer */ }

.text-color-third { color: #FFEBEB !important; font-family: 'Zain', sans-serif; font-size: 1rem; text-align: left; hyphens: auto; }

/* ------------------------------------------------------------------------------ombre---------------------------------------------------------------------------------------*/
div.shadow-lg { box-shadow: none !important; }

/*-----------------------------------------------------------------------surlignement header--------------------------------------------------------------------------------*/
.animated-border-button:after { background-color: #FFEBEB; }

.animated-border-button span { transition: color 0.3s ease; }

.animated-border-button:hover span { color: #FFEBEB !important; }

/* ---------------------------------------------------------------------bouton contact envoyer------------------------------------------------------------------------------ */
button.btn-outline-dark { --bs-btn-color: #FFEBEB; --bs-btn-border-color: #200000; --bs-btn-hover-color: #FFEBEB; --bs-btn-hover-bg: #F30000; --bs-btn-hover-border-color: #F30000; --bs-btn-bg: #200000; --bs-gradient: none; background-color: var(--bs-btn-bg); color: var(--bs-btn-color); }

/*--------------------------------------------------------------------------Bouton header-----------------------------------------------------------------------------------*/
.button-header-telephone { position: relative; display: inline-block; margin: 15px; padding: 15px; text-align: center; font-weight: 700 !important; font-size: 18px; font-family: 'Lexend', sans-serif; letter-spacing: 1px; text-decoration: none; color: #200000 !important; background: transparent; cursor: pointer; transition: ease-out 0.5s; border: 2px solid #200000; border-radius: 10px; box-shadow: inset 0 0 0 0 #200000; }

.button-header-telephone:hover { color: #F30000 !important; box-shadow: inset 0 -100px 0 0 #FFEBEB !important; border-color: #FFEBEB !important; transform: scale(0.95) !important; }

.button-header-telephone:active { transform: scale(0.9); }

/*--------------------------------------------------------------------------Bouton simple-----------------------------------------------------------------------------------*/
.button_homepageDoubleScreen { position: relative; display: inline-block; margin: 15px; padding: 15px 30px; text-align: center; font-weight: 700 !important; font-size: 18px; font-family: 'Lexend', sans-serif; letter-spacing: 1px; text-decoration: none; color: #200000 !important; background: transparent !important; cursor: pointer; transition: ease-out 0.5s; border: 2px solid #200000 !important; border-radius: 30px !important; box-shadow: inset 0 0 0 0 #200000; }

.button_homepageDoubleScreen:hover { color: #FFEBEB !important; box-shadow: inset 0 -100px 0 0 #F30000 !important; border-color: #F30000 !important; transform: scale(0.95) !important; }

.button_homepageDoubleScreen:active { transform: scale(0.9); }

/*----------------------------------------------------------------------------Bouton seo------------------------------------------------------------------------------------*/
.all-activities-button { position: relative; display: inline-block; margin: 15px; padding: 15px 30px; text-align: center; font-weight: 700 !important; font-size: 18px; font-family: 'Lexend', sans-serif; letter-spacing: 1px; text-decoration: none; color: #200000 !important; background: transparent !important; cursor: pointer; transition: ease-out 0.5s; border: 2px solid #200000 !important; border-radius: 30px; box-shadow: inset 0 0 0 0 #200000; }

.all-activities-button:hover { color: #FFEBEB !important; box-shadow: inset 0 -100px 0 0 #F30000 !important; border-color: #F30000 !important; transform: scale(0.95) !important; }

.all-activities-button:active { transform: scale(0.9); }

/*----------------------------------------------------------------------------Bouton avis------------------------------------------------------------------------------------*/
.button_homepageScreen { position: relative; display: inline-block; margin: 15px; padding: 12px 16px !important; text-align: center; font-weight: 700 !important; font-size: 18px; font-family: 'Lexend', sans-serif; letter-spacing: 1px; text-decoration: none; color: #200000 !important; background: transparent !important; cursor: pointer; transition: ease-out 0.5s; border: 2px solid #200000 !important; border-radius: 30px !important; box-shadow: inset 0 0 0 0 #200000; }

.button_homepageScreen:hover { color: #FFEBEB !important; box-shadow: inset 0 -100px 0 0 #F30000 !important; border-color: #F30000 !important; transform: scale(0.95) !important; }

.button_homepageScreen:active { transform: scale(0.9); }

/*----------------------------------------------------------------------------bloc avis------------------------------------------------------------------------------------*/
.d-lg-flex.align-items-lg-center { font-family: 'Zain', sans-serif; }

p.lead.fs-6 { font-family: 'Zain', sans-serif; }

.mx-2 { font-family: 'Lexend', sans-serif; }

/* ----------------------------------------------------------------------Flèche retour en haut------------------------------------------------------------------------------- */
/* Bouton Retour en haut */
#back-to-top { position: fixed; bottom: 24px; right: 24px; background-color: #F30000; color: #200000 !important; font-size: 20px; font-weight: 700 !important; line-height: 1; text-align: center; padding: 14px 18px; border-radius: 100%; border: 2px solid #200000; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); cursor: pointer; text-decoration: none; opacity: 0; pointer-events: none; z-index: 9999; min-width: 48px; /* 👈 meilleure accessibilité mobile */ min-height: 48px; /* 👈 idem */ transform: scale(0.9); /* 👈 effet “pop” à l’apparition */ transition: opacity .3s ease, transform .3s ease, background-color .3s ease; }

/* Visible après le défilement */
#back-to-top.show { opacity: 1; pointer-events: auto; transform: scale(1); }

/* Effet au survol */
#back-to-top:hover { background-color: #FFEBEB; border: 2px solid #F30000; color: #F30000 !important; transform: translateY(-3px); }

/* Défilement fluide global (même sans JS) */
html { scroll-behavior: smooth; }

/*--------------------------------------------------------------------------bloc presta--------------------------------------------------------------------------------------*/
/* ========================= SECTION ========================= */
.presta { padding: 4rem 1rem; background-color: #F30000; }

/* ========================= GRID ========================= */
.presta-wrapper { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; max-width: 1200px; margin: 0 auto; }

/* ========================= CARD ========================= */
.presta-card { position: relative; height: 340px; border-radius: 16px; overflow: hidden; border: 3px solid #200000; text-decoration: none; display: block; transition: transform 0.7s ease; }

/* ========================= IMAGE ========================= */
.presta-card img { width: 100%; height: 100%; object-fit: cover; }

/* ========================= OVERLAY SOMBRE ========================= */
.presta-card::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, 0.2); transition: opacity 0.7s ease; z-index: 1; }

.presta-card:hover::before { opacity: 0.4; }

/* ========================= OVERLAY ANIMÉ ========================= */
.presta-card::after { content: ""; position: absolute; inset: -30%; background: rgba(32, 0, 0, 0.7); border-radius: 0 300px 300px 0; transform: translateX(-85%); transition: transform 1.2s cubic-bezier(0.4, 0, 0.2, 1); z-index: 2; }

.presta-card:hover::after { transform: translateX(0); }

/* ========================= CONTENT ========================= */
.presta-content { position: absolute; bottom: 0; left: 0; padding: 2rem; z-index: 3; }

/* ========================= TITLE ========================= */
.presta-content h2 { font-size: 2rem; font-weight: 700 !important; font-family: 'Lexend', sans-serif; margin-bottom: 0.4rem; color: #F3EFE3; transform: translateY(30px); transition: transform 0.7s ease, color 0.7s ease; }

/* ========================= TEXT ========================= */
.presta-content p { font-size: 1rem; font-family: 'Zain', sans-serif; line-height: 1.4; max-width: 90%; color: #F3EFE3; opacity: 0; transform: translateY(20px); transition: opacity 0.7s ease, transform 0.7s ease, color 0.7s ease; }

/* ========================= TEXT ANIMATION ========================= */
.presta-card:hover h2 { transform: translateY(0); color: #F30000; }

.presta-card:hover p { opacity: 1; transform: translateY(0); }

/* ========================= RESPONSIVE ========================= */
@media (max-width: 1024px) { .presta-wrapper { grid-template-columns: 1fr; } /* Cards plus fines */ .presta-card { height: 260px; } /* Contenu plus compact */ .presta-content { padding: 1.5rem; } .presta-content h2 { font-size: 1.6rem; } .presta-content p { font-size: 0.95rem; line-height: 1.3; } }

@media (max-width: 640px) { /* Texte toujours visible */ .presta-content h2 { transform: translateY(0); } .presta-content p { opacity: 1; transform: translateY(0); } /* Optionnel : overlay animé déjà en place */ .presta-card::after { transform: translateX(0); } /* Optionnel : overlay sombre un peu plus fort pour la lisibilité */ .presta-card::before { opacity: 0.35; } }

/*------------------------------------------------------------------------------bloc reali------------------------------------------------------------------------------------*/
/* -------- SECTION -------- */
.Mr-NM-realisations-section { background: #FFEBEB; padding: 60px 20px 0 20px; }

.Mr-NM-realisations-overlay { max-width: 1200px; margin: 0 auto; padding: 40px 20px 20px; display: block !important; }

.Mr-NM-realisations-main-title { text-align: center; font-size: 2.8rem; font-weight: 700 !important; color: #F30000; font-family: 'Lexend', sans-serif; margin-bottom: 32px; }

/* -------- FIX DES <p> AUTOMATIQUES DU BUILDER -------- */
.Mr-NM-filter-tabs p { margin: 0 !important; padding: 0 !important; display: inline !important; }

/* -------- CONTAINERS DES BOUTONS -------- */
.Mr-NM-filter-tabs { width: 100%; display: flex !important; justify-content: center !important; align-items: center !important; flex-wrap: wrap !important; margin: 20px 0 !important; }

.Mr-NM-bottom-filters { margin-top: 40px !important; }

/* -------- STYLE BOUTON -------- */
.realButton.button_homepageDoubleScreen { position: relative; display: inline-block; margin: 15px; padding: 15px 30px; text-align: center; font-weight: 700 !important; font-size: 18px; font-family: 'Lexend', sans-serif; letter-spacing: 1px; text-decoration: none; color: #200000 !important; background: transparent !important; cursor: pointer; transition: ease-out 0.5s; border: 2px solid #200000 !important; border-radius: 30px !important; box-shadow: inset 0 0 0 0 #200000; }

.realButton.button_homepageDoubleScreen:hover { color: #FFEBEB !important; box-shadow: inset 0 -100px 0 0 #F30000 !important; border-color: #F30000 !important; transform: scale(0.95) !important; }

.realButton.button_homepageDoubleScreen.active { color: #FFEBEB !important; background: #F30000 !important; border-color: #F30000 !important; box-shadow: inset 0 -100px 0 0 #F30000 !important; }

.realButton.button_homepageDoubleScreen:active { transform: scale(0.9); }

/* -------- GRID DES IMAGES -------- */
.Mr-NM-realisations-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }

.Mr-NM-realisation-card { border-radius: 8px; overflow: hidden; transition: transform 0.2s; }

.Mr-NM-realisation-card:hover { transform: translateY(-4px); }

.Mr-NM-realisation-card img { width: 100%; height: 320px; object-fit: cover; cursor: pointer; }

.Mr-NM-realisation-card.hidden { display: none !important; }

/* -------- MODALE -------- */
.Mr-NM-modal { display: none; position: fixed; inset: 0; background: rgba(0, 0, 0, 0.85); z-index: 1000; align-items: center; justify-content: center; }

.Mr-NM-modal-content { max-width: 500px; max-height: 70vh; border-radius: 8px; }

.Mr-NM-modal-close { position: absolute; top: 24px; right: 32px; color: #fff; font-size: 36px; cursor: pointer; }

/* -------- RESPONSIVE -------- */
@media (max-width: 900px) { .Mr-NM-realisations-grid { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); } .Mr-NM-realisation-card img { height: 240px; } }

@media (max-width: 500px) { .Mr-NM-realisations-main-title { font-size: 2rem; } .Mr-NM-realisation-card img { height: 200px; } }

#realisation { scroll-margin-top: 40px; }

/*---------------------------------------------------------------------------bloc en-tête------------------------------------------------------------------------------------*/
/* SECTION HERO */
.Mr-NM-hero-section { display: flex; align-items: center; justify-content: space-between; padding: 60px 40px; gap: 40px; flex-wrap: wrap; background-color: #FFEBEB; }

/* LOGO */
.Mr-NM-hero-logo { max-width: 150px; margin-bottom: 30px; }

/* CONTENU */
.Mr-NM-hero-content { flex: 1; min-width: 300px; max-width: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }

.Mr-NM-hero-content h1 { font-size: 2.6rem; font-weight: 700 !important; line-height: 1.3; margin: 0 0 20px 0; color: #F30000 !important; font-family: 'Lexend', sans-serif; }

.Mr-NM-hero-content p { font-size: 1.1rem; margin: 0 0 25px 0; max-width: 600px; color: #200000 !important; font-family: 'Zain', sans-serif; }

/* IMAGE */
.Mr-NM-hero-image { flex: 1; min-width: 300px; max-width: 50%; }

.Mr-NM-hero-image img { width: 100%; height: auto; object-fit: cover; border-radius: 20px; }

/* RESPONSIVE */
@media (max-width: 900px) { .Mr-NM-hero-section { flex-direction: column; padding: 40px 20px; } .Mr-NM-hero-content, .Mr-NM-hero-image { max-width: 100%; } .Mr-NM-hero-content h1 { font-size: 2.2rem; } }

div#savoirfaire { display: flex !important; }

/*# sourceMappingURL=custom.css.map */