/* ==========================================================================
   PACAL FACADE — Architectural Luxury & High-Craftsmanship Design System
   ========================================================================== */

:root {
  /* Core Palette inspired by the PACAL FACADE Architectural Logo */
  --bg-obsidian: #0a0d12;
  --bg-anthracite: #111621;
  --bg-slate-dark: #181f2e;
  --bg-surface-light: #f8f9fb;
  --bg-white: #ffffff;
  --bg-stone-warm: #f2EFE9;

  /* Brand Accents */
  --accent-primary: #c8a97e;       /* Warm Architectural Travertine / Bronze Gold */
  --accent-primary-hover: #b69364;
  --accent-primary-light: rgba(200, 169, 126, 0.14);
  --accent-secondary: #38bdf8;     /* Technical Thermal / RGE Blue Accent */
  --accent-rge: #10b981;           /* RGE / Eco-Energy Emerald */

  /* Logo Slat Greys & Whites */
  --slat-grey: #8e96a4;
  --slat-grey-light: #cbd5e1;
  --text-dark: #0f172a;
  --text-body: #334155;
  --text-muted: #64748b;
  --text-on-dark: #f8fafc;
  --text-on-dark-muted: #94a3b8;

  /* Borders & Shadows */
  --border-light: rgba(15, 23, 42, 0.08);
  --border-dark: rgba(255, 255, 255, 0.1);
  --border-accent: rgba(200, 169, 126, 0.35);
  --shadow-sm: 0 4px 16px rgba(10, 13, 18, 0.05);
  --shadow-md: 0 12px 32px -4px rgba(10, 13, 18, 0.1);
  --shadow-lg: 0 24px 48px -12px rgba(10, 13, 18, 0.18);
  --shadow-glow: 0 10px 30px -5px rgba(200, 169, 126, 0.3);

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

  /* Layout & Transitions */
  --container-max: 1280px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
  font-family: var(--font-body);
  color: var(--text-body);
  background-color: var(--bg-surface-light);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-dark);
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: -0.02em;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* Architectural Vertical Slats Decorative Pattern (Echoing Logo) */
.slat-pattern {
  background-image: repeating-linear-gradient(
    90deg,
    rgba(200, 169, 126, 0.12) 0px,
    rgba(200, 169, 126, 0.12) 4px,
    transparent 4px,
    transparent 14px
  );
}

/* Section Spacing & Headers */
.section {
  padding: 96px 0;
  position: relative;
}

.section-dark {
  background-color: var(--bg-obsidian);
  color: var(--text-on-dark);
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: var(--text-on-dark);
}

.section-stone {
  background-color: var(--bg-stone-warm);
}

.section-header {
  max-width: 720px;
  margin: 0 auto 60px;
  text-align: center;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent-primary);
  background: var(--accent-primary-light);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
  border: 1px solid var(--border-accent);
}

.section-title {
  font-size: clamp(2rem, 3.6vw, 2.85rem);
  margin-bottom: 18px;
}

.section-subtitle {
  font-size: 1.08rem;
  color: var(--text-muted);
}

.section-dark .section-subtitle {
  color: var(--text-on-dark-muted);
}

/* ==========================================================================
   TOP BAR & STICKY GLASSMORPHIC HEADER
   ========================================================================== */
.top-bar {
  background: var(--bg-obsidian);
  color: var(--text-on-dark-muted);
  font-size: 0.84rem;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-dark);
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 22px;
}

.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--text-on-dark-muted);
}

.top-bar-item:hover {
  color: var(--accent-primary);
}

.top-bar-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 2px 10px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.78rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10, 13, 18, 0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-dark);
  transition: var(--transition-smooth);
}

.site-header.scrolled {
  background: rgba(10, 13, 18, 0.98);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 86px;
  gap: 24px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
}

.brand-logo img {
  height: 58px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.brand-logo:hover img {
  transform: scale(1.03);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 15px;
  color: var(--text-on-dark);
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent-primary);
  background: rgba(255, 255, 255, 0.05);
}

/* Dropdown Menu */
.dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  width: 290px;
  background: var(--bg-anthracite);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 10px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition-fast);
  z-index: 110;
}

.nav-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 11px 12px;
  border-radius: var(--radius-sm);
  color: var(--text-on-dark);
  transition: var(--transition-fast);
  cursor: pointer;
}

.dropdown-item:hover {
  background: rgba(200, 169, 126, 0.12);
  color: var(--accent-primary);
}

.dropdown-item-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.dropdown-item-title {
  font-weight: 600;
  font-size: 0.9rem;
  display: block;
}

.dropdown-item-desc {
  font-size: 0.76rem;
  color: var(--text-on-dark-muted);
  display: block;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: var(--transition-fast);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #d4b68c 0%, #b8925e 100%);
  color: #0a0d12;
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px -4px rgba(200, 169, 126, 0.45);
  background: linear-gradient(135deg, #dec39c 0%, #c49e69 100%);
}

.btn-outline-light {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-on-dark);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: var(--accent-primary);
  color: var(--accent-primary);
  transform: translateY(-2px);
}

.btn-dark {
  background: var(--bg-obsidian);
  color: var(--text-on-dark);
  border: 1px solid var(--border-dark);
}

.btn-dark:hover {
  background: var(--bg-slate-dark);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 10px 18px;
  font-size: 0.86rem;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.02rem;
}

.mobile-menu-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-dark);
  color: var(--text-on-dark);
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* ==========================================================================
   VIEW ROUTING SYSTEM
   ========================================================================== */
.page-view {
  display: none;
  animation: fadeViewIn 0.38s cubic-bezier(0.16, 1, 0.3, 1);
}

.page-view.active {
  display: block;
}

@keyframes fadeViewIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   HERO SECTION (ARCHITECTURAL SHOWCASE)
   ========================================================================== */
.hero {
  position: relative;
  background-color: var(--bg-obsidian);
  color: var(--text-on-dark);
  padding: 84px 0 96px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(200, 169, 126, 0.16) 0%, transparent 45%),
    radial-gradient(circle at 15% 80%, rgba(56, 189, 248, 0.08) 0%, transparent 45%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-title {
  color: var(--text-on-dark);
  font-size: clamp(2.4rem, 4.4vw, 3.75rem);
  line-height: 1.1;
  margin-bottom: 22px;
}

.hero-title .highlight {
  background: linear-gradient(135deg, #e5cda8 0%, #c8a97e 60%, #a38050 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.12rem;
  color: var(--text-on-dark-muted);
  margin-bottom: 32px;
  max-width: 600px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 42px;
}

.hero-trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-top: 28px;
  border-top: 1px solid var(--border-dark);
}

.hero-stat-num {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--accent-primary);
  line-height: 1.1;
}

.hero-stat-label {
  font-size: 0.84rem;
  color: var(--text-on-dark-muted);
  margin-top: 4px;
}

/* Hero Visual Card Stack — Full Visibility without overlapping text */
.hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hero-badges-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.hero-rge-floating {
  background: rgba(17, 22, 33, 0.94);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-md);
}

.hero-rge-floating img {
  width: 40px;
  height: 46px;
  object-fit: contain;
  background: #fff;
  padding: 3px;
  border-radius: 6px;
  flex-shrink: 0;
}

.hero-aides-floating {
  background: linear-gradient(135deg, #182235 0%, #0f1623 100%);
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-main-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
  background: #0b0f17;
}

.hero-main-card img {
  width: 100%;
  height: auto;
  max-height: 380px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  background: #0b0f17;
}

.hero-card-overlay-info {
  background: rgba(14, 18, 27, 0.96);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

/* ==========================================================================
   VIDEO AVANT / APRÈS SHOWCASE SECTION
   ========================================================================== */
.video-showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.video-card {
  background: var(--bg-anthracite);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
}

.video-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-primary);
}

.video-player-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 4.6;
  background: #080b10;
}

.video-player-wrap video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: #000;
}

.video-card-body {
  padding: 20px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.video-upload-banner {
  margin-top: 32px;
  background: rgba(255, 255, 255, 0.04);
  border: 1.5px dashed var(--border-accent);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

/* ==========================================================================
   SERVICES CARDS (4 PILLARS)
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  position: relative;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-primary);
}

.service-card-media {
  position: relative;
  height: 210px;
  overflow: hidden;
}

.service-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.service-card:hover .service-card-media img {
  transform: scale(1.07);
}

.service-card-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(10, 13, 18, 0.82);
  backdrop-filter: blur(8px);
  color: var(--accent-primary);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid var(--border-accent);
}

.service-card-body {
  padding: 26px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--bg-obsidian);
  color: var(--accent-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: -50px;
  margin-bottom: 16px;
  position: relative;
  z-index: 2;
  border: 2px solid var(--bg-white);
  box-shadow: var(--shadow-sm);
}

.service-card-title {
  font-size: 1.24rem;
  margin-bottom: 12px;
}

.service-card-text {
  font-size: 0.93rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  flex: 1;
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-dark);
  cursor: pointer;
}

.service-card:hover .service-card-link {
  color: var(--accent-primary-hover);
  gap: 12px;
}

/* ==========================================================================
   INTERACTIVE AVANT / APRÈS COMPARISON SLIDER
   ========================================================================== */
.ba-section-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 54px;
  align-items: center;
}

.ba-slider-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  user-select: none;
  box-shadow: var(--shadow-lg);
  border: 2px solid rgba(200, 169, 126, 0.35);
  aspect-ratio: 4 / 3.2;
  background: #000;
}

.ba-img-after,
.ba-img-before {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.ba-img-after img,
.ba-img-before img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.ba-img-before {
  clip-path: inset(0 50% 0 0);
}

.ba-badge {
  position: absolute;
  bottom: 18px;
  padding: 7px 16px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  z-index: 5;
  pointer-events: none;
}

.ba-badge-before {
  left: 18px;
  background: rgba(15, 23, 42, 0.86);
  color: #f87171;
  border: 1px solid rgba(248, 113, 113, 0.4);
}

.ba-badge-after {
  right: 18px;
  background: rgba(15, 23, 42, 0.86);
  color: #34d399;
  border: 1px solid rgba(52, 211, 153, 0.4);
}

.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background: var(--accent-primary);
  z-index: 6;
  cursor: ew-resize;
  transform: translateX(-50%);
}

.ba-handle-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent-primary);
  color: var(--bg-obsidian);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 6px rgba(200, 169, 126, 0.25), 0 8px 20px rgba(0,0,0,0.4);
  font-weight: 800;
}

.ba-range-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
  z-index: 10;
}

.ba-presets {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.ba-preset-btn {
  padding: 8px 15px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--border-dark);
  color: var(--text-on-dark-muted);
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
}

.ba-preset-btn.active,
.ba-preset-btn:hover {
  background: var(--accent-primary);
  color: var(--bg-obsidian);
  border-color: var(--accent-primary);
}

/* ==========================================================================
   INTERACTIVE FACADE NUANCIER & FINISH CONFIGURATOR
   ========================================================================== */
.configurator-box {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
  padding: 36px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}

.facade-preview-stage {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
  background: linear-gradient(180deg, #dbeafe 0%, #eff6ff 65%, #e2e8f0 65%, #cbd5e1 100%);
  padding: 28px 24px 0;
  position: relative;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
}

.facade-house-svg-wrap {
  width: 100%;
  max-width: 440px;
  filter: drop-shadow(0 20px 30px rgba(15, 23, 42, 0.16));
}

.facade-texture-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(15, 23, 42, 0.88);
  color: #fff;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  backdrop-filter: blur(8px);
}

.swatch-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 10px;
  margin-bottom: 24px;
}

.color-swatch-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--border-light);
  background: var(--bg-white);
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 600;
  transition: var(--transition-fast);
}

.color-swatch-btn.active {
  border-color: var(--bg-obsidian);
  background: var(--bg-surface-light);
  box-shadow: var(--shadow-sm);
}

.swatch-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.15);
  flex-shrink: 0;
}

.finish-pills {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 10px;
  margin-bottom: 24px;
}

.finish-pill-btn {
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-light);
  background: var(--bg-surface-light);
  text-align: left;
  cursor: pointer;
  transition: var(--transition-fast);
}

.finish-pill-btn.active {
  border-color: var(--accent-primary);
  background: var(--accent-primary-light);
}

.finish-pill-btn strong {
  display: block;
  font-size: 0.88rem;
  color: var(--text-dark);
}

.finish-pill-btn span {
  font-size: 0.76rem;
  color: var(--text-muted);
}

/* ==========================================================================
   PARTNERS & TRUST LOGOS
   ========================================================================== */
.partners-strip {
  background: var(--bg-white);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 38px 0;
}

.partners-logos {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 32px;
}

.partners-logos img {
  max-height: 52px;
  width: auto;
  filter: grayscale(100%) opacity(0.75);
  transition: var(--transition-fast);
}

.partners-logos img:hover {
  filter: grayscale(0%) opacity(1);
  transform: scale(1.06);
}

/* ==========================================================================
   REVIEWS SECTION ("ILS ONT ÉTÉ RAVIS")
   ========================================================================== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.review-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition-fast);
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.review-stars {
  color: #f59e0b;
  font-size: 1.05rem;
  letter-spacing: 2px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.review-verified {
  font-size: 0.75rem;
  color: var(--accent-rge);
  font-weight: 600;
  letter-spacing: 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.review-text {
  font-size: 0.96rem;
  color: var(--text-body);
  font-style: italic;
  margin-bottom: 20px;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--border-light);
  padding-top: 16px;
}

.review-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--bg-obsidian);
  color: var(--accent-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
}

/* ==========================================================================
   MULTI-STEP AID SIMULATOR (9 STEPS + INSTANT CALCULATION)
   ========================================================================== */
.simulator-card {
  max-width: 820px;
  margin: 0 auto;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.simulator-top-bar {
  background: var(--bg-obsidian);
  color: var(--text-on-dark);
  padding: 24px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.sim-progress-track {
  height: 6px;
  background: rgba(255, 255, 255, 0.12);
  width: 100%;
}

.sim-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-rge));
  width: 11%;
  transition: width 0.35s ease;
}

.simulator-body {
  padding: 40px 36px;
}

.sim-question-title {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.sim-question-sub {
  color: var(--text-muted);
  font-size: 0.94rem;
  margin-bottom: 26px;
}

.sim-options-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 28px;
}

.sim-option-btn {
  padding: 18px 20px;
  border-radius: var(--radius-md);
  border: 2px solid var(--border-light);
  background: var(--bg-surface-light);
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-weight: 600;
  color: var(--text-dark);
  transition: var(--transition-fast);
}

.sim-option-btn:hover {
  border-color: var(--accent-primary);
  background: var(--bg-white);
}

.sim-option-btn.selected {
  border-color: var(--accent-primary);
  background: var(--accent-primary-light);
  box-shadow: 0 4px 14px rgba(200, 169, 126, 0.2);
}

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

.sim-result-box {
  background: var(--bg-surface-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 18px;
  text-align: center;
}

.sim-result-box.highlight {
  background: rgba(16, 185, 129, 0.08);
  border-color: rgba(16, 185, 129, 0.35);
}

.sim-result-amount {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-top: 4px;
}

.sim-result-box.highlight .sim-result-amount {
  color: var(--accent-rge);
}

/* ==========================================================================
   PORTFOLIO / RÉALISATIONS GALLERY & LIGHTBOX
   ========================================================================== */
.filter-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.filter-tab-btn {
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid var(--border-light);
  background: var(--bg-white);
  color: var(--text-body);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.filter-tab-btn.active,
.filter-tab-btn:hover {
  background: var(--bg-obsidian);
  color: var(--accent-primary);
  border-color: var(--bg-obsidian);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  background: var(--bg-obsidian);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 13, 18, 0.9) 0%, rgba(10, 13, 18, 0.2) 55%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px;
  color: #fff;
  opacity: 0.94;
  transition: var(--transition-fast);
}

.gallery-tag {
  align-self: flex-start;
  background: var(--accent-primary);
  color: var(--bg-obsidian);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(10, 13, 18, 0.94);
  backdrop-filter: blur(12px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox-modal.open {
  display: flex;
}

.lightbox-content {
  max-width: 960px;
  width: 100%;
  background: var(--bg-anthracite);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}

.lightbox-img-wrap {
  max-height: 70vh;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-img-wrap img {
  max-height: 70vh;
  width: auto;
  object-fit: contain;
}

/* ==========================================================================
   PROCESS TIMELINE & DIAGNOSTIC STEPS
   ========================================================================== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.step-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  position: relative;
  box-shadow: var(--shadow-sm);
}

.step-number {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--accent-primary);
  opacity: 0.45;
  line-height: 1;
  margin-bottom: 14px;
}

/* ==========================================================================
   CONTACT & QUOTE FORM
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 42px;
}

.contact-info-card {
  background: var(--bg-obsidian);
  color: var(--text-on-dark);
  border-radius: var(--radius-lg);
  padding: 40px 34px;
  border: 1px solid var(--border-dark);
}

.contact-form-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
}

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

.form-label {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-light);
  background: var(--bg-surface-light);
  color: var(--text-dark);
  transition: var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-primary);
  background: var(--bg-white);
  box-shadow: 0 0 0 3px rgba(200, 169, 126, 0.18);
}

.hours-list {
  list-style: none;
  margin-top: 16px;
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.9rem;
}

/* ==========================================================================
   FOOTER & FLOATING QUICK ACTIONS
   ========================================================================== */
.site-footer {
  background: var(--bg-obsidian);
  color: var(--text-on-dark-muted);
  padding: 76px 0 32px;
  border-top: 1px solid var(--border-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr 0.9fr 1.1fr;
  gap: 40px;
  margin-bottom: 52px;
}

.footer-title {
  color: var(--text-on-dark);
  font-size: 1.05rem;
  margin-bottom: 18px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--text-on-dark-muted);
  font-size: 0.92rem;
  cursor: pointer;
}

.footer-links a:hover {
  color: var(--accent-primary);
  padding-left: 4px;
}

.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid var(--border-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
}

.floating-actions {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 990;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
}

.floating-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 20px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  border: none;
  transition: var(--transition-fast);
}

.floating-pill:hover {
  transform: translateY(-3px);
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1080px) {
  .services-grid,
  .steps-grid,
  .video-showcase-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-grid,
  .ba-section-grid,
  .configurator-box,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 860px) {
  .top-bar {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-flex;
  }
  .nav-menu {
    position: fixed;
    top: 86px;
    left: 0;
    right: 0;
    background: var(--bg-obsidian);
    flex-direction: column;
    align-items: stretch;
    padding: 20px 24px 32px;
    border-bottom: 1px solid var(--border-dark);
    box-shadow: var(--shadow-lg);
    display: none;
    max-height: calc(100vh - 86px);
    overflow-y: auto;
  }
  .nav-menu.mobile-open {
    display: flex;
  }
  .dropdown-menu {
    position: static;
    width: 100%;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    margin-top: 6px;
    background: rgba(255, 255, 255, 0.03);
  }
  .reviews-grid,
  .gallery-grid,
  .video-showcase-grid,
  .hero-badges-top {
    grid-template-columns: 1fr;
  }
  .sim-options-grid,
  .sim-result-grid,
  .swatch-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .services-grid,
  .steps-grid,
  .footer-grid,
  .hero-trust-row {
    grid-template-columns: 1fr;
  }
  .section {
    padding: 64px 0;
  }
  .header-actions .btn-outline-light {
    display: none;
  }
}
