/* ==========================================
   JLR MENUISERIES — Redesign 2026
   "Luxe Accessible Architectural"
   ========================================== */

@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Outfit:wght@300;400;500;600;700;800&display=swap');

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font-body); color: var(--text); background: var(--beige); line-height: 1.7; overflow-x: hidden; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color 0.3s var(--ease); }
button { border: none; cursor: pointer; font-family: inherit; }
ul, ol { list-style: none; }
input, textarea, select { font-family: inherit; font-size: inherit; }

/* --- CSS Variables --- */
:root {
  --orange: #E8811A;
  --orange-hover: #D4720F;
  --orange-glow: rgba(232, 129, 26, 0.12);
  --black: #1A1A1A;
  --white: #FFFFFF;
  --beige: #F7F4F0;
  --warm-grey: #8A8178;
  --warm-grey-light: #B8B0A6;
  --cuivre: #C8956C;
  --cuivre-light: rgba(200, 149, 108, 0.15);
  --text: #3D3D3D;
  --text-light: #6B6B6B;
  --text-muted: #9A9A9A;
  --border: rgba(26, 26, 26, 0.06);
  --border-medium: rgba(26, 26, 26, 0.1);
  --alu: #4A4F55;
  --alu-light: #6B7178;
  --pvc: #A0A0A0;
  --pvc-light: #CFCFCF;
  --bois: #8A5A3C;
  --bois-light: #D8C2A8;
  --font-display: 'DM Serif Display', serif;
  --font-body: 'Outfit', sans-serif;
  --container: 1320px;
  --container-tight: 960px;
  --header-h: 88px;
  --section-py: clamp(100px, 12vw, 160px);
  --section-py-sm: clamp(60px, 8vw, 100px);
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --radius: 6px;
  --radius-lg: 12px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.04);
  --shadow: 0 8px 30px rgba(0,0,0,0.06);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.08);
  --shadow-dark: 0 20px 60px rgba(0,0,0,0.25);
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-body);
  font-weight: 700;
  line-height: 1.15;
  color: var(--black);
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(3rem, 6vw, 5.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.7rem); }
h4 { font-size: 1.15rem; }
p { color: var(--text); line-height: 1.8; font-size: 1.05rem; }
.text-sm { font-size: 0.9rem; }
.text-muted { color: var(--text-muted); }
.text-orange { color: var(--orange); }

/* Display serif for accent headlines */
.display-serif {
  font-family: var(--font-display);
  font-weight: 400;
  font-style: italic;
  letter-spacing: 0;
}

.section-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-label::before {
  content: '';
  width: 32px;
  height: 1.5px;
  background: var(--orange);
  display: block;
}
.section-title { margin-bottom: 20px; }
.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 560px;
  line-height: 1.8;
}
.section-header { margin-bottom: 64px; }
.section-header.center { text-align: center; }
.section-header.center .section-label {
  justify-content: center;
}
.section-header.center .section-label::before { display: none; }
.section-header.center .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* --- Layout --- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 48px;
}
.container-fluid {
  width: 100%;
  padding: 0 clamp(48px, 6vw, 120px);
}
.container-tight {
  max-width: var(--container-tight);
  margin: 0 auto;
  padding: 0 48px;
}
section { padding: var(--section-py) 0; }
.bg-white { background: var(--white); }
.bg-beige { background: var(--beige); }
.bg-dark { background: var(--black); }
.bg-dark h1, .bg-dark h2, .bg-dark h3, .bg-dark h4 { color: var(--white); }
.bg-dark p { color: rgba(255,255,255,0.65); }
.bg-dark .section-label { color: var(--cuivre); }
.bg-dark .section-label::before { background: var(--cuivre); }

/* --- Grain overlay --- */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.02;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

/* ==========================================
   BUTTONS
   ========================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 16px 36px;
  border-radius: 100px;
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}
.btn-primary {
  background: var(--orange);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(232, 129, 26, 0.35);
}
.btn-secondary {
  background: transparent;
  color: var(--black);
  border: 1.5px solid rgba(26, 26, 26, 0.2);
}
.btn-secondary:hover {
  border-color: var(--orange);
  color: var(--orange);
}
.btn-white {
  background: var(--white);
  color: var(--black);
}
.btn-white:hover {
  background: var(--beige);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(255, 255, 255, 0.2);
}
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.3);
}
.btn-outline-white:hover {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}
.btn-dark {
  background: var(--black);
  color: var(--white);
}
.btn-dark:hover {
  background: #333;
  transform: translateY(-2px);
}
.btn svg {
  width: 16px;
  height: 16px;
  transition: transform 0.4s var(--ease);
}
.btn:hover svg { transform: translateX(4px); }
.btn-sm { padding: 12px 28px; font-size: 0.8rem; }
.btn-lg { padding: 20px 48px; font-size: 0.9rem; }

/* ==========================================
   HEADER — Glass Morphism
   ========================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: all 0.5s var(--ease);
  background: transparent;
}
.site-header.scrolled {
  background: rgba(247, 244, 240, 0.85);
  backdrop-filter: blur(20px) saturate(1.8);
  -webkit-backdrop-filter: blur(20px) saturate(1.8);
  box-shadow: 0 1px 0 rgba(26, 26, 26, 0.06);
  height: 72px;
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 48px;
}
.header-logo img {
  height: 92px;
  width: auto;
  margin-top: 12px;
  transition: all 0.4s var(--ease);
}
.header-logo .logo-white { display: none; }
.site-header.scrolled .header-logo img { height: 68px; }
.header-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.header-nav a {
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 500;
  padding: 10px 20px;
  border-radius: 100px;
  transition: all 0.3s var(--ease);
  color: var(--black);
  letter-spacing: 0.01em;
}
.header-nav a:hover,
.header-nav a.active {
  color: var(--orange);
}
.header-nav .nav-dropdown { position: relative; }
.header-nav .nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  padding: 8px;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s var(--ease);
  z-index: 100;
}
.header-nav .nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown-menu a {
  display: block;
  padding: 10px 16px;
  font-size: 0.95rem;
  border-radius: var(--radius);
  white-space: nowrap;
}
.nav-dropdown-menu a:hover {
  background: var(--beige);
  color: var(--orange);
}
.header-cta { margin-left: auto; }
.header-cta .btn { font-size: 0.95rem; padding: 14px 30px; }


/* Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
  background: none;
  z-index: 1001;
}
.menu-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--black);
  border-radius: 2px;
  transition: all 0.3s var(--ease);
}
.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translateY(5.5px) translateX(5.5px);
}
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-5.5px) translateX(5.5px);
}

/* Header light variant (dark hero pages) */
.site-header.header-light:not(.scrolled) .header-nav a {
  color: rgba(255,255,255,0.8);
}
.site-header.header-light:not(.scrolled) .header-nav a:hover,
.site-header.header-light:not(.scrolled) .header-nav a.active {
  color: var(--white);
}
.site-header.header-light:not(.scrolled) .header-nav .nav-dropdown-menu a {
  color: var(--text);
}
.site-header.header-light:not(.scrolled) .header-nav .nav-dropdown-menu a:hover {
  color: var(--orange);
}
.site-header.header-light:not(.scrolled) .menu-toggle span {
  background: var(--white);
}
.site-header.header-light:not(.scrolled) .header-logo .logo-color { display: none; }
.site-header.header-light:not(.scrolled) .header-logo .logo-white { display: block; }
.site-header.header-light.scrolled {
  background: rgba(247, 244, 240, 0.92);
}

/* ==========================================
   HERO — Immersive Dark
   ========================================== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--black);
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.45;
  transform: scale(1.05);
  transition: transform 8s ease-out;
}
.hero.loaded .hero-bg img {
  transform: scale(1);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(26, 26, 26, 0.85) 0%,
    rgba(26, 26, 26, 0.5) 50%,
    rgba(26, 26, 26, 0.3) 100%
  );
  z-index: 1;
}
/* Hero layout: text left, logo right */
.hero-layout {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 60px;
  width: 100%;
}
.hero-content {
  max-width: 680px;
}
.hero-brand {
  flex-shrink: 0;
  opacity: 0;
  animation: heroFadeUp 1.2s var(--ease-out) 0.6s forwards;
}
.hero-brand img {
  height: clamp(280px, 28vw, 480px);
  width: auto;
  filter: drop-shadow(0 8px 32px rgba(0, 0, 0, 0.3));
}
.hero-tagline {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--cuivre);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 16px;
  opacity: 0;
  animation: heroFadeUp 1s var(--ease-out) 0.3s forwards;
}
.hero-tagline::before {
  content: '';
  width: 40px;
  height: 1.5px;
  background: var(--cuivre);
}
.hero h1 {
  color: var(--white);
  margin-bottom: 28px;
  opacity: 0;
  animation: heroFadeUp 1s var(--ease-out) 0.5s forwards;
}
.hero h1 em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  color: var(--cuivre);
}
.hero-text {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 48px;
  max-width: 520px;
  line-height: 1.8;
  opacity: 0;
  animation: heroFadeUp 1s var(--ease-out) 0.7s forwards;
}
.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  animation: heroFadeUp 1s var(--ease-out) 0.9s forwards;
}
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(32px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Hero Stats bar */
.hero-stats {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  background: rgba(26, 26, 26, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255,255,255,0.06);
}
.hero-stats-inner {
  display: flex;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 48px;
}
.hero-stat {
  flex: 1;
  padding: 28px 0;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.06);
}
.hero-stat:last-child { border-right: none; }
.hero-stat-number {
  display: block;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 2rem;
  color: var(--white);
  line-height: 1;
  margin-bottom: 6px;
}
.hero-stat-label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}

/* ==========================================
   UNIVERS (3 Material Cards)
   ========================================== */
.univers { background: var(--white); }
.univers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.univers-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 2/3;
  cursor: pointer;
}
.univers-card-img {
  position: absolute;
  inset: 0;
}
.univers-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.univers-card:hover .univers-card-img img {
  transform: scale(1.06);
}
.univers-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(26, 26, 26, 0.9) 0%,
    rgba(26, 26, 26, 0.2) 50%,
    rgba(26, 26, 26, 0) 100%
  );
  transition: background 0.5s var(--ease);
}
.univers-card:hover .univers-card-overlay {
  background: linear-gradient(
    to top,
    rgba(26, 26, 26, 0.95) 0%,
    rgba(26, 26, 26, 0.3) 50%,
    rgba(26, 26, 26, 0.05) 100%
  );
}
.univers-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px 36px;
  z-index: 2;
}
.univers-card-accent {
  width: 28px;
  height: 2px;
  border-radius: 1px;
  margin-bottom: 16px;
  transition: width 0.4s var(--ease);
}
.univers-card:hover .univers-card-accent { width: 56px; }
.univers-card--alu .univers-card-accent { background: var(--alu-light); }
.univers-card--pvc .univers-card-accent { background: var(--pvc-light); }
.univers-card--bois .univers-card-accent { background: var(--bois-light); }
.univers-card h3 {
  color: var(--white);
  font-size: 1.6rem;
  margin-bottom: 10px;
}
.univers-card p {
  color: rgba(255,255,255,0.55);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 24px;
}
.univers-card .btn {
  opacity: 0;
  transform: translateY(12px);
  transition: all 0.4s var(--ease);
}
.univers-card:hover .btn {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================
   PRODUITS GRID
   ========================================== */
.produits { background: var(--beige); }
.produits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.produit-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  transition: all 0.4s var(--ease);
}
.produit-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: transparent;
  transform: translateY(-6px);
}
.produit-card-img {
  aspect-ratio: 4/3;
  overflow: hidden;
}
.produit-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.produit-card:hover .produit-card-img img {
  transform: scale(1.05);
}
.produit-card-body { padding: 28px; }
.produit-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}
.produit-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 20px;
  line-height: 1.6;
}
.produit-card-materials {
  display: flex;
  gap: 6px;
  margin-bottom: 20px;
}
.material-tag {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 100px;
  border: 1px solid var(--border);
  color: var(--text-muted);
}
.material-tag--alu { border-color: var(--alu-light); color: var(--alu); }
.material-tag--pvc { border-color: var(--pvc); color: var(--warm-grey); }
.material-tag--bois { border-color: var(--bois-light); color: var(--bois); }
.produit-card-link {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--orange);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.3s var(--ease);
}
.produit-card:hover .produit-card-link { gap: 12px; }
.produit-card-link svg { width: 16px; height: 16px; }

/* ==========================================
   REALISATIONS
   ========================================== */
.realisations { background: var(--white); }

/* --- Realisations Slider --- */
.real-slider {
  position: relative;
  overflow: hidden;
  margin-left: -48px;
  margin-right: -48px;
  padding-left: 48px;
}
.real-slider-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-right: 48px;
  padding-bottom: 8px;
  cursor: grab;
}
.real-slider-track:active { cursor: grabbing; }
.real-slider-track::-webkit-scrollbar { display: none; }

.real-slider-slide {
  flex: 0 0 420px;
  scroll-snap-align: start;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
}
.real-slider-slide img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
  transition: transform 0.7s var(--ease);
}
.real-slider-slide:hover img {
  transform: scale(1.05);
}
.real-slider-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 48px 24px 20px;
  background: linear-gradient(to top, rgba(26,26,26,0.7) 0%, transparent 100%);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.02em;
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.4s var(--ease);
}
.real-slider-slide:hover .real-slider-caption {
  opacity: 1;
  transform: translateY(0);
}

/* Slider Navigation */
.real-slider-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 36px;
}
.real-slider-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: transparent;
  border: 1.5px solid rgba(26,26,26,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s var(--ease);
  cursor: pointer;
}
.real-slider-btn:hover {
  border-color: var(--orange);
  background: var(--orange-glow);
}
.real-slider-btn svg {
  width: 18px;
  height: 18px;
  color: var(--black);
  transition: color 0.3s var(--ease);
}
.real-slider-btn:hover svg { color: var(--orange); }
.real-slider-counter {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 48px;
  justify-content: center;
}
.real-slider-current {
  font-size: 1.1rem;
  color: var(--black);
  font-weight: 700;
}
.real-slider-sep { color: var(--warm-grey-light); }

.realisations-cta {
  text-align: center;
  margin-top: 56px;
}

/* Legacy grid for subpages (realisations-grid kept) */
.realisations-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.realisations-grid .real-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 1;
}
.realisations-grid .real-item:nth-child(1) {
  grid-column: span 2;
  grid-row: span 2;
  aspect-ratio: auto;
}
.realisations-grid .real-item:nth-child(5) {
  grid-column: span 2;
  aspect-ratio: 2/1;
}
.real-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.real-item:hover img { transform: scale(1.06); }
.real-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 26, 26, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.4s var(--ease);
}
.real-item:hover .real-item-overlay {
  background: rgba(26, 26, 26, 0.4);
}
.real-item-overlay svg {
  width: 36px;
  height: 36px;
  color: var(--white);
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.3s var(--ease);
}
.real-item:hover .real-item-overlay svg {
  opacity: 1;
  transform: scale(1);
}

/* ==========================================
   ENTREPRISE SECTION
   ========================================== */
.entreprise-section { background: var(--beige); }
.entreprise-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.entreprise-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}
.entreprise-img img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
}
.entreprise-img-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 2rem;
  padding: 20px 28px;
  border-radius: var(--radius-lg);
  line-height: 1;
}
.entreprise-img-badge span {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 6px;
  color: var(--cuivre);
}
.entreprise-content h2 { margin-bottom: 24px; }
.entreprise-content p { margin-bottom: 16px; }
.entreprise-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 36px;
  margin-bottom: 36px;
}
.value-item {
  display: flex;
  align-items: center;
  gap: 14px;
}
.value-item-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--orange-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.value-item-icon svg { width: 18px; height: 18px; color: var(--orange); }
.value-item span {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
}

/* ==========================================
   ZONE D'INTERVENTION
   ========================================== */
.zone-section {
  background: var(--white);
}
.zone-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.zone-cities {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}
.zone-city {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  padding: 8px 20px;
  background: var(--beige);
  border-radius: 100px;
  color: var(--text);
  border: 1px solid var(--border);
}
.zone-city.primary {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}
.zone-map {
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--beige);
}
.zone-map iframe { width: 100%; height: 100%; border: 0; }

/* ==========================================
   CTA FINAL — Dark section
   ========================================== */
.cta-final {
  background: var(--black);
  position: relative;
  overflow: hidden;
}
.cta-final::before {
  content: '';
  position: absolute;
  top: -60%;
  right: -15%;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: rgba(200, 149, 108, 0.06);
}
.cta-final::after {
  content: '';
  position: absolute;
  bottom: -40%;
  left: -10%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(232, 129, 26, 0.04);
}
.cta-final .container {
  position: relative;
  z-index: 1;
  text-align: center;
}
.cta-final h2 {
  color: var(--white);
  margin-bottom: 16px;
}
.cta-final p {
  color: rgba(255,255,255,0.5);
  font-size: 1.1rem;
  margin-bottom: 40px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================
   FOOTER — Premium dark
   ========================================== */
.site-footer {
  background: var(--black);
  color: rgba(255,255,255,0.5);
  padding: 100px 0 0;
  position: relative;
}
.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200,149,108,0.2), transparent);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 72px;
}
.footer-brand img {
  height: 40px;
  margin-bottom: 24px;
}
.footer-brand p {
  color: rgba(255,255,255,0.35);
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 300px;
}
.footer-title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 28px;
}
.footer-links a {
  display: block;
  padding: 6px 0;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.4);
  transition: all 0.3s var(--ease);
}
.footer-links a:hover { color: var(--cuivre); transform: translateX(4px); }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
  font-size: 0.9rem;
}
.footer-contact-item svg {
  width: 16px;
  height: 16px;
  color: var(--cuivre);
  flex-shrink: 0;
  margin-top: 4px;
}
.footer-contact-item a { color: rgba(255,255,255,0.45); }
.footer-contact-item a:hover { color: var(--cuivre); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 28px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.25);
}
.footer-social {
  display: flex;
  gap: 10px;
}
.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s var(--ease);
}
.footer-social a:hover {
  border-color: var(--cuivre);
  background: rgba(200, 149, 108, 0.1);
}
.footer-social a svg {
  width: 15px;
  height: 15px;
  color: rgba(255,255,255,0.45);
}
.footer-social a:hover svg { color: var(--cuivre); }

/* ==========================================
   PAGE HERO (Subpages)
   ========================================== */
.page-hero {
  position: relative;
  min-height: 55vh;
  display: flex;
  align-items: flex-end;
  padding-bottom: 64px;
  overflow: hidden;
  background: var(--black);
}
.page-hero .hero-bg,
.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.page-hero .hero-bg img,
.page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}
.page-hero .hero-overlay,
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(26, 26, 26, 0.85) 0%,
    rgba(26, 26, 26, 0.4) 50%,
    rgba(26, 26, 26, 0.15) 100%
  );
  z-index: 1;
}
.page-hero-content {
  position: relative;
  z-index: 2;
  padding-top: calc(var(--header-h) + 48px);
}
.page-hero .section-label {
  color: var(--cuivre);
}
.page-hero .section-label::before {
  background: var(--cuivre);
}
.page-hero h1 {
  color: var(--white);
  margin-bottom: 16px;
  font-size: clamp(2.5rem, 5vw, 4rem);
}
.page-hero p,
.page-hero-subtitle {
  color: rgba(255,255,255,0.55);
  max-width: 560px;
  font-size: 1.1rem;
  line-height: 1.7;
}

/* ==========================================
   SAVOIR-FAIRE PAGES
   ========================================== */
.sf-intro { background: var(--white); }
.sf-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.sf-intro-text h2 { margin-bottom: 24px; }
.sf-intro-text p { margin-bottom: 16px; }
.sf-intro-content h2 { margin-bottom: 24px; }
.sf-intro-content p { margin-bottom: 16px; }

.sf-intro-stats {
  display: flex;
  gap: 36px;
  margin-top: 36px;
  padding-top: 36px;
  border-top: 1px solid var(--border);
}
.sf-intro-stat { text-align: center; }
.sf-intro-stat-number {
  display: block;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--orange);
  line-height: 1.2;
  margin-bottom: 4px;
}
.sf-intro-stat-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}

.sf-intro-img {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.sf-intro-img img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.sf-intro-grid--reversed > :first-child { order: 2; }
.sf-intro-grid--reversed > :last-child { order: 1; }

/* Avantages */
.sf-avantages { background: var(--beige); }
.avantages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.sf-avantages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.avantages-grid--3col { grid-template-columns: repeat(3, 1fr); }
.avantage-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 28px;
  border: 1px solid var(--border);
  text-align: center;
  transition: all 0.4s var(--ease);
}
.avantage-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.avantage-icon,
.avantage-card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.avantage-icon svg,
.avantage-card-icon svg { width: 24px; height: 24px; }
.avantage-card--alu .avantage-icon,
.avantage-card--alu .avantage-card-icon { background: rgba(74, 79, 85, 0.08); color: var(--alu); }
.avantage-card--pvc .avantage-icon,
.avantage-card--pvc .avantage-card-icon { background: rgba(160, 160, 160, 0.12); color: var(--warm-grey); }
.avantage-card--bois .avantage-icon,
.avantage-card--bois .avantage-card-icon { background: rgba(138, 90, 60, 0.08); color: var(--bois); }
.avantage-card--orange .avantage-icon,
.avantage-card--orange .avantage-card-icon { background: var(--orange-glow); color: var(--orange); }
.avantage-card h4,
.avantage-card-title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--black);
  margin-bottom: 10px;
}
.avantage-card p,
.avantage-card-text {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* Related products */
.sf-produits { background: var(--white); }

/* ==========================================
   CONTACT / DEVIS
   ========================================== */
.contact-section { background: var(--white); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
}
.contact-info h2 { margin-bottom: 24px; }
.contact-info > p { margin-bottom: 32px; }
.contact-details { margin-bottom: 40px; }
.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}
.contact-detail-item:first-child { border-top: 1px solid var(--border); }
.contact-detail-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-lg);
  background: var(--orange-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-detail-icon svg { width: 18px; height: 18px; color: var(--orange); }
.contact-detail-text strong {
  display: block;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 4px;
}
.contact-detail-text span,
.contact-detail-text a { font-size: 0.95rem; color: var(--text); }
.contact-detail-text a:hover { color: var(--orange); }

/* Form */
.devis-form {
  background: var(--beige);
  border-radius: var(--radius-lg);
  padding: 48px;
  border: 1px solid var(--border);
}
.form-steps {
  display: flex;
  gap: 4px;
  margin-bottom: 40px;
}
.form-step {
  flex: 1;
  height: 3px;
  border-radius: 2px;
  background: rgba(26, 26, 26, 0.08);
  transition: background 0.4s var(--ease);
}
.form-step.active { background: var(--orange); }
.form-step-content { display: none; }
.form-step-content.active {
  display: block;
  animation: fadeUp 0.4s var(--ease-out);
}
.form-step-title {
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.form-step-desc {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 28px;
}
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--black);
  letter-spacing: 0.02em;
}
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid rgba(26, 26, 26, 0.1);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--black);
  font-size: 0.95rem;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
  outline: none;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 4px var(--orange-glow);
}
.form-textarea { resize: vertical; min-height: 100px; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.form-option { position: relative; }
.form-option input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.form-option label {
  display: block;
  text-align: center;
  padding: 14px 12px;
  border: 1.5px solid rgba(26, 26, 26, 0.1);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  background: var(--white);
}
.form-option input:checked + label {
  border-color: var(--orange);
  background: var(--orange-glow);
  color: var(--orange);
}
.form-option label:hover { border-color: var(--warm-grey-light); }
.form-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 32px;
}

/* ==========================================
   LIGHTBOX
   ========================================== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s var(--ease);
  backdrop-filter: blur(12px);
}
.lightbox.active { opacity: 1; visibility: visible; }
.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius);
  transform: scale(0.92);
  transition: transform 0.4s var(--ease);
}
.lightbox.active img { transform: scale(1); }
.lightbox-close {
  position: absolute;
  top: 28px;
  right: 28px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s var(--ease);
}
.lightbox-close:hover { background: rgba(255,255,255,0.15); }
.lightbox-close svg { width: 20px; height: 20px; color: var(--white); }
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s var(--ease);
}
.lightbox-nav:hover { background: rgba(255,255,255,0.15); }
.lightbox-nav svg { width: 20px; height: 20px; color: var(--white); }
.lightbox-prev { left: 28px; }
.lightbox-next { right: 28px; }

/* ==========================================
   MOBILE MENU
   ========================================== */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--black);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  transform: translateX(100%);
  transition: transform 0.5s var(--ease);
}
.mobile-menu.active { transform: translateX(0); }
.mobile-menu a {
  font-family: var(--font-body);
  font-size: 1.6rem;
  font-weight: 600;
  padding: 12px 24px;
  color: var(--white);
  transition: color 0.3s var(--ease);
}
.mobile-menu a:hover { color: var(--cuivre); }
.mobile-menu .btn {
  margin-top: 28px;
  font-size: 0.9rem;
}

/* ==========================================
   BACK TO TOP
   ========================================== */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 999;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: var(--cuivre);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease), transform 0.3s var(--ease), background 0.3s var(--ease);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}
.back-to-top svg {
  width: 20px;
  height: 20px;
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--cuivre-dark, #8a5a2a);
  transform: translateY(-2px);
}

/* ==========================================
   ANIMATIONS
   ========================================== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}

[data-animate] {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}
[data-animate="slide-left"] {
  transform: translateX(-40px);
}
[data-animate="slide-left"].visible {
  transform: translateX(0);
}
[data-animate="slide-right"] {
  transform: translateX(40px);
}
[data-animate="slide-right"].visible {
  transform: translateX(0);
}
[data-animate="scale"] {
  transform: scale(0.92);
}
[data-animate="scale"].visible {
  transform: scale(1);
}
[data-animate][data-delay="1"] { transition-delay: 0.1s; }
[data-animate][data-delay="2"] { transition-delay: 0.2s; }
[data-animate][data-delay="3"] { transition-delay: 0.3s; }
[data-animate][data-delay="4"] { transition-delay: 0.4s; }
[data-animate][data-delay="5"] { transition-delay: 0.5s; }
[data-animate][data-delay="6"] { transition-delay: 0.6s; }

/* Parallax elements */
[data-parallax] {
  will-change: transform;
  transition: transform 0.1s linear;
}

/* Counter animation */
.counter-number {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  color: var(--orange);
  line-height: 1;
  display: block;
}
.counter-label {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-light);
  margin-top: 8px;
  display: block;
}

/* ==========================================
   BREADCRUMB
   ========================================== */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  margin-bottom: 20px;
}
.breadcrumb a { color: rgba(255,255,255,0.4); }
.breadcrumb a:hover { color: var(--cuivre); }
.breadcrumb span { color: rgba(255,255,255,0.2); }
.breadcrumb .current,
.breadcrumb .breadcrumb-current { color: rgba(255,255,255,0.7); }

/* ==========================================
   REALISATIONS FULL PAGE
   ========================================== */
.realisations-full-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.realisations-full-grid .real-item {
  aspect-ratio: 4/3;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
}
.realisations-full-grid .real-item:nth-child(3n+1):nth-child(6n+1) {
  grid-column: span 2;
  grid-row: span 2;
  aspect-ratio: auto;
}
.realisations-filter {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.filter-btn {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 100px;
  border: 1.5px solid rgba(26, 26, 26, 0.1);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  transition: all 0.3s var(--ease);
  letter-spacing: 0.02em;
}
.filter-btn:hover {
  border-color: var(--orange);
  color: var(--orange);
}
.filter-btn.active {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

/* ==========================================
   ENTREPRISE PAGE
   ========================================== */
.timeline {
  position: relative;
  padding-left: 40px;
  margin-top: 48px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(26, 26, 26, 0.08);
}
.timeline-item {
  position: relative;
  padding-bottom: 40px;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: -44px;
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--orange);
}
.timeline-year {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--orange);
  margin-bottom: 8px;
}
.timeline-text {
  font-size: 0.95rem;
  color: var(--text);
}

/* Bois page accents */
.section-label--bois { color: var(--bois); }
.section-label--bois::before { background: var(--bois); }

/* ==========================================
   UTILITY
   ========================================== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 1100px) {
  .container { padding: 0 36px; }
  .container-fluid { padding: 0 36px; }
  .container-tight { padding: 0 36px; }
  .header-inner { padding: 0 36px; }
  .univers-grid { gap: 12px; }
  .produits-grid { grid-template-columns: repeat(2, 1fr); }
  .avantages-grid,
  .sf-avantages-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .entreprise-grid { gap: 56px; }
  .sf-intro-grid { gap: 56px; }
  .contact-grid { gap: 56px; }
  .hero-stats-inner { padding: 0 36px; }
  .real-slider { margin-left: -36px; margin-right: -36px; padding-left: 36px; }
  .real-slider-track { padding-right: 36px; }
  .real-slider-slide { flex: 0 0 360px; }
}

@media (max-width: 900px) {
  .header-nav { display: none; }
  .header-cta { display: none; }
  .menu-toggle { display: flex; margin-left: auto; }

  .univers-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .univers-card { aspect-ratio: 16/9; }
  .univers-card .btn { opacity: 1; transform: none; }

  .realisations-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .realisations-grid .real-item:nth-child(1) {
    grid-column: span 2;
    grid-row: span 1;
    aspect-ratio: 2/1;
  }
  .realisations-grid .real-item:nth-child(5) {
    grid-column: span 1;
    aspect-ratio: 1;
  }
  .realisations-full-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .realisations-full-grid .real-item:nth-child(3n+1):nth-child(6n+1) {
    grid-column: span 1;
    grid-row: span 1;
    aspect-ratio: 4/3;
  }

  .entreprise-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .sf-intro-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .sf-intro-grid--reversed > :first-child { order: 0; }
  .sf-intro-grid--reversed > :last-child { order: 0; }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .zone-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hero-stats-inner {
    flex-wrap: wrap;
  }
  .hero-stat {
    flex: 1 1 50%;
    border-right: none;
    padding: 20px 0;
  }
  .hero-stat:nth-child(odd) {
    border-right: 1px solid rgba(255,255,255,0.06);
  }
  .hero-brand { display: none; }
}

@media (max-width: 600px) {
  :root { --section-py: 72px; }
  .container { padding: 0 20px; }
  .container-fluid { padding: 0 20px; }
  .container-tight { padding: 0 20px; }
  .header-inner { padding: 0 20px; }

  .hero {
    flex-direction: column;
    align-items: stretch;
  }
  .hero .container-fluid {
    flex: 1;
    display: flex;
    align-items: center;
    padding-top: 4em;
    padding-bottom: 4em;
  }
  .hero-content { max-width: 100%; }
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { width: 100%; justify-content: center; }
  .hero-stats {
    position: relative;
  }

  .produits-grid { grid-template-columns: 1fr; }
  .avantages-grid,
  .sf-avantages-grid,
  .avantages-grid--3col { grid-template-columns: 1fr; }

  .sf-intro-stats { flex-wrap: wrap; gap: 20px; }

  .real-slider { margin-left: -20px; margin-right: -20px; padding-left: 20px; }
  .real-slider-track { padding-right: 20px; gap: 12px; }
  .real-slider-slide { flex: 0 0 280px; }
  .real-slider-slide img { height: 240px; }

  .realisations-grid {
    grid-template-columns: 1fr 1fr;
  }
  .realisations-grid .real-item:nth-child(1) { grid-column: span 2; }
  .realisations-grid .real-item:nth-child(5) {
    grid-column: span 2;
    aspect-ratio: 2/1;
  }
  .realisations-full-grid { grid-template-columns: 1fr 1fr; }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .entreprise-values { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .form-options { grid-template-columns: repeat(2, 1fr); }
  .devis-form { padding: 28px 20px; }

  .page-hero { min-height: 45vh; }

  .hero-stats-inner { flex-direction: column; }
  .hero-stat {
    flex: none;
    padding: 16px 0;
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .hero-stat:last-child { border-bottom: none; }
}
