/* ============================================
   Grand Mall de Conakry — Design System
   Version: 1.0.0
   ============================================ */

/* === CSS Variables === */
:root {
  /* Couleurs — Palette luxe Guinée */
  --gold: #C9A351;
  --gold-light: #E8D48B;
  --gold-dark: #A88832;
  --red: #CE1126;
  --green: #009639;
  --blue-deep: #0A1628;
  --blue-mid: #111d33;
  --blue-surface: #162037;

  --bg: #0A1628;
  --bg-card: rgba(255,255,255,0.04);
  --bg-card-hover: rgba(255,255,255,0.07);
  --bg-glass: rgba(255,255,255,0.06);
  --surface: #111d33;

  --text: #e2e8f0;
  --text-muted: #94a3b8;
  --text-heading: #f8fafc;
  --border: rgba(255,255,255,0.08);
  --border-hover: rgba(255,255,255,0.15);

  /* Gradients */
  --gradient-gold: linear-gradient(135deg, #C9A351, #E8D48B);
  --gradient-hero: linear-gradient(160deg, #0A1628 0%, #111d33 40%, #0d2137 100%);
  --gradient-dark: linear-gradient(180deg, #0A1628, #111d33);
  --gradient-glass: linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));

  /* Fonts */
  --font-body: 'Inter', -apple-system, sans-serif;
  --font-heading: 'Outfit', 'Inter', sans-serif;

  /* Spacing */
  --container: 1200px;
  --header-h: 80px;

  /* Radius */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 20px;
  --r-2xl: 28px;
  --r-full: 9999px;

  /* Shadows */
  --shadow-lg: 0 20px 40px rgba(0,0,0,0.3);
  --shadow-gold: 0 0 40px rgba(201,163,81,0.15);
  --shadow-gold-strong: 0 8px 30px rgba(201,163,81,0.3);

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --t-fast: 200ms var(--ease);
  --t-base: 350ms var(--ease);
  --t-slow: 500ms var(--ease);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: var(--gold-light); text-decoration: none; transition: color var(--t-fast); }
a:hover { color: var(--gold); }
h1,h2,h3,h4,h5,h6 { font-family: var(--font-heading); color: var(--text-heading); line-height: 1.15; font-weight: 700; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; color: inherit; }

/* === Container === */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 1.5rem; }

/* === HEADER === */
.header {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--header-h); z-index: 1000;
  transition: background var(--t-base), box-shadow var(--t-base), backdrop-filter var(--t-base);
}
.header.scrolled {
  background: rgba(10,22,40,0.92);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border);
}
.header .container { display: flex; align-items: center; justify-content: space-between; height: 100%; }

.logo { display: flex; align-items: center; text-decoration: none; }
.logo-img {
  height: 38px; width: auto;
  transition: transform var(--t-base), filter var(--t-base);
  filter: drop-shadow(0 0 8px rgba(201,163,81,0.2));
}
.logo:hover .logo-img { transform: scale(1.03); filter: drop-shadow(0 0 12px rgba(201,163,81,0.35)); }

.nav { display: flex; align-items: center; gap: 2rem; }
.nav-links { display: flex; align-items: center; gap: 0.25rem; }
.nav-link {
  font-size: 0.88rem; font-weight: 500; color: var(--text-muted);
  padding: 0.5rem 0.9rem; border-radius: var(--r-sm);
  transition: color var(--t-fast), background var(--t-fast);
}
.nav-link:hover, .nav-link.active { color: var(--text-heading); background: rgba(255,255,255,0.05); }
.nav-link.active { color: var(--gold); }

.menu-toggle { display: none; flex-direction: column; gap: 5px; padding: 0.5rem; z-index: 1001; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: var(--r-full); transition: all var(--t-base); }
.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* === BUTTONS === */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-weight: 700;
  padding: 0.85rem 1.8rem; border-radius: var(--r-full);
  transition: all var(--t-base); text-decoration: none; cursor: pointer;
  letter-spacing: 0.02em; border: 1px solid transparent; font-size: 0.95rem;
  overflow: hidden; position: relative; z-index: 1;
}
.btn::before {
  content: ''; position: absolute; top: 0; left: 0; width: 0; height: 100%;
  background: rgba(255,255,255,0.15); transition: width 0.4s var(--ease); z-index: -1;
}
.btn:hover::before { width: 100%; }

.btn-gold {
  background: var(--gradient-gold); color: var(--blue-deep);
  box-shadow: 0 4px 15px rgba(201,163,81,0.2);
}
.btn-gold:hover {
  box-shadow: 0 8px 25px rgba(201,163,81,0.4); transform: translateY(-2px);
}
.btn-outline {
  background: transparent; border-color: rgba(255,255,255,0.2); color: var(--text-heading);
  backdrop-filter: blur(5px);
}
.btn-outline:hover {
  border-color: var(--gold); background: rgba(201,163,81,0.05); transform: translateY(-2px); color: var(--gold);
}
.btn-lg { padding: 1rem 2.25rem; font-size: 1rem; border-radius: var(--r-xl); }
.btn-nav { padding: 0.6rem 1.25rem; font-size: 0.85rem; }

/* === HERO SLIDER === */
.hero-slider { position: relative; height: 100vh; overflow: hidden; }
.hero-swiper { height: 100%; }
.hero-swiper .swiper-slide { position: relative; overflow: hidden; }

.hero-slide-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transform: scale(1.1);
  animation: heroKenBurns 12s ease-in-out infinite alternate;
}
@keyframes heroKenBurns {
  0% { transform: scale(1.1) translate(0, 0); }
  100% { transform: scale(1.15) translate(-1%, -1%); }
}
.hero-slide-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(10,22,40,0.85) 0%, rgba(10,22,40,0.5) 50%, rgba(10,22,40,0.7) 100%);
  z-index: 1;
}
.hero-slide-content {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; justify-content: center;
  height: 100%; padding-top: var(--header-h); max-width: 750px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.5rem 1.25rem; width: fit-content;
  background: rgba(201,163,81,0.1); border: 1px solid rgba(201,163,81,0.25);
  border-radius: var(--r-full); font-size: 0.85rem; color: var(--gold);
  margin-bottom: 1.5rem; backdrop-filter: blur(10px);
}
.hero-badge .dot { width: 8px; height: 8px; background: var(--green); border-radius: 50%; animation: pulse 2s ease infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }

.hero-slide-content h1 { font-size: clamp(2.5rem, 5.5vw, 4rem); font-weight: 900; margin-bottom: 1.25rem; letter-spacing: -0.02em; line-height: 1.1; }
.hero-slide-content h1 .gold { color: var(--gold); text-shadow: 0 0 40px rgba(201,163,81,0.3); }
.hero-slide-content h1 .thin { font-weight: 400; color: var(--text-muted); }
.hero-slide-content p { font-size: 1.1rem; color: var(--text-muted); margin-bottom: 2rem; line-height: 1.8; max-width: 550px; }
.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Hero pagination */
.hero-pagination { bottom: 3rem !important; }
.hero-pagination .swiper-pagination-bullet { width: 40px; height: 4px; border-radius: 2px; background: rgba(255,255,255,0.3); opacity: 1; transition: all 0.4s; }
.hero-pagination .swiper-pagination-bullet-active { background: var(--gold); width: 60px; box-shadow: 0 0 12px rgba(201,163,81,0.5); }

/* Hero navigation */
.hero-nav { position: absolute; bottom: 2.5rem; right: 2rem; z-index: 10; display: flex; gap: 0.5rem; }
.hero-btn-prev, .hero-btn-next {
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255,255,255,0.08); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.15);
  color: white; font-size: 1.5rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--t-base);
}
.hero-btn-prev:hover, .hero-btn-next:hover { background: var(--gold); border-color: var(--gold); color: var(--blue-deep); transform: scale(1.1); }

/* Scroll indicator */
.scroll-indicator {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  z-index: 10; display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
}
.scroll-indicator span { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.2em; color: rgba(255,255,255,0.4); }
.scroll-line { width: 1px; height: 40px; background: rgba(255,255,255,0.15); position: relative; overflow: hidden; }
.scroll-line::after {
  content: ''; position: absolute; top: -100%; left: 0; width: 100%; height: 100%;
  background: var(--gold); animation: scrollDown 2s ease-in-out infinite;
}
@keyframes scrollDown { 0% { top: -100%; } 50% { top: 100%; } 100% { top: 100%; } }

/* === ADVANCED MOUSE TRAIL === */
.cursor-trail-dot {
  position: fixed; top: 0; left: 0; width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold); pointer-events: none; z-index: 99999;
  mix-blend-mode: difference; opacity: 0;
  transition: opacity 0.3s var(--ease);
}

/* === GALLERY PREVIEW === */
.gallery-preview {
  display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; gap: 1rem;
}
.gallery-preview-item {
  border-radius: var(--r-xl); overflow: hidden; position: relative;
  cursor: pointer; transition: transform var(--t-base);
}
.gallery-preview-item:hover { transform: scale(1.02); }
.gallery-preview-item.gallery-large { grid-column: 1 / -1; }
.gallery-preview-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s ease; }
.gallery-preview-item:hover img { transform: scale(1.05); }
.gallery-preview-item .gallery-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 1rem 1.5rem; font-size: 0.85rem; color: white; font-weight: 500;
  background: linear-gradient(transparent, rgba(0,0,0,0.6));
}
.gallery-preview-item.gallery-large img { height: 350px; }
.gallery-preview-item:not(.gallery-large) img { height: 220px; }

/* === CTA WITH IMAGE === */
.cta-image { position: relative; overflow: hidden; }
.cta-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  background-attachment: fixed;
}
.cta-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(10,22,40,0.9), rgba(10,22,40,0.75));
}

/* Animated Background Blobs */
.bg-blob {
  position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.15; z-index: 0;
  pointer-events: none; animation: floatBlob 15s ease-in-out infinite alternate;
}
.bg-blob.gold { width: 400px; height: 400px; background: var(--gold); top: -10%; right: -5%; }
.bg-blob.blue { width: 500px; height: 500px; background: #009639; bottom: -10%; left: -5%; animation-delay: -5s; }
@keyframes floatBlob {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-30px, 40px) scale(1.1); }
  100% { transform: translate(20px, -20px) scale(0.9); }
}

/* Text Reveal Animation */
.reveal-text { position: relative; display: inline-block; overflow: hidden; vertical-align: bottom; }
.reveal-text span {
  display: inline-block; transform: translateY(110%);
  opacity: 0; transition: transform 1s var(--ease), opacity 1s var(--ease);
}
.reveal-text.active span { transform: translateY(0); opacity: 1; }

/* Section Typographic Number */
.section-bg-number {
  position: absolute; top: 0; left: 0; font-size: 15rem; font-weight: 900;
  color: rgba(255,255,255,0.02); line-height: 0.8; z-index: 0; user-select: none;
  font-family: var(--font-heading); transform: translateY(-20%);
}

/* Hover 3D Tilt Card */
.tilt-card {
  transform-style: preserve-3d;
  transition: transform 0.1s ease, box-shadow 0.3s ease;
  will-change: transform; position: relative;
}
.tilt-card::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255,255,255,0.1) 0%, transparent 50%);
  opacity: 0; transition: opacity 0.3s; z-index: 10; pointer-events: none;
}
.tilt-card:hover::before { opacity: 1; }
.tilt-card > * { transform: translateZ(20px); transition: transform 0.3s ease; }
.tilt-card:hover > * { transform: translateZ(40px); }

/* Magnetic Button */
.magnetic-btn { display: inline-flex; position: relative; transition: transform 0.2s cubic-bezier(0.2, 0, 0, 1); }
.magnetic-btn::after { content:''; position: absolute; inset: -20px; }

/* === SECTIONS === */
.section { padding: 9rem 0; position: relative; overflow: hidden; }
.section-dark { background: var(--surface); }
.section-header { text-align: center; max-width: 650px; margin: 0 auto 4rem; }
.section-label {
  display: inline-block; font-size: 0.8rem; font-weight: 700;
  color: var(--gold); text-transform: uppercase; letter-spacing: 0.15em;
  margin-bottom: 1rem; position: relative;
}
.section-label::after {
  content: ''; display: block; width: 40px; height: 2px;
  background: var(--gradient-gold); margin: 0.75rem auto 0; border-radius: var(--r-full);
}
.section-title { font-size: clamp(1.8rem, 4vw, 2.5rem); margin-bottom: 1rem; }
.section-desc { font-size: 1.05rem; color: var(--text-muted); line-height: 1.7; }

/* === SERVICES GRID (IMAGE CARDS) === */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.service-card {
  border-radius: var(--r-2xl); padding: 2.5rem 1.5rem;
  text-align: center; transition: all var(--t-base);
  position: relative; overflow: hidden; z-index: 1;
  min-height: 320px; display: flex; flex-direction: column;
  justify-content: flex-end; align-items: center;
  border: 1px solid rgba(255,255,255,0.05);
}
.service-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  z-index: -2; transition: transform 0.8s var(--ease);
}
.service-overlay {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(0deg, rgba(10,22,40,0.95) 0%, rgba(10,22,40,0.6) 50%, rgba(10,22,40,0.2) 100%);
  transition: opacity 0.4s ease;
}
.service-card:hover .service-bg { transform: scale(1.08); }
.service-card:hover .service-overlay { opacity: 0.8; }

.service-icon {
  width: 60px; height: 60px; background: rgba(255,255,255,0.1); backdrop-filter: blur(5px);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 1.75rem; margin-bottom: 1.5rem; transition: transform var(--t-base);
  border: 1px solid rgba(255,255,255,0.2);
}
.service-card:hover .service-icon { transform: scale(1.1) translateY(-5px); background: var(--gold); color: var(--blue-deep); border-color: var(--gold); }
.service-card h3 { font-size: 1.35rem; margin-bottom: 0.5rem; letter-spacing: -0.01em; color: #fff; text-shadow: 0 2px 10px rgba(0,0,0,0.5); }
.service-card p {
  color: rgba(255,255,255,0.8); line-height: 1.6; font-size: 0.95rem; margin: 0;
  text-shadow: 0 1px 5px rgba(0,0,0,0.5);
}

/* === STATS === */
.stats-section {
  background: linear-gradient(135deg, var(--surface) 0%, rgba(201,163,81,0.03) 100%);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  position: relative; overflow: hidden;
}
.stats-section::before {
  content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(201,163,81,0.04) 0%, transparent 70%);
  border-radius: 50%; pointer-events: none;
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; text-align: center; position: relative; z-index: 1; }
.stat-item {
  padding: 2.5rem 1rem; border-radius: var(--r-xl);
  transition: all var(--t-base); position: relative;
}
.stat-item::after {
  content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 40px; height: 3px; background: var(--gradient-gold); border-radius: 2px;
  opacity: 0; transition: opacity var(--t-base);
}
.stat-item:hover { background: rgba(201,163,81,0.05); }
.stat-item:hover::after { opacity: 1; }
.stat-number {
  font-family: var(--font-heading); font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 900; color: var(--gold); line-height: 1; margin-bottom: 0.5rem;
}
.stat-label { font-size: 0.85rem; color: var(--text-muted); margin-top: 0.25rem; letter-spacing: 0.02em; }

/* === PROJECT SECTION === */
.project-content { display: flex; align-items: center; gap: 4rem; }
.project-text { flex: 1; }
.project-text h2 { font-size: 2rem; margin-bottom: 1rem; }
.project-text p { color: var(--text-muted); line-height: 1.8; margin-bottom: 1rem; }
.project-visual {
  flex: 1; aspect-ratio: 4/3;
  background: var(--gradient-glass); border: 1px solid var(--border);
  border-radius: var(--r-2xl); overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  font-size: 4rem; position: relative;
}
.project-visual img { width: 100%; height: 100%; object-fit: cover; }

/* === NEWS === */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.news-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--r-xl); overflow: hidden; transition: all var(--t-base);
}
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--border-hover); }
.news-img {
  height: 200px; background: var(--gradient-glass);
  display: flex; align-items: center; justify-content: center; font-size: 3rem;
  overflow: hidden;
}
.news-img img { width: 100%; height: 100%; object-fit: cover; }
.news-body { padding: 1.5rem; }
.news-date { font-size: 0.75rem; color: var(--gold); margin-bottom: 0.5rem; text-transform: uppercase; letter-spacing: 0.05em; }
.news-card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; line-height: 1.4; }
.news-card h3 a { color: var(--text-heading); transition: color var(--t-fast); }
.news-card h3 a:hover { color: var(--gold); }
.news-excerpt { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; }

/* === CTA === */
.cta-section {
  text-align: center; padding: 7rem 0;
  background: var(--gradient-hero); position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(201,163,81,0.06) 0%, transparent 70%);
  border-radius: 50%;
}
.cta-section .container { position: relative; z-index: 1; }
.cta-section h2 { font-size: clamp(2rem, 4vw, 2.75rem); margin-bottom: 1rem; }
.cta-section p { font-size: 1.1rem; color: var(--text-muted); margin-bottom: 2.5rem; max-width: 500px; margin-left: auto; margin-right: auto; }

/* === FOOTER === */
.footer {
  padding: 5rem 0 2rem; border-top: 1px solid var(--border); background: var(--bg);
}
/* Newsletter Bar */
.footer-newsletter {
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; padding: 2.5rem; margin-bottom: 3rem;
  background: linear-gradient(135deg, rgba(201,163,81,0.08) 0%, rgba(201,163,81,0.02) 100%);
  border: 1px solid rgba(201,163,81,0.15); border-radius: var(--r-2xl);
}
.footer-newsletter-text h3 { font-size: 1.2rem; margin-bottom: 0.25rem; }
.footer-newsletter-text p { color: var(--text-muted); font-size: 0.9rem; }
.footer-newsletter-form { display: flex; gap: 0.5rem; flex-shrink: 0; }
.footer-newsletter-form input {
  padding: 0.75rem 1.25rem; border-radius: var(--r-lg);
  background: var(--bg-card); border: 1px solid var(--border);
  color: var(--text); font-size: 0.9rem; min-width: 260px;
  transition: border-color var(--t-fast);
}
.footer-newsletter-form input:focus { border-color: var(--gold); outline: none; }

.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1.5fr;
  gap: 3rem; margin-bottom: 3rem;
}
.footer-brand p { color: var(--text-muted); font-size: 0.88rem; margin-top: 1rem; line-height: 1.7; max-width: 300px; }
.footer-social { display: flex; gap: 0.75rem; margin-top: 1.25rem; }
.footer-social a, .social-icon {
  width: 42px; height: 42px; border-radius: var(--r-md);
  background: var(--bg-card); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); transition: all var(--t-base);
}
.footer-social a:hover, .social-icon:hover { background: var(--gold); border-color: var(--gold); color: var(--blue-deep); transform: translateY(-3px) scale(1.05); }
.footer-column h4 { font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 1.25rem; color: var(--text-heading); }
.footer-column ul { display: flex; flex-direction: column; gap: 0.7rem; }
.footer-column li, .footer-column a { font-size: 0.85rem; color: var(--text-muted); transition: color var(--t-fast); }
.footer-column a:hover { color: var(--gold); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 2rem; border-top: 1px solid var(--border);
  font-size: 0.8rem; color: var(--text-muted);
}
.footer-links { display: flex; align-items: center; gap: 0.75rem; }
.footer-links a { color: var(--text-muted); }
.footer-links a:hover { color: var(--gold); }

/* === PAGE TRANSITION === */
.page-transition {
  position: fixed; inset: 0; z-index: 999999;
  background: var(--bg); pointer-events: none;
  opacity: 0; transition: opacity 0.4s ease;
}
.page-transition.active { opacity: 1; pointer-events: all; }

/* === SPLASH SCREEN === */
.splash-screen {
  position: fixed; inset: 0; z-index: 9999999;
  background: var(--bg);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.splash-screen.hide {
  opacity: 0; transform: scale(1.05); pointer-events: none;
}
.splash-logo {
  width: 120px; height: auto; margin-bottom: 2rem;
  animation: splashPulse 1.5s ease-in-out infinite;
}
.splash-bar {
  width: 200px; height: 3px; background: var(--border); border-radius: 2px; overflow: hidden;
}
.splash-bar-fill {
  height: 100%; width: 0; background: var(--gradient-gold); border-radius: 2px;
  animation: splashFill 0.8s ease-out forwards;
}
.splash-text {
  margin-top: 1.5rem; color: var(--text-muted); font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase;
}
@keyframes splashPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }
@keyframes splashFill { 0% { width: 0; } 100% { width: 100%; } }

/* === SWIPER CUSTOM === */
.swiper-pagination-bullet { background: var(--text-muted); opacity: 0.4; }
.swiper-pagination-bullet-active { background: var(--gold); opacity: 1; }

/* === PAGE HERO === */
.page-hero {
  padding: 10rem 0 4rem; text-align: center;
  background: var(--gradient-hero); position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; top: -30%; right: -20%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(201,163,81,0.06) 0%, transparent 70%);
  border-radius: 50%;
}
.page-hero h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 900; margin-bottom: 0.75rem; }
.page-hero h1 .gold { color: var(--gold); }
.page-hero p { font-size: 1.1rem; color: var(--text-muted); max-width: 600px; margin: 0 auto; }
.page-hero-sm { padding: 8rem 0 3rem; }

/* === TIMELINE === */
.timeline { max-width: 650px; margin: 0 auto; position: relative; padding-left: 2.5rem; }
.timeline::before { content: ''; position: absolute; left: 8px; top: 0; bottom: 0; width: 2px; background: var(--border); }
.timeline-item { position: relative; margin-bottom: 2.5rem; }
.timeline-dot {
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--surface); border: 2px solid var(--border);
  position: absolute; left: -2.5rem; top: 0.25rem;
  transition: all var(--t-base);
}
.timeline-dot.active { background: var(--gold); border-color: var(--gold); box-shadow: 0 0 12px rgba(201,163,81,0.4); animation: pulse 2s ease-in-out infinite; }
.timeline-dot.completed { background: var(--green); border-color: var(--green); }
.timeline-date {
  display: inline-block; font-size: 0.75rem; font-weight: 600;
  color: var(--gold); text-transform: uppercase; letter-spacing: 0.08em;
  margin-bottom: 0.4rem;
}
.timeline-content h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.timeline-content p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.7; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(201,163,81,0.4); } 50% { box-shadow: 0 0 0 8px rgba(201,163,81,0); } }

/* === PROMOTERS === */
.promoters-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; max-width: 800px; margin: 0 auto; }
.promoter-card {
  padding: 2.5rem; text-align: center;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--r-xl); transition: all var(--t-base);
}
.promoter-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--border-hover); }
.promoter-icon { font-size: 3rem; margin-bottom: 1rem; }
.promoter-card h3 { font-size: 1.3rem; margin-bottom: 0.75rem; }
.promoter-card p { color: var(--text-muted); font-size: 0.88rem; line-height: 1.7; }

/* === SERVICE DETAIL === */
/* === PAGE HERO WITH IMAGE === */
.page-hero-image { position: relative; overflow: hidden; }
.page-hero-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  z-index: 0; filter: brightness(0.4);
}
.page-hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(10,22,40,0.7) 0%, rgba(10,22,40,0.95) 100%);
}

/* === SERVICE DETAIL (Enhanced) === */
.service-detail { display: flex; align-items: center; gap: 4rem; margin-bottom: 1rem; position: relative; }
.service-detail.reverse { flex-direction: row-reverse; }
.service-detail-content { flex: 1; position: relative; }
.service-detail-number {
  font-family: var(--font-heading); font-size: clamp(4rem, 8vw, 7rem);
  font-weight: 900; color: rgba(201,163,81,0.06); line-height: 1;
  position: absolute; top: -1.5rem; left: -0.5rem; z-index: 0; pointer-events: none;
}
.service-detail-icon { font-size: 3rem; margin-bottom: 1rem; position: relative; z-index: 1; }
.service-detail-content h2 { font-size: 1.8rem; margin-bottom: 1rem; position: relative; z-index: 1; }
.service-detail-content p { color: var(--text-muted); line-height: 1.8; position: relative; z-index: 1; }
.service-detail-visual {
  flex: 1; aspect-ratio: 4/3; border-radius: var(--r-xl); overflow: hidden;
  background: var(--gradient-glass); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.service-detail-visual img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.service-detail:hover .service-detail-visual img { transform: scale(1.05); }
.service-placeholder { font-size: 5rem; }
.service-divider { border: none; border-top: 1px solid var(--border); margin: 3rem 0; }

/* === FILTER BAR === */
.filter-bar { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 2rem; }
.filter-tag {
  padding: 0.4rem 1rem; font-size: 0.82rem; font-weight: 500;
  border: 1px solid var(--border); border-radius: var(--r-full);
  color: var(--text-muted); transition: all var(--t-fast); background: transparent;
}
.filter-tag:hover, .filter-tag.active { background: var(--gold); border-color: var(--gold); color: var(--blue-deep); }

/* === BOUTIQUES === */
.boutiques-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.boutique-card {
  padding: 1.5rem; background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--r-xl); transition: all var(--t-base);
  display: flex; align-items: center; gap: 1rem; position: relative;
}
.boutique-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--border-hover); }
.boutique-logo {
  width: 64px; height: 64px; flex-shrink: 0;
  background: var(--gradient-glass); border: 1px solid var(--border);
  border-radius: var(--r-md); display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; overflow: hidden;
}
.boutique-logo img { width: 100%; height: 100%; object-fit: contain; }
.boutique-info h3 { font-size: 0.95rem; margin-bottom: 0.25rem; }
.boutique-cat { font-size: 0.72rem; color: var(--gold); text-transform: uppercase; letter-spacing: 0.05em; }
.boutique-floor { font-size: 0.75rem; color: var(--text-muted); display: block; margin-top: 0.2rem; }
.boutique-info p { font-size: 0.78rem; color: var(--text-muted); margin-top: 0.3rem; line-height: 1.5; }
.boutique-card .badge { position: absolute; top: 0.75rem; right: 0.75rem; font-size: 0.65rem; }

/* === BADGES (public) === */
.badge { display: inline-block; padding: 0.2rem 0.6rem; font-size: 0.72rem; font-weight: 600; border-radius: var(--r-full); }
.badge-active, .badge-published { background: rgba(0,150,57,0.15); color: #4ade80; }
.badge-draft, .badge-coming_soon { background: rgba(201,163,81,0.15); color: var(--gold-light); }
.badge-inactive { background: rgba(206,17,38,0.15); color: #f87171; }

/* === GALLERY (public) === */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; }
.gallery-grid .gallery-item {
  border-radius: var(--r-lg); overflow: hidden; position: relative; cursor: pointer;
  transition: transform var(--t-base);
}
.gallery-grid .gallery-item:hover { transform: scale(1.02); }
.gallery-grid .gallery-item img { width: 100%; height: 220px; object-fit: cover; display: block; }
.gallery-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 0.75rem; font-size: 0.75rem; color: white;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
}

/* === MASONRY GALLERY === */
.gallery-masonry {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  grid-auto-rows: 220px; gap: 0.75rem;
}
.gallery-masonry-item {
  border-radius: var(--r-xl); overflow: hidden; position: relative; cursor: pointer;
  transition: transform var(--t-base);
}
.gallery-masonry-item.tall { grid-row: span 2; }
.gallery-masonry-item.wide { grid-column: span 2; }
.gallery-masonry-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s var(--ease); }
.gallery-masonry-item:hover img { transform: scale(1.06); }
.gallery-masonry-overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: flex-end; padding: 1.25rem;
  background: linear-gradient(0deg, rgba(10,22,40,0.8) 0%, transparent 60%);
  opacity: 0; transition: opacity 0.35s ease;
}
.gallery-masonry-item:hover .gallery-masonry-overlay { opacity: 1; }
.gallery-masonry-caption { color: #fff; font-size: 0.85rem; font-weight: 500; text-shadow: 0 1px 4px rgba(0,0,0,0.5); }
.gallery-masonry-zoom { font-size: 1.5rem; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); opacity: 0.8; }

/* === LIGHTBOX V2 === */
.lightbox-v2 {
  position: fixed; inset: 0; z-index: 99999;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
}
.lightbox-v2.active { opacity: 1; pointer-events: all; }
.lightbox-v2-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.95); }
.lightbox-v2-content { position: relative; z-index: 2; text-align: center; max-width: 90vw; }
.lightbox-v2-content img { max-width: 100%; max-height: 80vh; border-radius: var(--r-lg); box-shadow: 0 20px 60px rgba(0,0,0,0.5); }
.lightbox-v2-close {
  position: absolute; top: 1.5rem; right: 1.5rem; z-index: 3;
  font-size: 1.5rem; color: white; cursor: pointer;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,0.1); backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: center;
  transition: background var(--t-fast); border: 1px solid rgba(255,255,255,0.15);
}
.lightbox-v2-close:hover { background: rgba(255,255,255,0.25); }
.lightbox-v2-prev, .lightbox-v2-next {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  font-size: 2rem; color: white; cursor: pointer;
  width: 50px; height: 50px; border-radius: 50%;
  background: rgba(255,255,255,0.08); backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: center;
  transition: all var(--t-fast); border: 1px solid rgba(255,255,255,0.1);
}
.lightbox-v2-prev { left: 1.5rem; }
.lightbox-v2-next { right: 1.5rem; }
.lightbox-v2-prev:hover, .lightbox-v2-next:hover { background: rgba(201,163,81,0.3); border-color: var(--gold); }
.lightbox-v2-caption { color: rgba(255,255,255,0.8); margin-top: 1rem; font-size: 0.95rem; }
.lightbox-v2-counter { color: rgba(255,255,255,0.4); font-size: 0.8rem; margin-top: 0.4rem; }

/* Old lightbox (compat) */
.lightbox {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.92); z-index: 9999;
  display: flex; align-items: center; justify-content: center; flex-direction: column;
  opacity: 0; pointer-events: none; transition: opacity var(--t-base);
}
.lightbox.active { opacity: 1; pointer-events: all; }
.lightbox img { max-width: 90%; max-height: 80vh; border-radius: var(--r-md); }
.lightbox-close {
  position: absolute; top: 1.5rem; right: 1.5rem;
  font-size: 1.5rem; color: white; cursor: pointer;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center;
  transition: background var(--t-fast);
}
.lightbox-close:hover { background: rgba(255,255,255,0.2); }
.lightbox-caption { color: var(--text-muted); margin-top: 1rem; font-size: 0.9rem; }

/* === CONTACT === */
.contact-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 3rem; }
.contact-form .form-row { display: flex; gap: 1rem; flex-wrap: wrap; }
.contact-form .form-group { margin-bottom: 1.25rem; }
.contact-form .form-group label { display: block; font-size: 0.85rem; font-weight: 500; margin-bottom: 0.4rem; color: var(--text-heading); }
.contact-form .form-control {
  width: 100%; padding: 0.75rem 1rem; font-size: 0.9rem;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r-md);
  color: var(--text); font-family: var(--font-body); transition: border-color var(--t-fast);
}
.contact-form .form-control:focus { outline: none; border-color: var(--gold); }
.contact-form select.form-control { appearance: none; cursor: pointer; }
.form-error { background: rgba(206,17,38,0.1); border: 1px solid rgba(206,17,38,0.3); border-radius: var(--r-md); padding: 0.75rem 1rem; margin-bottom: 1rem; color: #f87171; font-size: 0.88rem; }
.contact-success { text-align: center; padding: 3rem; }
.contact-info { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-card {
  padding: 1.5rem; background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--r-xl); transition: all var(--t-base);
}
.contact-card:hover { border-color: var(--border-hover); }
.contact-card-icon { font-size: 1.5rem; margin-bottom: 0.5rem; }
.contact-card h3 { font-size: 0.95rem; margin-bottom: 0.25rem; }
.contact-card p { font-size: 0.85rem; color: var(--text-muted); }

/* === PAGINATION === */
.pagination { display: flex; justify-content: center; gap: 0.5rem; margin-top: 3rem; }
.pagination-link {
  padding: 0.5rem 1rem; font-size: 0.85rem; font-weight: 500;
  border: 1px solid var(--border); border-radius: var(--r-md);
  color: var(--text-muted); transition: all var(--t-fast);
}
.pagination-link:hover, .pagination-link.active { background: var(--gold); border-color: var(--gold); color: var(--blue-deep); }

/* === ARTICLE === */
.article-content { max-width: 800px; margin: 0 auto; }
.article-hero-img { width: 100%; border-radius: var(--r-xl); margin-bottom: 2rem; }
.article-body { color: var(--text); line-height: 1.9; font-size: 1.05rem; }
.article-body p { margin-bottom: 1.25rem; }

/* === EMPTY STATE (public) === */
.empty-state-public { text-align: center; padding: 5rem 2rem; }
.empty-state-public .empty-icon { font-size: 4rem; margin-bottom: 1.5rem; }
.empty-state-public h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.empty-state-public p { color: var(--text-muted); font-size: 1rem; }

/* === LEGAL === */
.legal-content { max-width: 800px; margin: 0 auto; }
.legal-content h2 { font-size: 1.4rem; margin: 2rem 0 0.75rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }
.legal-content h2:first-child { border-top: none; padding-top: 0; margin-top: 0; }
.legal-content p { color: var(--text-muted); line-height: 1.8; margin-bottom: 1rem; }

/* === RESPONSIVE FLUIDITY === */
@media (max-width: 1200px) {
  .hero h1 { font-size: clamp(2.2rem, 4vw, 3.2rem); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card { min-height: 280px; }
}

@media (max-width: 1024px) {
  .hero-slide-content { padding-left: 1.5rem; padding-right: 1.5rem; }
  .hero-nav { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .project-content { flex-direction: column; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-newsletter { flex-direction: column; text-align: center; }
  .footer-newsletter-form { justify-content: center; }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .service-detail, .service-detail.reverse { flex-direction: column; gap: 2rem; }
  .boutiques-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-layout { grid-template-columns: 1fr; }
  .promoters-grid { grid-template-columns: 1fr; max-width: 500px; }
  .gallery-preview { grid-template-columns: 1fr 1fr; }
  .gallery-masonry { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); grid-auto-rows: 180px; }
  .gallery-masonry-item.wide { grid-column: span 1; }
  .cta-bg { background-attachment: scroll; }
  .cursor-trail-dot { display: none !important; }
}

@media (max-width: 768px) and (orientation: landscape) {
  .hero-slider, .hero { min-height: 120vh; }
  .hero-slide-content { padding-top: 100px; }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed; top: 0; right: -100%; width: 85%; max-width: 320px;
    height: 100vh; background: var(--surface); flex-direction: column;
    justify-content: center; align-items: center; gap: 1rem;
    transition: right var(--t-slow); box-shadow: var(--shadow-lg); z-index: 1000;
  }
  .nav-links.active { right: 0; }
  .nav-link { font-size: 1.1rem; padding: 0.75rem 1.5rem; }
  .menu-toggle { display: flex; }
  .btn-nav { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
  .footer-newsletter-form { flex-direction: column; align-items: stretch; }
  .footer-newsletter-form input { min-width: unset; }
  .section { padding: 4rem 0; }
  .page-hero { padding: 8rem 0 3rem; }
  .boutiques-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
  .gallery-masonry { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; }
  .gallery-masonry-item.tall { grid-row: span 1; }
  .hero-slide-content h1 { font-size: 2rem; }
  .gallery-preview { grid-template-columns: 1fr; }
  .gallery-preview-item.gallery-large img,
  .gallery-preview-item:not(.gallery-large) img { height: 200px; }
  .scroll-indicator { display: none; }
  .lightbox-v2-prev, .lightbox-v2-next { width: 40px; height: 40px; font-size: 1.5rem; }
  .lightbox-v2-prev { left: 0.5rem; }
  .lightbox-v2-next { right: 0.5rem; }
}

@media (max-width: 480px) {
  .hero-badge { font-size: 0.75rem; padding: 0.4rem 0.9rem; }
  .hero-buttons { flex-direction: column; align-items: stretch; }
  .hero-slide-content h1 { font-size: 1.8rem; }
  .hero-slide-content p { font-size: 0.95rem; }
  .stats-grid { grid-template-columns: 1fr; }
  .container { padding: 0 1.25rem; }
  .contact-form .form-row { flex-direction: column; }
  .service-card { padding: 2rem 1.25rem; min-height: 250px; }
  .gallery-masonry { grid-template-columns: 1fr; }
  .splash-logo { width: 80px; }
}

