@charset "UTF-8";
/* CSS Document */
/* ==========================================================================
   theme.css - Design Moderne, Épuré et Technique inspiré de Roofnest
   Architecture 100% Flexbox - Strictement aucun CSS Grid utilisé.
   Système de sécurité anti-décalage horizontal pour écrans tactiles.
   ========================================================================== */
/* Variables de configuration */ :root {
  --font: "DM Sans", sans-serif;
  --gray: #3c3c3c;
  --gray-rgb: 60, 60, 60;
  --base: #f95e11;
  --base-rgb: 249, 94, 17;
  --black: #111;
  --black-rgb: 17, 17, 17;
  --white: #fff;
  --accent-red: #d90429;
  --light-bg-1: #ffffff;
  --light-bg-2: #fdfaf7;
  --alert-bg: #fff5f1;
  --transition-fast: 0.3s ease;
}
/* Reset structurel impératif pour éviter tout débordement de boîte */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  width: 100%;
}
body {
  font-family: var(--font);
  background-color: var(--white);
  color: var(--gray);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  -webkit-font-smoothing: antialiased;
}
/* Liens & Éléments Multimédias Génériques */
a {
  text-decoration: none;
  color: inherit;
  transition: all var(--transition-fast);
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
ul {
  list-style: none;
}
/* Top bar d'informations */
.top-bar {
  background-color: var(--black);
  color: var(--white);
  font-size: 0.85rem;
  padding: 10px 24px;
  border-bottom: 2px solid var(--base);
  width: 100%;
}
.top-bar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}
.top-bar-item i {
  color: var(--base);
  margin-right: 8px;
}
/* ==========================================================================
   HEADER TECHNIQUE STRUCTURÉ EN FLEXBOX EN 3 PARTIES
   ========================================================================== */
.main-header {
  background-color: var(--white);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.06);
  width: 100%;
  display: flex;
  flex-direction: column;
}
/* Alignement Flex Supérieur */
.header-top-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 40px;
  max-width: 1300px;
  margin: 0 auto;
  width: 100%;
}
/* 1/ À gauche : Titre et accroche */
.header-branding {
  display: flex;
  flex-direction: column;
}
.brand-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--black);
  text-transform: uppercase;
  letter-spacing: -0.5px;
  line-height: 1.15;
}
.brand-tagline {
  font-size: 0.85rem;
  color: var(--base);
  font-weight: 700;
  margin-top: 5px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
/* 2/ À droite : Bouton devis par e-mail */
.header-cta-block {
  display: flex;
  align-items: center;
}
.btn-devis-header {
  background-color: var(--base);
  color: var(--white);
  padding: 14px 26px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(249, 94, 17, 0.25);
}
.btn-devis-header:hover {
  background-color: var(--black);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(17, 17, 17, 0.2);
}
/* 3/ En dessous : Menu de navigation à ancres */
.nav-menu-wrapper {
  background-color: var(--black);
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 0 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 1200px;
  width: 100%;
}
.nav-links li {
  display: block;
}
.nav-link-item {
  display: block;
  padding: 18px 22px;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 3px solid transparent;
}
.nav-link-item i {
  color: var(--base);
  margin-right: 6px;
  font-size: 0.85rem;
}
.nav-link-item:hover, .nav-link-item.current-active {
  color: var(--white);
  background-color: rgba(255, 255, 255, 0.04);
  border-bottom-color: var(--base);
}
/* Bouton Burger masqué par défaut sur les ordinateurs */
.burger-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.6rem;
  padding: 14px;
  cursor: pointer;
}
/* ==========================================================================
   SECTION HERO ET BOUTON DE CONTACT TÉLÉPHONIQUE OBLIGATOIRE
   ========================================================================== */
.hero-section {
  background: linear-gradient(rgba(17, 17, 17, 0.84), rgba(17, 17, 17, 0.84)), url('renovation-complete-toiture-saint-medard-en-jalles.jpg') no-repeat center center/cover;
  padding: 110px 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: var(--white);
  width: 100%;
}
.hero-content {
  max-width: 900px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-subtitle {
  color: var(--base);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero-section h1 {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 25px;
  letter-spacing: -1px;
}
/* BOUTON TÉLÉPHONE REQUIS : PLACÉ SOUS LE H1, FOND ROUGE, TEXTE BLANC */
.btn-phone-hero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--accent-red);
  color: var(--white);
  font-size: 1.6rem;
  font-weight: 800;
  padding: 16px 45px;
  border-radius: 6px;
  margin-bottom: 30px;
  box-shadow: 0 5px 25px rgba(217, 4, 41, 0.45);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 2px solid var(--white);
}
.btn-phone-hero i {
  margin-right: 14px;
  animation: shakePhone 2s infinite ease-in-out;
}
.btn-phone-hero:hover {
  background-color: var(--white);
  color: var(--accent-red);
  border-color: var(--accent-red);
  transform: scale(1.02);
}
.hero-text {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 40px;
  max-width: 800px;
  line-height: 1.65;
}
.hero-badges {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.badge-item {
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 12px 22px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
}
.badge-item i {
  color: var(--base);
  margin-right: 10px;
}
/* ==========================================================================
   SECTIONS PRESTATIONS DÉTAILLÉES (FLEXBOX ALTERNÉ SANS GRID)
   ========================================================================== */
.site-main-content {
  width: 100%;
  display: flex;
  flex-direction: column;
}
.services-flex-section {
  padding: 95px 40px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
/* Gestion de l'alternance des arrière-plans */
.services-flex-section:nth-child(odd) {
  background-color: var(--light-bg-1);
}
.services-flex-section:nth-child(even) {
  background-color: var(--light-bg-2);
}
/* Mise en avant spécifique pour la partie SOS Fuites / Urgences */
.services-flex-section.section-alert {
  background-color: var(--alert-bg);
  border-top: 2px dashed var(--base);
  border-bottom: 2px dashed var(--base);
}
/* Conteneur principal restrictif en largeur */
.section-container {
  display: flex;
  align-items: center;
  max-width: 1200px;
  width: 100%;
  gap: 65px;
}
/* Inversion Flexbox pour une présentation asymétrique asymétrique moderne */
.section-reverse .section-container {
  flex-direction: row-reverse;
}
/* Blocs Image de Prestations */
.service-image-block {
  display: flex;
  flex: 1;
  position: relative;
}
/* Éléments géométriques décoratifs modernes */
.service-image-block::before {
  content: "";
  position: absolute;
  top: -15px;
  left: -15px;
  width: 90px;
  height: 90px;
  border-top: 5px solid var(--base);
  border-left: 5px solid var(--base);
  z-index: 1;
}
.section-reverse .service-image-block::before {
  left: auto;
  right: -15px;
  border-left: none;
  border-right: 5px solid var(--base);
}
.service-img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
  z-index: 2;
}
/* Blocs Textuels */
.service-text-block {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
}
.section-badge {
  color: var(--base);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 15px;
}
.section-badge.badge-emergency {
  color: var(--accent-red);
  background-color: var(--white);
  padding: 6px 16px;
  border-radius: 50px;
  box-shadow: 0 3px 10px rgba(217, 4, 41, 0.12);
  font-weight: 800;
}
.service-text-block h2 {
  font-size: 2.3rem;
  font-weight: 800;
  color: var(--black);
  line-height: 1.25;
  margin-bottom: 22px;
  letter-spacing: -0.5px;
}
.service-description {
  font-size: 1.05rem;
  color: var(--gray);
  margin-bottom: 28px;
  text-align: justify;
}
.service-points {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 35px;
  width: 100%;
}
.service-points li {
  display: flex;
  align-items: flex-start;
  font-size: 1rem;
  font-weight: 600;
  color: var(--black);
}
.service-points li i {
  color: var(--base);
  margin-right: 14px;
  margin-top: 5px;
  font-size: 1.05rem;
}
/* Encadré technique SOS Fuite */
.emergency-callout {
  background-color: var(--white);
  border-left: 4px solid var(--accent-red);
  padding: 22px;
  border-radius: 0 4px 4px 0;
  margin-bottom: 28px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  width: 100%;
}
.highlight-text {
  color: var(--accent-red);
  font-weight: 700;
}
.btn-emergency-phone {
  display: inline-flex;
  align-items: center;
  background-color: var(--accent-red);
  color: var(--white);
  padding: 12px 26px;
  border-radius: 4px;
  font-weight: 800;
  margin-top: 15px;
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.btn-emergency-phone:hover {
  background-color: var(--black);
}
/* Bouton d'action standardisé pour les sections */
.btn-section-action {
  display: inline-flex;
  align-items: center;
  background-color: var(--black);
  color: var(--white);
  padding: 14px 30px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.btn-section-action i {
  margin-left: 10px;
  transition: transform var(--transition-fast);
}
.btn-section-action:hover {
  background-color: var(--base);
  box-shadow: 0 5px 15px rgba(249, 94, 17, 0.3);
}
.btn-section-action:hover i {
  transform: translateX(5px);
}
/* ==========================================================================
   FOOTER ROBUSTE EN FLEXBOX TECHNIQUE
   ========================================================================== */
.main-footer {
  background-color: var(--black);
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 40px 35px 40px;
  width: 100%;
  border-top: 4px solid var(--base);
}
.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  gap: 45px;
  margin-bottom: 55px;
}
.footer-column {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.branding-col {
  flex: 1.4;
}
.footer-logo {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--white);
  text-transform: uppercase;
  margin-bottom: 22px;
  letter-spacing: -0.5px;
}
.branding-col p {
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 22px;
}
.footer-labels {
  display: flex;
}
.label-item {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--white);
  padding: 10px 18px;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 4px;
}
.label-item i {
  color: var(--base);
  margin-right: 8px;
}
.footer-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 12px;
}
.footer-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 3px;
  background-color: var(--base);
}
.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-links-list a {
  font-size: 0.95rem;
}
.footer-links-list a:hover {
  color: var(--base);
  padding-left: 6px;
}
.contact-col p {
  font-size: 0.95rem;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
}
.contact-col p i {
  color: var(--base);
  margin-right: 14px;
  width: 16px;
}
.footer-link-direct {
  color: var(--white);
  font-weight: 700;
  margin-left: 5px;
}
.footer-link-direct:hover {
  color: var(--base);
}
.footer-cta-wrap {
  margin-top: 25px;
}
.btn-footer-devis {
  display: inline-flex;
  align-items: center;
  background-color: var(--base);
  color: var(--white);
  padding: 12px 22px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
}
.btn-footer-devis i {
  margin-right: 10px;
}
.btn-footer-devis:hover {
  background-color: var(--white);
  color: var(--black);
}
/* Ligne de copyright */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 35px;
  text-align: center;
  font-size: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
/* Animations d'alerte et de survol */
@keyframes shakePhone {
  0%, 100% {
    transform: rotate(0deg);
  }
  12%, 32% {
    transform: rotate(-10deg);
  }
  22%, 42% {
    transform: rotate(10deg);
  }
  50% {
    transform: rotate(0deg);
  }
}
.animate-pulse {
  animation: pulse 1.6s infinite;
}
@keyframes pulse {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
  100% {
    opacity: 1;
  }
}
/* ==========================================================================
   GESTION RESPONSIVE ET DU MENU BURGER DYNAMIQUE (FLEXBOX STRICT)
   ========================================================================== */
@media (max-width: 1024px) {
  .section-container {
    gap: 35px;
  }
  .service-text-block h2 {
    font-size: 1.9rem;
  }
  .hero-section h1 {
    font-size: 2.6rem;
  }
}
@media (max-width: 850px) {
  /* Top bar */
  .top-bar-container {
    flex-direction: column;
    gap: 6px;
    text-align: center;
  }
  /* Layout Header Supérieur */
  .header-top-flex {
    flex-direction: column;
    gap: 18px;
    text-align: center;
    padding: 15px 20px;
  }
  /* Bar Nav & Activation Menu Burger */
  .nav-menu-wrapper {
    justify-content: space-between;
    padding: 0 20px;
  }
  .burger-menu-toggle {
    display: block; /* Devient visible sur mobile */
  }
  .nav-links {
    display: none; /* Fermé par défaut */
    flex-direction: column;
    width: 100%;
    background-color: var(--black);
    padding: 15px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
  /* Classe appliquée dynamiquement par le script JavaScript */
  .nav-links.active {
    display: flex;
  }
  .nav-links li {
    width: 100%;
    text-align: left;
  }
  .nav-link-item {
    padding: 14px 24px;
    border-bottom: none;
    border-left: 4px solid transparent;
  }
  .nav-link-item:hover, .nav-link-item.current-active {
    border-bottom-color: transparent;
    border-left-color: var(--base);
  }
  /* Bascule automatique des sections en colonnes empilées sans débordement */
  .section-container, .section-reverse .section-container {
    flex-direction: column;
    gap: 35px;
  }
  .service-image-block, .service-text-block {
    width: 100%;
    flex: none;
  }
  .service-img {
    height: 320px;
  }
  /* Colonnes du Footer */
  .footer-container {
    flex-direction: column;
    gap: 40px;
  }
}
@media (max-width: 480px) {
  .hero-section h1 {
    font-size: 1.9rem;
  }
  .btn-phone-hero {
    font-size: 1.2rem;
    padding: 14px 24px;
    width: 100%;
  }
  .service-text-block h2 {
    font-size: 1.6rem;
  }
  .services-flex-section {
    padding: 55px 20px;
  }
  .brand-title {
    font-size: 1.15rem;
  }
  .top-bar-container span:first-child {
    display: none
  }
}
iframe {
  display: block
}
.no-link {
  color: inherit !important;
  text-decoration: none !important;
  pointer-events: none;
}
/* ==========================================================================
   STRUCTURE DU HEADER (Tous écrans)
   ========================================================================== */
.header-top-flex {
  position: relative; /* INDISPENSABLE pour servir de repère au bouton en absolute */
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
}
/* Par défaut, le bouton burger est masqué sur ordinateur */
.burger-menu-toggle {
  display: none;
  position: absolute;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: #333; /* À adapter selon votre charte */
  cursor: pointer;
  padding: 10px;
  z-index: 10;
}
.nav-links {
  display: flex;
  list-style: none;
  gap: 15px;
  margin: 0;
  padding: 0;
}
/* ==========================================================================
   VERSION MOBILE (Exemple : Moins de 992px ou 768px selon votre responsive)
   ========================================================================== */
@media (max-width: 992px) {
  .header-top-flex {
    padding: 15px 25px;
  }
  .burger-menu-toggle {
    display: block;
    right: 10px;
    top: 30px;
    transform: translateY(-50%);
    position: absolute;
  }
  /* Adaptation de l'UL qui passe en menu déroulant vertical */
  .nav-links {
    display: none; /* Masqué par défaut sur mobile */
    flex-direction: column;
    width: 100%;
    background-color: #fff; /* À adapter */
    position: absolute;
    left: 0;
    top: 100%; /* S'ouvre pile en dessous du header */
    z-index: 9;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
  }
  /* Classe injectée par votre JavaScript pour ouvrir le menu */
  .nav-links.active {
    display: flex;
    background: #000;
    border-bottom: solid #f95f11 5px;
    gap:0;
  }
  .nav-links li {
    width: 100%;
    text-align: left;
  }
}