@charset "UTF-8";
/* ==========================================================================
   1. VARIABLES, PALETTE DE COULEURS & COMPOSANTS GRAPHIQUES (ROOFNEST KIT)
   ========================================================================== */ :root {
  /* Couleurs principales demandées */
  --jkit-txt-color: #575A5F;
  --jkit-txt-h-color: #181D23;
  --jkit-txt-a-color: #0058E6;
  --jkit-txt-m-color: #96989B;
  --jkit-txt-alt-color: #ffffff;
  --jkit-form-border-color: #D5D5D7;
  --jkit-form-bg-color: transparent;
  --jkit-form-txt-color: #181D23;
  --jkit-btn-txt-color: #ffffff;
  --jkit-btn-bg-color: #0058E6;
  /* Variantes de nuances pour enrichir l'UI (Style Premium) */
  --jkit-primary-hover: #0046b8;
  --jkit-primary-light: #edf4ff;
  --jkit-bg-light-grey: #f8fafc;
  --jkit-bg-dark-accent: #0f1319;
  --jkit-border-subtle: #e2e8f0;
  /* Couleurs d'alerte et boutons d'urgence */
  --danger-color: #dc2626;
  --danger-hover: #b91c1c;
  --danger-light: #fef2f2;
  /* Paramètres de design global */
  --transition-smooth: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 16px;
  --box-shadow-subtle: 0 4px 20px rgba(24, 29, 35, 0.04);
  --box-shadow-hover: 0 20px 35px rgba(0, 88, 230, 0.12);
  --box-shadow-dark: 0 15px 30px rgba(0, 0, 0, 0.3);
}
/* ==========================================================================
   2. RESET DE SÉCURITÉ RESPONSIVE & ANTI-DÉCALAGE HORIZONTAL (OVERFLOW)
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  outline: none;
}
html {
  scroll-behavior: smooth;
  text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden; /* Blocage absolu de la barre de défilement horizontale */
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--jkit-txt-color);
  background-color: #ffffff;
  line-height: 1.7;
  font-size: 16px;
}
/* Typographies structurales calibrées */
h1, h2, h3, h4, h5, h6 {
  color: var(--jkit-txt-h-color);
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}
p {
  margin-top: 0;
  margin-bottom: 1.25rem;
}
p:last-child {
  margin-bottom: 0;
}
a {
  color: var(--jkit-txt-a-color);
  text-decoration: none;
  transition: var(--transition-smooth);
}
a:hover {
  color: var(--jkit-primary-hover);
}
img {
  max-width: 100%;
  height: auto;
  display: block;
  border: 0;
}
/* Base de layout */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 25px;
}
/* ==========================================================================
   3. STRUCTURE DU LOGO ET DU BOUTON D'URGENCE (SOUS LE H1)
   ========================================================================== */
.brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}
.brand h1 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--jkit-txt-h-color);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0;
}
/* Bouton d'urgence sous le H1 (Fond rouge, police blanche) */
.btn-emergency {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--danger-color);
  color: var(--jkit-txt-alt-color) !important;
  padding: 8px 16px;
  border-radius: var(--border-radius-sm);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 10px rgba(220, 38, 38, 0.25);
  transition: var(--transition-smooth);
}
.btn-emergency i {
  font-size: 0.95rem;
}
.btn-emergency:hover {
  background-color: var(--danger-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(220, 38, 38, 0.4);
}
.btn-emergency:active {
  transform: translateY(0);
}
/* ==========================================================================
   4. STRUCTURE DES EN-TÊTES : TOPBAR & MAIN HEADER
   ========================================================================== */
.topbar {
  background-color: var(--jkit-txt-h-color);
  color: var(--jkit-txt-m-color);
  font-size: 0.85rem;
  padding: 10px 0;
  border-bottom: 1px solid #232932;
  font-weight: 500;
}
.topbar-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.topbar-info {
  display: flex;
  align-items: center;
  gap: 24px;
}
.topbar-info span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.topbar-info a {
  color: var(--jkit-txt-m-color);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.topbar-info a:hover {
  color: var(--jkit-txt-alt-color);
}
.topbar-info i {
  color: var(--jkit-txt-a-color);
}
.topbar-social {
  display: flex;
  align-items: center;
  gap: 16px;
}
.topbar-social i {
  cursor: pointer;
  transition: var(--transition-smooth);
}
.topbar-social i:hover {
  color: var(--jkit-txt-alt-color);
  transform: scale(1.15);
}
/* Main Header Sticky */
.main-header {
  background-color: var(--jkit-txt-alt-color);
  box-shadow: 0 4px 25px rgba(24, 29, 35, 0.06);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: padding 0.3s ease;
}
.header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
/* Liens de navigation ancres dynamiques */
.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
}
.nav-links a:not(.btn-nav-devis) {
  position: relative;
  text-decoration: none;
  color: var(--jkit-txt-h-color);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 6px 0;
}
/* Animation de soulignement moderne au survol */
.nav-links a:not(.btn-nav-devis)::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--jkit-txt-a-color);
  transition: var(--transition-smooth);
}
.nav-links a:not(.btn-nav-devis):hover {
  color: var(--jkit-txt-a-color);
}
.nav-links a:not(.btn-nav-devis):hover::after {
  width: 100%;
}
/* Bouton demande de devis dans la navigation */
.btn-nav-devis {
  background-color: var(--jkit-btn-bg-color);
  color: var(--jkit-btn-txt-color) !important;
  padding: 12px 24px;
  border-radius: var(--border-radius-sm);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.3px;
  box-shadow: 0 4px 12px rgba(0, 88, 230, 0.2);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-nav-devis:hover {
  background-color: var(--jkit-primary-hover);
  box-shadow: 0 6px 18px rgba(0, 88, 230, 0.35);
  transform: translateY(-1px);
}
/* Bouton Menu Burger Mobile */
.burger-menu {
  display: none;
  background: transparent;
  border: none;
  font-size: 1.6rem;
  color: var(--jkit-txt-h-color);
  cursor: pointer;
  padding: 5px;
  transition: var(--transition-smooth);
}
.burger-menu:hover {
  color: var(--jkit-txt-a-color);
}
/* ==========================================================================
   5. DESIGN DE LA CONSOLE HERO GRAPHISME AVANCÉ (ROOFNEST VIBES)
   ========================================================================== */
.hero-section {
  position: relative;
  background: linear-gradient(rgba(15, 19, 25, 0.88), rgba(24, 29, 35, 0.85)), url('nettoyage-demoussage-toit.jpg') no-repeat center center/cover;
  padding: 140px 0;
  color: var(--jkit-txt-alt-color);
  display: flex;
  align-items: center;
}
/* Décoration asymétrique de fond style Elementor Kit */
.hero-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 15px;
  background: var(--jkit-txt-alt-color);
  clip-path: polygon(0 100%, 100% 100%, 100% 0);
}
.hero-content {
  max-width: 780px;
}
.hero-tagline {
  color: var(--jkit-txt-alt-color);
  background-color: var(--jkit-txt-a-color);
  display: inline-block;
  padding: 6px 16px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border-radius: var(--border-radius-sm);
  margin-bottom: 25px;
  box-shadow: 0 4px 10px rgba(0, 88, 230, 0.3);
}
.hero-section h2 {
  color: var(--jkit-txt-alt-color);
  font-size: 3.4rem;
  line-height: 1.15;
  margin-bottom: 20px;
  font-weight: 800;
}
.hero-section p {
  font-size: 1.15rem;
  color: #cbd5e1;
  margin-bottom: 40px;
  max-width: 680px;
}
.hero-cta-group {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.btn-main-action {
  background-color: var(--jkit-btn-bg-color);
  color: var(--jkit-btn-txt-color);
  padding: 16px 32px;
  text-decoration: none;
  font-weight: 700;
  border-radius: var(--border-radius-sm);
  box-shadow: 0 5px 20px rgba(0, 88, 230, 0.4);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.btn-main-action:hover {
  background-color: var(--jkit-primary-hover);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 88, 230, 0.5);
}
.btn-secondary-action {
  background-color: transparent;
  color: var(--jkit-txt-alt-color);
  border: 2px solid rgba(255, 255, 255, 0.3);
  padding: 14px 30px;
  text-decoration: none;
  font-weight: 700;
  border-radius: var(--border-radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.btn-secondary-action:hover {
  border-color: var(--jkit-txt-alt-color);
  background-color: var(--jkit-txt-alt-color);
  color: var(--jkit-txt-h-color);
  transform: translateY(-3px);
}
/* ==========================================================================
   6. SECTIONS INTERNUTES : SECTIONS SERVICES ALTERNÉES EN FLEX LABELS
   ========================================================================== */
.section-services {
  padding: 100px 0;
  position: relative;
  border-bottom: 1px solid var(--jkit-border-subtle);
}
/* Finitions de fonds alternés */
.bg-light {
  background-color: var(--jkit-bg-light-grey);
}
/* Section D'urgence (SOS Fuite) Spéciale */
.border-alert {
  border-left: 6px solid var(--danger-color);
  background-color: #fffdfd;
}
.alert-color {
  color: var(--danger-color) !important;
}
.flex-services {
  display: flex;
  align-items: center;
  gap: 70px;
}
.flex-reverse {
  flex-direction: row-reverse;
}
.service-text {
  flex: 1.1;
}
.service-img {
  flex: 0.9;
  position: relative;
}
/* Subtitle et Numbers */
.service-subtitle {
  color: var(--jkit-txt-a-color);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 15px;
}
.section-services h3 {
  font-size: 2.2rem;
  margin-bottom: 24px;
  font-weight: 800;
  position: relative;
}
/* Décoration de barre sous titre premium */
.section-services h3::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background-color: var(--jkit-txt-a-color);
  margin-top: 12px;
  border-radius: 2px;
}
.text-right h3::after {
  margin-left: auto;
}
.border-alert h3::after {
  background-color: var(--danger-color);
}
.section-services p {
  color: var(--jkit-txt-color);
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 18px;
  text-align: justify;
}
/* Style des Images Modernes et Effet Survol Hover */
.service-img img {
  width: 100%;
  border-radius: var(--border-radius-md);
  box-shadow: 0 15px 40px rgba(24, 29, 35, 0.08);
  object-fit: cover;
  aspect-ratio: 4/3;
  transition: var(--transition-smooth);
}
/* Encadrement décoratif sous l'image au survol */
.service-img::before {
  content: '';
  position: absolute;
  top: 15px;
  left: 15px;
  width: 100%;
  height: 100%;
  border: 2px solid var(--jkit-txt-a-color);
  border-radius: var(--border-radius-md);
  z-index: -1;
  transition: var(--transition-smooth);
}
.flex-reverse .service-img::before {
  left: -15px;
}
.border-alert .service-img::before {
  border-color: var(--danger-color);
}
.service-img:hover img {
  transform: translateY(-5px);
  box-shadow: 0 25px 50px rgba(24, 29, 35, 0.15);
}
.service-img:hover::before {
  transform: translate(-5px, -5px);
}
/* Boutons de redirections d'action mail / devis au sein des services */
.btn-service-devis {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  color: var(--jkit-txt-h-color);
  text-decoration: none;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  border-bottom: 2px solid var(--jkit-txt-a-color);
  padding-bottom: 4px;
}
.btn-service-devis i {
  color: var(--jkit-txt-a-color);
  transition: transform 0.25s ease;
}
.btn-service-devis:hover {
  color: var(--jkit-txt-a-color);
}
.btn-service-devis:hover i {
  transform: translateX(6px);
}
/* Boutons spécifiques d'urgence de contact par bloc direct */
.btn-emergency-inline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  background-color: var(--danger-color);
  color: var(--jkit-txt-alt-color);
  padding: 14px 28px;
  text-decoration: none;
  border-radius: var(--border-radius-sm);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.9rem;
  box-shadow: 0 5px 15px rgba(220, 38, 38, 0.3);
}
.btn-emergency-inline:hover {
  background-color: var(--danger-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(220, 38, 38, 0.45);
}
/* Alignements structurels configurés selon la parité */
.text-left {
  text-align: left;
}
.text-right {
  text-align: right;
}
/* ==========================================================================
   7. MAIN FOOTER DESIGN DE CONFORT & INJECTEURS GRILLES
   ========================================================================== */
.main-footer {
  background-color: var(--jkit-bg-dark-accent);
  color: #a1a8b3;
  padding: 80px 0 30px;
  font-size: 0.95rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  border-bottom: 1px solid #232932;
  padding-bottom: 50px;
}
.footer-about h4, .footer-contact h4 {
  color: var(--jkit-txt-alt-color);
  font-size: 1.35rem;
  margin-bottom: 25px;
  font-weight: 700;
  position: relative;
}
/* Ligne décorative footer */
.footer-about h4::after, .footer-contact h4::after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background-color: var(--jkit-txt-a-color);
  margin-top: 10px;
}
.footer-about p {
  line-height: 1.8;
}
.footer-contact p {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.footer-contact i {
  color: var(--jkit-txt-a-color);
  font-size: 1.1rem;
  width: 20px;
}
.footer-contact a {
  color: var(--jkit-txt-alt-color);
  font-weight: 600;
}
.footer-contact a:hover {
  color: var(--jkit-txt-a-color);
}
.footer-bottom {
  text-align: center;
  padding-top: 30px;
  font-size: 0.85rem;
  color: var(--jkit-txt-m-color);
}
/* ==========================================================================
   8. COMPOSANTS DE PROTECTION SÉCURISÉE COMPLÉMENTAIRE (IFRAMES & LINKS)
   ========================================================================== */
iframe {
  display: block;
  border: 0;
  width: 100%;
}
.no-link {
  color: inherit !important;
  text-decoration: none !important;
  pointer-events: none !important;
  cursor: default;
}
/* ==========================================================================
   9. SYSTÈME DE GRILLES RESPONSIVES COMPACTES ET BREAKPOINTS (MEDIA QUERIES)
   ========================================================================== */
/* Écrans intermédiaires Desktop / Tablettes Paysage */
@media (max-width: 1200px) {
  .hero-section h2 {
    font-size: 3rem;
  }
  .flex-services {
    gap: 40px;
  }
}
@media (max-width: 992px) {
  .hero-section {
    padding: 100px 0;
  }
  .hero-section h2 {
    font-size: 2.4rem;
  }
  .flex-services, .flex-reverse {
    flex-direction: column;
    gap: 40px;
  }
  .service-img, .service-text {
    width: 100%;
  }
  /* Force la ré-harmonisation de l'alignement sur mobile */
  .text-right {
    text-align: left;
  }
  .text-right h3::after {
    margin-left: 0;
  }
  /* Permet de conserver le bloc texte au-dessus de l'image sur tous les blocs */
  .flex-reverse {
    flex-direction: column;
  }
  .service-img::before {
    left: 15px !important;
  }
}
/* Écrans Mobiles et Tablettes Portrait (Déploiement du Menu Burger) */
@media (max-width: 768px) {
  .topbar {
    display: none; /* Nettoyage de l'espace haut sur mobile */
  }
  .main-header {
    padding: 12px 0;
  }
  .brand h1 {
    font-size: 1.2rem;
  }
  .burger-menu {
    display: block; /* Activation de l'interrupteur burger */
  }
  /* Transformation en rideau dynamique pour l'affichage mobile */
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--jkit-txt-alt-color);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    box-shadow: 0 15px 30px rgba(24, 29, 35, 0.1);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }
  /* Classe active gérée par le script JavaScript PHP */
  .nav-links.active {
    max-height: 600px;
    padding-bottom: 25px;
    border-top: 1px solid var(--jkit-border-subtle);
  }
  .nav-links a:not(.btn-nav-devis) {
    width: 100%;
    text-align: center;
    padding: 16px 0;
    border-bottom: 1px solid #f8fafc;
    font-size: 1rem;
  }
  .nav-links a:not(.btn-nav-devis)::after {
    display: none; /* Suppression de l'effet barre sur mobile */
  }
  /* Adaptation du bouton de devis sur mobile */
  .btn-nav-devis {
    border-radius: var(--border-radius-sm);
    width: calc(100% - 50px) !important;
    margin: 20px auto 0 auto;
    justify-content: center;
  }
  .hero-section h2 {
    font-size: 2rem;
  }
  .hero-cta-group {
    flex-direction: column;
    gap: 12px;
  }
  .btn-main-action, .btn-secondary-action {
    width: 100%;
    justify-content: center;
  }
  .section-services {
    padding: 60px 0;
  }
  .section-services h3 {
    font-size: 1.75rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}
/* Optimisation pour les très petits écrans (Smartphones de moins de 480px) */
@media (max-width: 480px) {
  .brand h1 {
    font-size: 1rem;
  }
  .btn-emergency {
    padding: 6px 12px;
    font-size: 0.75rem;
  }
  .hero-section h2 {
    font-size: 1.7rem;
  }
}
iframe {
	display: block
}
.no-link {
    color: inherit !important;
    text-decoration: none !important;
    pointer-events: none;
}
/* Alignement en grille du Header */
.header-grid-layout {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    row-gap: 20px; /* Espace entre la ligne du haut et les liens en dessous */
}

/* Force la navigation à prendre toute la largeur en dessous */
.nav-links {
    grid-column: 1 / -1; /* S'étale sur toutes les colonnes (en dessous) */
    display: flex;
    justify-content: center; /* Centre les liens sous le logo */
    gap: 30px;
    border-top: 1px solid var(--jkit-border-subtle);
    padding-top: 15px;
}

/* Style du conteneur du bouton Devis à droite */
.header-right-action {
    display: flex;
    justify-content: flex-end;
}

/* ==========================================================================
   AJUSTEMENTS RESPONSIVE (MOBILE)
   ========================================================================== */
@media (max-width: 768px) {
    .header-grid-layout {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    /* Sur mobile, on cache le bouton devis de droite pour éviter les chevauchements */
    .header-right-action {
        display: none;
    }

    /* Le menu burger prend sa place à droite */
    .burger-menu {
        display: block;
    }

    /* Réadaptation du menu mobile en rideau déroulant */
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--jkit-txt-alt-color);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding-top: 0;
        border-top: none;
        box-shadow: 0 15px 30px rgba(24, 29, 35, 0.1);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease-in-out;
        z-index: 999;
    }

    .nav-links.active {
        max-height: 500px;
        border-top: 1px solid var(--jkit-border-subtle);
        padding-bottom: 20px;
    }

    .nav-links a {
        width: 100%;
        text-align: center;
        padding: 15px 0;
        border-bottom: 1px solid #f8fafc;
    }

    /* On réinjecte proprement un bouton devis au fond du menu mobile uniquement */
    .nav-links::after {
        content: 'Demande de Devis';
        display: block;
        margin: 15px auto 0;
        padding: 12px 24px;
        background-color: var(--jkit-btn-bg-color);
        color: white;
        width: calc(100% - 40px);
        text-align: center;
        font-weight: 700;
        border-radius: var(--border-radius-sm);
        cursor: pointer;
    }
}