@charset "UTF-8";
/* CSS Document */
/* * ============================================================
 * THEME: Roofer - Entreprise Expert Couvreur
 * VERSION: 1.0.0
 * COLORS: #000000, #f60808, #f68308, #888888
 * ============================================================
 */
/* --- 1. VARIABLES & FONT --- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&family=Roboto:wght@400;500;700&display=swap');
:root {
  --tp-common-black: #000000;
  --tp-common-white: #ffffff;
  --tp-primary: #f60808;
  --tp-secondary: #f68308;
  --tp-grey: #888888;
  --tp-heading: #000000;
  --tp-body: #555555;
  --tp-border: #ebebeb;
  --tp-bg-grey: #f8f8f8;
  --tp-transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
/* Correction du jeu horizontal (Overflow) */
html, body {
    max-width: 100vw;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

.row {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.container {
    overflow: hidden; /* Coupe ce qui dépasse des boîtes */
}
/* --- 2. RESET & BASE --- */
*, *::after, *::before {
  box-sizing: border-box;
}
body {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: var(--tp-body);
  line-height: 1.6;
  overflow-x: hidden;
  background-color: var(--tp-common-white);
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  color: var(--tp-heading);
  margin-bottom: 15px;
  font-weight: 700;
  line-height: 1.2;
}
a {
  text-decoration: none;
  color: inherit;
  transition: var(--tp-transition);
}
ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
img {
  max-width: 100%;
  height: auto;
  transition: var(--tp-transition);
}
.assistance {
  position: -webkit-sticky;
  position: sticky;
  top: 200px !important;
  z-index: 99 !important;
  padding: 20px;
}
.assistance h3 {
    color: white
}
/* --- 3. TYPOGRAPHY HELPERS --- */
.text-primary {
  color: var(--tp-primary) !important;
}
.text-secondary {
  color: var(--tp-secondary) !important;
}
.text-black {
  color: var(--tp-common-black) !important;
}
.text-grey {
  color: var(--tp-grey) !important;
}
.font-bold {
  font-weight: 700;
}
.font-black {
  font-weight: 900;
}
.uppercase {
  text-transform: uppercase;
}
/* --- 4. LAYOUT & SECTIONS --- */
.section-py-100 {
  padding: 100px 0;
}
.section-py-80 {
  padding: 80px 0;
}
.section-title-wrapper {
  margin-bottom: 50px;
  position: relative;
}
.section-subtitle {
  color: var(--tp-primary);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
  display: block;
}
.section-main-title {
  font-size: 42px;
  margin-bottom: 20px;
  position: relative;
}
.section-main-title::after {
  content: "";
  width: 60px;
  height: 3px;
  background: var(--tp-primary);
  position: absolute;
  bottom: -10px;
  left: 0;
}
.text-center .section-main-title::after {
  left: 50%;
  transform: translateX(-50%);
}
/* --- 5. HEADER & NAVIGATION (ROOFT STYLE) --- */
.main-header {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: var(--tp-common-white);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}
.header-top-area {
  background: var(--tp-common-black);
  color: var(--tp-common-white);
  padding: 8px 0;
  font-size: 13px;
}
.header-top-info span {
  margin-right: 20px;
}
.header-top-info i {
  color: var(--tp-secondary);
  margin-right: 5px;
}
.header-logo h1 {
  font-size: 24px;
  margin-bottom: 0;
  font-weight: 800;
  letter-spacing: -1px;
}
.main-menu ul {
  display: flex;
  align-items: center;
}
.main-menu ul li {
  position: relative;
  margin: 0 15px;
}
.main-menu ul li a {
  display: block;
  padding: 30px 0;
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--tp-common-black);
}
.main-menu ul li a:hover, .main-menu ul li a.active {
  color: var(--tp-primary);
}
/* --- 6. BUTTONS (CONSTRAINT 7 & 5) --- */
.tp-btn-phone {
  background: var(--tp-primary);
  color: var(--tp-common-white) !important;
  padding: 12px 28px;
  border-radius: 5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  border: 2px solid var(--tp-primary);
  transition: var(--tp-transition);
}
.tp-btn-phone:hover {
  background: transparent;
  color: var(--tp-primary) !important;
}
.tp-btn-mail {
  background: var(--tp-secondary);
  color: var(--tp-common-white) !important;
  padding: 12px 28px;
  font-weight: 800; /* Bold (Constraint 7) */
  display: inline-block;
  border-radius: 5px;
}
/* Mobile H1 Phone Button (Constraint 5) */
.mobile-h1-btn {
  display: none;
  margin-top: 15px;
}
@media (max-width: 767px) {
  .mobile-h1-btn {
    display: block;
  }
  .mobile-h1-btn .tp-btn-phone {
    width: 100%;
    justify-content: center;
    font-size: 18px;
  }
}
/* --- 7. BREADCRUMB / HERO --- */
.tp-breadcrumb-area {
  padding: 120px 0;
  background-size: cover;
  background-position: center;
  position: relative;
  background-repeat: no-repeat;
}
.tp-breadcrumb-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.65);
  z-index: 1;
}
.tp-breadcrumb-content {
  position: relative;
  z-index: 2;
  color: var(--tp-common-white);
}
.tp-breadcrumb-title {
  font-size: 54px;
  color: var(--tp-common-white);
  margin-bottom: 10px;
}
/* --- 8. SERVICE CARDS --- */
.tp-service-item {
  background: var(--tp-common-white);
  padding: 45px 35px;
  border-radius: 10px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
  margin-bottom: 30px;
  height: 100%;
  transition: var(--tp-transition);
  border-bottom: 3px solid transparent;
}
.tp-service-item:hover {
  transform: translateY(-10px);
  border-bottom: 3px solid var(--tp-primary);
}
.tp-service-icon {
  font-size: 50px;
  color: var(--tp-primary);
  margin-bottom: 25px;
  display: inline-block;
}
.tp-service-title {
  font-size: 22px;
  margin-bottom: 15px;
}
/* --- 9. CONTENT BLOCKS --- */
.content-box-right {
  padding-left: 30px;
}
.content-box-left {
  padding-right: 30px;
}
.tp-image-mask {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
}
.tp-image-mask img:hover {
  transform: scale(1.05);
}
.tp-feature-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
}
.tp-feature-list i {
  color: var(--tp-secondary);
  margin-right: 12px;
  margin-top: 5px;
}
/* --- 10. SOS & URGENCY SPECIFIC --- */
.urgency-badge {
  background: var(--tp-primary);
  color: white;
  padding: 5px 15px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 10px;
}
.alert-box {
  border-left: 5px solid var(--tp-primary);
  background: #fff5f5;
  padding: 25px;
  border-radius: 5px;
}
/* --- 11. BURGER MENU (CONSTRAINT 2.1) --- */
.tp-menu-toggle {
  font-size: 25px;
  color: var(--tp-common-black);
  cursor: pointer;
  display: none;
}
@media (max-width: 991px) {
  .tp-menu-toggle {
    display: block;
  }
  .main-menu {
    position: fixed;
    top: 0;
    left: -300px;
    width: 300px;
    height: 100%;
    background: var(--tp-common-black);
    z-index: 1100;
    transition: var(--tp-transition);
    padding: 50px 30px;
  }
  .main-menu.active {
    left: 0;
  }
  .main-menu ul {
    flex-direction: column;
    align-items: flex-start;
  }
  .main-menu ul li {
    margin: 0;
    margin-bottom: 15px;
    width: 100%;
  }
  .main-menu ul li a {
    color: white;
    padding: 10px 0;
    border-bottom: 1px solid #333;
  }
}
/* --- 12. UTILITY CLASSES (MINIMUM 100 TOTAL) --- */
.mt-5 {
  margin-top: 5px;
}
.mt-10 {
  margin-top: 10px;
}
.mt-15 {
  margin-top: 15px;
}
.mt-20 {
  margin-top: 20px;
}
.mt-25 {
  margin-top: 25px;
}
.mt-30 {
  margin-top: 30px;
}
.mt-40 {
  margin-top: 40px;
}
.mt-50 {
  margin-top: 50px;
}
.mt-60 {
  margin-top: 60px;
}
.mt-80 {
  margin-top: 80px;
}
.mt-100 {
  margin-top: 100px;
}
.mb-5 {
  margin-bottom: 5px;
}
.mb-10 {
  margin-bottom: 10px;
}
.mb-15 {
  margin-bottom: 15px;
}
.mb-20 {
  margin-bottom: 20px;
}
.mb-25 {
  margin-bottom: 25px;
}
.mb-30 {
  margin-bottom: 30px;
}
.mb-40 {
  margin-bottom: 40px;
}
.mb-50 {
  margin-bottom: 50px;
}
.mb-60 {
  margin-bottom: 60px;
}
.mb-80 {
  margin-bottom: 80px;
}
.mb-100 {
  margin-bottom: 100px;
}
.pt-50 {
  padding-top: 50px;
}
.pb-50 {
  padding-bottom: 50px;
}
.pt-100 {
  padding-top: 100px;
}
.pb-100 {
  padding-bottom: 100px;
}
.bg-black {
  background-color: var(--tp-common-black);
}
.bg-primary {
  background-color: var(--tp-primary);
}
.bg-secondary {
  background-color: var(--tp-secondary);
}
.bg-grey {
  background-color: var(--tp-bg-grey);
}
.bg-white {
  background-color: var(--tp-common-white);
}
.rounded-10 {
  border-radius: 10px;
}
.rounded-20 {
  border-radius: 20px;
}
.shadow-sm {
  box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .075);
}
.shadow-lg {
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, .175);
}
.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}
.overflow-hidden {
  overflow: hidden;
}
.z-index-1 {
  z-index: 1;
}
.z-index-2 {
  z-index: 2;
}
.relative {
  position: relative;
}
.opacity-7 {
  opacity: 0.7;
}
.opacity-9 {
  opacity: 0.9;
}
.border-0 {
  border: 0 !important;
}
.border-top {
  border-top: 1px solid var(--tp-border);
}
/* --- 13. ANIMATIONS --- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate3d(0, 40px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}
.animated-fadeInUp {
  animation: fadeInUp 0.8s ease-out forwards;
}
@keyframes pulse-red {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(246, 8, 8, 0.7);
  }
  70% {
    transform: scale(1.05);
    box-shadow: 0 0 0 10px rgba(246, 8, 8, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(246, 8, 8, 0);
  }
}
.pulse-primary {
  animation: pulse-red 2s infinite;
}
/* --- 14. FOOTER --- */
.tp-footer-area {
  background: #0b0b0b;
  padding-top: 80px;
  color: #999;
}
.tp-footer-widget-title {
  color: white;
  font-size: 20px;
  margin-bottom: 30px;
  border-left: 3px solid var(--tp-primary);
  padding-left: 15px;
}
.tp-footer-contact-info li {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}
.tp-footer-contact-info i {
width: 40px;
  height: 40px;
  display: flex;
  background: var(--tp-primary) !important;
  text-align: center;
  border-radius: 50%;
  color: white;
  margin-right: 15px;
  justify-content: center;
  align-items: center;
}
.tp-footer-bottom {
  background: #000;
  padding: 25px 0;
  border-top: 1px solid #1a1a1a;
  margin-top: 60px;
}
/* --- FORCE L'AFFICHAGE DU BURGER SUR MOBILE --- */
@media (max-width: 991px) {
    /* Le bouton lui-même */
    .burger-btn {
        display: flex !important; /* Force l'affichage */
        flex-direction: column;
        justify-content: space-around;
        width: 35px;
        height: 25px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
        z-index: 10001; /* Doit être au-dessus de tout */
    }

    /* Les 3 barres du burger (noires pour être visibles sur fond blanc) */
    .burger-line {
        width: 100%;
        height: 3px;
        background-color: #000000 !important; /* Couleur NOIRE pour la visibilité */
        transition: all 0.3s ease;
        display: block;
    }

    /* Le menu qui glisse */
    .main-menu {
        position: fixed;
        top: 0;
        right: -100%; /* Caché à droite */
        width: 280px;
        height: 100vh;
        background: #ffffff;
        z-index: 10000;
        transition: 0.4s;
        padding-top: 80px;
        display: block !important; /* On retire le d-none de Bootstrap */
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    }

    /* Quand le menu est ouvert */
    .main-menu.active {
        right: 0 !important;
        background: #000;
    }
}

/* Cache le bouton sur ordinateur */
@media (min-width: 992px) {
    .burger-btn {
        display: none !important;
    }
}
iframe {
    display: block
}
/* Empêche tout débordement horizontal sur l'ensemble du site */
html, body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}
@media (max-width: 991px) {
    .main-menu {
        position: fixed; /* Impératif pour ne pas pousser le contenu */
        top: 0;
        right: -100%;
        width: 280px;
        z-index: 10000;
    }
}img {
    max-width: 100%;
    height: auto;
}