/* ================================================================
   MOZ'L RÉNOV — Design System Premium
   Zéro dépendance externe — Compatible file:// protocol
   ================================================================ */

/* === VARIABLES === */
:root {
  --purple: #9D93C6;
  --purple-deep: #5C4D8A;
  --purple-light: #C4BEDD;
  --gold: #F7D25F;
  --gold-deep: #C9A227;
  --gold-light: #FBE89F;
  --cyan: #10BEE1;
  --cyan-deep: #0A7A91;
  --cyan-light: #7DDCEF;
  --mint: #AFDAC7;
  --mint-deep: #2D5A3D;
  --mint-light: #D5EDE2;
  --dark: #1A1A1A;
  --darker: #0F0F0F;
  --white: #FFFFFF;
  --gray-50: #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-300: #D1D5DB;
  --gray-400: #9CA3AF;
  --gray-500: #6B7280;
  --gray-600: #4B5563;
  --gray-700: #374151;
  --gray-800: #1F2937;
  --gray-900: #111827;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1);
  --shadow-2xl: 0 25px 50px -12px rgba(0,0,0,0.25);
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* === FONT: LeagueGothic === */
@font-face {
  font-family: 'LeagueGothic';
  src: url('../fonts/LeagueGothic-Regular.ttf') format('truetype'),
       url('../fonts/LeagueGothic-Regular.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

/* === RESET === */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: auto; /* JS handles smooth scroll */ }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: var(--white);
  color: var(--dark);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul, ol { list-style: none; }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--darker); }
::-webkit-scrollbar-thumb { background: var(--purple); border-radius: 3px; }

/* === LOADER === */
#loader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--white);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
  animation: loaderFailsafe 0.45s ease 3s forwards;
}
#loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-text { font-size: 1.1rem; font-weight: 600; letter-spacing: 0.15em; color: #bbb; margin-bottom: 16px; text-align: center; }
.loader-bar { width: 100px; height: 2px; background: #eee; border-radius: 1px; overflow: hidden; margin: 0 auto; }
.loader-bar-inner { height: 100%; width: 0%; background: linear-gradient(90deg, var(--purple), var(--cyan)); animation: loadBar 0.8s ease forwards; }
@keyframes loadBar { to { width: 100%; } }
@keyframes loaderFailsafe { to { opacity: 0; visibility: hidden; pointer-events: none; } }

/* === NAVIGATION === */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 16px 0;
  transition: all 0.4s ease;
  background: transparent;
}
.nav.nav-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-100%);
}
.nav.scrolled {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
  padding: 10px 0;
}
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 32px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 1.15rem; color: var(--dark);
}
.nav-logo span { color: var(--cyan); }
.nav-logo-img {
  height: 38px; width: auto;
}
.nav-logo-icon {
  width: 34px; height: 34px; border-radius: 10px;
  background: linear-gradient(135deg, var(--purple), var(--cyan));
  display: flex; align-items: center; justify-content: center;
}
.nav-links {
  display: flex; align-items: center; gap: 32px;
}
.nav-link {
  font-size: 0.88rem; font-weight: bold; color: var(--gray-500);
  transition: color var(--transition-fast);
  position: relative;
}
.nav-link:hover, .nav-link.active { color: var(--dark); }
.nav-link::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 2px; background: var(--cyan); transform: scaleX(0);
  transition: transform var(--transition-base); transform-origin: left;
}
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }
.nav-cta {
  padding: 10px 22px; border-radius: var(--radius-full);
  background: var(--cyan); color: var(--white);
  font-size: 0.85rem; font-weight: 600;
  transition: all var(--transition-base);
  box-shadow: 0 4px 12px rgba(16,190,225,0.25);
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(16,190,225,0.35); }

/* Mobile nav */
.nav-hamburger {
  display: none; flex-direction: column; gap: 5px; padding: 4px;
  cursor: pointer; z-index: 1001;
}
.nav-hamburger span {
  width: 22px; height: 2px; background: var(--dark);
  transition: all var(--transition-base); border-radius: 2px;
}
.nav-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.nav-mobile {
  display: none; position: fixed; inset: 0; z-index: 999;
  background: rgba(255,255,255,0.98); backdrop-filter: blur(20px);
  flex-direction: column; align-items: center; justify-content: center; gap: 24px;
  opacity: 0; visibility: hidden; transition: all var(--transition-base);
}
.nav-mobile.open { opacity: 1; visibility: visible; }
.nav-mobile a {
  font-size: 1.3rem; font-weight: bold; color: var(--dark);
  transition: color var(--transition-fast);
}
.nav-mobile a:hover { color: var(--cyan); }

/* === 6-BLOC GRID (HOMEPAGE ONLY) === */
#blocks-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr 1fr;
  width: 100vw;
  height: 100vh;
  position: relative;
  z-index: 10;
}
.block {
  position: relative;
  display: flex; flex-direction: column; justify-content: center;
  padding: 40px 48px;
  overflow: hidden; cursor: pointer; text-decoration: none; color: inherit;
  transition: all var(--transition-slow);
  opacity: 0; transform: scale(0.96);
  animation: blockIn 0.6s ease forwards;
}
.block:nth-child(1) { animation-delay: 0.05s; }
.block:nth-child(2) { animation-delay: 0.1s; }
.block:nth-child(3) { animation-delay: 0.15s; }
.block:nth-child(4) { animation-delay: 0.2s; }
.block:nth-child(5) { animation-delay: 0.25s; }
.block:nth-child(6) { animation-delay: 0.3s; }
@keyframes blockIn { to { opacity: 1; transform: scale(1); } }

.block::before {
  content: ''; position: absolute; inset: 0;
  background: rgba(0,0,0,0); transition: background var(--transition-slow); z-index: 1;
}
.block:hover::before { background: rgba(0,0,0,0.06); }
.block > * { position: relative; z-index: 2; }

.block::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, rgba(255,255,255,0.5), rgba(255,255,255,0));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94); z-index: 3;
}
.block:hover::after { transform: scaleX(1); }

.block-logo      { padding: 0; background: var(--white); grid-column: 1; grid-row: 1; }
.block-isolation  { background: var(--purple); grid-column: 2; grid-row: 1; }
.block-chauffage  { background: var(--gold);   grid-column: 1; grid-row: 2; }
.block-fenetres   { background: var(--cyan);   grid-column: 2; grid-row: 2; }
.block-aides      { background: var(--mint);   grid-column: 1; grid-row: 3; }
.block-contact    { background: #000;          grid-column: 2; grid-row: 3; color: var(--white); }

.block-title {
  font-family: 'LeagueGothic', 'Arial Narrow', Impact, sans-serif;
  font-size: clamp(var(--block-title-min, 2.4rem), var(--block-title-fluid, 5vw), var(--block-title-max, 4rem));
  font-weight: 400; text-transform: uppercase;
  letter-spacing: 0.02em; line-height: 1; margin-bottom: 12px; opacity: 0.9;
}
.block-desc { font-size: var(--block-desc-size, 0.92rem); line-height: 1.6; opacity: 0.65; max-width: 300px; }
.block .block-title, .block .block-desc,
.block-logo .logo-sub, .block-logo .discover-btn {
  transform: translate(var(--block-text-x-desktop, 0), var(--block-text-y-desktop, 0));
}
.block-inner {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; height: 100%; gap: 20px;
}
.block-content { flex: 1; min-width: 0; }
.block-img {
  flex: 0 0 auto; width: var(--block-image-width-desktop, 40%); max-width: var(--block-image-max-desktop, 200px); aspect-ratio: 4/3;
  transform: translate(var(--block-image-x-desktop, 0), var(--block-image-y-desktop, 0));
  border-radius: var(--radius-md); overflow: hidden;
  background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.1);
}
.block-img img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.block-contact .block-img {
  background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.1);
}
.block-icon {
  width: 48px; height: 48px; margin-bottom: 16px;
  opacity: 0.5; transition: all 0.4s ease;
}
.block:hover .block-icon { opacity: 0.85; transform: scale(1.1); }
.block-arrow {
  position: absolute; bottom: 20px; right: 20px;
  width: 28px; height: 28px; opacity: 0;
  transform: translate(-8px, 8px);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94); z-index: 3;
}
.block:hover .block-arrow { opacity: 0.5; transform: translate(0, 0); }

.logo-text { font-size: 2.2rem; font-weight: 800; letter-spacing: -0.02em; }
.logo-text span { color: var(--cyan); }
.block-logo > picture { position: absolute; inset: 0; z-index: 2; display: block; width: 100%; height: 100%; overflow: hidden; }
.block-logo .home-grid-cover { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: calc(50% + var(--block-image-x-desktop, 0px)) calc(50% + var(--block-image-y-desktop, 0px)); transform: scale(var(--block-logo-scale-desktop, 1)); transform-origin: center; }
.block-logo:hover::before, .block-logo:hover::after { display: none; }
.logo-sub { font-size: var(--block-logo-size, 0.92rem); color: var(--gray-500); margin: 12px 0 20px; line-height: 1.5; }
.discover-btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.88rem; font-weight: 500; color: var(--gray-400);
  cursor: pointer; transition: color var(--transition-base);
}
.block-logo .discover-btn span { font-size: var(--block-discover-size, 1rem); }
.discover-btn:hover { color: var(--cyan); }
.discover-arrow { width: 18px; height: 18px; animation: arrowBounce 2s ease-in-out infinite; }
@keyframes arrowBounce { 0%,100%{transform:translateY(0)} 50%{transform:translateY(5px)} }

/* === PAGE HERO (Sub-pages) === */
.page-hero {
  padding: 160px 0 100px;
  background: var(--darker); color: var(--white);
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(157,147,198,0.08), transparent 60%),
              radial-gradient(ellipse at 70% 50%, rgba(16,190,225,0.06), transparent 60%);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 20px; border-radius: var(--radius-full);
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.07);
  margin-bottom: 24px;
}
.page-hero-badge span { font-size: 0.82rem; color: rgba(255,255,255,0.55); font-weight: 500; }
.page-hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800; line-height: 1.08; letter-spacing: -0.03em;
  margin-bottom: 20px; max-width: 700px;
}
.page-hero p {
  font-size: 1.1rem; color: rgba(255,255,255,0.5);
  line-height: 1.7; max-width: 560px;
}

/* === DARK SECTIONS (main-content) === */
#main-content { background: var(--darker); color: var(--white); }
.section-dark { background: var(--darker); color: var(--white); }

.section { padding: 100px 0; position: relative; overflow: hidden; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }

/* === LIGHT SECTIONS (sub-pages) === */
.section-light { background: var(--white); color: var(--dark); }
.section-gray { background: var(--gray-50); color: var(--dark); }

/* === TYPOGRAPHY === */
.gradient-text {
  background: linear-gradient(135deg, var(--purple), var(--cyan) 50%, var(--gold));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-badge { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.section-badge-icon { width: 36px; height: 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center; }
.section-badge-text { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; }
.section-title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800; line-height: 1.1; letter-spacing: -0.03em; margin-bottom: 20px;
}
.section-subtitle { font-size: 1.05rem; color: rgba(255,255,255,0.45); line-height: 1.7; max-width: 560px; }
.section-subtitle-dark { font-size: 1.05rem; color: var(--gray-500); line-height: 1.7; max-width: 560px; }
.section-label { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.2); margin-bottom: 12px; }
.section-label-dark { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gray-400); margin-bottom: 12px; }

/* === GLASS CARDS (dark bg) === */
.glass {
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-lg); transition: all 0.4s ease;
}
.glass:hover { background: rgba(255,255,255,0.07); border-color: rgba(255,255,255,0.12); }

/* === LIGHT CARDS === */
.card-light {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition-slow);
}
.card-light:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); border-color: var(--gray-300); }

/* === REVEAL ANIMATIONS === */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-40px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(40px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-right.visible { opacity: 1; transform: translateX(0); }
.reveal-scale { opacity: 0; transform: scale(0.92); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-scale.visible { opacity: 1; transform: scale(1); }

/* Stagger children */
.stagger-children .reveal:nth-child(1) { transition-delay: 0s; }
.stagger-children .reveal:nth-child(2) { transition-delay: 0.1s; }
.stagger-children .reveal:nth-child(3) { transition-delay: 0.2s; }
.stagger-children .reveal:nth-child(4) { transition-delay: 0.3s; }
.stagger-children .reveal:nth-child(5) { transition-delay: 0.4s; }
.stagger-children .reveal:nth-child(6) { transition-delay: 0.5s; }

/* === CARDS (dark bg) === */
.card {
  padding: 32px; border-radius: var(--radius-lg);
  transition: all var(--transition-slow);
}
.card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(0,0,0,0.3); }
.card-icon { width: 48px; height: 48px; border-radius: 14px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 10px; }
.card p { font-size: 0.88rem; color: rgba(255,255,255,0.4); line-height: 1.6; }

/* === FEATURE ITEMS === */
.feature-item { display: flex; align-items: flex-start; gap: 16px; padding: 14px 0; }
.feature-icon { width: 42px; height: 42px; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.feature-item h4 { font-weight: 600; margin-bottom: 4px; }
.feature-item p { font-size: 0.84rem; color: rgba(255,255,255,0.4); line-height: 1.5; }

/* === GRID LAYOUTS === */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.grid-2-cards { display: grid; grid-template-columns: 2fr 1fr; gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }

/* === STEPS === */
.step { display: flex; gap: 20px; padding-bottom: 36px; position: relative; }
.step:last-child { padding-bottom: 0; }
.step::before { content: ''; position: absolute; left: 23px; top: 48px; bottom: 0; width: 2px; background: linear-gradient(to bottom, rgba(255,255,255,0.12), transparent); }
.step:last-child::before { display: none; }
.step-num {
  width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 0.82rem; flex-shrink: 0; color: var(--white);
}
.step h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 6px; }
.step p { font-size: 0.88rem; color: rgba(255,255,255,0.4); line-height: 1.6; }

/* Light steps (sub-pages) */
.step-light::before { background: linear-gradient(to bottom, var(--gray-200), transparent); }
.step-light .step-num-text { color: var(--dark); }
.step-light h3 { color: var(--dark); }
.step-light p { color: var(--gray-500); }

/* === TESTIMONIALS === */
.testimonial {
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg); padding: 28px; transition: all 0.4s ease;
}
.testimonial:hover { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.12); }
.testimonial-light {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg); padding: 28px; transition: all 0.4s ease;
}
.testimonial-light:hover { border-color: var(--gray-300); box-shadow: var(--shadow-lg); }
.testimonial-stars { display: flex; gap: 2px; margin-bottom: 14px; }
.testimonial-text { font-size: 0.92rem; color: rgba(255,255,255,0.5); line-height: 1.7; font-style: italic; margin-bottom: 18px; }
.testimonial-text-dark { font-size: 0.92rem; color: var(--gray-500); line-height: 1.7; font-style: italic; margin-bottom: 18px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar { width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.75rem; color: var(--white); }
.testimonial-name { font-weight: 600; font-size: 0.88rem; }
.testimonial-loc { font-size: 0.72rem; color: rgba(255,255,255,0.3); }
.testimonial-loc-dark { font-size: 0.72rem; color: var(--gray-400); }
.star { width: 14px; height: 14px; fill: var(--gold); }

/* === FORMS === */
.form-input {
  width: 100%; padding: 14px 18px; border-radius: var(--radius-md);
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08);
  color: var(--white); font-family: inherit; font-size: 0.92rem;
  transition: all var(--transition-base); outline: none;
}
.form-input::placeholder { color: rgba(255,255,255,0.2); }
.form-input:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(16,190,225,0.12); }
select.form-input { color: rgba(255,255,255,0.4); }
select.form-input option { background: #222; color: var(--white); }

/* Light form inputs */
.form-input-light {
  width: 100%; padding: 14px 18px; border-radius: var(--radius-md);
  background: var(--gray-50); border: 1px solid var(--gray-200);
  color: var(--dark); font-family: inherit; font-size: 0.92rem;
  transition: all var(--transition-base); outline: none;
}
.form-input-light::placeholder { color: var(--gray-400); }
.form-input-light:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(16,190,225,0.12); background: var(--white); }

/* === BUTTONS === */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 30px; border: none; border-radius: var(--radius-md);
  font-family: inherit; font-size: 1rem; font-weight: 600;
  cursor: pointer; transition: all var(--transition-base);
  position: relative; overflow: hidden;
}
.btn::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
  transform: translateX(-100%); transition: transform 0.5s;
}
.btn:hover::after { transform: translateX(100%); }
.btn:hover { transform: translateY(-2px); }

.btn-primary { background: var(--cyan); color: var(--white); box-shadow: 0 4px 12px rgba(16,190,225,0.25); }
.btn-primary:hover { box-shadow: 0 8px 24px rgba(16,190,225,0.35); }
.btn-secondary { background: transparent; color: rgba(255,255,255,0.55); border: 1px solid rgba(255,255,255,0.1); }
.btn-secondary:hover { border-color: rgba(255,255,255,0.25); color: var(--white); }
.btn-outline { background: transparent; color: var(--dark); border: 1px solid var(--gray-300); }
.btn-outline:hover { border-color: var(--cyan); color: var(--cyan); }
.btn-ghost { background: transparent; color: var(--cyan); padding: 8px 0; }
.btn-ghost:hover { color: var(--cyan-deep); }
.btn-ghost::after { display: none; }

/* CTA button (opens modal) */
.cta-trigger { cursor: pointer; }

/* === MODAL POPUP === */
.modal-overlay {
  position: fixed; inset: 0; z-index: 10000;
  background: rgba(0,0,0,0.6); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: all 0.4s ease;
  padding: 20px;
}
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal {
  background: var(--white); border-radius: var(--radius-xl);
  width: 100%; max-width: 520px; position: relative;
  transform: translateY(30px) scale(0.95); transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: var(--shadow-2xl);
  max-height: 90vh; overflow-y: auto;
}
.modal-overlay.active .modal { transform: translateY(0) scale(1); }
.modal-header {
  padding: 32px 32px 0; position: relative;
}
.modal-close {
  position: absolute; top: 20px; right: 20px;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--gray-100); display: flex; align-items: center; justify-content: center;
  transition: all var(--transition-fast); cursor: pointer; border: none;
}
.modal-close:hover { background: var(--gray-200); }
.modal-title { font-size: 1.5rem; font-weight: 800; color: var(--dark); margin-bottom: 6px; }
.modal-subtitle { font-size: 0.88rem; color: var(--gray-500); }
.modal-body { padding: 24px 32px 32px; }
.modal-form { display: flex; flex-direction: column; gap: 14px; }
.modal-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.modal-form .btn-submit {
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  color: var(--white); width: 100%; padding: 16px;
  font-size: 1rem; font-weight: 600; border: none; border-radius: var(--radius-md);
  cursor: pointer; transition: all var(--transition-base);
}
.modal-form .btn-submit:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(16,190,225,0.3); }
.modal-footer-text { text-align: center; font-size: 0.75rem; color: var(--gray-400); margin-top: 12px; }
.modal-success {
  text-align: center; padding: 40px 32px;
  display: none;
}
.modal-success.show { display: block; }
.modal-success-icon {
  width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--mint), var(--cyan));
  display: flex; align-items: center; justify-content: center;
}
.modal-success h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 8px; }
.modal-success p { color: var(--gray-500); font-size: 0.92rem; }

/* Form validation */
.form-input-light.error { border-color: #EF4444; }
.form-error { font-size: 0.75rem; color: #EF4444; margin-top: -8px; display: none; }
.form-error.show { display: block; }

/* === MARQUEE === */
.marquee-wrap { overflow: hidden; white-space: nowrap; }
.marquee-track { display: inline-flex; gap: 48px; animation: marquee 30s linear infinite; }
@keyframes marquee { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }
.marquee-item { font-size: 0.82rem; color: rgba(255,255,255,0.18); font-weight: 500; }

/* === PULSE === */
.pulse-dot { width: 8px; height: 8px; background: var(--cyan); border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(16,190,225,0.5)} 70%{box-shadow:0 0 0 12px rgba(16,190,225,0)} 100%{box-shadow:0 0 0 0 rgba(16,190,225,0)} }
@keyframes ping { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.4;transform:scale(1.06)} }

/* === BACK TO TOP === */
#backToTop {
  position: fixed; bottom: 24px; right: 24px;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--cyan); display: flex; align-items: center; justify-content: center;
  z-index: 50; opacity: 0; pointer-events: none;
  transition: all var(--transition-base); box-shadow: 0 8px 20px rgba(16,190,225,0.3);
  cursor: pointer; border: none;
}
#backToTop.show { opacity: 1; pointer-events: auto; }
#backToTop:hover { transform: translateY(-2px); }

/* === FOOTER === */
.footer { background: var(--darker); color: var(--white); border-top: 1px solid rgba(255,255,255,0.05); padding: 60px 0 40px; }
.footer a { color: rgba(255,255,255,0.3); transition: color var(--transition-base); }
.footer a:hover { color: rgba(255,255,255,0.7); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-heading { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.35); margin-bottom: 16px; }
.footer-link { display: block; font-size: 0.85rem; margin-bottom: 10px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.05); padding-top: 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.footer-copy { font-size: 0.72rem; color: rgba(255,255,255,0.12); }

/* === GALLERY (Réalisations) === */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.gallery-item {
  border-radius: var(--radius-lg); overflow: hidden;
  position: relative; aspect-ratio: 4/3;
  background: var(--gray-100);
  transition: all var(--transition-slow); cursor: pointer;
}
.gallery-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-xl); }
.gallery-item-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent 60%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 24px; opacity: 0; transition: opacity var(--transition-base);
}
.gallery-item:hover .gallery-item-overlay { opacity: 1; }
.gallery-item-overlay h3 { color: var(--white); font-size: 1.1rem; font-weight: 700; }
.gallery-item-overlay p { color: rgba(255,255,255,0.7); font-size: 0.82rem; }

/* === BREADCRUMB === */
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.82rem; color: rgba(255,255,255,0.35);
  margin-bottom: 20px;
}
.breadcrumb a { transition: color var(--transition-fast); }
.breadcrumb a:hover { color: var(--cyan); }
.breadcrumb-separator { color: rgba(255,255,255,0.2); }

/* === FAQ ACCORDION === */
.faq-item {
  border: 1px solid var(--gray-200); border-radius: var(--radius-md);
  margin-bottom: 12px; overflow: hidden; transition: all var(--transition-base);
}
.faq-item:hover { border-color: var(--gray-300); }
.faq-question {
  width: 100%; padding: 20px 24px; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-weight: 600; font-size: 0.95rem; color: var(--dark);
  background: var(--white); transition: background var(--transition-fast);
  border: none; outline: none; text-align: left;
  font-family: inherit; line-height: 1.4;
}
.faq-question span { flex: 1; }
.faq-question:hover { background: var(--gray-50); }
.faq-arrow { width: 20px; min-width: 20px; height: 20px; transition: transform var(--transition-base); flex-shrink: 0; }
.faq-toggle { display: none; }
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 24px;
}
.faq-item.open .faq-answer { max-height: 500px; padding: 0 24px 20px; }
.faq-answer p { font-size: 0.88rem; color: var(--gray-500); line-height: 1.7; }

/* === STATS BAR === */
.stats-bar {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  padding: 40px; background: var(--white); border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl); margin-top: -60px; position: relative; z-index: 10;
}
.stats-bar-item { text-align: center; }
.stats-bar-item .stat-number { font-size: 2.2rem; font-weight: 800; color: var(--dark); }
.stats-bar-item .stat-label { font-size: 0.78rem; color: var(--gray-500); margin-top: 4px; }

/* === TAG / BADGE === */
.tag {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 5px 12px; border-radius: var(--radius-full);
  font-size: 0.78rem; font-weight: 500;
}

/* === FIXED CTA BUTTON === */
.fixed-cta {
  position: fixed !important;
  bottom: 24px !important;
  left: 50% !important;
  transform: translateX(-50%);
  z-index: 9990 !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  padding: 0;
  background: var(--cyan);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  box-shadow: 0 4px 24px rgba(16,190,225,0.4);
  overflow: hidden;
  transition: width var(--transition-base), background var(--transition-base), box-shadow var(--transition-base), transform var(--transition-base), border-color var(--transition-base);
  white-space: nowrap;
}
.fixed-home-action:not(.show-cta) {
  border: 1px solid rgba(255,255,255,0.5);
  background: rgba(15,15,15,0.72);
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
  backdrop-filter: blur(10px);
}
.fixed-home-action.show-cta { width: 190px; }
.fixed-scroll-cue, .fixed-cta-label {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.22s ease, transform 0.22s ease;
}
.fixed-scroll-cue { opacity: 1; transform: translateY(0); }
.fixed-scroll-cue svg { width: 25px; height: 25px; animation: fixedArrowBounce 1.5s ease-in-out infinite; }
.fixed-cta-label { opacity: 0; transform: translateY(10px); pointer-events: none; }
.fixed-home-action.show-cta .fixed-scroll-cue { opacity: 0; transform: translateY(10px); pointer-events: none; }
.fixed-home-action.show-cta .fixed-cta-label { opacity: 1; transform: translateY(0); }
@keyframes fixedArrowBounce {
  0%, 100% { transform: translateY(-2px); }
  50% { transform: translateY(4px); }
}
.fixed-cta:hover {
  transform: translateX(-50%) translateY(-2px);
  box-shadow: 0 8px 32px rgba(16,190,225,0.55);
  background: #0daacc;
}
.fixed-cta:active {
  transform: translateX(-50%) translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .fixed-scroll-cue svg { animation: none; }
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  #blocks-container {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(6, 1fr);
    height: 100vh;
    height: 100dvh; /* dynamic viewport height for mobile browsers */
  }
  .block-logo      { grid-column: 1; grid-row: 1; }
  .block-isolation  { grid-column: 1; grid-row: 2; }
  .block-chauffage  { grid-column: 1; grid-row: 3; }
  .block-fenetres   { grid-column: 1; grid-row: 4; }
  .block-aides      { grid-column: 1; grid-row: 5; }
  .block-contact    { grid-column: 1; grid-row: 6; }
  .block { padding: 12px 20px; min-height: 0; overflow: hidden; }
  .block-logo { padding: 0; }
  .block-title { font-size: var(--block-mobile-title, 1.4rem); margin-bottom: 4px; }
  .block-desc { font-size: var(--block-mobile-desc, 0.78rem); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .block .block-title, .block .block-desc,
  .block-logo .logo-sub, .block-logo .discover-btn {
    transform: translate(var(--block-text-x-mobile, 0), var(--block-text-y-mobile, 0));
  }
  .block-icon { width: 28px; height: 28px; margin-bottom: 6px; }
  .block-arrow { width: 20px; height: 20px; }
  .block-logo .logo-sub { font-size: var(--block-mobile-logo, 0.7rem); margin-top: 2px; }
  .block-logo .home-grid-cover { object-position: calc(50% + var(--block-image-x-mobile, 0px)) calc(50% + var(--block-image-y-mobile, 0px)); transform: scale(var(--block-logo-scale-mobile, 1)); }
  .discover-btn { margin-top: 4px; }
  .discover-btn span { font-size: var(--block-mobile-discover, 0.75rem); }
  .block-inner { gap: 10px; }
  .block-img { width: var(--block-image-width-mobile, 30%); max-width: var(--block-image-max-mobile, 100px); transform: translate(var(--block-image-x-mobile, 0), var(--block-image-y-mobile, 0)); border-radius: var(--radius-sm); }
  .section { padding: 60px 0; }
  .container { padding: 0 20px; }
  .grid-2, .grid-2-cards { grid-template-columns: 1fr !important; }
  .grid-2 > *:first-child { order: 0 !important; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-mobile { display: flex; }
  .page-hero { padding: 120px 0 60px; }
  .page-hero h1 { font-size: 2rem; }
  .modal-form .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: 1fr 1fr; margin-top: -40px; padding: 24px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .breadcrumb { flex-wrap: wrap; }
}

@media (max-width: 480px) {
  .stats-bar { grid-template-columns: 1fr; }
  .modal { margin: 10px; }
  .modal-header { padding: 24px 24px 0; }
  .modal-body { padding: 20px 24px 24px; }
}

/* ================================================================
   V1 ADDITIONS — Homepage richer sections
   ================================================================ */

/* === HERO IMPACT (after the 6-block grid) === */
.hero-impact {
  position: relative;
  min-height: 70vh;
  display: flex; align-items: center;
  background: linear-gradient(135deg, rgba(15,15,15,0.92), rgba(15,15,15,0.55) 60%, rgba(15,15,15,0.85)), url('../img/hero-impact.jpg');
  background-size: cover; background-position: center;
  color: var(--white);
  padding: 120px 0;
  overflow: hidden;
}
.hero-impact::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
}
.hero-impact .container { position: relative; z-index: 2; }
.hero-impact-grid {
  display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 64px; align-items: center;
}
.hero-impact h2 {
  font-size: clamp(2.6rem, 5.5vw, 4.4rem);
  font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; margin-bottom: 24px;
}
.hero-impact h2 em { font-style: normal; background: linear-gradient(90deg,var(--cyan),var(--mint)); -webkit-background-clip:text; -webkit-text-fill-color:transparent; }
.hero-impact p.lead { font-size: 1.15rem; color: rgba(255,255,255,0.7); line-height: 1.7; max-width: 520px; margin-bottom: 28px; }
.hero-impact-side {
  background: rgba(255,255,255,0.05); backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-xl); padding: 32px;
}
.hero-impact-side .row { display:flex; align-items:center; gap:16px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.07); }
.hero-impact-side .row:last-child { border:none; }
.hero-impact-side .row .ic { width:42px; height:42px; border-radius:12px; flex-shrink:0; display:flex; align-items:center; justify-content:center; }
.hero-impact-side .row strong { font-size:0.95rem; display:block; }
.hero-impact-side .row span { font-size:0.82rem; color:rgba(255,255,255,0.5); }

/* === IMPACT STATS === */
.impact-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border-radius: var(--radius-xl); overflow: hidden;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
  margin-top: 60px;
}
.impact-stats .ist { padding: 36px 24px; text-align: center; border-right: 1px solid rgba(255,255,255,0.07); }
.impact-stats .ist:last-child { border-right: none; }
.impact-stats .ist-num { font-size: 3rem; font-weight: 800; line-height: 1; background: linear-gradient(135deg,var(--cyan),var(--purple)); -webkit-background-clip:text; -webkit-text-fill-color:transparent; }
.impact-stats .ist-lbl { font-size: 0.82rem; color: rgba(255,255,255,0.45); margin-top: 10px; text-transform: uppercase; letter-spacing: 0.06em; }

/* === BEFORE / AFTER === */
.ba-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.ba-frame {
  position: relative; border-radius: var(--radius-xl); overflow: hidden;
  aspect-ratio: 4/3; box-shadow: 0 30px 80px rgba(0,0,0,0.45);
  border: 1px solid rgba(255,255,255,0.06);
}
.ba-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ba-after { position: absolute; inset: 0; clip-path: inset(0 0 0 50%); }
.ba-handle {
  position: absolute; top: 0; bottom: 0; left: 50%;
  width: 3px; background: var(--white); box-shadow: 0 0 20px rgba(0,0,0,0.3);
  transform: translateX(-50%); pointer-events: none;
}
.ba-handle::before {
  content: ''; position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--white); box-shadow: 0 8px 20px rgba(0,0,0,0.35);
}
.ba-tag {
  position: absolute; top: 18px; padding: 6px 14px; border-radius: var(--radius-full);
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
  background: rgba(255,255,255,0.95); color: var(--dark); z-index: 3;
}
.ba-tag.left { left: 18px; }
.ba-tag.right { right: 18px; background: var(--cyan); color: var(--white); }

/* === PROJECT GALLERY (mosaic) === */
.projects-mosaic {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 180px;
  gap: 14px;
}
.proj {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  cursor: pointer; transition: all var(--transition-slow);
  background: rgba(255,255,255,0.04);
}
.proj:hover { transform: translateY(-4px); }
.proj img { width:100%; height:100%; object-fit:cover; transition: transform 0.7s ease; }
.proj:hover img { transform: scale(1.06); }
.proj.tall { grid-row: span 2; }
.proj.wide { grid-column: span 2; }
.proj-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85), rgba(0,0,0,0.1) 60%, rgba(0,0,0,0));
  display: flex; flex-direction: column; justify-content: flex-end; padding: 20px;
  opacity: 0; transition: opacity 0.4s ease;
}
.proj:hover .proj-overlay { opacity: 1; }
.proj-cat { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--cyan); font-weight: 700; }
.proj-title { color: #fff; font-size: 1rem; font-weight: 700; margin-top: 4px; }
.proj-loc { color: rgba(255,255,255,0.65); font-size: 0.78rem; margin-top: 2px; }
.proj-tag {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  padding: 4px 10px; border-radius: var(--radius-full);
  background: rgba(0,0,0,0.55); backdrop-filter: blur(8px);
  font-size: 0.7rem; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: 0.06em;
}

/* === TEAM === */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.team-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 3/4;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.07);
  transition: all var(--transition-slow);
}
.team-card:hover { transform: translateY(-6px); border-color: rgba(255,255,255,0.18); }
.team-card img { width:100%; height:100%; object-fit:cover; filter: saturate(1.05); }
.team-info {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 18px;
  background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
  color: #fff;
}
.team-info h4 { font-size: 1rem; font-weight: 700; }
.team-info span { font-size: 0.78rem; color: rgba(255,255,255,0.65); display: block; margin-top: 2px; }
.team-info .role-tag {
  display:inline-block; margin-top: 6px;
  padding: 3px 10px; border-radius: var(--radius-full);
  font-size: 0.68rem; background: var(--cyan); color: #fff; font-weight: 700;
}

/* === CERTIFS STRIP === */
.certs-strip {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px;
  align-items: center; padding: 28px 36px;
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-lg);
}
.certs-strip picture { display: flex; align-items: center; justify-content: center; }
.cert-placeholder {
  display: flex; align-items: center; justify-content: center; min-height: 56px;
  color: rgba(255,255,255,.62); border: 1px solid rgba(255,255,255,.14);
  border-radius: 10px; font-weight: 800; letter-spacing: .04em;
}
.certs-strip img {
  height: 56px; width: auto; max-width: 100%; margin: 0 auto;
  opacity: 0.6; transition: opacity 0.3s ease, filter 0.3s ease;
  filter: grayscale(100%) brightness(1.4);
}
.certs-strip img:hover { opacity: 1; filter: grayscale(0%) brightness(1); }

/* === BLOG / CONSEILS === */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.blog-card {
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: all var(--transition-slow);
}
.blog-card:hover { transform: translateY(-6px); border-color: rgba(255,255,255,0.15); }
.blog-img { aspect-ratio: 16/9; overflow: hidden; }
.blog-img img { width:100%; height:100%; object-fit:cover; transition: transform 0.7s ease; }
.blog-card:hover .blog-img img { transform: scale(1.06); }
.blog-body { padding: 22px 24px 26px; }
.blog-meta { font-size: 0.72rem; color: rgba(255,255,255,0.35); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 10px; }
.blog-card h3 { font-size: 1.1rem; font-weight: 700; line-height: 1.35; margin-bottom: 8px; }
.blog-card p { font-size: 0.88rem; color: rgba(255,255,255,0.45); line-height: 1.6; }
.blog-link { display:inline-block; margin-top: 14px; font-size:0.82rem; font-weight:600; color:var(--cyan); }

/* === INTERVENTION ZONE / MAP === */
.zone-grid { display:grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items:center; }
.zone-map {
  position: relative; border-radius: var(--radius-xl);
  aspect-ratio: 4/3; overflow: hidden;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.07);
}
.zone-map img { width:100%; height:100%; object-fit:cover; opacity: 0.92; }
.zone-pin {
  position: absolute; width: 14px; height: 14px; border-radius: 50%;
  background: var(--cyan); box-shadow: 0 0 0 6px rgba(16,190,225,0.25), 0 0 20px rgba(16,190,225,0.5);
  transform: translate(-50%, -50%);
}
.zone-pin::after {
  content: attr(data-city);
  position: absolute; left: 18px; top: -4px;
  font-size: 0.78rem; font-weight: 700; color: #fff; white-space: nowrap;
  text-shadow: 0 2px 8px rgba(0,0,0,0.7);
}
.zone-pin.pulse { animation: pulse 2.4s infinite; }

.cities-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 24px; }
.city-chip { padding: 10px 14px; border-radius: var(--radius-md); background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.06); font-size: 0.85rem; color: rgba(255,255,255,0.7); display:flex; align-items:center; gap:10px; }
.city-chip svg { color: var(--cyan); flex-shrink: 0; }

/* === FAQ ON DARK === */
.faq-dark .faq-item {
  border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius-md);
  margin-bottom: 12px; overflow: hidden; background: rgba(255,255,255,0.03);
}
.faq-dark .faq-question {
  background: transparent; color: #fff; padding: 22px 24px; font-size: 1rem;
}
.faq-dark .faq-question:hover { background: rgba(255,255,255,0.04); }
.faq-dark .faq-question svg { stroke: rgba(255,255,255,0.5); }
.faq-dark .faq-answer p { color: rgba(255,255,255,0.55); }

/* === FULL-WIDTH CTA STRIP === */
.cta-strip {
  position: relative; overflow: hidden;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(157,147,198,0.65), rgba(15,15,15,0.85)), url('../img/cta-strip.jpg');
  background-size: cover; background-position: center;
  padding: 64px 56px;
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 36px; align-items: center;
}
.cta-strip h3 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; line-height: 1.15; color: #fff; margin-bottom: 12px; }
.cta-strip p { color: rgba(255,255,255,0.8); font-size: 1rem; max-width: 460px; }
.cta-strip .cta-actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: flex-end; }

/* === SERVICE FEATURE BLOCK === */
.service-feature { display:grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.service-feature .sf-img {
  position: relative; aspect-ratio: 4/5;
  border-radius: var(--radius-xl); overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
}
.service-feature .sf-img img { width:100%; height:100%; object-fit:cover; }
.service-feature .sf-img .badge-float {
  position: absolute; bottom: 24px; left: 24px;
  padding: 14px 18px; border-radius: var(--radius-md);
  background: rgba(255,255,255,0.95); color: var(--dark);
  font-weight: 800; font-size: 0.88rem;
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}
.service-feature .sf-img .badge-float span { color: var(--cyan); display:block; font-size: 1.4rem; line-height:1; }

/* === GOOGLE REVIEWS BLOCK === */
.google-reviews {
  display:flex; align-items:center; gap:18px; padding: 18px 24px;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg); width: fit-content; margin: 0 auto 36px;
}
.google-reviews .g-rate { font-size: 1.7rem; font-weight: 800; line-height:1; }
.google-reviews .g-stars { display:flex; gap: 2px; }
.google-reviews .g-stars .star { width: 16px; height: 16px; }
.google-reviews .g-meta { font-size: 0.8rem; color: rgba(255,255,255,0.5); }

/* === VIDEO PROMO === */
.video-promo {
  position: relative; aspect-ratio: 16/9; border-radius: var(--radius-xl); overflow: hidden;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 30px 80px rgba(0,0,0,0.4);
}
.video-promo img { width:100%; height:100%; object-fit:cover; }
.video-promo::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.55), transparent 60%);
}
.video-play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 78px; height: 78px; border-radius: 50%;
  background: rgba(255,255,255,0.95); display:flex; align-items:center; justify-content:center;
  box-shadow: 0 10px 40px rgba(0,0,0,0.4);
  cursor: pointer; transition: transform 0.3s ease;
  z-index: 2;
}
.video-play:hover { transform: translate(-50%,-50%) scale(1.08); }
.video-play svg { color: var(--dark); margin-left: 4px; }

/* === RESPONSIVE V1 === */
@media (max-width: 1024px) {
  .hero-impact-grid { grid-template-columns: 1fr; gap: 36px; }
  .impact-stats { grid-template-columns: repeat(2, 1fr); }
  .impact-stats .ist { border-bottom: 1px solid rgba(255,255,255,0.07); }
  .impact-stats .ist:nth-child(2n) { border-right: none; }
  .projects-mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 220px; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .certs-strip { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .blog-grid { grid-template-columns: 1fr; }
  .zone-grid, .ba-grid, .service-feature { grid-template-columns: 1fr; gap: 32px; }
  .cta-strip { grid-template-columns: 1fr; padding: 40px 28px; }
  .cta-strip .cta-actions { justify-content: flex-start; }
}
@media (max-width: 600px) {
  .impact-stats { grid-template-columns: 1fr; }
  .impact-stats .ist { border-right:none; border-bottom: 1px solid rgba(255,255,255,0.07); }
  .projects-mosaic { grid-template-columns: 1fr; grid-auto-rows: 200px; }
  .proj.wide, .proj.tall { grid-column: auto; grid-row: auto; }
  .team-grid { grid-template-columns: 1fr; }
  .certs-strip { grid-template-columns: repeat(2, 1fr); }
  .hero-impact { padding: 80px 0; }
  .hero-impact h2 { font-size: 2.1rem; }
}
