/* ===== Design System — Agencement Steph'Anne Morand ===== */
:root {
  /* Palette — tons bois chaud / artisan premium */
  --color-primary: #3D2B1F;
  --color-primary-dark: #231610;
  --color-primary-light: #5C4033;
  --color-accent: #C8913B;
  --color-accent-hover: #B5802E;
  --color-accent-light: rgba(200, 145, 59, 0.12);
  --color-bg: #FDFAF6;
  --color-bg-alt: #F3EBE0;
  --color-text: #1E1812;
  --color-text-light: #7A6F65;
  --color-border: #E2D8CC;
  --color-white: #FFFFFF;

  /* Typographie */
  --font-heading: 'Archivo', sans-serif;
  --font-body: 'Space Grotesk', sans-serif;

  /* Espacements */
  --section-padding: clamp(4rem, 8vw, 7rem) 0;
  --container-max: 1200px;
  --gap: 2rem;

  /* Effets */
  --radius: 14px;
  --radius-sm: 8px;
  --radius-lg: 22px;
  --shadow: 0 4px 24px rgba(61, 43, 31, 0.07);
  --shadow-hover: 0 16px 48px rgba(61, 43, 31, 0.14);
  --shadow-card: 0 2px 14px rgba(61, 43, 31, 0.06);
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Reset & Base ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.7;
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
  overflow-x: hidden;
}
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  line-height: 1.15;
  font-weight: 700;
  color: var(--color-primary);
}
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
a { color: inherit; text-decoration: none; transition: color var(--transition-fast); cursor: pointer; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
.container { max-width: var(--container-max); margin: 0 auto; padding: 0 1.5rem; }

/* ===== Boutons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--color-accent);
  color: var(--color-white);
}
.btn-primary:hover {
  background: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(200, 145, 59, 0.3);
}
.btn-outline {
  background: transparent;
  color: var(--color-white);
  border: 2px solid rgba(255,255,255,0.4);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--color-white);
}
.btn-dark {
  background: var(--color-primary);
  color: var(--color-white);
}
.btn-dark:hover {
  background: var(--color-primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}
.btn-whatsapp {
  background: #25D366;
  color: var(--color-white);
}
.btn-whatsapp:hover {
  background: #1EB954;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
}
.btn svg, .btn img { width: 18px; height: 18px; }

/* ===== Section Title ===== */
.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
}
.section-title {
  margin-bottom: 1rem;
}
.section-subtitle {
  color: var(--color-text-light);
  font-size: clamp(1rem, 1.5vw, 1.1rem);
  max-width: 620px;
  line-height: 1.7;
}
.section-header {
  text-align: center;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.section-header .section-subtitle {
  margin: 0 auto;
}

/* ===== Navbar ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.2rem 0;
  transition: all var(--transition);
  background: transparent;
}
.navbar.scrolled {
  background: rgba(253, 250, 246, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 0.8rem 0;
  box-shadow: 0 2px 20px rgba(61, 43, 31, 0.08);
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-white);
  transition: color var(--transition);
  line-height: 1.2;
}
.logo span {
  color: var(--color-accent);
}
.navbar.scrolled .logo {
  color: var(--color-primary);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  transition: color var(--transition-fast);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width var(--transition);
}
.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}
.navbar.scrolled .nav-links a {
  color: var(--color-text);
}
.nav-links a:hover {
  color: var(--color-white);
}
.navbar.scrolled .nav-links a:hover {
  color: var(--color-accent);
}
.nav-cta {
  background: var(--color-accent) !important;
  color: var(--color-white) !important;
  padding: 0.55rem 1.3rem;
  border-radius: var(--radius-sm);
  font-weight: 600 !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover {
  background: var(--color-accent-hover) !important;
  transform: translateY(-1px);
}

/* Menu toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}
.menu-toggle span {
  width: 26px;
  height: 2.5px;
  background: var(--color-white);
  border-radius: 2px;
  transition: all var(--transition);
}
.navbar.scrolled .menu-toggle span {
  background: var(--color-primary);
}
.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);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.1s linear;
  will-change: transform;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(135deg,
    rgba(35, 22, 16, 0.88) 0%,
    rgba(61, 43, 31, 0.65) 50%,
    rgba(35, 22, 16, 0.78) 100%);
}
/* Grain effect */
.hero-grain {
  position: absolute;
  inset: 0;
  z-index: 3;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  pointer-events: none;
}
/* Light rays */
.hero-rays {
  position: absolute;
  inset: 0;
  z-index: 3;
  overflow: hidden;
  pointer-events: none;
}
.hero-ray {
  position: absolute;
  width: 2px;
  height: 120%;
  background: linear-gradient(180deg, rgba(200, 145, 59, 0.15), transparent 70%);
  transform-origin: top center;
  animation: rayShimmer 4s ease-in-out infinite;
}
.hero-ray:nth-child(1) { left: 15%; transform: rotate(-8deg); animation-delay: 0s; }
.hero-ray:nth-child(2) { left: 35%; transform: rotate(-3deg); animation-delay: 0.8s; opacity: 0.7; }
.hero-ray:nth-child(3) { left: 55%; transform: rotate(2deg); animation-delay: 1.6s; }
.hero-ray:nth-child(4) { left: 75%; transform: rotate(6deg); animation-delay: 2.4s; opacity: 0.6; }
.hero-ray:nth-child(5) { left: 90%; transform: rotate(10deg); animation-delay: 3.2s; opacity: 0.5; }

@keyframes rayShimmer {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.7; }
}

/* Floating particles */
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  overflow: hidden;
}
.hero-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(200, 145, 59, 0.35);
  animation: particleFloat 8s ease-in-out infinite;
}
.hero-particle:nth-child(1) { left: 10%; top: 20%; animation-delay: 0s; width: 3px; height: 3px; }
.hero-particle:nth-child(2) { left: 25%; top: 60%; animation-delay: 1.5s; width: 5px; height: 5px; }
.hero-particle:nth-child(3) { left: 45%; top: 30%; animation-delay: 3s; }
.hero-particle:nth-child(4) { left: 60%; top: 70%; animation-delay: 4.5s; width: 6px; height: 6px; }
.hero-particle:nth-child(5) { left: 80%; top: 40%; animation-delay: 2s; width: 3px; height: 3px; }
.hero-particle:nth-child(6) { left: 90%; top: 80%; animation-delay: 5s; }
.hero-particle:nth-child(7) { left: 50%; top: 85%; animation-delay: 6.5s; width: 5px; height: 5px; }

@keyframes particleFloat {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.3; }
  50% { transform: translateY(-40px) scale(1.3); opacity: 0.7; }
}

.hero-content {
  position: relative;
  z-index: 5;
  max-width: 720px;
  color: var(--color-white);
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(200, 145, 59, 0.2);
  border: 1px solid rgba(200, 145, 59, 0.35);
  color: var(--color-accent);
  padding: 0.45rem 1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.5rem;
  animation: fadeInDown 0.8s cubic-bezier(0.4, 0, 0.2, 1) both;
}
.hero-badge svg { width: 16px; height: 16px; }
.hero h1 {
  color: var(--color-white);
  margin-bottom: 1.2rem;
  animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s both;
}
.hero h1 em {
  font-style: normal;
  color: var(--color-accent);
}
.hero-text {
  font-size: clamp(1.05rem, 1.5vw, 1.15rem);
  color: rgba(255,255,255,0.8);
  margin-bottom: 2rem;
  line-height: 1.8;
  max-width: 560px;
  animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.4s both;
}
.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
  animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.6s both;
}
.hero-stats {
  display: flex;
  gap: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.15);
  animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.8s both;
}
.hero-stat {
  text-align: center;
}
.hero-stat-value {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--color-accent);
  line-height: 1;
}
.hero-stat-value span {
  font-size: 1.2rem;
}
.hero-stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  margin-top: 0.3rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Hero scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  color: rgba(255,255,255,0.5);
  animation: bounce 2s ease-in-out infinite;
  cursor: pointer;
}
.hero-scroll svg {
  width: 28px;
  height: 28px;
}

/* ===== Services Section ===== */
.services-section {
  padding: var(--section-padding);
  background: var(--color-bg);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.service-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--color-white);
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}
.service-card-img {
  position: relative;
  height: 220px;
  overflow: hidden;
}
.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.service-card:hover .service-card-img img {
  transform: scale(1.08);
}
.service-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(35, 22, 16, 0.75) 100%);
}
.service-card-body {
  padding: 1.2rem 1.3rem;
}
.service-card-body h3 {
  font-size: 1.05rem;
  margin-bottom: 0.3rem;
}
.service-card-body p {
  color: var(--color-text-light);
  font-size: 0.88rem;
  line-height: 1.5;
}
.service-card .service-arrow {
  position: absolute;
  bottom: 1.2rem;
  right: 1.3rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}
.service-card:hover .service-arrow {
  background: var(--color-accent);
}
.service-card:hover .service-arrow svg { color: var(--color-white); }
.service-arrow svg { width: 16px; height: 16px; color: var(--color-accent); transition: color var(--transition); }

/* Featured services (first 2) */
.services-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
.service-featured {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 380px;
  display: flex;
  align-items: flex-end;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
}
.service-featured:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.service-featured img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.service-featured:hover img {
  transform: scale(1.05);
}
.service-featured-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(35, 22, 16, 0.85) 100%);
  z-index: 1;
}
.service-featured-content {
  position: relative;
  z-index: 2;
  padding: 2rem;
  color: var(--color-white);
}
.service-featured-content h3 {
  color: var(--color-white);
  font-size: 1.5rem;
  margin-bottom: 0.4rem;
}
.service-featured-content p {
  color: rgba(255,255,255,0.75);
  font-size: 0.95rem;
}
.service-featured-tag {
  display: inline-block;
  background: var(--color-accent);
  color: var(--color-white);
  padding: 0.25rem 0.7rem;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.8rem;
}

/* ===== About Section ===== */
.about-section {
  padding: var(--section-padding);
  background: var(--color-bg-alt);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-visual {
  position: relative;
}
.about-img-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.about-img-main img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}
.about-experience-badge {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: var(--color-accent);
  color: var(--color-white);
  padding: 1.5rem;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: 0 8px 30px rgba(200, 145, 59, 0.35);
}
.about-experience-badge .number {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1;
  display: block;
}
.about-experience-badge .label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.2rem;
}
.about-text h2 {
  margin-bottom: 1.2rem;
}
.about-text p {
  color: var(--color-text-light);
  margin-bottom: 1.2rem;
}
.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
  margin-bottom: 2rem;
}
.about-feature {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.about-feature-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--color-accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.about-feature-icon svg {
  width: 18px;
  height: 18px;
  color: var(--color-accent);
}
.about-feature span {
  font-weight: 500;
  font-size: 0.92rem;
}

/* ===== Stats Section ===== */
.stats-section {
  padding: clamp(3rem, 6vw, 5rem) 0;
  background: var(--color-primary);
  position: relative;
  overflow: hidden;
}
.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(200, 145, 59, 0.08), transparent 60%);
  pointer-events: none;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
  z-index: 1;
}
.stat-item {
  text-align: center;
  color: var(--color-white);
}
.stat-value {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  font-weight: 800;
  color: var(--color-accent);
  line-height: 1;
}
.stat-value .suffix { font-size: 0.6em; }
.stat-label {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  margin-top: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ===== Partners Section ===== */
.partners-section {
  padding: var(--section-padding);
  background: var(--color-bg);
}
.partners-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 3rem;
}
.partner-logo {
  height: 50px;
  width: auto;
  filter: grayscale(1) opacity(0.5);
  transition: all var(--transition);
}
.partner-logo:hover {
  filter: grayscale(0) opacity(1);
  transform: scale(1.08);
}

/* ===== Zone Section ===== */
.zone-section {
  padding: var(--section-padding);
  background: var(--color-bg-alt);
  position: relative;
  overflow: hidden;
}
.zone-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.zone-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4/3;
}
.zone-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
.zone-content h2 { margin-bottom: 1rem; }
.zone-content p { color: var(--color-text-light); margin-bottom: 1.5rem; }
.zone-towns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.zone-town {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text);
  transition: all var(--transition);
}
.zone-town:hover {
  background: var(--color-accent);
  color: var(--color-white);
  border-color: var(--color-accent);
}

/* ===== Engagements Section ===== */
.engagements-section {
  padding: var(--section-padding);
  background: var(--color-bg);
}
.engagements-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.engagement-card {
  background: var(--color-white);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  border-top: 3px solid transparent;
  transition: all var(--transition);
  text-align: center;
}
.engagement-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-top-color: var(--color-accent);
}
.engagement-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
}
.engagement-icon svg {
  width: 26px;
  height: 26px;
  color: var(--color-accent);
}
.engagement-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
}
.engagement-card p {
  color: var(--color-text-light);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ===== CTA Final Section ===== */
.cta-section {
  padding: clamp(4rem, 8vw, 6rem) 0;
  background: var(--color-primary);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: rgba(200, 145, 59, 0.06);
  pointer-events: none;
}
.cta-parallax {
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}
.cta-parallax .cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(35, 22, 16, 0.88), rgba(61, 43, 31, 0.82));
  z-index: 1;
}
.cta-section h2 {
  color: var(--color-white);
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}
.cta-section p {
  color: rgba(255,255,255,0.7);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}
.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

/* ===== Footer ===== */
.footer {
  background: var(--color-primary-dark);
  color: rgba(255,255,255,0.7);
  padding: 4rem 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
}
.footer h3 {
  color: var(--color-white);
  font-size: 1.2rem;
  margin-bottom: 1.2rem;
}
.footer h4 {
  color: var(--color-white);
  font-size: 0.95rem;
  margin-bottom: 1rem;
  font-weight: 600;
}
.footer p { font-size: 0.9rem; line-height: 1.7; margin-bottom: 0.6rem; }
.footer a { transition: color var(--transition-fast); }
.footer a:hover { color: var(--color-accent); }
.footer ul li { margin-bottom: 0.5rem; }
.footer ul li a { font-size: 0.9rem; }
.footer-rge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(200, 145, 59, 0.15);
  border: 1px solid rgba(200, 145, 59, 0.3);
  color: var(--color-accent);
  padding: 0.35rem 0.8rem;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  margin-top: 0.8rem;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
}
.footer-bottom a { color: var(--color-accent); }
.footer-bottom a:hover { color: var(--color-accent-hover); }

/* ===== Services Detail Page ===== */
.page-hero {
  padding: 10rem 0 4rem;
  background: var(--color-primary);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(200, 145, 59, 0.06), transparent 60%);
}
.page-hero h1 {
  color: var(--color-white);
  position: relative;
  z-index: 1;
  margin-bottom: 0.8rem;
}
.page-hero p {
  color: rgba(255,255,255,0.65);
  font-size: 1.1rem;
  max-width: 550px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.page-hero .hero-badge {
  animation: none;
}

/* Services detail */
.services-detail-section {
  padding: var(--section-padding);
}
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 5rem;
}
.service-detail:nth-child(even) {
  direction: rtl;
}
.service-detail:nth-child(even) > * {
  direction: ltr;
}
.service-detail:last-child {
  margin-bottom: 0;
}
.service-detail-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.service-detail-img img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.service-detail:hover .service-detail-img img {
  transform: scale(1.03);
}
.service-detail-content h3 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
}
.service-detail-content p {
  color: var(--color-text-light);
  margin-bottom: 1.2rem;
  line-height: 1.8;
}

/* ===== Realisations (Gallery) ===== */
.gallery-section {
  padding: var(--section-padding);
}
.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.filter-btn {
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  border: 1px solid var(--color-border);
  background: var(--color-white);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text);
  cursor: pointer;
  transition: all var(--transition);
}
.filter-btn:hover, .filter-btn.active {
  background: var(--color-accent);
  color: var(--color-white);
  border-color: var(--color-accent);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  aspect-ratio: 4/3;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.gallery-item:hover img {
  transform: scale(1.06);
}
.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(35, 22, 16, 0.7) 100%);
  opacity: 0;
  transition: opacity var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 1.2rem;
}
.gallery-item:hover .gallery-item-overlay {
  opacity: 1;
}
.gallery-item-overlay span {
  color: var(--color-white);
  font-weight: 600;
  font-size: 0.92rem;
}

/* ===== Contact Page ===== */
.contact-section {
  padding: var(--section-padding);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}
.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  background: var(--color-white);
  padding: 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  transition: all var(--transition);
}
.contact-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}
.contact-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--color-accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-card-icon svg {
  width: 22px;
  height: 22px;
  color: var(--color-accent);
}
.contact-card h4 {
  font-size: 1rem;
  margin-bottom: 0.3rem;
}
.contact-card p, .contact-card a {
  color: var(--color-text-light);
  font-size: 0.92rem;
}
.contact-card a:hover { color: var(--color-accent); }

.contact-form-wrapper {
  background: var(--color-white);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.contact-form-wrapper h3 {
  font-size: 1.4rem;
  margin-bottom: 0.6rem;
}
.contact-form-wrapper > p {
  color: var(--color-text-light);
  margin-bottom: 1.5rem;
  font-size: 0.92rem;
}
.form-group {
  margin-bottom: 1.2rem;
}
.form-group label {
  display: block;
  font-weight: 500;
  font-size: 0.88rem;
  margin-bottom: 0.4rem;
  color: var(--color-text);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--color-text);
  background: var(--color-bg);
  transition: border-color var(--transition-fast);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px var(--color-accent-light);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.contact-map {
  margin-top: 3rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.contact-map iframe {
  width: 100%;
  height: 350px;
  border: 0;
}

/* ===== Scroll Reveal ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.revealed { opacity: 1; transform: translateY(0); }
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal-left.revealed { opacity: 1; transform: translateX(0); }
.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal-right.revealed { opacity: 1; transform: translateX(0); }

/* ===== Animations ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(25px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-10px); }
}

/* ===== Parallax ===== */
.parallax-bg {
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}

/* ===== Lightbox ===== */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.lightbox.active {
  display: flex;
  opacity: 1;
}
.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.1);
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast);
}
.lightbox-close:hover {
  background: rgba(255,255,255,0.2);
}

/* ===== Reduced Motion ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero-bg img { transform: none !important; }
  .reveal, .reveal-left, .reveal-right { opacity: 1; transform: none; }
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem 1rem; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .service-detail { gap: 2rem; }
}

@media (max-width: 768px) {
  .menu-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    max-width: 320px;
    height: 100vh;
    background: var(--color-primary-dark);
    flex-direction: column;
    padding: 5rem 2rem 2rem;
    gap: 1.5rem;
    transition: right var(--transition);
    box-shadow: -5px 0 30px rgba(0,0,0,0.3);
  }
  .nav-links.active { right: 0; }
  .nav-links a { color: rgba(255,255,255,0.85) !important; font-size: 1.05rem; }
  .nav-links a:hover { color: var(--color-accent) !important; }

  .hero { min-height: 100svh; }
  .hero-stats { gap: 1.5rem; flex-wrap: wrap; }
  .hero-stat-value { font-size: 1.8rem; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; justify-content: center; }

  .services-featured { grid-template-columns: 1fr; }
  .service-featured { height: 280px; }
  .services-grid { grid-template-columns: 1fr; }

  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .about-img-main img { height: 300px; }
  .about-experience-badge { bottom: -1rem; right: 1rem; padding: 1rem; }
  .about-experience-badge .number { font-size: 1.8rem; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }

  .zone-grid { grid-template-columns: 1fr; gap: 2rem; }

  .engagements-grid { grid-template-columns: 1fr; }

  .service-detail { grid-template-columns: 1fr; }
  .service-detail:nth-child(even) { direction: ltr; }

  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }

  .contact-grid { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }

  .parallax-bg { background-attachment: scroll; }
  .cta-parallax { background-attachment: scroll; }

  .page-hero { padding: 8rem 0 3rem; }
}

@media (max-width: 480px) {
  .hero-stats { gap: 1rem; }
  .hero-stat-value { font-size: 1.5rem; }
  .services-featured { margin-bottom: 1.5rem; }
  .gallery-grid { grid-template-columns: 1fr; }
  .partners-grid { gap: 2rem; }
  .partner-logo { height: 36px; }
  .form-row { grid-template-columns: 1fr; }
}
