@charset "UTF-8";
/* CSS Document */
/* ==========================================================================
   FICHIER CSS HAUTE PERFORMANCE TECHNIQUE ROOFEXPERT - NORMES CSS3 & BOOTSTRAP
   ========================================================================== */
/* Architecture Fondamentale des Variables Root */ :root {
  --primary-red: #dc3545;
  --primary-red-hover: #bd2130;
  --deep-black: #0c0d0e;
  --card-black: #141619;
  --pure-white: #ffffff;
  --light-gray: #f8f9fa;
  --text-muted-custom: #a0a6b0;
  --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  --font-main: 'Plus Jakarta Sans', sans-serif;
}
/* Reset Global de Sécurité pour éliminer la barre de défilement horizontale */
html, body {
  overflow-x: hidden !important;
  width: 100%;
  margin: 0;
  padding: 0;
  font-family: var(--font-main);
  background-color: var(--deep-black);
  color: var(--pure-white);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}
/* Configuration Obligatoire Google Fonts Icons en mode FILL */
.material-symbols-outlined {
  font-variant: normal;
  font-feature-settings: "FILL"1, "wght"400, "GRAD"0, "opsz"24;
  display: inline-block;
  line-height: 1;
}
/* ==========================================================================
   STRUCTURE COMPLÈTE DU HEADER & MENUS DE NAVIGATION (AVEC MODE STICKY)
   ========================================================================== */
.main-header {
  position: relative;
  width: 100%;
  z-index: 999;
  background-color: rgba(12, 13, 14, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: var(--transition-smooth);
}
/* Classe active injectée via JS lors du Scroll */
.main-header.sticky-active {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  background-color: var(--deep-black);
  animation: slideDownIn 0.5s ease-out forwards;
  border-bottom: 2px solid var(--primary-red);
}
.header-lower {
  max-width: 1320px;
  margin: 0 auto;
  padding: 15px 20px;
}
.header_top {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 10px;
  margin-bottom: 15px;
  font-size: 13px;
  color: var(--text-muted-custom);
}
.header_top a {
  color: var(--text-muted-custom);
  text-decoration: none;
  transition: var(--transition-smooth);
}
.header_top a:hover {
  color: var(--primary-red);
}
/* Liens du Menu de Navigation Principal */
.nav-link-custom {
  color: var(--pure-white);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  padding: 8px 0;
  position: relative;
  transition: var(--transition-smooth);
}
.nav-link-custom:hover, .nav-link-custom.active {
  color: var(--primary-red);
}
.nav-link-custom::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-red);
  transition: var(--transition-smooth);
}
.nav-link-custom:hover::after, .nav-link-custom.active::after {
  width: 100%;
}
/* Boutons de Style */
.btn-one {
  background-color: var(--primary-red);
  color: var(--pure-white);
  padding: 12px 28px;
  border-radius: 4px;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 1px;
  transition: var(--transition-smooth);
  border: 1px solid transparent;
}
.btn-one:hover {
  background-color: transparent;
  border-color: var(--primary-red);
  color: var(--primary-red);
  transform: translateY(-3px);
}
/* ==========================================================================
   CONCEPTION EXCLUSIVE DU BOUTON TÉLÉPHONE BOOSTÉ (SOUS H1)
   ========================================================================== */
.phone-boost-wrapper {
  display: inline-block;
}
.btn-phone-boost {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background-color: #e41e26 !important; /* Rouge vif ultra visible */
  color: var(--pure-white) !important;
  font-weight: 800;
  font-size: 20px;
  padding: 16px 36px;
  border-radius: 6px;
  text-decoration: none !important;
  box-shadow: 0 8px 25px rgba(228, 30, 38, 0.4);
  transition: var(--transition-smooth);
  letter-spacing: 0.5px;
}
.btn-phone-boost:hover {
  transform: scale(1.04) translateY(-2px);
  box-shadow: 0 12px 35px rgba(228, 30, 38, 0.6);
  background-color: #ff2a33 !important;
}
/* ==========================================================================
   ARCHITECTURE RÉACTIVE MOBILE : TOGGLER ET MENU BURGER SLIDE
   ========================================================================== */
.mobile-nav-toggler {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 5px;
}
.mobile-nav-toggler .bar-line {
  width: 30px;
  height: 3px;
  background-color: var(--pure-white);
  transition: var(--transition-smooth);
  border-radius: 2px;
}
.mobile-menu-wrapper {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  z-index: 9999;
  transition: all 0.5s cubic-bezier(0.77, 0.2, 0.05, 1);
  visibility: hidden;
}
.mobile-menu-wrapper.open {
  right: 0;
  visibility: visible;
}
.menu-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
}
.mobile-menu-wrapper .menu-box {
  position: absolute;
  top: 0;
  right: 0;
  width: 320px;
  height: 100%;
  background-color: var(--deep-black);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
  z-index: 2;
  display: flex;
  flex-direction: column;
  border-left: 2px solid var(--primary-red);
}
.navigation-mobile li {
  margin-bottom: 15px;
}
.navigation-mobile .mob-link {
  color: var(--pure-white);
  text-decoration: none;
  font-size: 20px;
  font-weight: 700;
  display: block;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.navigation-mobile .mob-link:hover {
  color: var(--primary-red);
  padding-left: 10px;
}
/* Barres utilitaires d'opacité et de défilement block */
.no-scroll {
  overflow: hidden !important;
}
/* ==========================================================================
   BANNIÈRE PRINCIPALE ET SWIPER SLIDER HAUT DE GAMME
   ========================================================================== */
.banner.style__one {
  width: 100%;
  position: relative;
  background-color: var(--deep-black);
}
.slide-item {
  width: 100%;
  height: 85vh;
  min-height: 600px;
}
.slide__item__content {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  position: relative;
}
.content__box {
  position: relative;
  z-index: 5;
  animation: fadeInUpCustom 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}
.btn-two {
  background-color: transparent;
  color: var(--pure-white);
  border: 2px solid var(--pure-white);
  padding: 14px 35px;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 1px;
  display: inline-block;
  transition: var(--transition-smooth);
  border-radius: 4px;
}
.btn-two:hover {
  background-color: var(--primary-red);
  border-color: var(--primary-red);
  transform: scale(1.05);
}
.banner-pagination .swiper-pagination-bullet {
  background: var(--pure-white);
  opacity: 0.4;
  width: 12px;
  height: 12px;
}
.banner-pagination .swiper-pagination-bullet-active {
  background: var(--primary-red) !important;
  opacity: 1;
  width: 30px;
  border-radius: 6px;
}
/* ==========================================================================
   SECTION DE NOS PRESTATIONS - DESIGNS DE CARTES ACCORDION IMPLICITES
   ========================================================================== */
.bg-dark-custom {
  background-color: #0f1012;
}
.barre-separation {
  width: 80px;
  height: 4px;
  border-radius: 2px;
}
.card-prestation {
  background-color: var(--card-black);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.04);
  transition: var(--transition-smooth);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.img-zoom-wrapper {
  width: 100%;
  height: 240px;
  overflow: hidden;
  position: relative;
}
.img-zoom-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}
.card-prestation:hover .img-zoom-wrapper img {
  transform: scale(1.12) rotate(1deg);
}
.card-prestation:hover {
  transform: translateY(-10px);
  border-color: rgba(220, 53, 69, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}
.eb-button-anchor {
  color: var(--primary-red);
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
  letter-spacing: 0.5px;
  transition: var(--transition-smooth);
}
.eb-button-anchor:hover {
  color: var(--pure-white);
  gap: 8px !important;
}
.small-text-content {
  line-height: 1.6;
  text-align: justify;
}
/* ==========================================================================
   PLUGIN AVANT/APRÈS EN CSS PUR - INTERACTIF ET SANS DÉCALAGES O overflow
   ========================================================================== */
.eb-image-comparison-container {
  position: relative;
  width: 100%;
  height: 400px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  cursor: ew-resize;
  user-select: none;
}
.comparison-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.comparison-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.after-img {
  /* Clip-path dynamique initialisé à 50% par défaut */
  clip-path: polygon(50% 0, 100% 0, 100% 100%, 50% 100%);
}
.badge-label {
  position: absolute;
  top: 15px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 800;
  border-radius: 4px;
  letter-spacing: 1px;
}
.before-label {
  left: 15px;
  background-color: rgba(0, 0, 0, 0.75);
  color: var(--pure-white);
}
.after-label {
  right: 15px;
  background-color: var(--primary-red);
  color: var(--pure-white);
}
.comparison-handle {
  position: absolute;
  top: 0;
  left: 50%;
  width: 4px;
  height: 100%;
  background-color: var(--primary-red);
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}
.comparison-handle span {
  background-color: var(--primary-red);
  padding: 8px;
  border-radius: 50%;
  font-size: 20px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
  transform: rotate(90deg);
}
/* ==========================================================================
   CAROUSEL TÉMOIGNAGES BLOCKS ET ENTRÉES ROND CHANTIER
   ========================================================================== */
.border-left-danger {
  border-left: 4px solid var(--primary-red) !important;
}
.bg-black-card {
  background-color: var(--card-black);
}
.testimonials__block__one {
  transition: var(--transition-smooth);
}
.testimonials__block__one:hover {
  transform: scale(1.02);
  background-color: #191b1f;
}
.italic {
  font-style: italic;
}
/* ==========================================================================
   COMPOSANT ACCORDION PREMIUM ET QUESTIONS DE CONFIANCE (NORMES EB)
   ========================================================================== */
.bg-light-gray {
  background-color: #f1f3f5;
}
.eb-accordion-custom .accordion-item {
  border: none !important;
  background-color: var(--pure-white) !important;
  overflow: hidden;
}
.eb-accordion-custom .accordion-button {
  background-color: var(--pure-white) !important;
  color: var(--deep-black) !important;
  font-size: 16px;
  font-weight: 700 !important;
  padding: 20px;
  box-shadow: none !important;
  transition: var(--transition-smooth);
}
.eb-accordion-custom .accordion-button:not(.collapsed) {
  color: var(--primary-red) !important;
  background-color: rgba(220, 53, 69, 0.03) !important;
}
.eb-accordion-custom .accordion-button::after {
  filter: brightness(0);
}
.eb-accordion-custom .accordion-body {
  padding: 22px;
  font-size: 15px;
  line-height: 1.7;
  background-color: rgba(0, 0, 0, 0.01);
}
/* ==========================================================================
   FORMULAIRE D'ESTIMATION MODERNE ET INTEGRATION RECAPTCHA
   ========================================================================== */
.form-estimateur-box {
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}
.form-estimateur-box .form-control, .form-estimateur-box .form-select {
  padding: 12px;
  font-size: 14px;
  border-radius: 4px;
}
.form-estimateur-box .form-control:focus, .form-estimateur-box .form-select:focus {
  border-color: var(--primary-red) !important;
  box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25) !important;
}
.uppercase-tracking {
  text-transform: uppercase;
  letter-spacing: 1px;
}
/* ==========================================================================
   GALERIE FOOTER ZOOMABLE ET INTERACTIVITÉ LIGHTBOX IMAGES
   ========================================================================== */
.cursor-zoom {
  cursor: zoom-in;
  transition: var(--transition-smooth);
}
.cursor-zoom:hover {
  transform: scale(1.1) rotate(2deg);
  filter: brightness(1.2);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
  z-index: 5;
}
.gallery-zoom-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
}
.gallery-zoom-overlay.active {
  opacity: 1;
  visibility: visible;
}
.gallery-zoom-overlay img {
  max-width: 90%;
  max-height: 85vh;
  object-fit: contain;
  border: 3px solid var(--pure-white);
  border-radius: 4px;
  transform: scale(0.9);
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}
.gallery-zoom-overlay.active img {
  transform: scale(1);
}
.close-overlay {
  position: absolute;
  top: 25px;
  right: 25px;
  color: var(--pure-white);
  font-size: 40px !important;
  cursor: pointer;
  transition: var(--transition-smooth);
}
.close-overlay:hover {
  color: var(--primary-red);
  transform: rotate(90deg);
}
footer .list-unstyled li a {
  color: rgb(220, 53, 69) !important
}
hr {
  opacity: 1 !important
}
.footer-section .border-secondary {
  border-color: rgb(220, 53, 69) !important;
}
.top-red {
  background: #dc3545;
  display: block;
  line-height: 1.5;
  height: auto;
  width: 100%;
  text-align: center;
}
.top-red h1 {
  line-height: 1.5;
  display: block;
  margin: 0;
  padding: 0.5em 0;
  font-weight: bolder;
}
/* ==========================================================================
   BLOCS ENTRÉES D'ANIMATIONS DYNAMIQUES ET TRANSFORMS (@KEYWORDS)
   ========================================================================== */
@keyframes pulse-red {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(228, 30, 38, 0.7);
  }
  70% {
    transform: scale(1.03);
    box-shadow: 0 0 0 15px rgba(228, 30, 38, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(228, 30, 38, 0);
  }
}
.pulse-animation {
  animation: pulse-red 2s infinite ease-in-out;
}
@keyframes slideDownIn {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}
@keyframes fadeInUpCustom {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* ==========================================================================
   CONTRAINTES PARTICULIÈRES ET RESPONSIVE SÉLECTEURS DESIGN (@MEDIA)
   ========================================================================== */
@media (max-width: 991.98px) {
  .slide-item {
    height: 70vh;
  }
  .btn-phone-boost {
    font-size: 17px;
    padding: 14px 25px;
  }
}
@media (max-width: 767.98px) {
  .header_top {
    display: none !important;
  }
  .slide-item {
    height: 65vh;
    min-height: 500px;
  }
  .display-4 {
    font-size: 28px !important;
    font-weight: 800;
  }
  /* Centrage du bandeau sous le H1 en version Smartphone */
  .phone-boost-wrapper {
    display: block;
    text-align: center;
    width: 100%;
    margin: 20px 0;
  }
  .btn-phone-boost {
    display: flex;
    justify-content: center;
    width: 100%;
    font-size: 16px;
    padding: 12px 15px;
  }
  .eb-image-comparison-container {
    height: 280px;
  }
}
@media (max-width: 575.98px) {
  .outer-box {
    padding: 10px;
  }
  .btn-two {
    padding: 10px 20px;
    font-size: 12px;
  }
}
/* Par défaut (Ordinateurs, PC portables, Tablettes), on cache le bouton */
.sms-only {
  display: none !important;
}
/* Sur les écrans de smartphones (largeur max : 767px), on l'affiche */
@media (max-width: 767px) {
  .sms-only {
    display: inline-flex !important; /* ou 'block' / 'inline-block' selon ton alignement */
  }
}
[id] {
  scroll-margin-top: 100px;
}
@media (max-width: 767px) {
  [id] {
    scroll-margin-top: 150px;
  }
}
iframe {
  display: block
}
.no-link {
  color: inherit !important;
  text-decoration: none !important;
  pointer-events: none;
}