@charset "UTF-8";
/* CSS Document */

/* ==========================================================================
   THEME.CSS - COUVERTURE PLÉLO
   Variables, Reset anti-débordement (box-sizing) & Layout 100% Flexbox
   ========================================================================== */

:root {
  --font: "Poppins", sans-serif;
  --dark: #071523;
  --dark2: #0d2235;
  --orange: #ff6b00;
  --soft: #f3f6f9;
  --text: #102238;
  --muted: #607087;
  --white: #fff;
  --radius: 24px;
  --shadow: 0 24px 70px rgba(5, 24, 42, 0.14);
  --red-alert: #d90429;
  --red-hover: #ef233c;
}

/* Reset Strict Anti-Décalage / Anti-Scroll Horizontal */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: var(--font);
  background-color: var(--soft);
  color: var(--text);
  line-height: 1.6;
  width: 100%;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

ul {
  list-style: none;
}

/* ==========================================================================
   HEADER FLEXIBEL (Titre + Accroche à gauche | Bouton Devis à droite | Nav dessous)
   ========================================================================== */

.main-header {
  background-color: var(--dark);
  color: var(--white);
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.header-top-flex {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 18px 5%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  width: 100%;
}

.header-brand-flex {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.company-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.5px;
  text-transform: uppercase;
}

.company-tagline {
  font-size: 0.88rem;
  color: var(--orange);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
}

.header-action-flex {
  display: flex;
  align-items: center;
}

.btn-devis-top {
  background-color: var(--orange);
  color: var(--white);
  padding: 12px 24px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(255, 107, 0, 0.3);
}

.btn-devis-top:hover {
  background-color: #e05e00;
  transform: translateY(-2px);
}

/* Navigation Flexbox */
.main-nav-flex {
  background-color: var(--dark2);
  padding: 0 5%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  min-height: 55px;
}

.nav-list-flex {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 20px;
  width: 100%;
  flex-wrap: wrap;
  padding: 10px 0;
}

.nav-link {
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  opacity: 0.9;
}

.nav-link:hover {
  background-color: rgba(255, 107, 0, 0.15);
  color: var(--orange);
  opacity: 1;
}

.burger-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--white);
  font-size: 1.8rem;
  cursor: pointer;
  padding: 10px;
}

/* ==========================================================================
   HERO SECTION & BOUTON TÉLÉPHONE ROUGE
   ========================================================================== */

.hero-section {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark2) 100%);
  color: var(--white);
  padding: 60px 5% 70px 5%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero-content-flex {
  max-width: 900px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}

.hero-badge {
  background-color: rgba(255, 107, 0, 0.15);
  color: var(--orange);
  border: 1px solid var(--orange);
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-section h1 {
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--white);
}

/* BOUTON TÉLÉPHONE LIEN ROUGE AVEC POLICE BLANCHE SOUS H1 */
.btn-phone-hero {
  background-color: var(--red-alert);
  color: var(--white) !important;
  font-size: 1.25rem;
  font-weight: 700;
  padding: 16px 32px;
  border-radius: var(--radius);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 10px 25px rgba(217, 4, 41, 0.4);
  transition: all 0.3s ease;
  margin: 8px 0;
}

.btn-phone-hero:hover {
  background-color: var(--red-hover);
  transform: scale(1.03);
  box-shadow: 0 14px 30px rgba(217, 4, 41, 0.5);
}

.hero-lead {
  font-size: 1.1rem;
  color: #c0d1e5;
  max-width: 780px;
  line-height: 1.7;
}

.hero-cta-group {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 10px;
}

.btn-hero-action {
  background-color: var(--orange);
  color: var(--white);
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-hero-action:hover {
  background-color: #e05e00;
}

.hero-info-tag {
  color: #94a9c4;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ==========================================================================
   SECTIONS DE SERVICES EN ALTERNANCE ET 100% FLEX
   ========================================================================== */

.service-block {
  padding: 80px 5%;
  width: 100%;
}

.block-alt-1 {
  background-color: var(--white);
}

.block-alt-2 {
  background-color: var(--soft);
}

.block-container-flex {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  max-width: 1200px;
  margin: 0 auto;
}

.reverse-flex {
  flex-direction: row-reverse;
}

.block-text-flex {
  flex: 1 1 50%;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.block-media-flex {
  flex: 1 1 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.section-subtitle {
  color: var(--orange);
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-block h2 {
  font-size: 2rem;
  color: var(--dark);
  font-weight: 700;
  line-height: 1.3;
}

.service-block p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 5px;
}

.features-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 500;
  font-size: 0.98rem;
}

.features-list i {
  color: var(--orange);
  font-size: 1.1rem;
}

.btn-block-action {
  margin-top: 10px;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: var(--dark);
  color: var(--white);
  padding: 12px 26px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
}

.btn-secondary:hover {
  background-color: var(--orange);
  transform: translateY(-2px);
}

/* Styles Médias / Images */
.image-wrapper {
  width: 100%;
  background-color: var(--white);
  padding: 12px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.image-wrapper img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: calc(var(--radius) - 8px);
}

.image-caption {
  font-size: 0.85rem;
  color: var(--muted);
  text-align: center;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* Style d'urgence SOS Fuite */
.emergency-highlight {
  background: linear-gradient(180deg, #fff 0%, #fff5f5 100%);
  border-top: 4px solid var(--red-alert);
  border-bottom: 4px solid var(--red-alert);
}

.alert-subtitle {
  color: var(--red-alert) !important;
}

.emergency-contact-card {
  background-color: var(--white);
  border: 2px dashed var(--red-alert);
  padding: 20px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.emergency-text {
  font-weight: 700;
  color: var(--dark) !important;
}

.btn-emergency-call {
  background-color: var(--red-alert);
  color: var(--white) !important;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: var(--radius);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-emergency-call:hover {
  background-color: var(--red-hover);
}

/* ==========================================================================
   FOOTER STRUCTURE EN FLEXBOX
   ========================================================================== */

.main-footer {
  background-color: var(--dark);
  color: var(--white);
  padding: 60px 5% 20px 5%;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.footer-container-flex {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  flex-wrap: wrap;
}

.footer-col-flex {
  flex: 1 1 280px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.footer-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  text-transform: uppercase;
}

.footer-about {
  color: #8fa0b5;
  font-size: 0.92rem;
  line-height: 1.6;
}

.footer-subhead {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--orange);
  position: relative;
  padding-bottom: 8px;
  border-bottom: 2px solid rgba(255, 107, 0, 0.3);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: #b0c2d8;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-links a:hover {
  color: var(--orange);
  transform: translateX(4px);
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #b0c2d8;
  font-size: 0.95rem;
}

.footer-contact-item i {
  color: var(--orange);
  width: 20px;
}

.footer-contact-item a:hover {
  color: var(--white);
}

.btn-footer-devis {
  background-color: var(--orange);
  color: var(--white);
  padding: 10px 20px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}

.btn-footer-devis:hover {
  background-color: #e05e00;
}

.footer-bottom-flex {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 20px;
  text-align: center;
  color: #607087;
  font-size: 0.85rem;
}

/* ==========================================================================
   RESPONSIVE DESIGN (MENU BURGER, TABLETTES & MOBILES)
   ========================================================================== */

@media (max-width: 992px) {
  .block-container-flex,
  .reverse-flex {
    flex-direction: column;
    gap: 30px;
  }

  .block-text-flex,
  .block-media-flex {
    flex: 1 1 100%;
  }

  .hero-section h1 {
    font-size: 1.9rem;
  }
}

@media (max-width: 768px) {
  .header-top-flex {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .header-action-flex {
    width: 100%;
  }

  .btn-devis-top {
    width: 100%;
    justify-content: center;
  }

  .burger-toggle {
    display: block;
    margin-left: auto;
  }

  .nav-list-flex {
    display: none;
    flex-direction: column;
    width: 100%;
    padding: 15px 0;
    gap: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-list-flex.active {
    display: flex;
  }

  .nav-list-flex li {
    width: 100%;
  }

  .nav-link {
    width: 100%;
    padding: 12px 16px;
  }

  .hero-section {
    padding: 40px 5% 50px 5%;
  }

  .btn-phone-hero {
    width: 100%;
    justify-content: center;
    font-size: 1.1rem;
    padding: 14px 20px;
  }

  .btn-hero-action {
    width: 100%;
    justify-content: center;
  }

  .service-block h2 {
    font-size: 1.5rem;
  }

  .image-wrapper img {
    height: 240px;
  }
}
.no-link {
    color: inherit !important;
    text-decoration: none !important;
    pointer-events: none;
}