/* ==========================================================================
   STYLE GLOBAL & RESET
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
}
body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', 'Roboto', sans-serif;
  color: #2c3e50;
  background-color: #ffffff;
  line-height: 1.6;
  overflow-x: hidden; /* Prévient les barres de défilement horizontales */
}
a {
  color: #e67e22;
  text-decoration: none;
  transition: all 0.3s ease;
}
a:hover {
  color: #d35400;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
/* ==========================================================================
   TOP BAR & BANNER
   ========================================================================== */
.top-bar {
  background-color: #1a252f;
  color: #ffffff;
  padding: 10px 0;
  font-size: 13px;
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}
.top-info span, .top-hours span {
  margin-right: 20px;
}
.top-info a {
  color: #ffffff;
}
.mobile-call-banner {
  display: none;
  background-color: #e67e22;
  text-align: center;
  padding: 12px 0;
}
.mobile-call-banner a {
  color: #ffffff;
  font-weight: 700;
  font-size: 16px;
  display: block;
}
/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.main-header {
  background-color: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.main-header .container.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 15px;
}
.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo-svg {
  width: 50px;
  height: 50px;
}
.logo-text {
  font-size: 18px;
  font-weight: 900;
  color: #1a252f;
  line-height: 1.2;
  text-transform: uppercase;
}
.logo-text span {
  display: block;
  font-size: 13px;
  color: #e67e22;
  font-weight: 500;
}
.burger-menu {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: #1a252f;
  cursor: pointer;
}
.nav-menu {
  display: flex;
  gap: 25px;
  align-items: center;
}
.nav-menu a {
  color: #34495e;
  font-weight: 600;
  font-size: 15px;
}
.nav-menu a.active, .nav-menu a:hover {
  color: #e67e22;
}
.btn-nav {
  background-color: #e67e22;
  color: #ffffff !important;
  padding: 10px 20px;
  border-radius: 4px;
}
.btn-nav:hover {
  background-color: #d35400;
}
/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  background: linear-gradient(rgba(26, 37, 47, 0.85), rgba(26, 37, 47, 0.85)), url('presta_renovation_toiture.jpg') no-repeat center center/cover;
  color: #ffffff;
  padding: 100px 0;
  text-align: center;
}
.hero-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 15px;
}
.hero h1 {
  font-size: 42px;
  font-weight: 900;
  margin-bottom: 20px;
  text-transform: uppercase;
}
.hero p {
  font-size: 18px;
  margin-bottom: 30px;
  opacity: 0.9;
}
.btn-hero-phone {
  display: inline-block;
  background-color: #ffffff;
  color: #1a252f;
  padding: 12px 25px;
  font-weight: 700;
  font-size: 20px;
  border-radius: 4px;
  margin-bottom: 20px;
  border: 2px solid transparent;
}
.btn-hero-phone:hover {
  background-color: transparent;
  color: #ffffff;
  border-color: #ffffff;
}
.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
}
.btn-primary-custom {
  background-color: #e67e22;
  color: #ffffff;
  padding: 12px 30px;
  font-weight: 600;
  border-radius: 4px;
}
.btn-primary-custom:hover {
  background-color: #d35400;
    color: #ffffff
}
.btn-secondary-custom {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
  padding: 10px 28px;
  font-weight: 600;
  border-radius: 4px;
}
.btn-secondary-custom:hover {
  background-color: #ffffff;
  color: #1a252f;
}
/* ==========================================================================
   GRID DES PRESTATIONS PRO (ESSENTIAL BLOCKS STYLE)
   ========================================================================== */
.section-padding {
  padding: 80px 0;
}
.bg-light-custom {
  background-color: #f8f9fa;
}
.section-title {
  text-align: center;
  font-size: 32px;
  font-weight: 800;
  color: #1a252f;
  margin-bottom: 15px;
  text-transform: uppercase;
}
.section-subtitle {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px auto;
  color: #7f8c8d;
}
.prestations-grid {
  display: table;
  width: 100%;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 20px;
  max-width: 1200px;
  margin: 0 auto;
}
.prestations-row {
  display: table-row;
}
.presta-card {
  display: table-cell;
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  vertical-align: top;
}
.presta-img-wrap img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.presta-content {
  padding: 25px;
}
.presta-content h3 {
  font-size: 20px;
  font-weight: 700;
  color: #1a252f;
  margin-bottom: 12px;
}
.presta-content p {
  font-size: 14px;
  color: #555;
  margin-bottom: 15px;
  text-align: justify;
}
.presta-link {
  font-weight: 700;
  font-size: 14px;
  color: #e67e22;
}
/* ==========================================================================
   STRUCTURES ASYMÉTRIQUES COPIÉES DE SECTION-V1 (PAGES INTERNES)
   ========================================================================== */
.about__section {
  position: relative;
  padding: 80px 0;
  background-color: #ffffff;
}
.auto_container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}
.about_table {
  display: table;
  width: 100%;
  table-layout: fixed;
}
.about_cell {
  display: table-cell;
  vertical-align: top;
  width: 50%;
}
.about_left__section {
  padding-right: 40px;
  position: relative;
}
.about_right__section {
  padding-left: 40px;
}
.img_asym_wrap {
  position: relative;
  padding-bottom: 30px;
}
.img_back {
  width: 85%;
  border-radius: 6px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
.img_front {
  position: absolute;
  width: 60%;
  bottom: 0;
  right: 0;
  border: 8px solid #ffffff;
  border-radius: 6px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}
.expericence__text {
  background-color: #e67e22;
  color: #ffffff;
  padding: 20px;
  border-radius: 4px;
  display: inline-block;
  margin-top: 20px;
}
.expericence__text h2 {
  font-size: 35px;
  margin: 0;
  font-weight: 900;
  display: inline-block;
}
.about__right__section .sub__title h6 {
  color: #e67e22;
  font-size: 14px;
  text-transform: uppercase;
  margin-bottom: 10px;
  font-weight: 700;
}
.about__right__section .main__title h2 {
  font-size: 32px;
  font-weight: 800;
  color: #1a252f;
  line-height: 1.3;
  margin-bottom: 20px;
}
.features_table {
  display: table;
  width: 100%;
  margin-top: 25px;
  margin-bottom: 25px;
}
.feature_cell {
  display: table-cell;
  width: 50%;
  vertical-align: top;
  padding-right: 15px;
}
.engineer__content {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}
.engineer__icon {
  font-size: 24px;
  color: #e67e22;
  background: #fdf2e9;
  padding: 10px;
  border-radius: 50%;
}
.engineer__text h5 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 5px 0;
}
.engineer__text p {
  font-size: 13px;
  color: #7f8c8d;
  margin: 0;
}
/* ==========================================================================
   ACCORDÉON FAQ (ESSENTIAL BLOCKS ACCORDION STYLE)
   ========================================================================== */
.faq-container {
  max-width: 850px;
  margin: 0 auto;
  padding: 0 15px;
}
.eb-accordion-item {
  background: #ffffff;
  border: 1px solid #eaeaea;
  border-radius: 4px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}
.eb-accordion-header {
  background-color: #ffffff;
  padding: 18px 25px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  transition: background-color 0.3s;
}
.eb-accordion-header h3 {
  font-size: 16px;
  font-weight: 600;
  color: #1a252f;
  margin: 0;
}
.eb-accordion-icon {
  font-size: 14px;
  color: #7f8c8d;
  transition: transform 0.3s ease;
}
.eb-accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease;
  background: #fafafa;
  padding: 0 25px;
}
.eb-accordion-item.active {
  border-color: #e67e22;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}
.eb-accordion-item.active .eb-accordion-header {
  background-color: #fdf2e9;
}
.eb-accordion-item.active .eb-accordion-header h3 {
  color: #e67e22;
}
.eb-accordion-item.active .eb-accordion-icon {
  transform: rotate(180deg);
  color: #e67e22;
}
.eb-accordion-item.active .eb-accordion-content {
  max-height: 1000px; /* Grande valeur pour permettre le déploiement fluide */
  padding: 20px 25px;
  border-top: 1px solid #fdf2e9;
}
.eb-accordion-content p {
  font-size: 14px;
  color: #555555;
  margin: 0;
  line-height: 1.6;
  text-align: justify;
}
/* ==========================================================================
   FORMULAIRE INTERACTIF & RECAPTCHA
   ========================================================================== */
.form-box {
  background: #ffffff;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.07);
  max-width: 600px;
  margin: 0 auto;
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 14px;
  color: #1a252f;
}
.form-control, .form-select {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #cccccc;
  border-radius: 4px;
  font-size: 14px;
  color: #333;
  background-color: #ffffff;
  transition: border-color 0.3s;
}
.form-control:focus, .form-select:focus {
  border-color: #e67e22;
  outline: none;
}
.recaptcha-wrapper {
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
}
.btn-submit-form {
  background-color: #e67e22;
  color: #ffffff;
  border: none;
  width: 100%;
  padding: 14px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s;
}
.btn-submit-form:hover {
  background-color: #d35400;
}
/* ==========================================================================
   FOOTER STYLE
   ========================================================================== */
.main-footer {
  background-color: #1a252f;
  color: #ffffff;
  padding: 60px 0 20px 0;
  font-size: 14px;
}
.footer-grid {
  display: table;
  width: 100%;
  table-layout: fixed;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}
.footer-widget {
  display: table-cell;
  padding: 0 20px;
  vertical-align: top;
}
.footer-widget h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #e67e22;
  text-transform: uppercase;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li {
  margin-bottom: 10px;
}
.footer-links a {
  color: #bdc3c7;
}
.footer-links a:hover {
  color: #ffffff;
}
.footer-bottom {
  text-align: center;
  border-top: 1px solid #2c3e50;
  margin-top: 40px;
  padding-top: 20px;
  color: #7f8c8d;
  font-size: 13px;
}
/* ==========================================================================
   RESPONSIVE DESIGN COMPATIBILITY
   ========================================================================== */
@media (max-width: 991px) {
  .prestations-grid, .about_table, .features_table, .footer-grid {
    display: block;
  }
  .presta-card, .about_cell, .feature_cell, .footer-widget {
    display: block;
    width: 100% !important;
    padding: 0;
    margin-bottom: 30px;
  }
  .about_left__section {
    padding-right: 0;
  }
  .about_right__section {
    padding-left: 0;
  }
  .nav-menu {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: #ffffff;
    position: absolute;
    top: 100%;
    left: 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
  }
  .nav-menu.open {
    display: flex;
  }
  .burger-menu {
    display: block;
  }
  .mobile-call-banner {
    display: block;
  }
  .hero h1 {
    font-size: 28px;
  }
}
iframe {
	display: block
}
.no-link {
    color: inherit !important;
    text-decoration: none !important;
    pointer-events: none;
}
#ravalement-focus {
    padding: 3em
}
/* ==========================================================================
   EXTENSIONS ET ANIMATIONS PROFESSIONNELLES (Bootstrap & Mobile Core)
   ========================================================================== */

/* Variables d'animation conformes aux spécifications Bootstrap */
:root {
  --bs-transition-fast: all 0.15s ease-in-out;
  --bs-transition-base: all 0.3s ease-in-out;
  --bs-transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Optimisation globale des performances de défilement (iOS & Android) */
html {
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

/* --- ANIMATIONS MATÉRIELLES (Hardware Accelerated) --- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate3d(0, 20px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes navSlideIn {
  from {
    opacity: 0;
    transform: translate3d(0, -10px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

/* Classe d'apparition Bootstrap-style à appliquer sur vos sections ou conteneurs */
.animate-fade-in-up {
  animation: fadeInUp var(--bs-transition-slow);
  backface-visibility: hidden;
  will-change: transform, opacity;
}

/* --- TRANSITIONS COMPATIBLES ÉLÉMENTS INTERACTIFS --- */

/* Liens globaux */
a {
  transition: var(--bs-transition-base) !important;
}

/* Boutons d'action (Effet de micro-rebond Bootstrap-like) */
.btn-nav, .btn-primary-custom, .btn-secondary-custom, .btn-submit-form, .btn-hero-phone {
  transition: var(--bs-transition-base) !important;
  position: relative;
  overflow: hidden;
}
.btn-nav:active, .btn-primary-custom:active, .btn-secondary-custom:active, .btn-submit-form:active, .btn-hero-phone:active {
  transform: scale(0.98);
}

/* Cartes des Prestations (Effet d'élévation fluide au survol) */
.presta-card {
  transition: var(--bs-transition-slow) !important;
  will-change: transform, box-shadow;
}
.presta-card:hover {
  transform: translate3d(0, -6px, 0);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12) !important;
}

/* Zoom matériel progressif sur les images de prestations */
.presta-img-wrap {
  overflow: hidden;
}
.presta-img-wrap img {
  transition: var(--bs-transition-slow) !important;
  will-change: transform;
}
.presta-card:hover .presta-img-wrap img {
  transform: scale(1.04);
}

/* --- OPTIMISATION DU MENU RESPONSIVE (Android / iOS) --- */
@media (max-width: 991px) {
  .nav-menu {
    /* Transition de fondu au clic du burger */
    opacity: 0;
    transform: translate3d(0, -10px, 0);
    transition: opacity 0.25s ease-in-out, transform 0.25s ease-in-out !important;
    pointer-events: none; /* Évite les clics fantômes quand il est fermé */
  }
  
  .nav-menu.open {
    display: flex;
    opacity: 1;
    transform: translate3d(0, 0, 0);
    pointer-events: auto;
    animation: navSlideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }
  
  /* Retrait des effets de survol lourd (hover) sur mobile pour éviter les bugs de double-tap */
  .presta-card:hover {
    transform: none !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05) !important;
  }
  .presta-card:hover .presta-img-wrap img {
    transform: none !important;
  }
}

/* --- ACCORDÉON FAQ FLUIDE (Finition Essential Blocks) --- */
.eb-accordion-content {
  /* Amélioration de la transition d'ouverture de l'accordéon */
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), padding 0.35s ease !important;
}
.eb-accordion-header i {
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* --- SAISIE DES FORMULAIRES --- */
.form-control, .form-select {
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out !important;
}
.form-control:focus, .form-select:focus {
  box-shadow: 0 0 0 0.25rem rgba(230, 126, 34, 0.25); /* Halo Bootstrap orange */
}
/* Masquer les informations de contact sur smartphone */
@media (max-width: 767px) {
    .top-bar .top-info {
        display: none !important;
    }
    
    /* Optionnel : Centrer les horaires restants sur l'écran du smartphone */
    .top-bar .top-hours {
        text-align: center;
        width: 100%;
    }
}