@charset "UTF-8";
/* CSS Document */
/* ==========================================================================
   1. REGLES GLOBALES ET VARIABLES (Style Onet-le-Château)
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box !important;
}
:root {
  --primary: #e80000; /* Rouge Vif Éclatant */
  --primary-dark: #833c3c; /* Brun Brique Chaud */
  --dark: #000000;
  --light-grey: #444444;
  --bg-light: #fdfdfd;
  --white: #FFFFFF;
  --font-sans: 'Montserrat', sans-serif;
  --transition-smooth: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}
body {
  font-family: var(--font-sans);
  background-color: var(--bg-light);
  color: var(--light-grey);
  overflow-x: hidden;
  scroll-behavior: smooth;
}
footer {
    background-color: var(--dark);
}
.section-padding {
  padding: 100px 0;
}
.text-primary-color {
  color: var(--primary) !important;
}
/* ==========================================================================
   2. TYPOGRAPHIE (Structure Premium Aurox v3)
   ========================================================================== */
h1 {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 25px;
  text-transform: uppercase;
  letter-spacing: -1px;
}
h2 {
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: -0.5px;
}
h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--dark);
}
.subtitle-section {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--primary);
  font-weight: 700;
  display: block;
  margin-bottom: 10px;
}
.line-element {
  width: 60px;
  height: 4px;
  background-color: var(--primary);
  margin-top: 15px;
  border-radius: 2px;
}
/* ==========================================================================
   3. HEADER & MENU NAV BURGER RESPONSIVE
   ========================================================================== */
.main-header {
  background-color: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  padding: 15px 0;
  border-bottom: 2px solid var(--primary);
  transition: var(--transition-smooth);
  z-index: 9999;
}
.logo-brand .icon-brand {
  font-size: 40px;
  color: var(--primary);
  margin-right: 12px;
  font-variation-settings: 'FILL'1;
}
.firm-name {
  color: var(--white);
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1.1;
}
.firm-sub {
  color: var(--primary);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav-item-link {
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition-smooth);
  position: relative;
  padding: 5px 0;
}
.nav-item-link:hover, .nav-item-link.active {
  color: var(--primary);
}
.nav-item-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-dark);
  transition: var(--transition-smooth);
}
.nav-item-link:hover::after {
  width: 100%;
}
.btn-devis-nav {
  background-color: var(--primary);
  color: var(--white) !important;
  padding: 10px 20px;
  border-radius: 30px;
  font-weight: 700;
}
.btn-devis-nav:hover {
  background-color: var(--white);
  color: var(--dark) !important;
  transform: translateY(-2px);
}
.burger-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 10001;
}
.burger-bar {
  width: 100%;
  height: 3px;
  background-color: var(--white);
  border-radius: 2px;
  transition: var(--transition-smooth);
}
/* ==========================================================================
   4. HERO SECTION & BANDEAU ROUGE VIF UNIQUE
   ========================================================================== */
.hero-section {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.9) 0%, rgba(20, 20, 20, 0.8) 100%), url('reno_toiture.jpg');
  background-size: cover;
  background-position: center;
  min-height: 100vh;
  padding-top: 140px;
  padding-bottom: 80px;
}
.badge-top-seo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(232, 0, 0, 0.15);
  border: 1px solid var(--primary);
  color: var(--primary);
  padding: 8px 16px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 20px;
}
/* Bouton Téléphone imposant sous le H1 (Demande d'origine) */
.btn-phone-hero {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background-color: var(--primary) !important; /* Rouge Vif #e80000 */
  color: var(--white) !important; /* Police Blanche */
  font-weight: 800;
  font-size: 1.6rem;
  padding: 15px 35px;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 10px 20px rgba(232, 0, 0, 0.4);
  transition: var(--transition-smooth);
  margin-top: 10px;
  margin-bottom: 25px;
  animation: pulseGlow 2s infinite ease-in-out;
}
.btn-phone-hero:hover {
  background-color: #be0000 !important;
  transform: scale(1.05);
  box-shadow: 0 12px 25px rgba(232, 0, 0, 0.6);
}
.btn-phone-hero span {
  font-variation-settings: 'FILL'1;
  font-size: 2rem;
}
.btn-custom-primary {
  display: inline-block;
  background-color: var(--primary);
  color: var(--white);
  font-weight: 700;
  padding: 15px 30px;
  border-radius: 4px;
  text-decoration: none;
  transition: var(--transition-smooth);
  margin-right: 15px;
}
.btn-custom-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-3px);
}
.btn-custom-secondary {
  display: inline-block;
  border: 2px solid var(--white);
  color: var(--white);
  font-weight: 700;
  padding: 13px 30px;
  border-radius: 4px;
  text-decoration: none;
  transition: var(--transition-smooth);
}
.btn-custom-secondary:hover {
  background-color: var(--white);
  color: var(--dark);
}
.hero-image-stack {
  position: relative;
  display: inline-block;
}
.main-img-hero {
  border: 8px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition-smooth);
}
.floating-badge-experience {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background-color: var(--primary-dark);
  color: var(--white);
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  text-align: center;
  font-weight: 700;
  border: 2px solid var(--white);
}
.floating-badge-experience .badge-num {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}
.floating-badge-experience .badge-lbl {
  font-size: 0.75rem;
  text-transform: uppercase;
}
/* ==========================================================================
   5. EXPERTISES - AFFICHAGE DYNAMIQUE (Essentials Blocks style)
   ========================================================================== */
.card-expertise-box {
  background-color: var(--white);
  padding: 45px 35px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
  transition: var(--transition-smooth);
  height: 100%;
  position: relative;
  overflow: hidden;
}
.card-expertise-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition-smooth);
}
.card-expertise-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}
.card-expertise-box:hover::before {
  transform: scaleX(1);
}
.icon-box-wrapper {
  width: 70px;
  height: 70px;
  background-color: rgba(232, 0, 0, 0.1);
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  transition: var(--transition-smooth);
}
.card-expertise-box:hover .icon-box-wrapper {
  background-color: var(--primary);
}
.icon-fill-custom {
  font-size: 32px;
  color: var(--primary);
  font-variation-settings: 'FILL'1;
  transition: var(--transition-smooth);
}
.card-expertise-box:hover .icon-fill-custom {
  color: var(--white);
}
/* ==========================================================================
   6. GRID LAYOUT ASSYMÉTRIQUE
   ========================================================================== */
.grid-images-layout {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}
.grid-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 4px solid rgba(255, 255, 255, 0.05);
}
.item-1 {
  grid-column: 1 / span 8;
  transform: translateY(20px);
}
.item-2 {
  grid-column: 5 / span 8;
  transform: translateY(-20px);
}
/* ==========================================================================
   7. GALERIE EFFETS HOVER DYNAMIQUES
   ========================================================================== */
.portfolio-item-box {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}
.portfolio-item-box img {
  transition: var(--transition-smooth);
  width: 100%;
}
.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(232, 0, 0, 0.4) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
  opacity: 0;
  transition: var(--transition-smooth);
}
.portfolio-item-box:hover .portfolio-overlay {
  opacity: 1;
}
.portfolio-item-box:hover img {
  transform: scale(1.1);
}
.portfolio-overlay h4, .portfolio-overlay p {
    color: var(--white);
}
/* ==========================================================================
   8. FORMULAIRE STYLE FLEX DYNAMIQUE & RECAPTCHA
   ========================================================================== */
.form-container-flex-dynamic {
  padding: 50px;
  border-top: 5px solid var(--primary);
}
.form-icon-main {
  font-size: 50px;
  color: var(--primary);
  font-variation-settings: 'FILL'1;
  margin-bottom: 15px;
}
.flex-form-row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -10px;
  margin-left: -10px;
  margin-bottom: 20px;
}
.flex-field-group {
  padding-left: 10px;
  padding-right: 10px;
  display: flex;
  flex-direction: column;
}
.width-50 {
  flex: 0 0 50%;
  max-width: 50%;
}
.width-100 {
  flex: 0 0 100%;
  max-width: 100%;
}
.flex-field-group label {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--dark);
  margin-bottom: 8px;
  text-transform: uppercase;
}
.form-control-custom {
  background-color: #f8f9fa;
  border: 2px solid #e9ecef;
  padding: 12px 18px;
  border-radius: 6px;
  transition: var(--transition-smooth);
}
.form-control-custom:focus {
  background-color: var(--white);
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 4px rgba(232, 0, 0, 0.15);
}
.g-recaptcha {
  display: inline-block;
  margin: 15px 0;
}
.btn-submit-form-flex {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  border: none;
  padding: 16px 30px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 1.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(232, 0, 0, 0.3);
  transition: var(--transition-smooth);
}
/* ==========================================================================
   9. SYSTEME DE KEYFRAMES & ANIMATIONS
   ========================================================================== */
@keyframes pulseGlow {
  0% {
    box-shadow: 0 0 0 0 rgba(232, 0, 0, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(232, 0, 0, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(232, 0, 0, 0);
  }
}
@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}
.animate-bounce {
  animation: bounce 4s infinite ease-in-out;
}
.content-hero-animate {
  animation: fadeInUp 1s ease-out;
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* ==========================================================================
   10. MEDIA QUERIES COMPLET (Contraintes Responsive Design)
   ========================================================================== */
@media (max-width: 991.98px) {
  h1 {
    font-size: 2.3rem;
  }
  h2 {
    font-size: 2rem;
  }
  .section-padding {
    padding: 60px 0;
  }
  .burger-menu-btn {
    display: flex;
  }
  .nav-menu-wrapper {
    position: fixed;
    top: 75px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 75px);
    background-color: rgba(0, 0, 0, 0.98);
    transition: var(--transition-smooth);
    padding: 40px;
  }
  .nav-menu-wrapper.open {
    left: 0;
  }
  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 25px;
  }
  .burger-menu-btn.active .burger-bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }
  .burger-menu-btn.active .burger-bar:nth-child(2) {
    opacity: 0;
  }
  .burger-menu-btn.active .burger-bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }
  .item-1, .item-2 {
    grid-column: 1 / span 12;
    transform: none;
  }
}
@media (max-width: 575.98px) {
  /* Bandeau Téléphone Mobile Centré et Imposant sous le H1 */
  .btn-phone-hero {
    display: flex;
    width: 100%;
    justify-content: center;
    text-align: center;
    font-size: 1.3rem;
    padding: 12px 10px;
    border-radius: 4px;
  }
  .form-container-flex-dynamic {
    padding: 25px 15px;
  }
  .width-50 {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .g-recaptcha {
    transform: scale(0.85);
    transform-origin: 0 0;
  }
}
iframe {
  display: block
}
.no-link {
  color: inherit !important;
  text-decoration: none !important;
  pointer-events: none;
}