@charset "UTF-8";
/* CSS Document */
/* ==========================================================================
   CHARTE GRAPHIQUE ET VARIABLES IMPOSÉES
   ========================================================================== */ :root {
  --theme-color: #f13131;
  --primary-color: #1c1b1f;
  --secondary-color: #fde0e0;
  --white-color: #fff;
  --base-color: #6e6e6e;
  --higer-secondary-color: #e5e5e5;
  --dark-blue-solid: #111013;
  --transition-smooth: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}
/* Base Typo Reset */
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}
body {
  font-family: 'Inter', sans-serif;
  color: var(--primary-color);
  background-color: var(--white-color);
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}
/* Empêcher tout décalage d'overflow horizontal */
*, *::before, *::after {
  box-sizing: border-box;
}
/* ==========================================================================
   HEADER & NAVIGATION ACTIVE STICKY (CLASSES 1-35)
   ========================================================================== */
.header-area {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  background: rgba(28, 27, 31, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition-smooth);
}
.header-area.sticky-active {
  position: fixed;
  top: 0;
  left: 0;
  background: var(--primary-color);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border-bottom: 2px solid var(--theme-color);
  animation: slideDownIn 0.5s ease;
}
.large-container {
  max-width: 1400px;
  margin: 0 auto;
}
.header-main {
  padding: 15px 0;
}
.logo-text-brand {
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 1px;
  color: var(--white-color);
  transition: var(--transition-smooth);
}
.logo-svg {
  transition: var(--transition-smooth);
}
.header-logo:hover .logo-svg {
  transform: rotate(10deg) scale(1.05);
}
.main-menu ul {
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.main-menu ul li a {
  color: var(--white-color);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  padding: 10px 0;
  position: relative;
  transition: var(--transition-smooth);
}
.main-menu ul li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background-color: var(--theme-color);
  transition: var(--transition-smooth);
}
.main-menu ul li.active a::after, .main-menu ul li a:hover::after {
  width: 100%;
}
.main-menu ul li a:hover {
  color: var(--theme-color);
}
/* Icon Box Red style Gramen Theme */
.icon-box-red {
  background-color: var(--theme-color);
  color: var(--white-color);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: var(--transition-smooth);
}
.header-link-1:hover .icon-box-red {
  transform: scale(1.1) rotate(15deg);
  background-color: var(--white-color);
  color: var(--theme-color);
}
.font-12 {
  font-size: 12px;
}
.text-grey {
  color: #a4a4a4;
}
/* ==========================================================================
   MENU BURGER & RESPONSIVE MOBILE (CLASSES 36-65)
   ========================================================================== */
.hamburger-btn {
  background: transparent;
  border: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 5px;
}
.hamburger-btn span {
  display: block;
  width: 28px;
  height: 3px;
  background-color: var(--white-color);
  border-radius: 2px;
  transition: var(--transition-smooth);
}
.hamburger-btn:hover span:nth-child(2) {
  transform: translateX(4px);
  background-color: var(--theme-color);
}
/* Offcanvas structure */
.offcanvas-menu-wrapper {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100%;
  z-index: 1000;
  transition: var(--transition-smooth);
  visibility: hidden;
}
.offcanvas-menu-wrapper.open-active {
  right: 0;
  visibility: visible;
}
.offcanvas-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
}
.offcanvas-content {
  position: absolute;
  top: 0;
  right: 0;
  width: 320px;
  height: 100%;
  background: var(--primary-color);
  padding: 40px 30px;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
  z-index: 2;
}
.close-btn {
  background: transparent;
  border: none;
  color: var(--white-color);
  font-size: 36px;
  line-height: 1;
  cursor: pointer;
  transition: var(--transition-smooth);
}
.close-btn:hover {
  color: var(--theme-color);
  transform: rotate(90deg);
}
.offcanvas-nav-links {
  list-style: none;
  padding: 0;
  margin: 40px 0 0 0;
}
.offcanvas-nav-links li {
  margin-bottom: 25px;
}
.offcanvas-nav-links li a {
  color: var(--white-color);
  text-decoration: none;
  font-size: 18px;
  font-weight: 600;
  display: block;
  transition: var(--transition-smooth);
}
.offcanvas-nav-links li a:hover {
  color: var(--theme-color);
  padding-left: 8px;
}
/* Bandeau mobile rouge impératif */
.mobile-cta-band {
  background-color: var(--theme-color);
  padding: 10px 5px;
  position: relative;
  z-index: 1001;
}
.mobile-band-link {
  color: var(--white-color);
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.5px;
  display: inline-block;
}
/* ==========================================================================
   HERO AREA & BOUTON IMPOSÉ (CLASSES 66-95)
   ========================================================================== */
.hero-section-custom {
  background: url('ravalement.jpg') no-repeat center center/cover;
  padding-top: 180px;
  padding-bottom: 100px;
  position: relative;
}
.hero-bg-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(17, 16, 19, 0.75) 40%, rgba(28, 27, 31, 0.6) 100%);
  z-index: 1;
}
.hero-main-title {
  font-size: 46px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -1px;
  text-transform: uppercase;
}
/* Bouton rouge imposé sous le H1 */
.btn-hero-phone {
  display: inline-flex;
  align-items: center;
  background-color: var(--theme-color);
  color: var(--white-color) !important;
  text-decoration: none;
  font-weight: 800;
  font-size: 22px;
  padding: 14px 28px;
  border-radius: 6px;
  border: 2px solid var(--theme-color);
  transition: var(--transition-smooth);
  letter-spacing: 0.5px;
}
.btn-hero-phone:hover {
  background-color: transparent;
  color: var(--theme-color) !important;
  transform: translateY(-4px);
  box-shadow: 0 15px 30px rgba(241, 49, 49, 0.4);
}
.badge-tag {
  background-color: rgba(241, 49, 49, 0.15);
  border: 1px solid var(--theme-color);
  color: var(--white-color);
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  display: inline-block;
}
.hero-lead {
  font-size: 16px;
  line-height: 1.6;
  max-width: 75%;
}
.btn-custom-primary {
  background-color: var(--white-color);
  color: var(--primary-color);
  padding: 14px 28px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 700;
  transition: var(--transition-smooth);
}
.btn-custom-primary:hover {
  background-color: var(--theme-color);
  color: var(--white-color);
  transform: translateY(-2px);
}
.btn-custom-outline {
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: var(--white-color);
  padding: 14px 28px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 700;
  transition: var(--transition-smooth);
}
.btn-custom-outline:hover {
  border-color: var(--theme-color);
  background: var(--theme-color);
}
.rounded-custom {
  border-radius: 8px;
}
.floating-badge-experience {
  position: absolute;
  bottom: 20px;
  left: -20px;
  background: var(--white-color);
  padding: 15px 25px;
  border-radius: 8px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  border-left: 5px solid var(--theme-color);
}
.number-exp {
  font-size: 28px;
  font-weight: 800;
  color: var(--theme-color);
  line-height: 1;
}
.text-exp {
  font-size: 11px;
  font-weight: 700;
  color: var(--primary-color);
  text-transform: uppercase;
}
/* ==========================================================================
   GRID LAYOUT ET SERVICES TECHNICAL CARDS (CLASSES 96-135)
   ========================================================================== */
.bg-light-smooth {
  background-color: #f7f7f9;
}
.section-title-main {
  font-size: 34px;
  font-weight: 800;
  color: var(--primary-color);
}
.title-bar-center {
  width: 60px;
  height: 4px;
  background-color: var(--theme-color);
  margin: 15px auto;
}
.section-subtitle {
  font-size: 15px;
  color: var(--base-color);
}
.grid-layout-custom-services {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1xl));
  gap: 30px;
  margin-top: 40px;
}
@media (min-width: 992px) {
  .grid-layout-custom-services {
    grid-template-columns: repeat(3, 1fr);
  }
}
.service-card-item {
  background: var(--white-color);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.04);
  border: 1px solid var(--higer-secondary-color);
  transition: var(--transition-smooth);
}
.service-card-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.1);
  border-color: var(--secondary-color);
}
.card-img-overflow {
  height: 220px;
  overflow: hidden;
  position: relative;
}
.card-img-overflow img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}
.service-card-item:hover .card-img-overflow img {
  transform: scale(1.1) rotate(1deg);
}
.card-content-technical {
  padding: 25px;
}
.card-content-technical h3 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--primary-color);
}
.card-content-technical p {
  font-size: 14px;
  color: var(--base-color);
  line-height: 1.5;
  margin-bottom: 20px;
}
.tech-tag {
  font-size: 11px;
  font-weight: 700;
  background: var(--secondary-color);
  color: var(--theme-color);
  padding: 4px 10px;
  border-radius: 4px;
  text-transform: uppercase;
}
/* ==========================================================================
   PLUGIN AVANT/APRÈS COULISSANT (CLASSES 136-160)
   ========================================================================== */
.comparison-section {
  background-color: var(--primary-color);
}
.image-comparison-slider-wrapper {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
  border-radius: 8px;
}
.img-comparison-after {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.img-comparison-before-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%; /* Position initiale à 50% */
  height: 100%;
  overflow: hidden;
  z-index: 2;
}
.img-comparison-before-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Redimensionnement forcé pour alignement des deux images superposées */
.image-comparison-slider-wrapper img {
  display: block;
  pointer-events: none;
}
.comparison-slider-handle {
  position: absolute;
  top: 0;
  left: 50%;
  width: 4px;
  height: 100%;
  background-color: var(--theme-color);
  z-index: 3;
  cursor: ew-resize;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}
.handle-line {
  width: 2px;
  height: 40%;
  background-color: var(--white-color);
}
.handle-button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--theme-color);
  border: 3px solid var(--white-color);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
}
.unselectable {
  user-select: none;
  -moz-user-select: none;
  -webkit-user-select: none;
}
/* ==========================================================================
   ACCORDÉON ESSENTIAL BLOCKS CUSTOM STYLE (CLASSES 161-185)
   ========================================================================== */
.accordion-custom-container {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.accordion-technical-item {
  border: 1px solid var(--higer-secondary-color);
  border-radius: 6px;
  background: var(--white-color);
  overflow: hidden;
  transition: var(--transition-smooth);
}
.accordion-technical-item.current-active {
  border-color: var(--theme-color);
  box-shadow: 0 8px 20px rgba(241, 49, 49, 0.06);
}
.accordion-item-header {
  padding: 20px 25px;
  background: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 15px;
  user-select: none;
}
.accordion-item-header h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--primary-color);
}
.accordion-technical-item.current-active .accordion-item-header h3 {
  color: var(--theme-color);
}
.accordion-icon-state {
  color: var(--base-color);
  font-size: 14px;
  width: 20px;
  text-align: center;
}
.accordion-technical-item.current-active .accordion-icon-state {
  color: var(--theme-color);
}
.accordion-item-body {
  padding: 0 25px 22px 60px;
  font-size: 14px;
  color: var(--base-color);
  line-height: 1.6;
  display: none; /* Piloté en JS pour l'ouverture */
}
/* ==========================================================================
   FORMULAIRE ET CHAMPS INPUTS UNIQUE DESIGN (CLASSES 186-210)
   ========================================================================== */
.contact-form-wrapper {
  border-top: 4px solid var(--theme-color);
}
.input-custom {
  border: 1px solid var(--higer-secondary-color);
  padding: 12px 16px;
  font-size: 14px;
  border-radius: 4px;
  color: var(--primary-color);
  transition: var(--transition-smooth);
}
.input-custom:focus {
  border-color: var(--theme-color);
  box-shadow: 0 0 0 4px var(--secondary-color);
  outline: none;
}
.text-area-custom {
  resize: none;
}
.btn-submit-form {
  background-color: var(--theme-color);
  color: var(--white-color);
  font-weight: 700;
  font-size: 15px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  letter-spacing: 0.5px;
  transition: var(--transition-smooth);
}
.btn-submit-form:hover {
  background-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}
/* Info row elements */
.info-contact-card {
  display: flex;
  align-items: center;
  background: var(--white-color);
  padding: 15px;
  border-radius: 6px;
  border: 1px solid var(--higer-secondary-color);
}
.icon-red-shell {
  width: 44px;
  height: 44px;
  background-color: var(--secondary-color);
  color: var(--theme-color);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}
/* ==========================================================================
   FOOTER REALISATION ZOOM LIGHTBOX (CLASSES 211-235)
   ========================================================================== */
.bg-dark-blue {
  background-color: var(--dark-blue-solid);
}
.grid-gallery-footer {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.gallery-zoom-trigger {
  cursor: zoom-in;
  transition: var(--transition-smooth);
}
.gallery-zoom-trigger:hover {
  transform: scale(1.05);
  filter: brightness(1.2);
}
.host-hover {
  transition: var(--transition-smooth);
}
.host-hover:hover {
  color: var(--theme-color) !important;
  padding-left: 4px;
}
/* Lightbox Modal CSS Overlay */
.lightbox-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
}
.lightbox-modal-overlay.lightbox-visible {
  opacity: 1;
  visibility: visible;
}
.lightbox-img-content {
  max-width: 85%;
  max-height: 85%;
  border: 4px solid var(--white-color);
  border-radius: 4px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
  transform: scale(0.9);
  transition: var(--transition-smooth);
}
.lightbox-modal-overlay.lightbox-visible .lightbox-img-content {
  transform: scale(1);
}
.lightbox-close-trigger {
  position: absolute;
  top: 30px;
  right: 40px;
  color: var(--white-color);
  font-size: 50px;
  cursor: pointer;
  user-select: none;
  transition: var(--transition-smooth);
}
.lightbox-close-trigger:hover {
  color: var(--theme-color);
}
/* ==========================================================================
   ANIMATIONS & KEYFRAMES DYNAMIQUES (CLASSES 236-250)
   ========================================================================== */
@keyframes slideDownIn {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}
.animate-fade-in-left {
  animation: fadeInLeft 1s both;
}
.animate-fade-in-right {
  animation: fadeInRight 1s both;
}
.animate-pulse {
  animation: customPulse 3s infinite ease-in-out;
}
.animate-bounce {
  animation: customBounce 4s infinite ease-in-out;
}
@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes customPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(241, 49, 49, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(241, 49, 49, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(241, 49, 49, 0);
  }
}
@keyframes customBounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}
iframe {
  display: block
}
.no-link {
  color: inherit !important;
  text-decoration: none !important;
  pointer-events: none;
}
.devis-btn {
    background: var(--theme-color);
  color: white;
  padding: 10px;
  border-radius: 100px;
  text-decoration: navajowhite;
  font-weight: bold;
}
.devis-btn:hover {
    background: var(--white-color);
    color: var(--theme-color)
}
@media (max-width: 991.98px) {
    .mobile-cta-band {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        z-index: 9999; /* Reste au-dessus de tout le contenu */
        background-color: #f13131; /* Ajustez la couleur selon votre thème */
        padding: 12px 0;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.15);
    }
    
    .mobile-band-link {
        color: #ffffff !important;
        text-decoration: none;
        font-weight: bold;
        font-size: 16px;
        display: block;
    }

    /* Optionnel : ajoute un espace en bas de la page pour que le bouton ne cache pas le footer */
    body {
        padding-bottom: 50px; 
    }
    .hero-main-title {
  font-size: 32px;
    }
}