/*
Theme Name: LMC — Lean Management Construction
Theme URI: https://www.leanmc.fr
Author: LMC Web
Author URI: https://www.leanmc.fr
Description: Theme sur mesure pour Lean Management Construction — Contractant General Bordeaux. Design premium, responsive, optimise SEO.
Version: 1.0.0
License: Proprietary
License URI: https://www.leanmc.fr
Text Domain: lmc
Requires at least: 6.0
Requires PHP: 8.0
Tags: construction, bordeaux, contractant-general, custom-theme
*/

/* ═══════════════════════════════════════
   RESET & VARIABLES
═══════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --dark:       #1A2535;
  --navy:       #33445C;
  --navy-mid:   #3D4F63;
  --navy-light: #4A5D72;
  --gold:       #8C8D91;
  --gold-light: #A5A6AA;
  --gold-dark:  #6E6F73;
  --cream:      #F4F4F5;
  --cream-dark: #E5E5E7;
  --steel:      #6E6F73;
  --steel-light:#A5A6AA;
  --white:      #FAFAFA;
  --border:     rgba(140,141,145,0.15);
  --border-light:rgba(255,255,255,0.06);
  --radius:     4px;
  --radius-lg:  12px;
  --shadow:     0 8px 32px rgba(0,0,0,0.12);
  --shadow-lg:  0 24px 64px rgba(0,0,0,0.20);
  --ease:       cubic-bezier(0.25, 0.1, 0.25, 1);
  --ease-out:   cubic-bezier(0.16, 1, 0.3, 1);
}
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, sans-serif;
  color: var(--navy); background: var(--white);
  line-height: 1.7; overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--gold); color: var(--white); }

/* ═══════════════════════════════════════
   TYPOGRAPHY
═══════════════════════════════════════ */
.serif { font-family: 'Cormorant Garamond', 'Georgia', serif; }
h1, h2, h3 { font-family: 'Cormorant Garamond', serif; font-weight: 600; line-height: 1.15; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.8rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 500; }
p { color: var(--steel); font-size: 0.95rem; }
a { text-decoration: none; color: inherit; }

.label {
  font-family: 'Inter', sans-serif; font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold);
  display: flex; align-items: center; gap: 12px;
}
.label::before { content: ''; width: 32px; height: 1px; background: var(--gold); }

/* ═══════════════════════════════════════
   LAYOUT
═══════════════════════════════════════ */
.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.container-sm { max-width: 800px; margin: 0 auto; padding: 0 32px; }
section { position: relative; }

/* ═══════════════════════════════════════
   BUTTONS
═══════════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Inter', sans-serif; font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 16px 36px; border: none; cursor: pointer;
  position: relative; overflow: hidden;
  transition: all 0.5s var(--ease);
}
.btn-gold {
  background: var(--gold); color: var(--dark);
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 100%, 0 100%);
}
.btn-gold::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transform: translateX(-100%); transition: transform 0.6s var(--ease);
}
.btn-gold:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 8px 32px rgba(140,141,145,0.4); }
.btn-gold:hover::after { transform: translateX(100%); }
.btn-outline {
  background: transparent; color: var(--gold);
  border: 1px solid rgba(140,141,145,0.4);
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 100%, 0 100%);
}
.btn-outline:hover { border-color: var(--gold); background: rgba(140,141,145,0.08); }
.btn-dark {
  background: var(--navy); color: var(--cream);
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 100%, 0 100%);
}
.btn-dark:hover { background: var(--navy-mid); transform: translateY(-2px); }
.btn-white {
  background: var(--white); color: var(--navy);
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 100%, 0 100%);
}
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }

/* ═══════════════════════════════════════
   LOADING SCREEN
═══════════════════════════════════════ */
.loader {
  position: fixed; inset: 0; z-index: 10000;
  background: var(--dark); display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 24px;
  transition: opacity 0.6s var(--ease), visibility 0.6s;
}
.loader.done { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-logo { font-family: 'Cormorant Garamond', serif; font-size: 2.4rem; font-weight: 600; color: var(--cream); letter-spacing: 0.12em; opacity: 0; animation: loaderFadeIn 0.8s 0.2s forwards; }
.loader-line { width: 120px; height: 1px; background: rgba(140,141,145,0.2); position: relative; overflow: hidden; }
.loader-line::after { content: ''; position: absolute; left: 0; top: 0; height: 100%; width: 0; background: var(--gold); animation: loaderLine 1.8s 0.5s var(--ease) forwards; }
.loader-sub { font-size: 0.65rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--gold); opacity: 0; animation: loaderFadeIn 0.8s 0.6s forwards; }
@keyframes loaderFadeIn { to { opacity: 1; } }
@keyframes loaderLine { to { width: 100%; } }

/* ═══════════════════════════════════════
   CUSTOM CURSOR
═══════════════════════════════════════ */
.cursor-dot, .cursor-ring {
  position: fixed; pointer-events: none; z-index: 9999;
  border-radius: 50%; transition: opacity 0.3s;
}
.cursor-dot { width: 6px; height: 6px; background: var(--gold); transform: translate(-50%, -50%); }
.cursor-ring { width: 40px; height: 40px; border: 1px solid rgba(140,141,145,0.3); transform: translate(-50%, -50%); transition: width 0.3s var(--ease), height 0.3s var(--ease), border-color 0.3s; }
.cursor-ring.hover { width: 60px; height: 60px; border-color: var(--gold); }
@media (hover: none) { .cursor-dot, .cursor-ring { display: none; } }
body.custom-cursor { cursor: none; }
body.custom-cursor a, body.custom-cursor button { cursor: none; }

/* ═══════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════ */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 0 32px; transition: all 0.5s var(--ease);
}
nav.scrolled { background: rgba(10,22,40,0.95); backdrop-filter: blur(20px); }
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 90px; border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: height 0.5s var(--ease);
}
nav.scrolled .nav-inner { height: 70px; border-bottom-color: transparent; }
.nav-logo { display: flex; align-items: center; gap: 14px; }
.nav-logo-icon { width: 42px; height: 42px; border: 1px solid rgba(140,141,145,0.4); display: flex; align-items: center; justify-content: center; position: relative; }
.nav-logo-icon::before { content: ''; position: absolute; inset: 3px; border: 1px solid rgba(140,141,145,0.15); }
.nav-logo-icon span { font-family: 'Cormorant Garamond', serif; color: var(--gold); font-size: 1rem; font-weight: 600; letter-spacing: 0.05em; }
.nav-logo-text { color: var(--cream); }
.nav-logo-text strong { display: block; font-family: 'Cormorant Garamond', serif; font-size: 1.15rem; font-weight: 600; letter-spacing: 0.06em; }
.nav-logo-text small { font-size: 0.6rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-dark); }
.nav-links { display: flex; align-items: center; gap: 0; }
.nav-links a {
  color: rgba(255,255,255,0.55); font-size: 0.75rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 10px 18px; position: relative;
  transition: color 0.3s var(--ease);
}
.nav-links a::after { content: ''; position: absolute; bottom: 4px; left: 18px; right: 18px; height: 1px; background: var(--gold); transform: scaleX(0); transition: transform 0.3s var(--ease); transform-origin: right; }
.nav-links a:hover { color: var(--cream); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-links a.active { color: var(--gold); }
.nav-links a.active::after { transform: scaleX(1); }
.nav-cta .btn { padding: 12px 28px; font-size: 0.72rem; }
.hamburger { display: none; background: none; border: none; cursor: pointer; width: 32px; height: 24px; position: relative; }
.hamburger span { position: absolute; left: 0; width: 100%; height: 1px; background: var(--cream); transition: all 0.3s var(--ease); }
.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 50%; width: 60%; margin-left: 40%; }
.hamburger span:nth-child(3) { bottom: 0; }
.hamburger.open span:nth-child(1) { top: 50%; transform: rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { bottom: 50%; transform: rotate(-45deg); }

/* Mobile Menu Overlay */
.mobile-menu {
  position: fixed; inset: 0; z-index: 999;
  background: var(--dark); display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 8px;
  opacity: 0; visibility: hidden; transition: all 0.5s var(--ease);
}
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-menu a { font-family: 'Cormorant Garamond', serif; font-size: 2.2rem; font-weight: 500; color: var(--cream); padding: 8px 0; opacity: 0; transform: translateY(20px); transition: all 0.4s var(--ease); }
.mobile-menu.open a { opacity: 1; transform: translateY(0); }
.mobile-menu a:hover { color: var(--gold); }

/* ═══════════════════════════════════════
   HERO
═══════════════════════════════════════ */
.hero { min-height: 100vh; display: flex; align-items: flex-end; padding-bottom: 80px; background: var(--dark); position: relative; overflow: hidden; }
.hero-bg { position: absolute; inset: -40px; background-size: cover; background-position: center; background-repeat: no-repeat; opacity: 0.35; will-change: transform; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,12,20,0.3) 0%, rgba(8,12,20,0.1) 40%, rgba(8,12,20,0.7) 75%, rgba(8,12,20,0.95) 100%); }
.hero-vignette { position: absolute; inset: 0; box-shadow: inset 0 0 200px rgba(0,0,0,0.5); }
.hero-grain { position: absolute; inset: 0; opacity: 0.03; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='f'%3E%3CfeTurbulence baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23f)'/%3E%3C/svg%3E"); }
.hero-content { position: relative; z-index: 2; width: 100%; }
.hero-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 80px; }
.hero-left { max-width: 680px; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(140,141,145,0.25); padding: 8px 20px; margin-bottom: 32px; }
.hero-badge span { font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); font-weight: 500; }
.hero h1 { color: var(--cream); margin-bottom: 24px; }
.hero h1 .gold { color: var(--gold); font-style: italic; }
.hero-desc { font-size: 1.05rem; color: rgba(255,255,255,0.55); max-width: 480px; line-height: 1.8; margin-bottom: 48px; }
.hero-actions { display: flex; gap: 16px; align-items: center; }
.hero-right { display: flex; flex-direction: column; gap: 0; border-left: 1px solid rgba(140,141,145,0.15); padding-left: 48px; }
.hero-stat { padding: 28px 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
.hero-stat:last-child { border-bottom: none; }
.hero-stat-num { font-family: 'Cormorant Garamond', serif; font-size: 3rem; font-weight: 600; color: var(--cream); line-height: 1; }
.hero-stat-text { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--steel-light); margin-top: 6px; }
.hero-scroll { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; z-index: 2; }
.hero-scroll span { font-size: 0.6rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--gold-dark); writing-mode: vertical-rl; }
.hero-scroll-line { width: 1px; height: 48px; background: linear-gradient(to bottom, var(--gold), transparent); animation: scrollPulse 2s infinite; }
@keyframes scrollPulse { 0%,100% { opacity: 0.3; } 50% { opacity: 1; } }

/* ═══════════════════════════════════════
   TRUST MARQUEE
═══════════════════════════════════════ */
.trust-marquee { background: var(--dark); border-top: 1px solid rgba(140,141,145,0.08); border-bottom: 1px solid rgba(140,141,145,0.08); overflow: hidden; padding: 18px 0; }
.marquee-track { display: flex; gap: 64px; animation: marqueeScroll 30s linear infinite; width: max-content; }
.marquee-item { display: flex; align-items: center; gap: 12px; white-space: nowrap; }
.marquee-dot { width: 6px; height: 6px; border: 1px solid var(--gold); transform: rotate(45deg); flex-shrink: 0; }
.marquee-text { font-size: 0.72rem; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(255,255,255,0.35); font-weight: 500; }
@keyframes marqueeScroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ═══════════════════════════════════════
   INTRO (A PROPOS)
═══════════════════════════════════════ */
.intro { padding: 160px 0; background: var(--white); }
.intro-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: center; }
.intro-visual { position: relative; }
.intro-img { width: 100%; aspect-ratio: 4/5; object-fit: cover; background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%); position: relative; overflow: hidden; }
.intro-img img, .intro-img-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.intro-accent { position: absolute; bottom: -24px; right: -24px; width: 200px; padding: 32px; background: var(--gold); text-align: center; }
.intro-accent-num { font-family: 'Cormorant Garamond', serif; font-size: 3.5rem; font-weight: 600; color: var(--dark); line-height: 1; }
.intro-accent-text { font-size: 0.65rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--dark); opacity: 0.7; margin-top: 4px; }
.intro-content .label { margin-bottom: 20px; }
.intro-content h2 { margin-bottom: 28px; color: var(--navy); }
.intro-content p { margin-bottom: 20px; line-height: 1.8; font-size: 0.95rem; }
.intro-content p strong { color: var(--navy); font-weight: 600; }
.intro-values { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 40px; padding-top: 40px; border-top: 1px solid var(--border); }
.intro-value { display: flex; gap: 14px; align-items: flex-start; }
.intro-value-icon { width: 40px; height: 40px; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 1rem; }
.intro-value strong { display: block; font-size: 0.88rem; color: var(--navy); font-weight: 600; margin-bottom: 2px; }
.intro-value small { font-size: 0.78rem; color: var(--steel-light); }

/* ═══════════════════════════════════════
   SERVICES
═══════════════════════════════════════ */
.services { padding: 160px 0; background: var(--navy); position: relative; overflow: hidden; }
.services::before { content: ''; position: absolute; top: 0; right: 0; width: 40%; height: 100%; background: rgba(140,141,145,0.02); clip-path: polygon(30% 0, 100% 0, 100% 100%, 0 100%); }
.services-header { margin-bottom: 80px; }
.services-header .label { color: var(--gold); margin-bottom: 20px; }
.services-header h2 { color: var(--cream); max-width: 500px; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.service-card {
  padding: 48px 36px; background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.04);
  position: relative; overflow: hidden;
  transition: all 0.5s var(--ease);
}
.service-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 2px; background: linear-gradient(90deg, var(--gold), transparent); transform: scaleX(0); transform-origin: left; transition: transform 0.5s var(--ease); }
.service-card:hover { background: rgba(140,141,145,0.04); }
.service-card:hover::before { transform: scaleX(1); }
.service-num { font-family: 'Cormorant Garamond', serif; font-size: 3rem; font-weight: 600; color: rgba(140,141,145,0.12); line-height: 1; margin-bottom: 20px; }
.service-card h3 { color: var(--cream); font-weight: 500; margin-bottom: 12px; font-size: 1.3rem; }
.service-card p { color: rgba(255,255,255,0.4); font-size: 0.85rem; line-height: 1.7; }

/* ═══════════════════════════════════════
   ARCHITECTS TEASER (home)
═══════════════════════════════════════ */
.arch-teaser { padding: 160px 0; background: var(--cream); position: relative; overflow: hidden; }
.arch-teaser::before { content: ''; position: absolute; top: -1px; left: 0; right: 0; height: 120px; background: var(--navy); clip-path: polygon(0 0, 100% 0, 100% 40%, 0 100%); }
.arch-teaser-layout { display: grid; grid-template-columns: 1.1fr 1fr; gap: 80px; align-items: center; }
.arch-teaser-content .label { margin-bottom: 20px; color: var(--gold-dark); }
.arch-teaser-content h2 { color: var(--navy); margin-bottom: 20px; }
.arch-teaser-content h2 em { color: var(--gold-dark); font-style: italic; }
.arch-teaser-content > p { margin-bottom: 36px; font-size: 1rem; line-height: 1.8; }
.arch-promises { list-style: none; display: flex; flex-direction: column; gap: 16px; margin-bottom: 48px; }
.arch-promises li { display: flex; align-items: center; gap: 16px; font-size: 0.9rem; color: var(--navy); font-weight: 500; }
.promise-icon { width: 28px; height: 28px; border: 1px solid var(--gold); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.promise-icon svg { width: 12px; height: 12px; stroke: var(--gold); fill: none; stroke-width: 2.5; }
.arch-teaser-visual { position: relative; }
.arch-process-card { background: var(--navy); padding: 48px; position: relative; }
.arch-process-card::before { content: ''; position: absolute; inset: 8px; border: 1px solid rgba(140,141,145,0.1); pointer-events: none; }
.arch-process-label { font-size: 0.6rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--gold); margin-bottom: 32px; }
.process-step { display: flex; gap: 20px; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
.process-step:last-child { border-bottom: none; }
.step-num { font-family: 'Cormorant Garamond', serif; font-size: 1.8rem; font-weight: 600; color: rgba(140,141,145,0.3); line-height: 1; min-width: 32px; }
.step-info strong { display: block; color: var(--cream); font-size: 0.9rem; font-weight: 600; margin-bottom: 4px; }
.step-info small { color: rgba(255,255,255,0.35); font-size: 0.78rem; }

/* ═══════════════════════════════════════
   REALISATIONS
═══════════════════════════════════════ */
.realisations { padding: 160px 0; background: var(--white); }
.realisations-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 64px; }
.realisations-header-left .label { margin-bottom: 20px; }
.realisations-header-left h2 { color: var(--navy); }
.projects-scroll { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 20px; }
.projects-scroll::-webkit-scrollbar { display: none; }
.project-card { min-width: 380px; scroll-snap-align: start; flex-shrink: 0; position: relative; overflow: hidden; cursor: pointer; transition: transform 0.5s var(--ease); }
.project-card:hover { transform: translateY(-8px); }
.project-img { height: 440px; position: relative; overflow: hidden; }
.project-img-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform 0.8s var(--ease); }
.project-card:hover .project-img-bg { transform: scale(1.06); }
.project-img-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(10,22,40,0.9) 100%); }
.project-info { position: absolute; bottom: 0; left: 0; right: 0; padding: 36px; z-index: 1; }
.project-type { font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; font-weight: 600; }
.project-info h3 { color: var(--cream); margin-bottom: 8px; font-size: 1.4rem; }
.project-info p { color: rgba(255,255,255,0.5); font-size: 0.82rem; line-height: 1.6; }
.project-meta { display: flex; gap: 20px; margin-top: 16px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,0.08); }
.project-meta span { font-size: 0.7rem; color: rgba(255,255,255,0.35); letter-spacing: 0.05em; }

/* ═══════════════════════════════════════
   TEMOIGNAGES / GMB
═══════════════════════════════════════ */
.temoignages { padding: 140px 0; background: var(--cream); }
.temoignages-header { text-align: center; margin-bottom: 72px; }
.temoignages-header .label { justify-content: center; margin-bottom: 20px; }
.temoignages-header .label::before { display: none; }
.temoignages-header h2 { color: var(--navy); }
.gmb-widget { max-width: 960px; margin: 0 auto; background: var(--white); border: 1px solid rgba(140,141,145,0.12); padding: 48px; }
.gmb-top { display: flex; align-items: center; gap: 20px; padding-bottom: 32px; margin-bottom: 32px; border-bottom: 1px solid rgba(140,141,145,0.1); }
.gmb-logo { width: 48px; height: 48px; background: #4285F4; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-weight: 800; font-size: 1.4rem; flex-shrink: 0; }
.gmb-info strong { display: block; font-family: 'Cormorant Garamond', serif; font-size: 1.3rem; color: var(--navy); }
.gmb-info-rating { display: flex; align-items: center; gap: 8px; margin-top: 4px; }
.gmb-stars { color: #FBBC04; font-size: 0.85rem; letter-spacing: 2px; }
.gmb-score { font-size: 0.88rem; font-weight: 700; color: var(--navy); }
.gmb-count { font-size: 0.78rem; color: var(--steel-light); }
.gmb-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.gmb-card { padding: 28px; border: 1px dashed rgba(140,141,145,0.2); background: var(--cream); position: relative; }
.gmb-card-stars { color: #FBBC04; font-size: 0.7rem; letter-spacing: 2px; margin-bottom: 12px; }
.gmb-card-text { font-size: 0.85rem; color: var(--steel); line-height: 1.65; font-style: italic; margin-bottom: 16px; }
.gmb-card-author { display: flex; align-items: center; gap: 10px; }
.gmb-card-avatar { width: 32px; height: 32px; background: var(--cream-dark); border-radius: 50%; }
.gmb-card-name { font-size: 0.78rem; font-weight: 600; color: var(--navy); }
.gmb-card-role { font-size: 0.68rem; color: var(--steel-light); }
.gmb-note { margin-top: 28px; padding: 16px 20px; background: rgba(66,133,244,0.04); border: 1px solid rgba(66,133,244,0.1); font-size: 0.75rem; color: var(--steel); display: flex; align-items: flex-start; gap: 10px; line-height: 1.5; }

/* ═══════════════════════════════════════
   CONTACT
═══════════════════════════════════════ */
.contact { padding: 160px 0; background: var(--white); }
.contact-layout { display: grid; grid-template-columns: 1fr 1.3fr; gap: 80px; }
.contact-left .label { margin-bottom: 20px; }
.contact-left h2 { margin-bottom: 16px; color: var(--navy); }
.contact-left > p { margin-bottom: 40px; line-height: 1.8; }
.contact-cards { display: flex; flex-direction: column; gap: 16px; }
.contact-card { display: flex; align-items: center; gap: 18px; padding: 20px 24px; border: 1px solid var(--border); transition: all 0.3s var(--ease); }
.contact-card:hover { border-color: var(--gold); background: rgba(140,141,145,0.03); }
.contact-card-icon { width: 44px; height: 44px; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.contact-card-text strong { display: block; font-size: 0.9rem; color: var(--navy); }
.contact-card-text small { font-size: 0.78rem; color: var(--steel-light); }
.contact-form { background: var(--navy); padding: 56px; position: relative; }
.contact-form::before { content: ''; position: absolute; inset: 10px; border: 1px solid rgba(140,141,145,0.08); pointer-events: none; }
.contact-form h3 { font-family: 'Cormorant Garamond', serif; color: var(--cream); font-size: 1.6rem; margin-bottom: 36px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.68rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 8px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 14px 16px;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
  color: var(--cream); font-family: 'Inter', sans-serif; font-size: 0.88rem;
  outline: none; transition: all 0.3s var(--ease);
}
.form-group input::placeholder, .form-group textarea::placeholder { color: rgba(255,255,255,0.2); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--gold); background: rgba(140,141,145,0.04); }
.form-group select { cursor: pointer; }
.form-group select option { background: var(--navy); color: var(--cream); }
.form-group textarea { resize: vertical; min-height: 100px; }
.rgpd-check { display: flex; gap: 10px; margin-top: 8px; margin-bottom: 24px; }
.rgpd-check input[type="checkbox"] { accent-color: var(--gold); width: 14px; height: 14px; margin-top: 3px; flex-shrink: 0; }
.rgpd-check label { font-size: 0.72rem; color: rgba(255,255,255,0.35); line-height: 1.5; cursor: pointer; }
.rgpd-check label a { color: var(--gold); text-decoration: underline; }

/* ═══════════════════════════════════════
   GOOGLE MAPS
═══════════════════════════════════════ */
.map-container { margin-top: 32px; border: 1px solid var(--border); overflow: hidden; }
.map-container iframe { width: 100%; height: 260px; border: 0; display: block; filter: grayscale(0.3) contrast(1.05); transition: filter 0.5s; }
.map-container:hover iframe { filter: grayscale(0) contrast(1); }

/* ═══════════════════════════════════════
   CTA BAND
═══════════════════════════════════════ */
.cta-band { padding: 120px 0; background: var(--dark); text-align: center; position: relative; overflow: hidden; }
.cta-band::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(140,141,145,0.06) 0%, transparent 70%); }
.cta-band .label { justify-content: center; margin-bottom: 24px; }
.cta-band .label::before { display: none; }
.cta-band h2 { color: var(--cream); margin-bottom: 20px; }
.cta-band p { color: rgba(255,255,255,0.4); margin-bottom: 48px; font-size: 1.05rem; max-width: 480px; margin-left: auto; margin-right: auto; }
.cta-actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* ═══════════════════════════════════════
   ARCH REALISATIONS (filtered MOE)
═══════════════════════════════════════ */
.arch-reals { padding: 120px 0; background: var(--white); }
.arch-reals-header { text-align: center; margin-bottom: 64px; }
.arch-reals-header .label { justify-content: center; margin-bottom: 20px; }
.arch-reals-header .label::before { display: none; }
.arch-reals-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.arch-real-card { position: relative; overflow: hidden; cursor: pointer; transition: transform 0.5s var(--ease); }
.arch-real-card:hover { transform: translateY(-6px); }
.arch-real-img { height: 320px; position: relative; overflow: hidden; }
.arch-real-img-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform 0.8s var(--ease); }
.arch-real-card:hover .arch-real-img-bg { transform: scale(1.06); }
.arch-real-img-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 20%, rgba(10,22,40,0.9) 100%); }
.arch-real-info { position: absolute; bottom: 0; left: 0; right: 0; padding: 28px; z-index: 1; }
.arch-real-badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border: 1px solid rgba(140,141,145,0.4); margin-bottom: 10px; }
.arch-real-badge span { font-size: 0.58rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.arch-real-info h3 { color: var(--cream); font-size: 1.2rem; margin-bottom: 6px; }
.arch-real-info p { color: rgba(255,255,255,0.5); font-size: 0.8rem; line-height: 1.5; }
.arch-real-collab { margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,0.08); font-size: 0.7rem; color: var(--gold-dark); font-style: italic; }

/* ═══════════════════════════════════════
   LEGAL PAGE
═══════════════════════════════════════ */
.legal-page { padding: 160px 0 80px; background: var(--white); min-height: 100vh; }
.legal-page h1 { font-size: clamp(2rem, 4vw, 3rem); color: var(--navy); margin-bottom: 48px; }
.legal-page h2 { font-size: 1.4rem; color: var(--navy); margin: 40px 0 16px; }
.legal-page p, .legal-page li { color: var(--steel); font-size: 0.9rem; line-height: 1.8; margin-bottom: 12px; }
.legal-page ul { list-style: disc; padding-left: 24px; }
.legal-back { display: inline-flex; align-items: center; gap: 8px; font-size: 0.78rem; color: var(--gold); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 32px; transition: color 0.3s; }
.legal-back:hover { color: var(--gold-light); }

/* ═══════════════════════════════════════
   FOOTER
═══════════════════════════════════════ */
footer { background: var(--dark); border-top: 1px solid rgba(140,141,145,0.08); }
.footer-main { padding: 80px 0 48px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 64px; }
.footer-brand p { font-size: 0.82rem; color: rgba(255,255,255,0.35); line-height: 1.8; margin: 20px 0; }
.footer-col h4 { font-family: 'Inter', sans-serif; font-size: 0.65rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 24px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-links a { font-size: 0.82rem; color: rgba(255,255,255,0.35); transition: color 0.3s; }
.footer-links a:hover { color: var(--cream); }
.footer-contact-item { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; }
.footer-contact-icon { font-size: 0.85rem; margin-top: 2px; flex-shrink: 0; color: var(--gold-dark); }
.footer-contact-text { font-size: 0.82rem; color: rgba(255,255,255,0.4); line-height: 1.5; }
.footer-contact-text a { color: rgba(255,255,255,0.6); }
.footer-contact-text a:hover { color: var(--cream); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.05); padding: 24px 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom-text { font-size: 0.72rem; color: rgba(255,255,255,0.2); }
.footer-bottom-links { display: flex; gap: 28px; }
.footer-bottom-links a { font-size: 0.72rem; color: rgba(255,255,255,0.2); transition: color 0.3s; }
.footer-bottom-links a:hover { color: var(--cream); }

/* ═══════════════════════════════════════
   REVEAL ANIMATIONS
═══════════════════════════════════════ */
.reveal { opacity: 0; transform: translateY(60px); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-60px); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); }
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(60px); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); }
.reveal-right.visible { opacity: 1; transform: translateX(0); }
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }

/* ═══════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero-top { flex-direction: column; align-items: flex-start; gap: 48px; }
  .hero-right { flex-direction: row; gap: 32px; border-left: none; padding-left: 0; border-top: 1px solid rgba(140,141,145,0.15); padding-top: 32px; }
  .hero-stat { padding: 0; border-bottom: none; }
  .hero-scroll { display: none; }
  .intro-layout, .arch-teaser-layout, .contact-layout { grid-template-columns: 1fr; gap: 48px; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: block; }
  section { padding: 80px 0 !important; }
  .services-grid, .gmb-cards, .arch-reals-grid { grid-template-columns: 1fr; }
  .projects-scroll { gap: 16px; }
  .project-card { min-width: 300px; }
  .hero-right { flex-wrap: wrap; gap: 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .form-row { grid-template-columns: 1fr; }
  .realisations-header { flex-direction: column; align-items: flex-start; gap: 20px; }
  .intro-accent { bottom: -16px; right: -8px; width: 140px; padding: 20px; }
  .intro-accent-num { font-size: 2.4rem; }
}

/* ═══════════════════════════════════════
   ELEMENTOR INTEGRATION — LMC DA
   Override Elementor globals + fix layouts
═══════════════════════════════════════ */

/* ── Override Elementor global colors ── */
:root {
  --e-global-color-primary: #33445C;
  --e-global-color-secondary: #3D4F63;
  --e-global-color-text: #6E6F73;
  --e-global-color-accent: #33445C;
}

/* ── Fix flex-row child containers: don't force 100% ── */
.e-con.e-flex > .e-con.e-con-full {
  width: auto;
  max-width: none;
}

/* ── Disable Elementor lazy-loading on first sections ── */
.e-con.e-parent { opacity: 1 !important; }

/* ── HERO section ── */
#lmc-hero {
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  position: relative;
}
#lmc-hero > .e-con-inner > .e-con {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  gap: 60px;
}
#lmc-hero .lmc-hero-left {
  flex: 2;
  min-width: 0;
}
#lmc-hero .lmc-hero-right {
  flex: 1;
  min-width: 240px;
  border-left: 1px solid rgba(140,141,145,0.15);
  padding-left: 48px;
}

/* ── ABOUT section ── */
#about > .e-con-inner,
#about.e-con-full {
  display: flex;
  flex-direction: row;
  gap: 80px;
  flex-wrap: wrap;
}
#about .lmc-about-img {
  flex: 1;
  min-width: 300px;
}
#about .lmc-about-text {
  flex: 1;
  min-width: 300px;
}

/* ── SERVICES section ── */
#services-s .lmc-services-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
}
#services-s .lmc-services-grid > .e-con {
  flex: 1 1 calc(33.333% - 2px);
  min-width: 280px;
}

/* ── ARCH TEASER section ── */
#lmc-arch-teaser > .e-con-inner,
#lmc-arch-teaser.e-con-full {
  display: flex;
  flex-direction: row;
  gap: 80px;
  flex-wrap: wrap;
}
#lmc-arch-teaser .lmc-arch-left {
  flex: 1.2;
  min-width: 300px;
}
#lmc-arch-teaser .lmc-arch-right {
  flex: 1;
  min-width: 300px;
}

/* ── CONTACT section ── */
#contact-s > .e-con-inner,
#contact-s.e-con-full {
  display: flex;
  flex-direction: row;
  gap: 60px;
  flex-wrap: wrap;
}
#contact-s .lmc-contact-left {
  flex: 1;
  min-width: 280px;
}
#contact-s .lmc-contact-right {
  flex: 1.3;
  min-width: 300px;
}

/* ── CTA section ── */
#lmc-cta .lmc-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ── ARCH ENGAGEMENTS grid ── */
#lmc-engagements .lmc-eng-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
#lmc-engagements .lmc-eng-grid > .e-con {
  flex: 1 1 calc(33.333% - 24px);
  min-width: 260px;
}

/* ── Elementor button style override ── */
.elementor-widget-button .elementor-button {
  font-family: 'Inter', sans-serif;
  transition: all 0.3s ease;
}
.elementor-widget-button .elementor-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(140,141,145,0.3);
}

/* ── Elementor heading italic style ── */
.elementor-heading-title em {
  color: var(--gold);
  font-style: italic;
}

/* ── Elementor icon-list improvements ── */
.elementor-icon-list-items {
  list-style: none;
}

/* ── Responsive fixes for Elementor ── */
@media (max-width: 1024px) {
  #lmc-hero > .e-con-inner > .e-con,
  #about > .e-con-inner,
  #about.e-con-full,
  #lmc-arch-teaser > .e-con-inner,
  #lmc-arch-teaser.e-con-full,
  #contact-s > .e-con-inner,
  #contact-s.e-con-full {
    flex-direction: column;
  }
  #lmc-hero .lmc-hero-right {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid rgba(140,141,145,0.15);
    padding-top: 32px;
    display: flex;
    flex-direction: row;
    gap: 32px;
    flex-wrap: wrap;
  }
}
@media (max-width: 768px) {
  #services-s .lmc-services-grid > .e-con,
  #lmc-engagements .lmc-eng-grid > .e-con {
    flex: 1 1 100%;
  }
}
