/* ==========================================================================
   AD COUVERTURE - ASTRA THEME & ELEMENTOR PREMIUM STYLESHEET
   Official Astra Theme Architecture with Red (#DC2626) & White (#FFFFFF) Branding
   Crafted for Excellence | Roofing & Zinguerie Specialist Vernouillet Yvelines (78)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. ASTRA THEME DESIGN SYSTEM & GLOBAL VARIABLES
   -------------------------------------------------------------------------- */
:root {
  /* Astra Theme Global Colors */
  --ast-global-color-0: #DC2626;        /* Primary Brand Red (Logo Match) */
  --ast-global-color-1: #B91C1C;        /* Dark Red Hover */
  --ast-global-color-2: #0F172A;        /* Dark Heading Text */
  --ast-global-color-3: #334155;        /* Body Text Color */
  --ast-global-color-4: #FFFFFF;        /* Pure White Background */
  --ast-global-color-5: #F8FAFC;        /* Subtle Light Background */
  --ast-global-color-6: #1E293B;        /* Dark Container / Header Dark */
  --ast-global-color-7: #E2E8F0;        /* Soft Border Color */
  --ast-global-color-8: #94A3B8;        /* Subtitle Text */

  /* Red Gradient & Glow Effects */
  --ast-red-gradient: linear-gradient(135deg, #EF4444 0%, #DC2626 50%, #991B1B 100%);
  --ast-red-glow: 0 10px 25px rgba(220, 38, 38, 0.35);

  /* Layout Containers */
  --ast-container-width: 1280px;
  --ast-header-height: 88px;
  --ast-header-height-mobile: 64px;
  --ast-border-radius: 8px;
  --ast-radius-pill: 9999px;

  /* Typography */
  --ast-font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --ast-font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Shadows */
  --ast-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
  --ast-shadow-md: 0 10px 30px rgba(0, 0, 0, 0.07);
  --ast-shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.12);
  --ast-shadow-card: 0 4px 20px rgba(15, 23, 42, 0.06);

  /* Transitions */
  --ast-transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --------------------------------------------------------------------------
   2. RESET & BASE ASTRA STYLES
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--ast-font-body);
  background-color: var(--ast-global-color-5);
  color: var(--ast-global-color-3);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Eliminate 300ms mobile touch delay */
a, button, input, select, textarea, .city-pill, .ast-button-primary, .ast-button-secondary, .ast-filter-btn, .ast-compare-container {
  touch-action: manipulation;
}

/* Content visibility optimizations for ultra-smooth 60+ FPS scrolling */
.ast-gallery-section,
.ast-cities-section,
.ast-faq-section,
.ast-services-section,
.ast-craftsman-section {
  content-visibility: auto;
  contain-intrinsic-size: 1px 700px;
}

/* Reduced motion accessibility */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

h1, h2, h3, h4, h5, h6,
.entry-title, .elementor-heading-title {
  font-family: var(--ast-font-heading);
  font-weight: 700;
  color: var(--ast-global-color-2);
  line-height: 1.25;
}

a {
  color: var(--ast-global-color-0);
  text-decoration: none;
  transition: var(--ast-transition);
}

a:hover {
  color: var(--ast-global-color-1);
}

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

.ast-container {
  width: 94%;
  max-width: var(--ast-container-width);
  margin: 0 auto;
}

/* Section Header Typography */
.ast-section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 50px;
}

.ast-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  background: rgba(220, 38, 38, 0.08);
  border: 1px solid rgba(220, 38, 38, 0.25);
  border-radius: var(--ast-radius-pill);
  color: var(--ast-global-color-0);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}

.ast-section-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  color: var(--ast-global-color-2);
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.ast-section-subtitle {
  font-size: 1.1rem;
  color: var(--ast-global-color-8);
}

.text-red {
  color: var(--ast-global-color-0);
}

/* --------------------------------------------------------------------------
   3. ASTRA HEADER & OPTIMIZED NAVIGATION TABS
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--ast-header-height);
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--ast-global-color-7);
  z-index: 1000;
  transition: var(--ast-transition);
  box-shadow: var(--ast-shadow-sm);
}

.site-header.scrolled {
  height: 74px;
  box-shadow: var(--ast-shadow-md);
}

.ast-header-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.ast-site-identity {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.ast-logo-img {
  height: 56px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  transition: var(--ast-transition);
}

.site-header.scrolled .ast-logo-img {
  height: 46px;
}

.ast-logo-text {
  font-family: var(--ast-font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--ast-global-color-2);
  letter-spacing: -0.02em;
}

.ast-logo-text span {
  color: var(--ast-global-color-0);
}

/* Astra Nav Menu Bar with Scaled Pill Tabs */
.ast-main-navigation {
  display: flex;
  align-items: center;
}

.ast-nav-menu {
  display: flex;
  align-items: center;
  gap: 3px;
  list-style: none;
  background: #F1F5F9;
  padding: 4px 6px;
  border-radius: var(--ast-radius-pill);
  border: 1px solid var(--ast-global-color-7);
}

.ast-menu-link {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ast-global-color-3);
  padding: 6px 12px;
  border-radius: var(--ast-radius-pill);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--ast-transition);
  white-space: nowrap;
}

.ast-menu-link i {
  font-size: 0.78rem;
  color: var(--ast-global-color-8);
  transition: var(--ast-transition);
}

.ast-menu-link:hover {
  color: var(--ast-global-color-0);
  background: rgba(220, 38, 38, 0.08);
}

.ast-menu-link:hover i {
  color: var(--ast-global-color-0);
}

.ast-menu-link.active {
  color: #FFFFFF;
  background: var(--ast-red-gradient);
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.35);
}

.ast-menu-link.active i {
  color: #FFFFFF;
}

.ast-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ast-phone-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  background: rgba(220, 38, 38, 0.08);
  border: 1px solid rgba(220, 38, 38, 0.25);
  border-radius: var(--ast-radius-pill);
  color: var(--ast-global-color-0);
  font-size: 0.84rem;
  font-weight: 700;
  white-space: nowrap;
}

.ast-phone-btn i {
  animation: pulse-ring 2s infinite;
}

/* Astra Elementor Primary Button */
.ast-button-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  background: var(--ast-red-gradient);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.85rem;
  border-radius: var(--ast-radius-pill);
  border: none;
  cursor: pointer;
  box-shadow: var(--ast-red-glow);
  transition: var(--ast-transition);
  white-space: nowrap;
}

.ast-button-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(220, 38, 38, 0.5);
  color: #FFFFFF;
}

.ast-button-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: #FFFFFF;
  border: 1px solid var(--ast-global-color-7);
  color: var(--ast-global-color-2);
  font-weight: 700;
  font-size: 0.92rem;
  border-radius: var(--ast-radius-pill);
  cursor: pointer;
  box-shadow: var(--ast-shadow-sm);
  transition: var(--ast-transition);
}

.ast-button-secondary:hover {
  background: var(--ast-global-color-5);
  border-color: var(--ast-global-color-0);
  color: var(--ast-global-color-0);
  transform: translateY(-2px);
}

.ast-mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.4rem;
  color: var(--ast-global-color-2);
  cursor: pointer;
  padding: 6px;
}

/* --------------------------------------------------------------------------
   4. HERO SECTION WITH BACKGROUND VIDEO
   -------------------------------------------------------------------------- */
.ast-hero {
  position: relative;
  min-height: 85vh;
  padding-top: calc(var(--ast-header-height) + 60px);
  padding-bottom: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ast-global-color-6);
  color: #FFFFFF;
  overflow: hidden;
  text-align: center;
}

.ast-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.ast-hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.38) contrast(1.15);
  transform: scale(1.03);
}

.ast-hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(220, 38, 38, 0.18), transparent 70%),
              linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0.75) 100%);
  z-index: 2;
}

.ast-hero-centered-content {
  position: relative;
  z-index: 10;
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ast-hero-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 24px;
}

.ast-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--ast-radius-pill);
  font-size: 0.88rem;
  font-weight: 600;
  color: #FFFFFF;
}

.ast-hero-badge i {
  color: #EF4444;
}

.ast-hero-title {
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  color: #FFFFFF;
  margin-bottom: 22px;
  line-height: 1.12;
}

.ast-hero-desc {
  font-size: 1.2rem;
  color: #E2E8F0;
  margin-bottom: 38px;
  max-width: 720px;
}

.ast-hero-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  margin-bottom: 50px;
}

.ast-hero-stats {
  display: flex;
  justify-content: center;
  gap: 50px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  width: 100%;
  max-width: 680px;
}

.ast-stat-box {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ast-stat-num {
  font-family: var(--ast-font-heading);
  font-size: 2.3rem;
  font-weight: 800;
  color: #F43F5E;
}

.ast-stat-txt {
  font-size: 0.85rem;
  color: #94A3B8;
}

/* --------------------------------------------------------------------------
   5. FEATURES / REASSURANCE (Astra Card Grid)
   -------------------------------------------------------------------------- */
.ast-features-section {
  padding: 90px 0;
  background: #FFFFFF;
}

.ast-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.ast-feature-card {
  background: var(--ast-global-color-5);
  border: 1px solid var(--ast-global-color-7);
  border-radius: var(--ast-border-radius);
  padding: 32px 24px;
  transition: var(--ast-transition);
}

.ast-feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--ast-global-color-0);
  box-shadow: var(--ast-shadow-card);
  background: #FFFFFF;
}

.ast-feature-icon {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: rgba(220, 38, 38, 0.08);
  color: var(--ast-global-color-0);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
  transition: var(--ast-transition);
}

.ast-feature-card:hover .ast-feature-icon {
  background: var(--ast-red-gradient);
  color: #FFFFFF;
  transform: scale(1.08);
}

.ast-feature-title {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.ast-feature-desc {
  font-size: 0.92rem;
  color: var(--ast-global-color-3);
}

/* --------------------------------------------------------------------------
   6. SERVICES SECTION (Astra Elementor Cards)
   -------------------------------------------------------------------------- */
.ast-services-section {
  padding: 100px 0;
  background: var(--ast-global-color-5);
}

.ast-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 30px;
}

.ast-service-card {
  background: #FFFFFF;
  border: 1px solid var(--ast-global-color-7);
  border-radius: var(--ast-border-radius);
  overflow: hidden;
  box-shadow: var(--ast-shadow-sm);
  transition: var(--ast-transition);
  display: flex;
  flex-direction: column;
}

.ast-service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(220, 38, 38, 0.3);
  box-shadow: var(--ast-shadow-md);
}

.ast-service-img-wrap {
  height: 220px;
  position: relative;
  overflow: hidden;
}

.ast-service-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.ast-service-card:hover .ast-service-img {
  transform: scale(1.08);
}

.ast-service-tag {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--ast-global-color-0);
  color: #FFFFFF;
  padding: 4px 12px;
  border-radius: var(--ast-radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
}

.ast-service-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.ast-service-title {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.ast-service-desc {
  font-size: 0.95rem;
  color: var(--ast-global-color-3);
  margin-bottom: 20px;
  flex-grow: 1;
}

.ast-service-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 22px;
}

.ast-service-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--ast-global-color-3);
}

.ast-service-list li i {
  color: var(--ast-global-color-0);
}

.ast-service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--ast-global-color-0);
  font-size: 0.92rem;
}

.ast-service-link i {
  transition: transform var(--ast-transition);
}

.ast-service-link:hover i {
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   7. CRAFTSMAN ALEXANDRE DEBARD SECTION
   -------------------------------------------------------------------------- */
.ast-craftsman-section {
  padding: 100px 0;
  background: #FFFFFF;
}

.ast-craftsman-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
}

.ast-craftsman-img-wrap {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--ast-shadow-lg);
  border: 1px solid var(--ast-global-color-7);
  background: linear-gradient(180deg, #F8FAFC 0%, #E2E8F0 100%);
}

.ast-craftsman-img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  object-position: center top;
}

.ast-craftsman-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--ast-shadow-md);
}

.ast-badge-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--ast-radius-pill);
  background: var(--ast-red-gradient);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.ast-badge-info h4 {
  font-size: 1.05rem;
}

.ast-badge-info p {
  font-size: 0.85rem;
  color: var(--ast-global-color-8);
}

.ast-quote {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--ast-global-color-2);
  border-left: 4px solid var(--ast-global-color-0);
  padding-left: 20px;
  margin-bottom: 20px;
}

.ast-checklist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 28px 0;
}

.ast-check-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ast-global-color-2);
}

.ast-check-item i {
  color: var(--ast-global-color-0);
}

/* --------------------------------------------------------------------------
   8. PORTFOLIO GALLERY (Astra Segmented Tabs Rescaled)
   -------------------------------------------------------------------------- */
.ast-gallery-section {
  padding: 100px 0;
  background: var(--ast-global-color-5);
}

.ast-tabs-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}

.ast-filter-tabs {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #FFFFFF;
  padding: 5px;
  border-radius: var(--ast-radius-pill);
  border: 1px solid var(--ast-global-color-7);
  box-shadow: var(--ast-shadow-sm);
  flex-wrap: wrap;
  justify-content: center;
}

.ast-filter-btn {
  padding: 8px 18px;
  background: transparent;
  border: none;
  border-radius: var(--ast-radius-pill);
  color: var(--ast-global-color-3);
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--ast-transition);
}

.ast-filter-btn:hover {
  color: var(--ast-global-color-0);
  background: rgba(220, 38, 38, 0.05);
}

.ast-filter-btn.active {
  background: var(--ast-red-gradient);
  color: #FFFFFF;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.35);
}

.ast-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
}

.ast-gallery-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  height: 360px;
  border: 1px solid #E2E8F0;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
  background: #0F172A;
}

.ast-gallery-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(220, 38, 38, 0.18);
  border-color: rgba(220, 38, 38, 0.4);
}

.ast-gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
}

.ast-gallery-card:hover img {
  transform: scale(1.08);
}

.ast-gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.05) 0%, rgba(15, 23, 42, 0.55) 45%, rgba(15, 23, 42, 0.96) 100%);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #FFFFFF;
  transition: background 0.35s ease;
}

.ast-gallery-card:hover .ast-gallery-overlay {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.15) 0%, rgba(15, 23, 42, 0.7) 40%, rgba(15, 23, 42, 0.98) 100%);
}

.ast-gallery-badge-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.ast-gallery-cat {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.75rem;
  color: #FECDD3;
  background: rgba(220, 38, 38, 0.35);
  border: 1px solid rgba(220, 38, 38, 0.6);
  padding: 4px 10px;
  border-radius: 9999px;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.03em;
  backdrop-filter: blur(4px);
}

.ast-drone-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: #00F2FE;
  background: rgba(0, 242, 254, 0.18);
  border: 1px solid rgba(0, 242, 254, 0.5);
  padding: 4px 10px;
  border-radius: 9999px;
  font-weight: 700;
  letter-spacing: 0.03em;
  backdrop-filter: blur(4px);
  box-shadow: 0 2px 10px rgba(0, 242, 254, 0.2);
}

.ast-gallery-title {
  font-size: 1.12rem;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.35;
  margin: 0 0 6px 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}

.ast-gallery-desc {
  font-size: 0.84rem;
  color: #E2E8F0;
  line-height: 1.45;
  margin: 0;
  opacity: 0.95;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

/* --------------------------------------------------------------------------
   9. VILLES DESSERVIES (78 YVELINES SEARCH)
   -------------------------------------------------------------------------- */
.ast-coverage-section {
  padding: 90px 0;
  background: #FFFFFF;
}

.ast-coverage-card {
  background: var(--ast-global-color-5);
  border: 1px solid var(--ast-global-color-7);
  border-radius: var(--ast-border-radius);
  padding: 44px;
  box-shadow: var(--ast-shadow-sm);
}

.ast-search-wrap {
  max-width: 480px;
  margin: 28px auto 36px;
  position: relative;
}

.ast-search-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ast-global-color-0);
}

.ast-search-input {
  width: 100%;
  padding: 14px 20px 14px 48px;
  border: 1px solid var(--ast-global-color-7);
  border-radius: var(--ast-radius-pill);
  outline: none;
  font-size: 0.95rem;
  background: #FFFFFF;
}

.ast-search-input:focus {
  border-color: var(--ast-global-color-0);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15);
}

.ast-cities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 14px;
}

.city-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: #FFFFFF;
  border: 1px solid var(--ast-global-color-7);
  border-radius: 6px;
  transition: var(--ast-transition);
}

.city-pill:hover {
  border-color: var(--ast-global-color-0);
  transform: translateY(-2px);
  box-shadow: var(--ast-shadow-sm);
}

.city-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ast-global-color-2);
}

.city-code {
  font-size: 0.75rem;
  color: #FFFFFF;
  background: var(--ast-global-color-0);
  padding: 2px 7px;
  border-radius: 4px;
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   10. FAQ ACCORDION (Astra Style)
   -------------------------------------------------------------------------- */
.ast-faq-section {
  padding: 100px 0;
  background: var(--ast-global-color-5);
}

.ast-faq-grid {
  max-width: 820px;
  margin: 40px auto 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: #FFFFFF;
  border: 1px solid var(--ast-global-color-7);
  border-radius: 8px;
  overflow: hidden;
  transition: var(--ast-transition);
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ast-global-color-2);
  cursor: pointer;
}

.faq-question i {
  color: var(--ast-global-color-0);
  transition: transform var(--ast-transition);
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 24px;
  color: var(--ast-global-color-3);
  font-size: 0.95rem;
}

.faq-item.active .faq-answer {
  max-height: 250px;
  padding-bottom: 20px;
}

/* --------------------------------------------------------------------------
   11. CONTACT FORM SECTION (PREMIUM MODERN DESIGN SYSTEM)
   -------------------------------------------------------------------------- */
.ast-contact-section {
  padding: 90px 0;
  background: linear-gradient(180deg, #F8FAFC 0%, #F1F5F9 100%);
  position: relative;
  overflow: hidden;
}

.ast-contact-card {
  background: #FFFFFF;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 24px;
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 52px;
  box-shadow: 0 20px 45px -10px rgba(15, 23, 42, 0.08), 0 1px 3px rgba(0, 0, 0, 0.04);
  position: relative;
  transition: box-shadow 0.3s ease;
}

.ast-contact-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 40px;
  right: 40px;
  height: 4px;
  background: var(--ast-red-gradient);
  border-radius: 4px 4px 0 0;
}

.ast-contact-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ast-contact-info h2 {
  font-size: 2.1rem;
  line-height: 1.25;
  color: var(--ast-global-color-2);
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.ast-contact-info p {
  font-size: 1.05rem;
  color: var(--ast-global-color-3);
  line-height: 1.6;
}

.ast-info-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 28px;
}

.ast-info-item {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 20px;
  background: #F8FAFC;
  border: 1px solid var(--ast-global-color-7);
  border-radius: 16px;
  transition: all 0.25s ease;
}

.ast-info-item:hover {
  background: #FFFFFF;
  border-color: rgba(220, 38, 38, 0.3);
  transform: translateX(4px);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
}

.ast-info-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 14px;
  background: rgba(220, 38, 38, 0.1);
  color: var(--ast-global-color-0);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: all 0.25s ease;
}

.ast-info-item:hover .ast-info-icon {
  background: var(--ast-global-color-0);
  color: #FFFFFF;
  transform: scale(1.05);
}

.ast-info-lbl {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ast-global-color-8);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 2px;
}

.ast-info-val {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ast-global-color-2);
}

/* Contact Guarantees / Badges Row */
.ast-contact-trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.ast-trust-badge-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #334155;
  background: #F1F5F9;
  padding: 6px 14px;
  border-radius: var(--ast-radius-pill);
}

.ast-trust-badge-item i {
  color: var(--ast-global-color-0);
}

/* Form Structure & Field Styles */
.ast-contact-form-col {
  background: #FFFFFF;
}

.ast-contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

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

.ast-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
  width: 100%;
}

.ast-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ast-global-color-2);
  margin-bottom: 2px;
}

.ast-label i {
  color: var(--ast-global-color-0);
  font-size: 0.85rem;
  opacity: 0.9;
}

.ast-label .ast-req,
.ast-label .req {
  color: var(--ast-global-color-0);
  font-weight: 700;
  margin-left: 2px;
}

/* Base Input, Select, Textarea - Universal Styling */
.ast-contact-form input[type="text"],
.ast-contact-form input[type="tel"],
.ast-contact-form input[type="email"],
.ast-contact-form input[type="number"],
.ast-contact-form select,
.ast-contact-form textarea,
.ast-input {
  display: block;
  width: 100%;
  box-sizing: border-box !important;
  height: 52px;
  padding: 0 16px;
  font-family: var(--ast-font-body), -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ast-global-color-2);
  background-color: #F8FAFC;
  border: 1.5px solid #CBD5E1;
  border-radius: 12px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 4px rgba(15, 23, 42, 0.02);
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  outline: none;
}

.ast-contact-form input:hover,
.ast-contact-form select:hover,
.ast-contact-form textarea:hover,
.ast-input:hover {
  border-color: #94A3B8;
  background-color: #FFFFFF;
}

.ast-contact-form input:focus,
.ast-contact-form select:focus,
.ast-contact-form textarea:focus,
.ast-input:focus {
  border-color: var(--ast-global-color-0) !important;
  background-color: #FFFFFF !important;
  box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.14), 0 4px 14px rgba(220, 38, 38, 0.1) !important;
  outline: none !important;
}

.ast-contact-form input::placeholder,
.ast-contact-form textarea::placeholder,
.ast-input::placeholder {
  color: #94A3B8;
  font-weight: 400;
  font-size: 0.9rem;
}

/* Custom Select Dropdown Styling */
.ast-contact-form select,
select.ast-input {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%3Cdc2626' stroke-width='2.5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px;
  padding-right: 44px !important;
  cursor: pointer;
}

/* Textarea Styling */
.ast-contact-form textarea,
textarea.ast-input {
  height: auto !important;
  min-height: 120px;
  padding: 14px 16px;
  line-height: 1.6;
  resize: vertical;
}

/* Input Icon Container Option */
.ast-input-wrap {
  position: relative;
  width: 100%;
}

.ast-input-wrap i.ast-field-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #94A3B8;
  font-size: 0.95rem;
  pointer-events: none;
  transition: color 0.25s ease;
  z-index: 2;
}

.ast-input-wrap textarea + i.ast-field-icon {
  top: 20px;
  transform: none;
}

.ast-input-wrap .ast-input,
.ast-input-wrap input,
.ast-input-wrap select,
.ast-input-wrap textarea {
  padding-left: 44px !important;
}

.ast-input-wrap input:focus + i.ast-field-icon,
.ast-input-wrap select:focus + i.ast-field-icon,
.ast-input-wrap textarea:focus + i.ast-field-icon,
.ast-input-wrap:focus-within i.ast-field-icon {
  color: var(--ast-global-color-0) !important;
}

/* Submit Button in Contact Form */
.ast-contact-form button[type="submit"],
.ast-contact-form .ast-button-primary {
  width: 100%;
  height: 54px;
  padding: 0 24px;
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  border-radius: 14px;
  background: var(--ast-red-gradient);
  color: #FFFFFF !important;
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(220, 38, 38, 0.35);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 6px;
  -webkit-appearance: none;
  appearance: none;
}

.ast-contact-form button[type="submit"]:hover,
.ast-contact-form .ast-button-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(220, 38, 38, 0.45);
}

.ast-contact-form button[type="submit"]:active,
.ast-contact-form .ast-button-primary:active {
  transform: translateY(-1px);
}

.ast-contact-form .ast-button-primary i {
  transition: transform 0.3s ease;
}

.ast-contact-form .ast-button-primary:hover i {
  transform: translateX(4px) translateY(-2px);
}

/* --------------------------------------------------------------------------
   12. FOOTER & FLOATING ACTIONS (Official Astra Footer Structure)
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--ast-global-color-6);
  color: #CBD5E1;
  padding: 70px 0 30px;
  border-top: 1px solid var(--ast-global-color-7);
}

.ast-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 50px;
}

.ast-footer-brand p {
  margin-top: 14px;
  font-size: 0.92rem;
}

.ast-footer-col h4 {
  color: #FFFFFF;
  font-size: 1.05rem;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 8px;
}

.ast-footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 3px;
  background: var(--ast-global-color-0);
}

.ast-footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ast-footer-links a {
  color: #94A3B8;
  font-size: 0.9rem;
}

.ast-footer-links a:hover {
  color: #FFFFFF;
}

/* TikTok Social Button */
.ast-tiktok-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  background: #000000;
  color: #FFFFFF !important;
  font-weight: 700;
  font-size: 0.88rem;
  border-radius: var(--ast-radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.35);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  margin-top: 14px;
}

.ast-tiktok-btn i {
  font-size: 1.15rem;
  color: #00F2FE;
  filter: drop-shadow(-1.5px 0 0 #FF0050);
  transition: transform 0.3s ease;
}

.ast-tiktok-btn:hover {
  background: #0F172A;
  border-color: #FF0050;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 0, 80, 0.4);
}

.ast-tiktok-btn:hover i {
  transform: scale(1.18) rotate(-8deg);
}

/* Google Business Social Button */
.ast-footer-social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
}

.ast-google-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  background: #FFFFFF;
  color: #0F172A !important;
  font-weight: 700;
  font-size: 0.88rem;
  border-radius: var(--ast-radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
}

.ast-google-btn i {
  font-size: 1.15rem;
  color: #4285F4;
  transition: transform 0.3s ease;
}

.ast-google-btn:hover {
  background: #F8FAFC;
  border-color: #4285F4;
  color: #4285F4 !important;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(66, 133, 244, 0.35);
}

.ast-google-btn:hover i {
  transform: scale(1.18);
}

.ast-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  padding-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  font-size: 0.85rem;
  color: #94A3B8;
  flex-wrap: wrap;
  gap: 16px;
  max-width: calc(100% - 260px);
}

.ast-footer-bottom-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.ast-footer-sep {
  color: rgba(255, 255, 255, 0.25);
  font-size: 0.8rem;
}

.ast-legal-link {
  color: #94A3B8;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: 0.85rem;
  font-weight: 500;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
}

.ast-legal-link:hover {
  color: #FFFFFF;
  text-decoration-color: #DC2626;
}

/* Modal Mentions Légales */
.ast-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.ast-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.ast-modal-card {
  background: #FFFFFF;
  color: #0F172A;
  border-radius: 20px;
  max-width: 820px;
  width: 100%;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
  border: 1px solid #E2E8F0;
  transform: translateY(20px) scale(0.98);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.ast-modal-overlay.active .ast-modal-card {
  transform: translateY(0) scale(1);
}

.ast-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 28px;
  border-bottom: 1px solid #E2E8F0;
  background: #F8FAFC;
}

.ast-modal-header h3 {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 700;
  color: #0F172A;
  display: flex;
  align-items: center;
  gap: 10px;
}

.ast-modal-header h3 i {
  color: var(--ast-global-color-0, #DC2626);
}

.ast-modal-close {
  background: #E2E8F0;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #475569;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 1rem;
}

.ast-modal-close:hover {
  background: var(--ast-global-color-0, #DC2626);
  color: #FFFFFF;
  transform: rotate(90deg);
}

.ast-modal-body {
  padding: 28px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  font-size: 0.95rem;
  line-height: 1.7;
  color: #334155;
}

.ast-modal-body h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0F172A;
  margin-top: 24px;
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1.5px solid #F1F5F9;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ast-modal-body h4:first-child {
  margin-top: 0;
}

.ast-modal-body p {
  margin: 0 0 12px 0;
}

.ast-modal-body ul {
  margin: 0 0 16px 0;
  padding-left: 20px;
}

.ast-modal-body li {
  margin-bottom: 6px;
}

.ast-modal-body strong {
  color: #0F172A;
}

.ast-modal-body a {
  color: var(--ast-global-color-0, #DC2626);
  text-decoration: none;
  font-weight: 600;
}

.ast-modal-body a:hover {
  text-decoration: underline;
}

.ast-modal-footer {
  padding: 16px 28px;
  background: #F8FAFC;
  border-top: 1px solid #E2E8F0;
  display: flex;
  justify-content: flex-end;
}

.ast-modal-btn {
  background: #0F172A;
  color: #FFFFFF;
  border: none;
  padding: 10px 22px;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.ast-modal-btn:hover {
  background: var(--ast-global-color-0, #DC2626);
}

/* Floating Call Button */
.floating-call-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  background: var(--ast-red-gradient);
  color: #FFFFFF;
  font-weight: 800;
  border-radius: var(--ast-radius-pill);
  box-shadow: var(--ast-red-glow);
  animation: pulse-btn 2.5s infinite;
}

/* --------------------------------------------------------------------------
   13. ANIMATIONS, FLUIDITY & MEDIA QUERIES
   -------------------------------------------------------------------------- */
/* Hardware Acceleration & Rendering Optimizations */
.ast-service-card,
.ast-gallery-card,
.city-pill,
.ast-button-primary,
.ast-button-secondary,
.site-header,
.floating-call-btn,
.ast-feature-card,
.ast-menu-link {
  will-change: transform, opacity, box-shadow;
  transform: translateZ(0);
  backface-visibility: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #F1F5F9;
}
::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 9999px;
  border: 2px solid #F1F5F9;
}
::-webkit-scrollbar-thumb:hover {
  background: #DC2626;
}

/* Smooth Scroll Reveal Entrance Animations */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Image Zoom Effects */
.ast-service-img-wrap,
.ast-gallery-card {
  overflow: hidden;
}

.ast-service-img,
.ast-gallery-card img {
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s ease;
}

.ast-service-card:hover .ast-service-img,
.ast-gallery-card:hover img {
  transform: scale(1.06);
}

/* City Pill & Button Micro-Interactions */
.city-pill {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.25s ease, box-shadow 0.25s ease;
}

.city-pill:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 20px rgba(220, 38, 38, 0.15);
}

/* Input Glowing Focus */
.ast-input:focus {
  border-color: #DC2626 !important;
  box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.15) !important;
  outline: none;
}

@keyframes pulse-ring {
  0% { transform: scale(1); }
  50% { transform: scale(1.15); }
  100% { transform: scale(1); }
}

@keyframes pulse-btn {
  0% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.6); }
  70% { box-shadow: 0 0 0 16px rgba(220, 38, 38, 0); }
  100% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0); }
}

.floating-call-btn {
  animation: pulse-btn 2.5s infinite;
}

/* Navigation Backdrop Overlay */
.ast-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.ast-nav-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

body.nav-open {
  overflow: hidden !important;
  touch-action: none;
}

/* Mobile Sticky Bottom Action Bar */
.mobile-bottom-bar {
  display: none;
}

@media (max-width: 1200px) {
  .ast-nav-menu {
    gap: 2px;
  }
  .ast-menu-link {
    font-size: 0.76rem;
    padding: 5px 9px;
  }
}

@media (max-width: 1024px) {
  .ast-craftsman-grid, .ast-contact-card {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .ast-footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
  }
}

@media (max-width: 900px) {
  :root {
    --ast-header-height: 64px;
  }

  .site-header {
    height: 64px;
  }

  .site-header.scrolled {
    height: 60px;
  }

  .ast-logo-img {
    height: 38px;
    max-width: 160px;
  }

  .site-header.scrolled .ast-logo-img {
    height: 34px;
  }

  .ast-header-actions {
    gap: 8px;
  }

  .ast-button-primary {
    padding: 7px 12px;
    font-size: 0.78rem;
  }

  .ast-phone-btn {
    display: none;
  }

  .ast-mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
    color: var(--ast-global-color-2);
    background: #F1F5F9;
    border-radius: 10px;
    border: 1px solid var(--ast-global-color-7);
  }

  /* Mobile Drawer Menu */
  .ast-nav-menu {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: 0;
    max-height: calc(100vh - 64px);
    background: #FFFFFF;
    flex-direction: column;
    padding: 16px 16px 90px 16px;
    gap: 6px;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
    border-bottom: 1px solid var(--ast-global-color-7);
    border-radius: 0 0 20px 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 1000;
  }

  .ast-nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .ast-menu-link {
    width: 100%;
    justify-content: flex-start;
    padding: 12px 16px;
    min-height: 48px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 12px;
    border-bottom: 1px solid #F1F5F9;
    color: var(--ast-global-color-2);
  }

  .ast-menu-link i {
    width: 24px;
    font-size: 0.95rem;
    text-align: center;
  }

  /* Hero Section Responsiveness */
  .ast-hero {
    padding-top: calc(64px + 32px);
    padding-bottom: 45px;
    min-height: auto;
  }

  .ast-hero-badge {
    font-size: 0.78rem;
    padding: 5px 12px;
    text-align: center;
    max-width: 96%;
    line-height: 1.35;
  }

  .ast-hero-title {
    font-size: clamp(1.65rem, 6.5vw, 2.5rem);
    margin-bottom: 14px;
    letter-spacing: -0.01em;
  }

  .ast-hero-desc {
    font-size: 0.95rem;
    line-height: 1.55;
    margin-bottom: 24px;
    padding: 0 8px;
  }

  .ast-hero-cta {
    flex-direction: column;
    width: 100%;
    gap: 12px;
    margin-bottom: 32px;
  }

  .ast-hero-cta .ast-button-primary,
  .ast-hero-cta .ast-button-secondary {
    width: 100%;
    justify-content: center;
    padding: 14px 20px !important;
    font-size: 0.92rem;
  }

  .ast-hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding-top: 20px;
    width: 100%;
  }

  .ast-stat-num {
    font-size: 1.45rem;
  }

  .ast-stat-txt {
    font-size: 0.72rem;
    text-align: center;
  }

  /* Features & Services Grid */
  .ast-features-section,
  .ast-services-section,
  .ast-craftsman-section,
  .ast-gallery-section,
  .ast-coverage-section,
  .ast-faq-section,
  .ast-contact-section {
    padding: 45px 0;
  }

  .ast-section-header {
    margin-bottom: 28px;
  }

  .ast-section-title {
    font-size: clamp(1.5rem, 5.5vw, 2.1rem);
  }

  .ast-section-subtitle {
    font-size: 0.95rem;
  }

  .ast-features-grid,
  .ast-services-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .ast-service-card {
    border-radius: 16px;
  }

  .ast-service-img-wrap {
    height: 180px;
  }

  .ast-service-body {
    padding: 20px 16px;
  }

  .ast-service-title {
    font-size: 1.18rem;
  }

  /* Craftsman Section */
  .ast-craftsman-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .ast-craftsman-img {
    height: 260px;
  }

  .ast-craftsman-badge {
    padding: 12px 14px;
    bottom: 12px;
    left: 12px;
    right: 12px;
    gap: 12px;
  }

  .ast-badge-icon {
    width: 38px;
    height: 38px;
    font-size: 1.05rem;
  }

  .ast-badge-info h4 {
    font-size: 0.92rem;
  }

  .ast-checklist {
    grid-template-columns: 1fr;
    gap: 10px;
    margin: 18px 0;
  }

  /* Portfolio Gallery Filters (Horizontal Touch Scroll) */
  .ast-tabs-wrapper {
    margin-bottom: 20px;
    width: 100%;
  }

  .ast-filter-tabs {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    justify-content: flex-start;
    padding: 6px;
    gap: 6px;
    border-radius: 9999px;
    scrollbar-width: none;
  }

  .ast-filter-tabs::-webkit-scrollbar {
    display: none;
  }

  .ast-filter-btn {
    white-space: nowrap;
    flex-shrink: 0;
    padding: 7px 14px;
    font-size: 0.78rem;
  }

  .ast-gallery-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .ast-gallery-card {
    height: 220px;
  }

  .ast-gallery-overlay {
    opacity: 1;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0.15) 75%);
  }

  /* Villes 78 Coverage Card */
  .ast-coverage-card {
    padding: 22px 16px;
    border-radius: 16px;
  }

  .ast-cities-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .city-pill {
    padding: 8px 10px;
  }

  .city-name {
    font-size: 0.8rem;
  }

  .city-code {
    font-size: 0.7rem;
    padding: 1px 5px;
  }

  /* Form & Inputs iOS Optimization */
  .ast-contact-card {
    padding: 24px 16px;
    border-radius: 20px;
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .ast-contact-info h2 {
    font-size: 1.55rem;
  }

  .ast-form-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  /* Prevent iOS Safari auto-zoom on input focus */
  .ast-contact-form input,
  .ast-contact-form select,
  .ast-contact-form textarea,
  .ast-input,
  select.ast-input,
  textarea.ast-input {
    font-size: 16px !important;
    height: 48px;
    border-radius: 12px;
  }

  .ast-contact-form textarea,
  textarea.ast-input {
    height: auto !important;
    min-height: 100px;
  }

  .ast-footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-bottom: 30px;
  }

  .ast-footer-bottom {
    max-width: 100%;
    justify-content: center;
    text-align: center;
    flex-direction: column;
    gap: 10px;
    padding-bottom: 85px;
  }

  .ast-footer-bottom-left {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  body {
    padding-bottom: 74px;
  }

  .floating-call-btn {
    display: none !important;
  }

  .mobile-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 14px;
    background: rgba(15, 23, 42, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(220, 38, 38, 0.35);
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.25);
    border-radius: 16px 16px 0 0;
  }

  .mobile-bar-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 48px;
    padding: 0 12px;
    border-radius: 9999px;
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    white-space: nowrap;
  }

  .mobile-bar-btn:active {
    transform: scale(0.97);
  }

  .mobile-call-btn {
    background: var(--ast-red-gradient);
    color: #FFFFFF;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.4);
  }

  .mobile-call-btn i {
    animation: pulse-ring 2s infinite;
  }

  .mobile-devis-btn {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #FFFFFF;
  }
}

@media (max-width: 480px) {
  .ast-site-identity {
    gap: 8px;
  }

  .ast-button-primary {
    display: none;
  }

  .ast-hero-title {
    font-size: 1.55rem;
  }

  .ast-cities-grid {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   IMAGE COMPARISON SLIDER (AVANT / APRÈS)
   -------------------------------------------------------------------------- */
.ast-beforeafter-section {
  padding: 90px 0;
  background: var(--ast-global-color-2);
  position: relative;
  overflow: hidden;
}

.ast-beforeafter-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(220, 38, 38, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.ast-beforeafter-section .ast-section-header {
  margin-bottom: 44px;
}

.ast-beforeafter-section .ast-section-title {
  color: #FFFFFF;
}

.ast-beforeafter-section .ast-section-subtitle {
  color: rgba(255, 255, 255, 0.65);
}

.ast-slider-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

/* ── Container ── */
.ast-compare-container {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 20px;
  overflow: hidden;
  cursor: col-resize;
  user-select: none;
  -webkit-user-select: none;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(220, 38, 38, 0.3);
  border: 2px solid rgba(220, 38, 38, 0.4);
  max-height: 700px;
  --slider-pos: 50%;
}

/* ── AFTER (bottom layer, full) ── */
.ast-compare-after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.ast-compare-after img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  display: block;
}

/* ── BEFORE (top layer, clipped - NO zoom/stretch) ── */
.ast-compare-before {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  clip-path: polygon(0 0, var(--slider-pos, 50%) 0, var(--slider-pos, 50%) 100%, 0 100%);
  -webkit-clip-path: polygon(0 0, var(--slider-pos, 50%) 0, var(--slider-pos, 50%) 100%, 0 100%);
}

.ast-compare-before img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  display: block;
}

/* ── Labels ── */
.ast-compare-label {
  position: absolute;
  bottom: 18px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 16px;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  pointer-events: none;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 5;
}

.ast-label-before {
  left: 16px;
  background: rgba(220, 38, 38, 0.88);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.ast-label-after {
  right: 16px;
  background: rgba(22, 163, 74, 0.88);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

/* ── Drag Handle ── */
.ast-compare-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--slider-pos, 50%);
  transform: translateX(-50%);
  width: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  pointer-events: none;
  z-index: 10;
}

.ast-compare-handle-bar {
  flex: 1;
  width: 3px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.9), transparent);
}

.ast-compare-handle-btn {
  width: 52px;
  height: 52px;
  background: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ast-global-color-0);
  font-size: 1.15rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), 0 0 0 3px var(--ast-global-color-0), 0 0 0 5px rgba(220, 38, 38, 0.25);
  flex-shrink: 0;
  transition: transform 0.15s ease;
}

.ast-compare-container:hover .ast-compare-handle-btn,
.ast-compare-container.dragging .ast-compare-handle-btn {
  transform: scale(1.12);
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.5), 0 0 0 3px var(--ast-global-color-0), 0 0 0 7px rgba(220, 38, 38, 0.3);
}

/* Pulsing ring on load hint */
@keyframes slider-hint {
  0%   { box-shadow: 0 4px 20px rgba(0,0,0,0.4), 0 0 0 3px #DC2626, 0 0 0 5px rgba(220,38,38,0.25); }
  50%  { box-shadow: 0 4px 20px rgba(0,0,0,0.4), 0 0 0 3px #DC2626, 0 0 0 14px rgba(220,38,38,0); }
  100% { box-shadow: 0 4px 20px rgba(0,0,0,0.4), 0 0 0 3px #DC2626, 0 0 0 5px rgba(220,38,38,0.25); }
}

.ast-compare-handle-btn {
  animation: slider-hint 2.2s ease-in-out 1.5s 3;
}

/* ── Info Row ── */
.ast-slider-info-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.ast-slider-info-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 14px 20px;
  flex: 1;
  min-width: 240px;
  max-width: 360px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.ast-slider-info-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.ast-slider-info-item div:last-child {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ast-slider-info-item strong {
  font-size: 0.92rem;
  font-weight: 700;
  color: #FFFFFF;
}

.ast-slider-info-item span {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.35;
}

.ast-slider-info-arrow {
  color: rgba(255, 255, 255, 0.4);
  font-size: 1.3rem;
  flex-shrink: 0;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .ast-beforeafter-section {
    padding: 60px 0;
  }
  .ast-compare-container {
    aspect-ratio: 3 / 4;
    border-radius: 14px;
    max-height: 500px;
  }
  .ast-slider-info-row {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .ast-slider-info-item {
    max-width: 100%;
  }
  .ast-slider-info-arrow {
    text-align: center;
    transform: rotate(90deg);
  }
}

@media (max-width: 480px) {
  .ast-compare-container {
    aspect-ratio: 3 / 4;
    border-radius: 12px;
    max-height: 420px;
  }
  .ast-compare-handle-btn {
    width: 44px;
    height: 44px;
    font-size: 1rem;
  }
}

/* ── Form Security & Fluid Loading States ── */
.hidden,
[name="botcheck"],
[name="_gotcha"] {
  display: none !important;
  opacity: 0 !important;
  position: absolute !important;
  left: -9999px !important;
  pointer-events: none !important;
}

.ast-button-primary.is-submitting {
  opacity: 0.85;
  cursor: not-allowed;
  pointer-events: none;
  position: relative;
}

.ast-button-primary.is-submitting i {
  animation: fa-spin 1s infinite linear;
}

@keyframes fa-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
