/* ==========================================================================
   COUVREUR TECHNICIEN - STYLE ÉPURÉ, MODERNE & ULTRA-OPTIMISÉ MOBILE
   Artisan Couvreur Zingueur • Coëtmieux (22400) • Rayon 50 km (22)
   ========================================================================== */

:root {
  --primary: #0a2139;
  --primary-light: #163e69;
  --primary-dark: #061524;
  --accent: #e65100;
  --accent-hover: #c94600;
  --accent-light: #fff3e0;
  --accent-glow: rgba(230, 81, 0, 0.35);
  --success: #16a34a;
  --danger: #dc2626;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --border-color: #e2e8f0;
  
  --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 6px 16px rgba(10, 33, 57, 0.08);
  --shadow-lg: 0 12px 28px rgba(10, 33, 57, 0.14);
  --shadow-xl: 0 20px 40px rgba(10, 33, 57, 0.22);
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;
  
  --font: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* ---------------- RESET ET GLOBAL ---------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  position: relative;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font);
  color: var(--text-main);
  background-color: var(--bg-white);
  line-height: 1.6;
  font-size: 16px;
}

body {
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: 16px; /* Empêche le zoom automatique sur iPhone Safari */
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ---------------- TOP BAR ---------------- */
.top-bar {
  background: var(--primary-dark);
  color: #e2e8f0;
  font-size: 0.82rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.top-contact-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #cbd5e1;
}

.top-contact-item strong {
  color: #ffffff;
}

.top-contact-item a:hover {
  color: #fb923c;
}

.badge-247 {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: #fff;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.74rem;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ---------------- MAIN HEADER & DESKTOP NAV ---------------- */
.main-header {
  background: #ffffff;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  gap: 12px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 0;
  flex-shrink: 0;
}

.brand-logo img.logo-img {
  height: 64px;
  width: auto;
  max-width: 80px;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(10, 33, 57, 0.12);
  border: 2px solid rgba(10, 33, 57, 0.08);
  background: #ffffff;
  padding: 2px;
  flex-shrink: 0;
}

.brand-text {
  min-width: 0;
}

.brand-text .brand-title {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--primary);
  letter-spacing: -0.4px;
  line-height: 1.15;
  text-transform: uppercase;
  white-space: nowrap;
}

.brand-text span {
  color: var(--accent);
}

.brand-text p, .brand-text .brand-sub {
  font-size: 0.76rem;
  color: var(--text-muted);
  font-weight: 700;
  margin-top: 1px;
  white-space: nowrap;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 18px;
  align-items: center;
}

.nav-links a {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--primary);
  padding: 6px 0;
  position: relative;
  display: inline-block;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.25s ease;
}

.nav-links a:hover::after, .nav-links a.active::after {
  width: 100%;
}

.nav-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #ffffff;
  min-width: 270px;
  box-shadow: var(--shadow-xl);
  border-radius: var(--radius-md);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.2s ease;
  list-style: none;
  border: 1px solid var(--border-color);
  z-index: 1000;
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li a {
  display: block;
  padding: 9px 18px;
  font-size: 0.88rem;
  color: var(--text-main);
  font-weight: 600;
}

.dropdown-menu li a:hover {
  background: var(--bg-light);
  color: var(--accent);
  padding-left: 22px;
}

.dropdown-menu li a::after {
  display: none;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.btn-phone-header {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-light);
  border: 1.5px solid var(--border-color);
  padding: 8px 14px;
  border-radius: var(--radius-md);
  font-weight: 800;
  color: var(--primary);
  font-size: 0.9rem;
}

.btn-phone-header:hover {
  background: #f1f5f9;
  color: var(--accent);
}

.btn-devis-header {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
  color: #ffffff !important;
  padding: 8px 18px;
  border-radius: var(--radius-md);
  font-weight: 800;
  font-size: 0.9rem;
  box-shadow: 0 3px 10px var(--accent-glow);
}

/* ---------------- HAMBURGER TOGGLE BUTTON ---------------- */
.mobile-toggle {
  z-index: 1001;
  position: relative;
  display: none;
  background: var(--bg-light);
  border: 2px solid #cbd5e1;
  width: 46px;
  height: 46px;
  border-radius: 10px;
  color: var(--primary);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  user-select: none;
  touch-action: manipulation;
  transition: all 0.2s ease;
  padding: 0;
}

.mobile-toggle:hover, .mobile-toggle:active {
  background: #e2e8f0;
  border-color: var(--accent);
  color: var(--accent);
}

.mobile-toggle svg {
  display: block;
}

/* ---------------- DEDICATED INDEPENDENT MOBILE DRAWER ---------------- */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(7, 21, 36, 0.72);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 999990;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}

.drawer-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 320px;
  max-width: 88vw;
  background: #ffffff;
  z-index: 999999;
  box-shadow: -10px 0 35px rgba(0, 0, 0, 0.35);
  transform: translateX(105%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-drawer.active {
  transform: translateX(0) !important;
}

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 18px;
  border-bottom: 1.5px solid var(--border-color);
  background: #ffffff;
  position: sticky;
  top: 0;
  z-index: 2;
}

.drawer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.drawer-logo-img {
  height: 44px;
  width: auto;
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

.drawer-brand-text strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
}

.drawer-brand-text span {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
}

.drawer-close-btn {
  background: #f1f5f9;
  border: 1.5px solid var(--border-color);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  cursor: pointer;
  transition: all 0.2s ease;
  touch-action: manipulation;
}

.drawer-close-btn:hover, .drawer-close-btn:active {
  background: #e2e8f0;
  color: var(--danger);
}

.drawer-body {
  padding: 16px 18px 40px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Call banner inside drawer */
.drawer-call-banner {
  background: linear-gradient(135deg, #1e293b 0%, var(--primary-dark) 100%);
  border: 1.5px solid #334155;
  border-radius: var(--radius-md);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  box-shadow: var(--shadow-md);
}

.drawer-call-icon {
  font-size: 1.5rem;
  background: rgba(239, 68, 68, 0.25);
  border: 1px solid #ef4444;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.drawer-call-info {
  flex-grow: 1;
  min-width: 0;
}

.drawer-call-title {
  display: block;
  font-size: 0.74rem;
  color: #fb923c;
  font-weight: 700;
  text-transform: uppercase;
}

.drawer-call-number {
  display: block;
  font-size: 1.1rem;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 0.3px;
}

.drawer-call-badge {
  background: #16a34a;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: var(--radius-full);
}

/* Drawer Nav Links */
.drawer-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
}

.drawer-nav-list li {
  border-bottom: 1px solid #f1f5f9;
}

.drawer-nav-list li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 6px;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--primary);
  touch-action: manipulation;
}

.drawer-nav-list li a:active {
  color: var(--accent);
  background: var(--bg-light);
}

.drawer-section-title {
  font-size: 0.8rem !important;
  font-weight: 800 !important;
  color: var(--accent) !important;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 14px 6px 6px !important;
  border-bottom: none !important;
  background: #fff8f1;
  border-radius: var(--radius-sm);
  margin-top: 6px;
}

.drawer-sub-item {
  border-bottom: 1px solid #f8fafc !important;
}

.drawer-sub-item a {
  padding: 9px 12px 9px 18px !important;
  font-size: 0.9rem !important;
  font-weight: 600 !important;
  color: #334155 !important;
}

.drawer-link-urgent {
  color: #dc2626 !important;
  font-weight: 800 !important;
}

.drawer-divider {
  height: 8px;
  border: none !important;
}

.drawer-footer-actions {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.btn-drawer-devis {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
  color: #ffffff !important;
  text-align: center;
  padding: 13px 16px;
  border-radius: var(--radius-md);
  font-weight: 800;
  font-size: 0.95rem;
  box-shadow: 0 4px 14px var(--accent-glow);
  display: block;
}

.drawer-trust-note {
  text-align: center;
  font-size: 0.74rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 4px;
}

/* ---------------- STICKY BOTTOM FLOATING BAR (MOBILE ONLY) ---------------- */
.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1.5px solid var(--border-color);
  box-shadow: 0 -4px 18px rgba(10, 33, 57, 0.12);
  padding: 8px 12px;
  z-index: 99990;
  gap: 8px;
}

.bottom-bar-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 8px;
  border-radius: var(--radius-md);
  font-weight: 800;
  font-size: 0.9rem;
  text-align: center;
  user-select: none;
}

.bottom-bar-call {
  background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
  color: #ffffff;
  box-shadow: 0 3px 10px rgba(22, 163, 74, 0.35);
}

.bottom-bar-devis {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
  color: #ffffff;
  box-shadow: 0 3px 10px var(--accent-glow);
}

/* ---------------- HERO SECTION WITH DYNAMIC SLIDESHOW ---------------- */
.hero-section {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  padding: 50px 0 70px;
  background-color: var(--primary-dark);
  min-height: 520px;
}

.hero-slideshow {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 1.4s ease-in-out, transform 5s ease-out;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(6, 21, 36, 0.92) 0%, rgba(10, 33, 57, 0.84) 100%);
  z-index: 2;
}

.hero-container-rel {
  position: relative;
  z-index: 5;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 14px;
  color: #fef08a;
}

.hero-title {
  font-size: clamp(1.65rem, 3.5vw, 2.6rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.4px;
}

.hero-title span {
  color: #fb923c;
}

.hero-subtitle {
  font-size: 1.02rem;
  color: #cbd5e1;
  margin-bottom: 22px;
  line-height: 1.6;
}

.hero-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 24px;
}

.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: #f1f5f9;
  font-weight: 600;
}

.hero-feature-item svg {
  color: #38bdf8;
  flex-shrink: 0;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-hero-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
  color: #ffffff;
  font-weight: 700;
  padding: 13px 24px;
  border-radius: var(--radius-md);
  font-size: 0.98rem;
  box-shadow: 0 4px 14px var(--accent-glow);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-hero-secondary {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-weight: 600;
  padding: 13px 20px;
  border-radius: var(--radius-md);
  font-size: 0.98rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  backdrop-filter: blur(6px);
}

.hero-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(10, 33, 57, 0.7);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  z-index: 6;
  backdrop-filter: blur(4px);
}

.hero-prev { left: 14px; }
.hero-next { right: 14px; }

.hero-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 6;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.hero-dot.active {
  background: var(--accent);
  width: 26px;
}

/* ---------------- HERO DEVIS CARD ---------------- */
.hero-card {
  background: #ffffff;
  color: var(--text-main);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-xl);
}

.hero-card-header {
  text-align: center;
  margin-bottom: 16px;
}

.hero-card-header h3 {
  font-size: 1.22rem;
  color: var(--primary);
  font-weight: 800;
}

.hero-card-header p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.form-group {
  margin-bottom: 10px;
}

.form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 3px;
}

.form-control {
  width: 100%;
  padding: 10px 12px;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-family: inherit;
  transition: all 0.2s ease;
  background: #fff;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(230, 81, 0, 0.15);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.btn-submit-devis {
  width: 100%;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
  color: #fff;
  border: none;
  padding: 12px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 3px 12px var(--accent-glow);
  transition: all 0.2s ease;
  margin-top: 4px;
}

/* ---------------- TRUST BADGES BAR ---------------- */
.trust-bar {
  background: #ffffff;
  box-shadow: var(--shadow-md);
  margin-top: -30px;
  position: relative;
  z-index: 20;
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  border: 1.5px solid var(--border-color);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  align-items: center;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.trust-item img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  flex-shrink: 0;
}

.trust-text h4 {
  font-size: 0.9rem;
  color: var(--primary);
  font-weight: 700;
  line-height: 1.2;
}

.trust-text p {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin: 0;
}

/* ---------------- SECTIONS & GRIDS ---------------- */
.section {
  padding: 60px 0;
}

.section-bg {
  background: var(--bg-light);
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 40px;
}

.section-tag {
  color: var(--accent);
  font-weight: 800;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  display: inline-block;
  margin-bottom: 6px;
}

.section-title {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 800;
  color: var(--primary);
  line-height: 1.25;
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 0.98rem;
  color: var(--text-muted);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1.5px solid var(--border-color);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: #cbd5e1;
}

.service-card-img {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.service-card:hover .service-card-img img {
  transform: scale(1.06);
}

.service-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-card-body h3 {
  font-size: 1.15rem;
  color: var(--primary);
  font-weight: 800;
  margin-bottom: 8px;
}

.service-card-body p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  flex-grow: 1;
}

.service-card-link {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ---------------- DETAILED CONTENT BLOCKS ---------------- */
.content-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 50px;
}

.content-block.reverse {
  direction: rtl;
}

.content-block.reverse .content-text {
  direction: ltr;
}

.content-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.content-img img {
  width: 100%;
  height: 340px;
  object-fit: cover;
}

.content-text h3 {
  font-size: 1.5rem;
  color: var(--primary);
  font-weight: 800;
  margin-bottom: 12px;
}

.content-text p {
  font-size: 0.95rem;
  color: #334155;
  margin-bottom: 14px;
  line-height: 1.7;
}

.content-list {
  list-style: none;
  margin-bottom: 18px;
}

.content-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 6px;
}

.content-list li svg {
  color: var(--success);
  flex-shrink: 0;
}

/* ---------------- GALLERY & REALISATIONS ---------------- */
.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.filter-btn {
  background: var(--bg-light);
  border: 1.5px solid var(--border-color);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-btn.active, .filter-btn:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 200px;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 33, 57, 0.9) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 12px;
  color: #fff;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-item-overlay {
  opacity: 1;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item-overlay h4 {
  font-size: 0.9rem;
  font-weight: 700;
}

.gallery-item-overlay p {
  font-size: 0.75rem;
  color: #cbd5e1;
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 9999999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.lightbox-modal.active {
  display: flex;
}

.lightbox-content {
  position: relative;
  max-width: 900px;
  width: 100%;
  text-align: center;
}

.lightbox-content img {
  max-height: 80vh;
  max-width: 100%;
  margin: 0 auto;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
}

.lightbox-caption {
  color: #fff;
  margin-top: 10px;
  font-size: 0.9rem;
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: transparent;
  color: #fff;
  border: none;
  font-size: 2rem;
  cursor: pointer;
}

.lightbox-prev, .lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
  border: none;
  font-size: 1.6rem;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 50%;
}

.lightbox-prev { left: -55px; }
.lightbox-next { right: -55px; }

/* ---------------- ZONE D'INTERVENTION ---------------- */
.towns-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 24px;
}

.town-badge {
  background: #ffffff;
  border: 1.5px solid var(--border-color);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.town-badge svg {
  color: var(--accent);
  flex-shrink: 0;
}

/* ---------------- FAQ ACCORDION ---------------- */
.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: #ffffff;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  padding: 16px 20px;
  text-align: left;
  background: transparent;
  border: none;
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question svg {
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  padding: 0 20px;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  padding-bottom: 16px;
}

/* ---------------- FOOTER ---------------- */
.site-footer {
  background: var(--primary-dark);
  color: #cbd5e1;
  padding: 60px 0 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 40px;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col ul li a {
  color: #94a3b8;
  font-size: 0.88rem;
}

.footer-col ul li a:hover {
  color: #fb923c;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: #64748b;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-bottom a {
  color: #94a3b8;
}

/* Toast */
.toast-notice {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--primary-dark);
  color: #ffffff;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  border-left: 4px solid var(--success);
  z-index: 99999999;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  transform: translateY(120%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  max-width: 90vw;
}

.toast-notice.show {
  transform: translateY(0);
}

/* ==========================================================================
   RESPONSIVE ADAPTATIONS (SMARTPHONES & TABLETTES)
   ========================================================================== */

@media (min-width: 769px) {
  .mobile-drawer, .drawer-backdrop, .mobile-toggle, .mobile-bottom-bar {
    display: none !important;
  }
}

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .content-block, .content-block.reverse {
    grid-template-columns: 1fr;
    direction: ltr !important;
  }
  .content-img img {
    height: 280px;
  }
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .lightbox-prev { left: 6px; }
  .lightbox-next { right: 6px; }
}

@media (max-width: 768px) {
  body {
    padding-bottom: 74px; /* Espace pour la barre mobile d'action fixe */
  }

  /* Barre d'action fixe en bas */
  .mobile-bottom-bar {
    display: flex !important;
  }

  /* Top Bar */
  .top-bar-right {
    display: none;
  }
  .top-bar-left {
    justify-content: center;
    width: 100%;
    font-size: 0.74rem;
  }

  /* Header Mobile */
  .main-nav {
    display: none !important;
  }
  .nav-cta .btn-phone-header, .nav-cta .btn-devis-header {
    display: none;
  }
  .mobile-toggle {
  z-index: 1001;
  position: relative;
    display: flex !important;
  }
  
  .brand-logo img.logo-img {
    height: 52px;
    max-width: 68px;
  }
  .brand-text .brand-title {
    font-size: 1.12rem;
  }
  .brand-text p, .brand-text .brand-sub {
    font-size: 0.7rem;
  }

  /* Hero Section */
  .hero-section {
    padding: 28px 0 44px;
    min-height: auto;
  }
  .hero-title {
    font-size: 1.55rem;
    line-height: 1.25;
  }
  .hero-subtitle {
    font-size: 0.9rem;
    margin-bottom: 16px;
  }
  .hero-features {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  .btn-hero-primary, .btn-hero-secondary {
    width: 100%;
    justify-content: center;
    padding: 13px 16px;
  }
  .hero-nav-btn {
    display: none;
  }
  .hero-card {
    padding: 18px 14px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }

  /* Trust Bar Mobile */
  .trust-bar {
    margin-top: -16px;
    padding: 14px;
  }
  .trust-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  /* Services Grid */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  /* Gallery Grid */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .gallery-item {
    height: 140px;
  }

  /* Towns Grid */
  .towns-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
  }
  .town-badge {
    padding: 8px 10px;
    font-size: 0.78rem;
  }

  /* Footer Mobile */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 6px;
  }
}

@media (max-width: 380px) {
  .brand-logo img.logo-img {
    height: 44px;
    max-width: 56px;
  }
  .brand-text .brand-title {
    font-size: 0.96rem;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .towns-grid {
    grid-template-columns: 1fr;
  }
}
