/* ============================================================
   0. FONT-FACE
   ============================================================ */

@font-face {
    font-family: 'themify';
    src: url('fonts/themify.woff2') format('woff2'),
        url('fonts/themify.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
/* fonts themify */
[class^="ti-"], [class*=" ti-"] {
  font-family: 'themify';
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;

  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.ti-mobile:before {
  content: "\e621";
}
.ti-angle-down:before {
  content: "\e64b";
}
.ti-arrow-top-right:before {
  content: "\e65a";
}
.ti-arrow-right:before {
  content: "\e628";
}
.ti-angle-right:before {
    content: "\e649";
}
.ti-angle-left:before {
    content: "\e64a";
}
.ti-arrow-left:before {
  content: "\e629";
}
.ti-menu:before {
  content: "\e68e";
}
.ti-close:before {
  content: "\e646";
}
.ti-email:before {
  content: "\e75a";
}
.ti-location-pin:before {
  content: "\e693";
}
.ti-user:before {
  content: "\e602";
}
.ti-facebook:before {
    content: "\e741";
}
.ti-instagram:before {
    content: "\e73d";
}
.ti-time:before {
  content: "\e72b";
}
.ti-check:before {
  content: "\e64c";
}

/* ============================================================
   1. VARIABLES & RESET
   ============================================================ */

:root {
  /* Couleurs principales du logo */
  --primaire: #045ca5;
  --primaire-clair: #127dc6;
  --primaire-sombre: #073d6c;
  --primaire-hover: #0258a2;
  --secondaire: #4b7d16;
  --secondaire-hover: #649927;
  --gris-bg: #f5f7f6;
  --gris-clair: #e9f0f5;
  --gris-texte: #4d5e55;
  --blanc: #ffffff;
  --noir-texte: #052748;
  --radius: 8px;
  --radius-lg: 14px;
  --shadow: 0 4px 20px rgba(5, 57, 31, 0.12);
  --shadow-hover: 0 8px 30px rgba(5, 57, 31, 0.22);
  --transition: 0.25s ease;
  --max-width: 1200px;
  --font: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

/* Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  color: var(--noir-texte);
  background: var(--blanc);
  line-height: 1.65;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}
.cover img,
.contain img {
    width: 100%;
    height: 100%;
}
.cover img {
    object-fit: cover;
}
.contain img {
    object-fit: contain;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button,
input,
select,
textarea {
  font-family: var(--font);
  font-size: 1rem;
}


/* ============================================================
   2. COMPOSANTS COMMUNS
   ============================================================ */

/* --- Conteneur --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.section-alt {
  background: var(--gris-bg);
}

/* --- En-tête de section --- */
.section-header {
  margin-bottom: 56px;
}
@media(min-width: 992px) {
    .section-header {
      text-align: center;
    }
}

.section-header .pretitle {
  display: inline-block;
      background: var(--secondaire-hover);
    color: var(--gris-clair);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 14px;
}

.section-header h2,
.section-header .h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--primaire);
  line-height: 1.25;
  margin-bottom: 14px;
}

.section-services .section-header .h2 {
  max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-header p {
  color: var(--gris-texte);
  font-size: 1.05rem;
  max-width: 700px;
  margin: 0 auto;
}
.section-services .section-header p {
  max-width: 600px;
}

/* --- Boutons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
@media(max-width: 767px) {
    .btn {
        padding-left: 14px;
        padding-right: 14px;
        line-height: 1.2;
    }
}


.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.btn-primary {
  background: var(--secondaire);
  color: var(--blanc);
}

.btn-primary:hover {
  background: var(--secondaire-hover);
}

.btn-secondary {
  background: var(--primaire);
  color: var(--blanc);
}

.btn-secondary:hover {
  background: var(--primaire-hover);
}

.btn-outline {
  background: transparent;
  color: var(--blanc);
  border: 2px solid var(--blanc);
}

.btn-outline:hover {
  background: var(--blanc);
  color: var(--primaire);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.9rem;
}
.btn .ti-arrow-right {
    padding-top: 5px;
}

.btn-shimmer {
  position: relative;
  overflow: hidden;
}

.btn-shimmer::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0% {
    left: -100%;
  }
  20% {
    left: 120%;
  }
  100% {
    left: 120%;
  }
}

/* --- Badges --- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 30px;
  padding: 6px 14px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(4px);
}

.badge svg {
  flex-shrink: 0;
  opacity: 0.95;
}

/* --- Effet de révélation au scroll --- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}


/* ============================================================
   3. TOP BAR
   ============================================================ */

.top-bar {
  background: var(--primaire-sombre);
  color: var(--blanc);
  font-size: 0.85rem;
  padding: 8px 0;
  overflow: hidden;
  position: relative;
  z-index: 200;
}

.top-bar .top-inner {
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
  /*white-space: nowrap;
  animation: ticker 30s linear infinite;*/
}

.top-bar .top-inner span {
  flex-shrink: 0;
  display: flex;
}

.top-bar .top-bar-tel {
  display: flex;
  gap: 10px;
}
.top-bar .top-bar-tel svg {
  width: 14px;
  margin-top: 3px;
}
.top-bar a {
  color: #54b0ef;
  font-weight: 700;
    display: flex;
    align-items: center;
    gap: 4px;
}
.top-bar a:hover {
  text-decoration: underline;
}

/*@keyframes ticker {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}*/


/* ============================================================
   4. HEADER / NAVIGATION
   ============================================================ */

header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--gris-clair);
  box-shadow: rgba(0, 0, 0, 0.3) 0px 4px 20px;
  transition: background var(--transition);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* Logo */
.header-logo {
  display: flex;
  align-items: center;

  position: relative;
  z-index: 99;
  top: 70px;
  transition: all .3s ease;
}
.header-logo.logo-fixed,
.mentions .header-logo {
  top: 0;
}


.header-logo img {
  height: 200px;
  width: auto;
  flex-shrink: 0;
  transition: all .3s ease;
}
.header-logo.logo-fixed img,
.mentions .header-logo img {
  height: 65px;
}
@media(max-width: 767px) {
  .header-logo {
    top: 18px;
  }
  .header-logo img {
    height: 95px;
  }
}

/* Navigation desktop */
nav ul {
  display: flex;
  align-items: center;
  gap: 14px;
}

nav ul li > a {
  color: var(--noir-texte);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 9.5px 12px;
  border-radius: var(--radius);
  transition: background var(--transition), color var(--transition);
}

nav ul li:hover > a,
nav ul li.active > a {
    background: #bed4c9;
    color: #093f63;
}

/* Dropdown */
nav ul li.has-dropdown {
  position: relative;
}
.has-dropdown::after {
    content: '';
    position: absolute;
    bottom: -42px;
    left: 0;
    width: 100%;
    height: 42px;
    z-index: 101;
}

.dropdown-arrow {
  font-size: 0.7rem;
  opacity: 0.7;
  margin-left: 3px;
  transition: transform var(--transition);
}

nav ul li.has-dropdown:hover .dropdown-arrow {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 190%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  background: var(--blanc);
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
  min-width: 220px;
  padding: 8px;
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  z-index: 200;
}
@media(min-width: 992px) {
  .dropdown-menu {
    white-space: nowrap;
  }
}

.dropdown-menu::before {
  content: '';
  position: absolute;
  top: 9px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-bottom: 7px solid var(--blanc);
}

nav ul li.has-dropdown:hover .dropdown-menu {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}
.dropdown-menu li {
    width: 100%;
}
.dropdown-menu li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primaire) !important;
  background: transparent;
  transition: background 0.15s, color 0.15s;
  /*white-space: nowrap;*/
}
@media(min-width: 992px) {
  .dropdown-menu li a {
    padding: 5px 14px;
  }
}

.dropdown-menu li a:hover {
  background: var(--gris-bg) !important;
  color: var(--secondaire) !important;
}

.dropdown-menu .dropdown-divider {
  height: 1px;
  background: #eee;
  margin: 6px 8px;
}

.dropdown-menu .dropdown-all {
  border-top: 1px solid #eee;
  margin-top: 4px;
  padding-top: 4px;
}

.dropdown-menu .dropdown-all a {
  color: var(--secondaire) !important;
  font-size: 0.85rem;
  justify-content: center;
}

.dropdown-menu .dropdown-all a:hover {
  background: rgba(253, 77, 2, 0.08) !important;
}

.btn-top-nav {
    display: none;
}
@media(min-width: 992px) {
    .btn-top-nav {
        display: flex;
        gap: 14px;
    }
}

/* Bouton CTA dans le header */
.btn-header {
  background: var(--secondaire);
  color: var(--blanc) !important;
  padding: 10px 20px !important;
  border-radius: var(--radius) !important;
  font-weight: 700 !important;
  font-size: 0.9rem !important;
  transition: background var(--transition), transform var(--transition) !important;

    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-header:hover {
  background: var(--secondaire-hover) !important;
  transform: translateY(-1px);
}
.btn-header.btn-nav-tel {
    background: var(--primaire-clair);
}
.btn-header.btn-nav-tel svg {
    width: 14px;
    height: 14px;
}
.btn-header.btn-nav-tel:hover {
    background: var(--primaire-hover) !important;
}

/* Hamburger (mobile) */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-right: -8px;
  -webkit-tap-highlight-color: transparent;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: var(--noir-texte);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* Navigation mobile */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 70px 0 0 0;
  background: var(--primaire);
  z-index: 99;
  flex-direction: column;
  padding: 20px 16px;
  gap: 4px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav a {
  color: var(--blanc);
  font-size: 1rem;
  font-weight: 500;
  padding: 13px 14px;
  border-radius: var(--radius);
  border-bottom: 1px solid rgb(255 255 255 / 17%);
  transition: background var(--transition);
  display: block;
}

.mobile-nav a:hover {
  background: rgba(255, 255, 255, 0.1);
}
.mobile-menu-item.has-dropdown > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-nav .btn-mobile-cta {
  margin-top: 12px;
  background: var(--secondaire);
  text-align: center;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  padding: 15px;
  border-bottom: none;
  letter-spacing: 0.02em;
}

.mobile-nav .btn-mobile-cta:hover {
  background: var(--secondaire-hover);
}

/* Sous-menu mobile */
.mobile-submenu {
    display: none;
     flex-direction: column;
    gap: 2px;
    background: rgb(255 255 255);
    padding: 6px 8px;
    margin: 10px 0 4px 0;
}

.mobile-submenu a {
  color: var(--primaire-hover);
  font-size: 0.95rem !important;
  font-weight: 500;
  padding: 10px 14px !important;
  border-radius: 6px !important;
  border-bottom: none !important;
  opacity: 0.9;
  transition: background var(--transition), opacity var(--transition);
}

.mobile-submenu a:hover {
  background: rgba(255, 255, 255, 0.15) !important;
  opacity: 1;
}

.mobile-submenu.open {
  display: flex;
}


/* ============================================================
   5. HERO
   ============================================================ */

.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  overflow: hidden;
    flex-direction: column;
}
.contact .hero,
.devis .hero {
  min-height: 350px;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--primaire-sombre);
  opacity: 0.68;
  z-index: 1;
    width: 100%;
    height: 100%;
    top: 0;
}

.hero .container {
  position: relative;
  z-index: 1;
  padding-top: 40px;
  padding-bottom: 40px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 435px;
  align-items: center;
  gap: 48px;
}
@media(max-width: 991px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }
}

.hero-content {
  max-width: 700px;
}
@media(min-width: 768px) {
  .hero-content {
    padding-top: 5rem;
  }
}

.hero-badge {
  display: inline-block;
  background: var(--secondaire);
  color: var(--blanc);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.accroche-hero {
  margin-bottom: 36px;
}
.accroche-hero h1,
.accroche-hero.h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 900;
  color: var(--blanc);
  line-height: 1.15;
  margin-bottom: 20px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}
.accroche-hero h1 strong {
    display: block;
    color: #caff8c;
    font-size: clamp(2rem, 5vw, 3.4rem);
}

.accroche-hero h1 span {
  color: var(-- #caff8c);
}

.accroche-hero p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255, 255, 255, 0.85);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
    justify-content: center;
    padding-bottom: 2rem;
    position: relative;
    z-index: 3;
}

.badge-item {
  display: flex;
  align-items: center;
  gap: 7px;
  background: rgb(5 39 72 / 40%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 30px;
  padding: 7px 16px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(4px);
}

.badge-item .check {
  color: #4ade80;
  font-size: 1rem;
}

/* Hero - Notation */
.hero-rating {
  margin-top: 0;
  margin-bottom: 16px;
}

.hero-rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgb(5 39 72 / 40%);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(6px);
  border-radius: 40px;
  padding: 10px 20px;
  font-size: 0.92rem;
  color: var(--blanc);
}

.hero-rating-badge .hero-stars {
  color: #52b4f7;
  font-size: 1rem;
  letter-spacing: 1px;
}

.hero-rating-badge .hero-rating-score {
  font-weight: 800;
  font-size: 1rem;
}

.hero-rating-badge .hero-rating-sep {
  opacity: 0.5;
}

.hero-rating-badge .hero-rating-count {
  opacity: 0.9;
}

/* Formulaire dans le hero */
.hero-form {
  background: var(--blanc);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.25);
  text-align: center;
}

.hero-form-header {
  text-align: center;
  margin-bottom: 18px;
}

.hero-form-title {
  font-size: 24px;
  font-weight: 600;
  color: var(--primaire);
  display: block;
}

.hero-form-urgence {
  text-align: center;
  background: #fef2f2;
  border: 1px solid #fca5a5;
  color: #991b1b;
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 0.82rem;
  margin-bottom: 10px;
  animation: pulse-urgence 2s ease-in-out infinite;
}

@keyframes pulse-urgence {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

.hero-form-rating-top {
  text-align: center;
    background: linear-gradient(135deg, #fff3ee, #ffe8de);
    border: 1px solid #fd4d02;
  border-radius: 8px;
  padding: 8px 14px;
  margin-bottom: 14px;
  font-size: 0.85rem;
  color: #92400e;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.stars-gold {
  color: var(--primaire-sombre);
  font-size: 1rem;
  letter-spacing: 1px;
}

.hero-form-rating {
  font-size: 0.82rem;
  color: var(--gris-texte);
}

.hero-form form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-input,
.hero-form input,
.hero-form select,
.hero-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--gris-clair);
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-family: var(--font);
  transition: border var(--transition);
  resize: vertical;
}

.form-input:focus,
.hero-form input:focus,
.hero-form select:focus,
.hero-form textarea:focus {
  outline: none;
  border-color: var(--secondaire);
}

.col-input {
    display: flex;
    gap: 12px;
}
@media(max-width: 767px) {
    .col-input {
        flex-direction: column;
    }
}
.hero-form-footer {
  margin-top: 12px;
  font-size: 0.78rem;
  color: var(--gris-texte);
  text-align: center;
}

.hero-form .form-success {
  display: none;
  text-align: center;
  padding: 20px 0;
}

.hero-form .form-success.show {
  display: block;
}

.logo-engagement {
    background-color: var(--gris-bg);
    padding: 30px 0;
}
.logo-engagement-grid {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
}
.logo-engagement-grid span {
    display: flex;
    flex: 0 0 150px;
    width: 150px;
    background-color: var(--blanc);
    height: 100px;
    padding: 10px;
    border: 1px solid #e5e5e5;
}
@media(max-width: 767px) {
  .logo-engagement-grid {
    gap: 5px;
  }
  .logo-engagement-grid span {
    display: flex;
     flex: 0 0 95px; 
    width: 95px;
    height: 75px;
  }
}


/* ============================================================
   6. FORMULAIRES & VALIDATION
   ============================================================ */

.form-reassurance {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
  font-size: 0.85rem;
  color: var(--noir-texte);
}

.form-reassurance span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.check-green {
  color: #16a34a;
  font-size: 1.1rem;
  font-weight: 900;
}

.form-legal {
  margin-top: 10px;
  font-size: 0.72rem;
  color: var(--gris-texte);
  text-align: center;
  border-bottom: 1px solid var(--gris-clair);
}

.form-legal a {
  color: var(--primaire-clair);
  display: block;
  text-decoration: underline;
}

.form-call-alt {
  text-align: center;
  margin-top: 12px;
  font-size: 0.85rem;
  color: var(--gris-texte);
}

/*@media(max-width: 767px) {
    .form-call-alt span {
        display: block;
    }
}*/
.form-call-link {
  color: var(--secondaire);
  text-decoration: none;
  font-size: 0.95rem;
}

.form-call-link:hover {
  text-decoration: underline;
}

/* Validation inline */
.input-error {
  border-color: #dc2626 !important;
  background: #fef2f2;
}

.field-error {
  display: block;
  color: #dc2626;
  font-size: 0.78rem;
  margin-top: 4px;
}

/* Formulaire de contact */
.contact-form-wrap {
  background: var(--blanc);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
}

.contact-form-wrap h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primaire);
  margin-bottom: 8px;
}

.contact-form-wrap .form-intro {
  color: var(--gris-texte);
  margin-bottom: 28px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primaire);
  margin-bottom: 7px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--gris-clair);
  border-radius: var(--radius);
  background: var(--gris-bg);
  color: var(--noir-texte);
  font-size: 1rem;
  transition: border-color var(--transition), background var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primaire);
  background: var(--blanc);
}

.form-group textarea {
  resize: vertical;
  min-height: 130px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-success {
  display: none;
  background: #ecfdf5;
  border: 2px solid #4ade80;
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  color: #166534;
  font-weight: 600;
  margin-top: 20px;
}

.form-success.show {
  display: block;
}

/* Quick Devis */
.quick-devis-wrap {
  max-width: 500px;
  margin: 0 auto;
  background: var(--blanc);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  box-shadow: var(--shadow);
  border: 2px solid var(--gris-clair);
}

.quick-devis-form .form-group {
  margin-bottom: 16px;
}

.quick-devis-form .form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primaire);
  margin-bottom: 6px;
}

.quick-devis-form .form-group input,
.quick-devis-form .form-group select,
.quick-devis-form .form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 2px solid var(--gris-clair);
  border-radius: var(--radius);
  background: var(--gris-bg);
  color: var(--noir-texte);
  font-size: 0.95rem;
  transition: border-color var(--transition), background var(--transition);
  outline: none;
}

.quick-devis-form .form-group input:focus,
.quick-devis-form .form-group select:focus,
.quick-devis-form .form-group textarea:focus {
  border-color: var(--primaire);
  background: var(--blanc);
}

.quick-devis-form .form-group textarea {
  resize: vertical;
  min-height: 60px;
}

.qd-reassurance {
  font-size: 0.82rem;
  color: var(--gris-texte);
  line-height: 1.5;
}

/* ============================================================
   7. PRESENTATION
      CONTENU
   ============================================================ */
.presentation-grid,
.contenu-grid {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 56px;
    align-items: center;
}
.contenu-2 .contenu-grid {
    grid-template-columns: 1fr 580px;
}

.section-presentation .section-header,
.section-contenu .section-header {
    margin-bottom: 0;
    text-align: left;
}
.section-presentation h2,
.section-contenu h2 {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 800;
    color: var(--primaire);
    line-height: 1.25;
    margin-bottom: 36px;
    max-width: 800px;
}
.presentation-grid ul,
.contenu-grid ul {
    margin: 15px 0;
}
.presentation-grid ul li,
.contenu-grid ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 8px;
}
.presentation-grid ul li::before,
.contenu-grid ul li::before {
    content: "\e64c";
    position: absolute;
    left: 0;
    font-family: 'themify';
    color: var(--secondaire);
}
.presentation-cta,
.contenu-cta {
    margin-top: 24px;
}

.img-presenation,
.img-contenu {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.contenu-2 .img-contenu {
  order: 2;
  height: 100%;
}
.img-presention-lg,
.img-contenu-lg {
    height: 535px;
    background-color: var(--gris-clair);
    border-radius: var(--radius-lg);
    overflow: hidden;
    width: 100%;
    flex: 100%;
}
.contenu-2 .img-contenu-lg {
    height: 100%; 
}
.img-presention-md,
.img-contenu-md {
    display: flex;
    gap: 10px;
    height: 250px;
    flex-wrap: wrap;
}
.img-presention-md span,
.img-contenu-md span {
    flex:1;
    background-color: var(--gris-clair);
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 100%;
    display: flex;
}

@media(max-width: 991px) {
    .presentation-grid,
    .contenu-grid,
    .contenu-2 .contenu-grid {
        grid-template-columns: 1fr;
    }
    .img-presenation,
    .img-contenu {
        display: none;
    }
}
.presta-bg {
  background-color: var(--gris-bg);
}
.contenu-3 .img-contenu {
  height: 100%;
}
.contenu-3 .img-contenu-md {
    flex: 1;
    height: 100%;
}

/* ============================================================
   8. SERVICES
   ============================================================ */
.section-services {
    background-color: var(--gris-bg);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.service-card {
  background: var(--blanc);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.service-card .card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.service-card .card-body {
  padding: 24px;
}

.service-card .h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primaire);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-card .h3 .icon {
  font-size: 1.3rem;
}

.service-card p {
  color: var(--gris-texte);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 16px;
}

.card-link,
[data-as-button="true"] {
    color: var(--secondaire);
    font-weight: 600;
    font-size: .9rem;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: gap var(--transition);
}

.card-link:hover,
[data-as-button="true"]:hover  {
  gap: 8px;
}

[data-as-button="true"]::after {
    content: "\e628";
    font-family: 'themify';
    padding-top: 5px;
    margin-left: 10px;
}

/* Service detail */
.service-detail {
  padding: 64px 0;
  border-bottom: 1px solid var(--gris-clair);
}

.service-detail:last-child {
  border-bottom: none;
}

.service-detail-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.service-detail-inner.reverse {
  direction: rtl;
}

.service-detail-inner.reverse>* {
  direction: ltr;
}

.service-detail img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.service-detail-text h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--primaire);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.service-detail-text p {
  color: var(--gris-texte);
  margin-bottom: 14px;
  line-height: 1.75;
}

.service-checklist {
  margin: 16px 0 24px;
}

.service-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 9px;
  color: var(--gris-texte);
  font-size: 0.95rem;
}

.service-checklist li::before {
  content: '✓';
  color: var(--secondaire);
  font-weight: 700;
  margin-top: 1px;
  flex-shrink: 0;
}

.services-cta {
    margin-top: 44px;
    text-align: center;
}

/* ============================================================
   9. POURQUOI NOUS CHOISIR
   ============================================================ */

.section-why {
  background: linear-gradient(135deg, var(--primaire-hover) 0%, var(--primaire) 100%);
}
.section-why .section-header .h2 {
  color: var(--blanc);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.section-why .section-header .pretitle {
    background: var(--secondaire-hover);
    color: var(--gris-clair);
}
.section-why .section-header h2 {
    max-width: 100%;
    color: var(--gris-clair);
}

.about-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-hover);
}

.about-text .pretitle {
  display: inline-block;
  background: rgba(253, 77, 2, 0.12);
  color: var(--secondaire);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.about-text h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--primaire);
  margin-bottom: 20px;
  line-height: 1.25;
}

.about-text p {
  color: var(--gris-texte);
  line-height: 1.75;
  margin-bottom: 14px;
}

.about-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 24px 0 32px;
}

.value-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: var(--primaire-sombre);
  padding: 14px;
  border-radius: var(--radius);
}

.value-item .val-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
    background: var(--primaire-hover);
    padding: 5px;
    border-radius: 7px;
}

.value-item .val-text {
  font-size: 0.88rem;
  color: var(--gris-clair);
}

.value-item .val-text strong {
  display: block;
  color: var(--blanc);
  margin-bottom: 3px;
}

.value-item .val-text span {
  color: var(--gris-texte);
}

/* ============================================================
   10. ZONES D'INTERVENTION
   ============================================================ */

.section-zones .section-header {
    margin-bottom: 16px;
}
.zones-section .zones-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.zone-col h3,
.zone-col .villes-list strong {
  font-size: 1.1rem;
  color: var(--primaire);
  margin-bottom: 16px;
  font-weight: 700;
}
@media(min-width: 992px) {    
    .zone-col .villes-list {
        text-align: center;
    }
}

.villes-list ul {
    display: flex;
    gap: 10px;
    margin: 15px 0;
    flex-wrap: wrap;
}

.ville-tag,
.villes-list li {
  background: var(--gris-bg);
  border: 1px solid var(--gris-clair);
  color: var(--noir-texte);
  font-size: 0.82rem;
  padding: 4px 11px;
  border-radius: 20px;
  transition: background var(--transition), color var(--transition);
  /*cursor: pointer;*/
}

.ville-tag:hover,
a.ville-tag:hover,
.villes-list li:hover {
  background: var(--secondaire);
  color: var(--blanc);
  border-color: var(--secondaire);
}
@media(min-width: 992px) {    
    .villes-list ul {
        justify-content: center;
    }
    .text-center {
        text-align: center;
    }
}
.section-zones .text-center {
    margin-top: 36px;
}

/* ============================================================
   11. GALERIE
   ============================================================ */

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.gallery-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  box-shadow: var(--shadow);
}

.gallery-item img {
  width: 100%;
  height: 540px;
  object-fit: cover;
  transition: transform 0.4s;
}
@media(max-width: 991px) {
    .gallery-item img {
        height: 340px;
    }
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
    background: linear-gradient(transparent, rgb(7 61 108), rgb(4 51 91));
    color: var(--blanc);
    padding: 72px 18px 18px;
}

.gallery-caption .cap-text {
    font-size: 1rem;
    letter-spacing: 1px;
    color: var(--gris-clair);
    margin-bottom: 4px;
}

.gallery-caption .cap-text strong {
    font-weight: 700;
    font-size: 1.2rem;
}

.section-footer {
    margin-top: 46px;
    text-align: center;
}
.section-footer p {
    font-size: 1.3rem;
}
.section-footer .text-center {
    margin-top: 15px;
}
@media(max-width: 991px) {
    .section-footer {
        text-align: left;
    }
    .section-footer p {
        font-size: 1rem;
    }
}

/* ============================================
  12. AVIS CLIENTS                      
/* ============================================ */

.section-avis {
    background-color: var(--gris-clair);
}
.avis-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 26px;
}

.avis-stars {
    display: flex;
    gap: 4px;
}

.avis-stars span {
    color: var(--secondaire);
    font-size: 1.5rem;
}

.avis-score {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primaire-clair);
}

.avis-count {
    color: var(--gray-texte);
    font-size: 0.95rem;
}

.google-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--blanc);
    border: 1px solid #dadce0;
    border-radius: 4px;
    padding: 6px 14px;
    font-size: 0.85rem;
    color: var(--primaire-clair);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.google-link:hover {
    background: var(--noir-texte);
    border-color: #b0b0b0;
}

.google-link svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* Grille des avis */
.avis-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

/* Carte d'avis */
.avis-card {
    background: var(--gris-bg);
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
    transition: all 0.4s ease;
    border: 1px solid #d7d7d7;
}
.avis-slider .avis-card {
  background-color: var(--blanc);
    margin: 15px;
    min-height: 215px !important;
}

.avis-card:hover {
    background: var(--blanc);
    box-shadow: 0 8px 7px 0px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

/* En-tête de la carte */
.avis-card-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
}

.avis-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primaire-clair);
    color: var(--blanc);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.avis-avatar.orange {
    background: var(--secondaire);
}

.avis-avatar.dark {
    background: var(--primaire-clair);
}

.avis-author {
   font-weight: 700;
    color: var(--primaire-clair);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 220px;
}

.avis-date {
    font-size: 0.8rem;
    color: #888;
}

.avis-google-icon {
    margin-left: auto;
    flex-shrink: 0;
}

.avis-google-icon svg {
    width: 20px;
    height: 20px;
}

/* Étoiles */
.avis-stars-display {
    color: var(--secondaire);
    margin-bottom: 8px;
    font-size: 1rem;
}

/* Texte */
.avis-text {
    color: var(--noir-texte);
    font-size: 0.92rem;
    line-height: 1.65;
    margin: 0;
}
.avis-slider .avis-text {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: 98px; 
}

.avis-text strong {
    font-weight: 700;
}

/* Responsive */
@media (max-width: 992px) {
    .section-avis {
        padding: 60px 0;
    }
    
    .avis-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 20px;
    }
}
@media(max-width: 991px) {
    .section-avis .section-footer {
        margin-top: 70px;
    }
}

@media (max-width: 768px) {
    .section-avis {
        padding: 48px 0;
    }
    
    .avis-header h2 {
        font-size: 1.6rem;
    }
    
    .avis-rating {
        gap: 10px;
    }
    
    .avis-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .avis-card {
        padding: 20px;
    }
    
    .avis-avatar {
        width: 38px;
        height: 38px;
        font-size: 0.9rem;
    }
    
    .avis-text {
        font-size: 0.88rem;
    }
}

@media (max-width: 480px) {
    .section-avis {
        padding: 36px 0;
    }
    
    .avis-header {
        margin-bottom: 30px;
    }
    
    .avis-header h2 {
        font-size: 1.4rem;
    }
    
    .avis-score {
        font-size: 1rem;
    }
    
    .avis-count {
        font-size: 0.85rem;
    }
    
    .google-link {
        font-size: 0.75rem;
        padding: 4px 12px;
    }
    
    .avis-card {
        padding: 16px;
    }
}

.avis-slider .slick-slide {
    padding: 10px;
}

.avis-slider .slick-prev,
.avis-slider .slick-next {
    z-index: 10;
}

.avis-slider .slick-prev {
    left: -65px;
}

.avis-slider .slick-next {
    right: -65px;
}

.avis-slider .slick-dots {
    bottom: -40px;
}
.avis-slider .slick-next:before {
    content: "\e649";
    font-family: 'themify';
}
.avis-slider .slick-prev:before {
    content: "\e64a";
    font-family: 'themify';
}
.avis-slider .slick-prev::before,
.avis-slider .slick-next::before {
    color: var(--primaire-clair);
    transition: all .3s ease;
}
.avis-slider .slick-prev:hover::before,
.avis-slider .slick-next:hover::before {
    color: var(--secondaire-clair);
}

.avis-slider .slick-dots li button:before {
    color: var(--gris-texte);
}

.avis-slider .slick-dots li.slick-active button:before {
    color: var(--secondaire);
}

@media (max-width: 768px) {
    .avis-slider .slick-prev,
    .avis-slider .slick-next {
        display: none !important;
    }
}

/* ============================================================
   13. CTA BANNER
   ============================================================ */

.section-cta-banner {
  background: linear-gradient(135deg, var(--primaire-hover) 0%, var(--primaire) 100%);
  text-align: center;
  color: var(--blanc);
}
.section-cta-banner-light {
    background: linear-gradient(135deg, #63abd4 0%, #0775bf 100%);
    color: var(--primaire);
}

.section-cta-banner .h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 16px;
}
.section-cta-banner.section-cta-banner-light .h2 {
  color: var(--blanc);
}

.section-cta-banner p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.05rem;
  margin-left: auto;
  margin-right: auto;
}
.section-cta-banner-light p {
    color: var(--noir-texte);
}

.section-cta-banner .cta-btns {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 36px;
}

@media(max-width: 991px) {
    .section-cta-banner {
        text-align: left;
    }
    .section-cta-banner .cta-btns,
    .section-cta-banner .form-reassurance {
      justify-content: flex-start;
    }
}


/* ============================================================
   14. SECTION DEVIS QUICK FORM
   ============================================================ */
.section-devis-quick {
    position: relative;
}
/*.section-devis-quick::before {
    content: "";
    position: absolute;
    background-image: url(../images/shape-leaf-right.webp);
    width: 343px;
    height: 873px;
    background-size: contain;
    background-repeat: no-repeat;
    top: 55px;
    right: 0;
}*/
.section-devis-quick .hero-form-rating-top {
    display: inline-flex;
    margin-top: 16px;
}
.section-devis-quick .section-header {
    margin-bottom: 10px;
}
.photo-hint {
    font-size: .8rem;
    text-align: center;
    display: block;
}
.section-devis-quick .form-legal {
    border-bottom: none;
}

/* ============================================================
   15. FAQ
   ============================================================ */

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  margin-top: 8px;
}

.faq-item {
  border-bottom: 1px solid var(--gris-clair);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 20px 0;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  color: var(--primaire);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: color var(--transition);
}

.faq-question:hover {
  color: var(--secondaire);
}

.faq-question .faq-icon {
  flex-shrink: 0;
  color: var(--primaire-clair);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  line-height: 1;
  transition: background var(--transition), transform var(--transition);
}

.faq-item.open .faq-question .faq-icon {
  color: var(--secondaire);
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-answer p {
  padding-bottom: 18px;
  color: var(--gris-texte);
  line-height: 1.75;
  font-size: 0.95rem;
}

.faq-item.open .faq-question {
  font-weight: 700;
}
.faq-item.open .faq-answer {
  max-height: 600px;
}

/* ============================================================
   16. CONTENU 4
   ============================================================ */
.section-contenu4-area {
    position: relative;
    background-color: var(--gris-bg);
}
/*.section-contenu4-area::before {
    content: "";
    position: absolute;
    background-image: url(../images/shape-leaf.webp);
    width: 343px;
    height: 873px;
    background-size: contain;
    background-repeat: no-repeat;
    top: 55px;
    left: 0;
}*/

.contenu4-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.contenu4-item {
  background: var(--blanc);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

.contenu4-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.contenu4-wrapper {
    margin-bottom: 46px;
}
.contenu4-thumb span {
    display: block;
    background-color: var(--gris-clair);
    height: 200px;
    overflow: hidden;
}
.contenu4-thumb img {
    transition: transform 0.4s;
}
.contenu4-item:hover .contenu4-thumb img {
   transform: scale(1.06);
}

.contenu4-item h2 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primaire);
    margin-bottom: 10px;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: 47px;
}

.contenu4-item p {
  color: var(--gris-texte);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 16px;
}
.contenu4-content {
    padding: 24px;
}
.contenu4-btn .card-link {
    gap: 10px;
}
.contenu4-btn .card-link:hover {
    color: var(--primaire-clair);
}
.detail-text.is-hidden { display: none; }
.btn-toggle {
    background: none;
    border: 0;
    padding: 0;
    color: var(--secondaire);
    cursor: pointer;
    font: inherit;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    margin-top: 0.5rem;
    font-weight: bold;
    letter-spacing: 1px;
    transition: all .3s ease;
}
.btn-toggle:hover {
    padding-left: 5px;
}
.btn-toggle:focus, 
.btn-toggle:focus-within {
    outline: none;
    box-shadow: none;
    color: var(--secondaire-hover);
}

.btn-toggle i.rotated {
    transform: rotate(229deg);
    margin-top: 9px;
}

.icon-chevron {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

/* ============================================================
   20. FOOTER
   ============================================================ */

footer {
  background: var(--noir-texte);
  color: rgba(255, 255, 255, 0.8);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
}
.footer-brand .footer-logo {
    margin-bottom: 26px;
    display: inline-block;
}
.footer-brand .footer-logo img {
  object-fit: contain;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.75);
}

.footer-brand .footer-contact a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--secondaire);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 6px;
}
.footer-brand .footer-contact a.btn {
    color: var(--blanc);
    display: inline-flex;
    width: 300px;
}
.footer-brand .footer-contact a.btn.btn-outline {
    text-align: center;
    margin-bottom: 8px;
    align-items: center;
}
.footer-brand .footer-contact a.btn.btn-outline svg {
    width: 20px;
    padding-top: 3px;
}
.footer-brand .footer-contact a.btn.btn-outline:hover {
    color: var(--primaire);
}
.footer-col .h4 {
  color: var(--blanc);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.88rem;
  transition: color var(--transition);
}

.footer-col ul li a:hover {
  color: var(--primaire-clair);
}

.footer-seo .h4 {
    margin-bottom: 13px;
}
.footer-seo {
  padding: 28px 0;
  border-top: 1px solid rgb(255 255 255 / 17%);
}

.footer-seo h4 {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.footer-seo .cities-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.footer-seo .cities-cloud a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.78rem;
  transition: color var(--transition);
}

.footer-seo .cities-cloud a:hover {
  color: rgba(255, 255, 255, 1);
}

.footer-seo .cities-cloud a::after {
  content: ' ·';
}

.footer-seo .cities-cloud a:last-child::after {
  content: '';
}

.footer-bottom {
  border-top: 1px solid rgb(255 255 255 / 17%);
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.82rem;
  color: rgb(255 255 255 / 75%);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--transition);
}

.footer-bottom a:hover {
  color: var(--secondaire);
}


/* ============================================================
   21. QUICK DEVIS FORM
   ============================================================ */

.quick-devis-wrap {
  max-width: 500px;
  margin: 0 auto;
  background: var(--blanc);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  box-shadow: var(--shadow);
  border: 2px solid var(--gris-clair);
}

.quick-devis-form .form-group {
  margin-bottom: 16px;
}

.quick-devis-form .form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primaire);
  margin-bottom: 6px;
}

.quick-devis-form .form-group input,
.quick-devis-form .form-group select,
.quick-devis-form .form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 2px solid var(--gris-clair);
  border-radius: var(--radius);
  background: var(--gris-bg);
  color: var(--noir-texte);
  font-size: 0.95rem;
  transition: border-color var(--transition), background var(--transition);
  outline: none;
}

.quick-devis-form .form-group input:focus,
.quick-devis-form .form-group select:focus,
.quick-devis-form .form-group textarea:focus {
  border-color: var(--primaire);
  background: var(--blanc);
}

.quick-devis-form .form-group textarea {
  resize: vertical;
  min-height: 60px;
}

.qd-submit-row {
  margin-top: 8px;
  text-align: center;
}

.qd-reassurance {
  font-size: 0.82rem;
  color: var(--gris-texte);
  line-height: 1.5;
}


/* ============================================================
   22. BOUTON TÉLÉPHONE MOBILE (FAB)
   ============================================================ */

.mobile-fixed-tel {
  display: none;
  position: fixed;
  bottom: 95px;
  gap: 24px;
  right: 20px;
  z-index: 500;
}

.fab-tel {
    display: flex;
  background: var(--secondaire);
  color: var(--blanc);
  border-radius: 50%;
  width: 56px;
  height: 56px;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 22px rgb(24 24 24 / 55%), 0 2px 8px rgba(0, 0, 0, 0.18);
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  font-size: 0;
}
.fab-tel.tel-fixe {
    background: var(--primaire-clair);
    box-shadow: 0 4px 22px rgb(10 90 51 / 55%), 0 2px 8px rgba(0, 0, 0, 0.18);
}
.fab-tel::before {
  content: "";
  display: block;
  width: 26px;
  height: 26px;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07A19.5 19.5 0 0 1 4.11 12 19.79 19.79 0 0 1 1 3.18 2 2 0 0 1 2.98 1h3a2 2 0 0 1 2 1.72c.127.96.361 1.903.7 2.81a2 2 0 0 1-.45 2.11L7.09 8.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.907.339 1.85.573 2.81.7A2 2 0 0 1 21 16z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  flex-shrink: 0;
}
.fab-tel.tel-fixe::before {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='5' y='2' width='14' height='20' rx='2' ry='2'/%3E%3Cline x1='12' y1='18' x2='12.01' y2='18'/%3E%3C/svg%3E");
}

.fab-tel:hover {
  background: #d94402;
  transform: translateY(-2px) scale(1.06);
  box-shadow: 0 8px 28px rgba(253, 77, 2, 0.55), 0 4px 12px rgba(0, 0, 0, 0.2);
}


/* ============================================================
   23. ANIMATIONS AU SCROLL
   ============================================================ */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}


/* ============================================================
   24. RESPONSIVE
   ============================================================ */

/* Tablet : nav compacte */
@media (max-width: 1100px) {
  nav ul {
    gap: 2px;
  }
  nav ul li a {
    font-size: 0.86rem;
    padding: 7px 9px;
  }
  .btn-header {
    padding: 9px 15px !important;
    font-size: 0.86rem !important;
  }
  .header-inner {
    padding: 0 18px;
  }
}

@media (max-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .contact-info-card {
    position: static;
  }
  .contact-form-wrap {
    padding: 24px 20px;
  }
  .contact-info-card {
    padding: 24px 20px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .service-detail-inner {
    grid-template-columns: 1fr;
  }
  .service-detail-inner.reverse {
    direction: ltr;
  }
  .ville-content {
    grid-template-columns: 1fr;
  }
  .ville-sidebar {
    position: static;
  }

  /* Contact sidebar card: horizontal layout on tablet */
  .sidebar-card--contact {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 20px;
    text-align: left;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
  }
  .sidebar-card--contact .sidebar-card-icon-wrap {
    width: 52px;
    height: 52px;
    margin: 0;
  }
  .sidebar-card--contact h3 {
    margin-bottom: 6px;
  }
  .sidebar-card--contact p {
    margin-bottom: 12px;
  }
  .sidebar-card--contact .tel-num,
  .sidebar-card--contact .btn {
    width: auto;
    display: inline-flex;
    margin-right: 10px;
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
}
@media(max-width: 991px) {
    .hero-badges {
        padding: 0 24px 48px;
    }
}

@media (max-width: 768px) {
  .top-bar {
    font-size: 0.72rem;
    padding: 6px 0;
  }
  .top-bar .disponible7_7,
  .top-bar .top-bar-tel {
    display: none !important;
  }

  /* Header */
  .header-inner {
    height: 60px;
    padding: 0 16px;
  }
  nav {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .mobile-nav {
    inset: 90px 0 0 0;
  }

  /* Layout */
  .section {
    padding: 44px 0;
  }

  /* Hero principal */
  .hero h1 {
    font-size: 2rem;
  }
  .hero-badges {
    justify-content: center;
    gap: 8px;
  }
  .badge,
  .badge-item {
    font-size: 0.75rem;
    padding: 5px 11px;
  }

  /* Page hero intérieure */
  .page-hero {
    padding: 44px 0 36px;
  }
  .page-hero p {
    font-size: 0.92rem;
  }
  .page-hero .hero-badges {
    gap: 8px;
  }

  /* FAQ villes */
  .faq-list {
    max-width: 100%;
  }
  .faq-question {
    font-size: 0.93rem;
    padding: 16px 0;
    gap: 12px;
  }
  .faq-item.open .faq-answer {
    max-height: 700px;
  }

  /* Sidebar villes */
  .sidebar-villes {
    padding: 20px;
  }

  /* Grilles */
  .services-grid {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .about-values {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 6px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .ville-services-mini {
    grid-template-columns: 1fr 1fr;
  }
  .drone-highlight-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .contact-reassurance {
    grid-template-columns: 1fr !important;
  }

  /* Quick devis form */
  .quick-devis-wrap {
    padding: 24px 20px;
  }
  .quick-devis-form .qd-row {
    grid-template-columns: 1fr;
  }
  .qd-submit-row {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
  .qd-submit-row .btn {
    width: 100%;
    justify-content: center;
  }

  /* Cards services */
  .service-card .card-body {
    padding: 20px;
  }

  /* Footer */
  .footer-seo {
    display: none;
  }
  .footer-bottom {
    font-size: 0.78rem;
  }

  /* Bouton téléphone flottant */
  .mobile-fixed-tel {
    display: flex;
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  /* Contact sidebar card: revert to centered column on small mobile */
  .sidebar-card--contact {
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 100%;
  }
  .sidebar-card--contact .sidebar-card-icon-wrap {
    margin: 0 auto 16px;
  }
  .sidebar-card--contact .tel-num,
  .sidebar-card--contact .btn {
    width: 100%;
    display: flex;
    margin-right: 0;
  }

  /* Ticker encore plus compact */
  .top-bar {
    font-size: 0.68rem;
  }

  /* Héros */
  .hero h1 {
    font-size: 1.65rem;
  }
  .hero-cta {
    flex-direction: column;
  }
  .hero-cta .btn {
    width: 100%;
    justify-content: center;
  }

  /* Badges hero */
  .hero-badges {
    gap: 6px;
  }
  .badge,
  .badge-item {
    font-size: 0.7rem;
    padding: 4px 10px;
  }

  /* Stats */
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  .stat-number {
    font-size: 2rem;
  }

  /* Services mini (villes) */
  .ville-services-mini {
    grid-template-columns: 1fr;
  }

  /* Page hero */
  .page-hero {
    padding: 36px 0 28px;
  }
  .page-hero h1 {
    font-size: 1.6rem;
  }

  /* Valeurs */
  .value-item {
    padding: 12px;
    gap: 12px;
  }

  /* Footer */
  .footer-bottom {
    font-size: 0.72rem;
  }
  .cta-banner h2 {
    font-size: 1.4rem;
  }
  .cta-banner p {
    font-size: 0.9rem;
  }
}

/* ============================================ 
   BOUTON RETOUR EN HAUT - AVEC PROGRESSION     
/* ============================================ */

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border: none;
    background: transparent;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Cercle de progression */
.progress-ring {
    position: absolute;
    top: 0;
    left: 0;
    transform: rotate(-90deg);
}

.progress-ring-bg {
    stroke: #e8e8e8;
}

.progress-ring-fill {
    stroke: var(--secondaire);
    stroke-dasharray: 163.36; 
    stroke-dashoffset: 163.36;
    transition: stroke-dashoffset 0.1s ease-out;
}

/* Icône au centre */
.back-to-top-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--secondaire);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
}

.back-to-top:hover .back-to-top-icon {
    color: #c96a2e;
}

/* Animation au survol */
.back-to-top:hover .progress-ring-fill {
    stroke: #c96a2e;
}

.back-to-top:active .back-to-top-icon {
    transform: translate(-50%, -50%) scale(0.9);
}

/* Responsive */
@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
    
    .back-to-top svg {
        width: 50px;
        height: 50px;
    }
    
    .back-to-top .progress-ring {
        width: 50px;
        height: 50px;
    }
    
    .back-to-top-icon svg {
        width: 18px;
        height: 18px;
    }
}


/* Page réalisations */
.realisatiions-section {
  padding: 80px 0;
}
.realisatiions-section .container {
  max-width: 1440px;
}
.titre-album {
    color: var(--primaire);
        display: block;
    font-size: 36px;
}
.galerie-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.galerie-item {
    flex: 0 0 calc(25% - 15px);
    max-width: calc(25% - 15px);
    box-sizing: border-box;
    display: block;
    text-decoration: none;
    overflow: hidden;
    border-radius: 6px; 
}

.galerie-item img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.galerie-item:hover img {
    transform: scale(1.05);
}
@media (max-width: 992px) {
    .galerie-item {
        flex: 0 0 calc(50% - 10px);
        max-width: calc(50% - 10px);
    }
}
@media (max-width: 576px) {
    .galerie-item {
        flex: 0 0 100%;
        max-width: 100%;
    }
}
.swipebox {
    background-color: var(--secondaire);
    border: 1px solid var(--gris-bg);
    display: block;
    height: 200px;
    align-items: center;
    margin-top: 30px;
    border-radius: 12px;
    overflow: hidden;
    transition: all .3s ease;
}
.swipebox img {
    transition: all .3s ease;
}
.swipebox:hover img {
    transform: scale(1.1);
    opacity: .5;
}

/* Page devis gratuit  */
.page-devis-gratuit,
.page-mentions,
.page-temoignages {
    background-color: rgb(188 197 209 / 20%);
}
/* Page contact */
.ContactezNous {
    padding-bottom: 20px;
    background-color: rgb(188 197 209 / 20%);
}

#Map {
    z-index: 2;
    height: 350px;
}
.list-contact-info {
    margin-bottom: 24px;
}
.list-contact-info li {
    margin-bottom: 15px;
    display: flex;
    gap: 10px;
}
.list-contact-info li span {
    flex: 0 0 35px;
    width: 35px;
    height: 35px;
    background: var(--primaire-sombre);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: var(--blanc);
}
/* Page temoignages */
.temoignages-grid {
    display: grid;
    grid-template-columns: 6fr 5fr;
    gap: 60px;
    align-items: start;
}
@media (max-width: 992px) {
    .temoignages-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}
.avis-form-right {
    background-color: var(--blanc);
    padding: 20px;
    border-radius: 12px;
}
.avis-form-right .h2 {
    color: var(--secondaire);
    font-size: 24px;
    letter-spacing: .5px;
    margin-bottom: 15px;
}
@media(min-width: 992px) {
    .avis-form-right {
        position: sticky;
        top: 150px;
    }
}
@media(max-width: 991px) {
    .avis-form-right {
        margin-top: 24px;
    }
}
.avis {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.avis i {
    height: 25px;
}
.avis a {
    display: inline-flex;
    text-decoration: none;
    color: #d9d9d9; 
    transition: color .2s ease;
}

.avis a svg {
    display: block;
    pointer-events: none; 
}
.avis .avis-1 a:nth-child(2),
.avis .avis-2 a:nth-child(2),
.avis .avis-2 a:nth-child(3),
.avis .avis-3 a:nth-child(2),
.avis .avis-3 a:nth-child(3),
.avis .avis-3 a:nth-child(4),
.avis .avis-4 a:nth-child(2),
.avis .avis-4 a:nth-child(3),
.avis .avis-4 a:nth-child(4),
.avis .avis-4 a:nth-child(5),
.avis .avis-5 a:nth-child(2),
.avis .avis-5 a:nth-child(3),
.avis .avis-5 a:nth-child(4),
.avis .avis-5 a:nth-child(5),
.avis .avis-5 a:nth-child(6) {
    color: var(--primaire-sombre);
}

.item-tem:not(:last-child) {
    border-bottom: 1px dashed #afafaf;
    margin-bottom: 20px;
    padding-bottom: 20px;
}
.titre-note-avis {
    gap: 15px;
}
.titre-note-avis svg {
    margin-bottom: 0;
    gap: 15px;
}
@media(max-width: 767px) {
    .titre-note-avis {
        flex-direction: column;
        align-items: flex-start !important;
    }
}
.author-temoin {
    font-family: var(--ff-btn);
    color: var(--primaire);
}
#Messages {
    text-align: center;
    background: #17e900;
    color: var(--noir-texte);
    font-size: 14px;
    letter-spacing: 0;
    padding: 10px;
}
#Messages p {
    margin-bottom: 0;
}

/**
404
*/
.blog_pageIntrouvable {
    background: var(--primaire);
    position: fixed;
    height: 100%;
    width: 100%;
    font-size: 18px;
    z-index: 200000 !important;
    text-align: center;
    top: 0;
}
.blog_pageIntrouvable .d-flex {
    display: -ms-flexbox!important;
    display: flex!important;
    -ms-flex-pack: center!important;
    justify-content: center!important;
    -ms-flex-align: center!important;
    align-items: center!important;
}
.blog_pageIntrouvable span {
  color: var(--gris-bg);
}
.blog_pageIntrouvable > div {
  height: 100%;
}
.blog_pageIntrouvable h1 {
    font-size: 200px;
    color: var(--primaire-sombre);
}
.blog_pageIntrouvable p {
    font-size: 36px;
    line-height: 100%;
    margin-top: -21px;
    text-transform: uppercase;
    letter-spacing: 10px;
    color: var(--blanc);
}
.blog_pageIntrouvable a {
    color: var(--blanc);
}
.blog_pageIntrouvable a:hover {
    text-decoration: underline;
}
@media(max-width: 767px) {
  .blog_pageIntrouvable {
    font-size: 14px;
  }
  .blog_pageIntrouvable a {
      display: block;
  }
  .blog_pageIntrouvable p {
      font-size: 17px;
      letter-spacing: 5px;
      margin-top: -10px;
  }
  .blog_pageIntrouvable h1 {
    font-size: 100px;
  }
}


/* Page contact */
.ContactezNous,
.section-devis-gratuit,
.mention-section,
.page-temoignages {
  padding: 80px 0;
}
.ContactezNous .heading-section-item {
    margin-bottom: 25px;
}
.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); 
    gap: 60px;
    align-items: start;
}
.contact-col-form {
    /* optionnel : donne ~45% à la colonne form */
}

#Devis_form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

#Devis_form .col-input {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

#Devis_form input,
#Devis_form textarea,
#Devis_form select {
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}
@media (max-width: 576px) {
    #Devis_form .col-input {
        grid-template-columns: 1fr;
    }
}

/* Être rappelé */
#mail2, #mail { display:none }
.fooer-rappel-block {
    background: #031a30;
    padding: 10px;
    border-radius: 10px;
}
.block-title {
    color: var(--blanc);
    font-weight: bold;
    font-size: 18px;
}
.rappel-text {
    line-height: 1.2;
    font-size: 14px;
    margin-bottom: 15px;
}
.input-button {
    margin-top: 5px;
}
.input-button .btn {
    width: 100%;
}