/* ═══════════════════════════════════════════════
   CD Group — Style sombre & luxe
   Palette : Noir #0a0a0a · Anthracite #1a1a1a ·
             Or #c9a96e · Blanc cassé #f5f0eb
   Typos  : Cormorant Garamond (titres) + Inter (corps)
   ═══════════════════════════════════════════════ */

/* --- RESET & BASE --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --black: #0a0a0a;
  --anthracite: #1a1a1a;
  --dark-grey: #2a2a2a;
  --mid-grey: #999;
  --light: #f5f0eb;
  --gold: #c9a96e;
  --gold-light: #ddc28e;
  --white: #fff;
  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Inter', -apple-system, Helvetica, Arial, sans-serif;
  --transition: 0.3s ease;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  background: var(--black);
  color: var(--light);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Body scroll lock when mobile menu is open */
body.menu-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- NAVIGATION --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: background var(--transition), padding var(--transition);
}

.nav--scrolled {
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(12px);
  padding: 12px 0;
  border-bottom: 1px solid rgba(201, 169, 110, 0.15);
}

.nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--light);
}

.nav__logo span {
  color: var(--gold);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav__links a {
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--light);
  position: relative;
  transition: color var(--transition);
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width var(--transition);
}

.nav__links a:hover::after {
  width: 100%;
}

.nav__links a:hover {
  color: var(--gold);
}

.lang-switch {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 6px 14px;
  font-size: 0.75rem;
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: all var(--transition);
}

.lang-switch:hover {
  background: var(--gold);
  color: var(--black);
}

/* Hamburger */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--light);
  transition: all var(--transition);
}

.nav__toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(4px, 5px);
}
.nav__toggle.active span:nth-child(2) {
  opacity: 0;
}
.nav__toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -5px);
}

/* --- HERO --- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

/* Image via pseudo-element for cinematic slow zoom */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('images/lacelleext.jpg');
  background-size: cover;
  background-position: center 60%;
  animation: heroZoom 20s ease-out forwards;
  will-change: transform;
}

@keyframes heroZoom {
  from { transform: scale(1.05); }
  to   { transform: scale(1); }
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      rgba(10, 10, 10, 0.65) 0%,
      rgba(10, 10, 10, 0.38) 45%,
      rgba(10, 10, 10, 0.55) 100%
    );
  z-index: 0;
}

.hero__content {
  position: relative;
  z-index: 1;
  padding: 0 24px;
}

.hero__subtitle {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  font-weight: 300;
  line-height: 1.15;
  color: var(--light);
  margin-bottom: 40px;
}

/* Hero decorative line */
.hero__line {
  width: 60px;
  height: 1px;
  background: var(--gold);
  margin: 0 auto 40px;
  opacity: 0.6;
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.hero__scroll span {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mid-grey);
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: var(--gold);
  opacity: 0.5;
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.2; transform: scaleY(0.6); }
  50% { opacity: 0.6; transform: scaleY(1); }
}

/* --- BUTTONS --- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 16px 40px;
  border: 1px solid var(--gold);
  color: var(--gold);
  background: transparent;
  cursor: pointer;
  transition: all var(--transition);
}

.btn:hover {
  background: var(--gold);
  color: var(--black);
}

/* --- SECTIONS --- */
.section {
  padding: 120px 0;
}

.section--dark {
  background: var(--anthracite);
}

.section__header {
  text-align: center;
  margin-bottom: 72px;
}

.section__label {
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.section__title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 300;
  color: var(--light);
}

/* --- ABOUT --- */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.about__text p {
  font-size: 1rem;
  color: var(--mid-grey);
  margin-bottom: 20px;
  line-height: 1.8;
}

.about__text p:last-child {
  margin-bottom: 0;
}

.about__stats {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding-top: 8px;
}

.stat {
  border-left: 1px solid var(--gold);
  padding-left: 24px;
}

.stat__number {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 4px;
}

.stat__label {
  font-size: 0.85rem;
  color: var(--mid-grey);
  letter-spacing: 0.05em;
}

/* --- SERVICES --- */
.services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.service-card {
  padding: 48px 40px;
  border: 1px solid var(--dark-grey);
  transition: border-color var(--transition);
}

.service-card:hover {
  border-color: var(--gold);
}

.service-card__icon {
  width: 40px;
  height: 40px;
  color: var(--gold);
  margin-bottom: 24px;
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 12px;
  color: var(--light);
}

.service-card p {
  font-size: 0.9rem;
  color: var(--mid-grey);
  line-height: 1.7;
}

/* --- PROJECTS --- */
.projects__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.project-card {
  cursor: pointer;
  overflow: hidden;
}

.project-card__img {
  position: relative;
  aspect-ratio: 4/3;
  background-color: var(--anthracite);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

/* Placeholder style — will disappear when real images are used */
.project-card__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--anthracite);
  border: 1px solid var(--dark-grey);
  color: var(--mid-grey);
}

.project-card__placeholder svg {
  width: 40px;
  height: 40px;
}

.project-card__placeholder span {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Hover overlay — shows project name & location */
.project-card__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px 24px;
  background: linear-gradient(0deg, rgba(10,10,10,0.85) 0%, rgba(10,10,10,0.2) 50%, transparent 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.project-card:hover .project-card__overlay {
  opacity: 1;
}

.project-card__overlay h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--light);
  margin-bottom: 4px;
  transform: translateY(8px);
  transition: transform 0.4s ease;
}

.project-card:hover .project-card__overlay h3 {
  transform: translateY(0);
}

.project-card__overlay p {
  font-size: 0.8rem;
  color: var(--gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transform: translateY(8px);
  transition: transform 0.4s ease 0.05s;
}

.project-card:hover .project-card__overlay p {
  transform: translateY(0);
}

/* --- PROCESS --- */
.process__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.process__step {
  text-align: center;
  padding: 0 16px;
}

.process__number {
  display: block;
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 300;
  color: var(--gold);
  margin-bottom: 16px;
  opacity: 0.8;
}

.process__step h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 400;
  margin-bottom: 12px;
  color: var(--light);
}

.process__step p {
  font-size: 0.85rem;
  color: var(--mid-grey);
  line-height: 1.7;
}

/* --- CONTACT --- */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  align-items: start;
}

.contact__item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 32px;
}

.contact__item svg {
  width: 22px;
  height: 22px;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact__item strong {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--light);
  margin-bottom: 4px;
}

.contact__item a,
.contact__item span {
  font-size: 0.9rem;
  color: var(--mid-grey);
  transition: color var(--transition);
}

.contact__item a:hover {
  color: var(--gold);
}

/* Form */
.form__row {
  position: relative;
  margin-bottom: 24px;
}

.form__row input,
.form__row textarea {
  width: 100%;
  padding: 16px 0 12px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--light);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--dark-grey);
  outline: none;
  transition: border-color var(--transition);
}

.form__row textarea {
  resize: vertical;
  min-height: 100px;
}

.form__row input:focus,
.form__row textarea:focus {
  border-color: var(--gold);
}

.form__row label {
  position: absolute;
  top: 16px;
  left: 0;
  font-size: 0.85rem;
  color: var(--mid-grey);
  pointer-events: none;
  transition: all var(--transition);
}

.form__row input:focus + label,
.form__row input:not(:placeholder-shown) + label,
.form__row textarea:focus + label,
.form__row textarea:not(:placeholder-shown) + label {
  top: -8px;
  font-size: 0.75rem;
  color: var(--gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact__form .btn {
  width: 100%;
  margin-top: 8px;
}

/* Form feedback */
.form__feedback {
  margin-top: 16px;
  font-size: 0.85rem;
  text-align: center;
  min-height: 24px;
  transition: opacity var(--transition);
}

.form__feedback--success {
  color: #7ec87e;
}

.form__feedback--error {
  color: #e07070;
}

/* --- FOOTER --- */
.footer {
  border-top: 1px solid var(--dark-grey);
  padding: 48px 0;
}

.footer__inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.footer__logo {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  letter-spacing: 0.08em;
}

.footer__logo span {
  color: var(--gold);
}

.footer__tagline {
  font-size: 0.8rem;
  color: var(--mid-grey);
  letter-spacing: 0.08em;
  margin-top: 6px;
}

.footer__right {
  text-align: right;
}

.footer p {
  font-size: 0.8rem;
  color: var(--mid-grey);
}

.footer__legal {
  font-size: 0.75rem !important;
  color: var(--mid-grey) !important;
  margin-top: 4px;
  letter-spacing: 0.05em;
}

/* --- SCROLL ANIMATIONS --- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

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

/* Hero entrance */
.hero__content {
  animation: heroFadeIn 1.2s ease 0.2s both;
}

@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ═══════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════ */

@media (max-width: 1024px) {
  .services__grid {
    gap: 24px;
  }
  .service-card {
    padding: 36px 28px;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 80px 0;
  }

  /* Nav mobile */
  .nav__toggle {
    display: flex;
    z-index: 1001;
  }

  .nav__links {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    flex-direction: column;
    justify-content: center;
    gap: 36px;
    background: rgba(10, 10, 10, 0.97);
    backdrop-filter: blur(20px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
  }

  .nav__links.open {
    opacity: 1;
    visibility: visible;
  }

  .nav__links a {
    font-size: 1.1rem;
  }

  /* About */
  .about__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about__stats {
    flex-direction: row;
    gap: 32px;
  }

  /* Services */
  .services__grid {
    grid-template-columns: 1fr;
  }

  /* Projects */
  .projects__grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  /* Process */
  .process__steps {
    grid-template-columns: 1fr 1fr;
    gap: 48px 24px;
  }

  /* Contact */
  .contact__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  /* Footer */
  .footer__inner {
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
  }

  .footer__right {
    text-align: center;
  }

  /* Hero mobile adjustments */
  .hero::before {
    background-position: 45% center;
  }

  /* Hide scroll indicator on mobile */
  .hero__scroll {
    display: none;
  }
}

@media (max-width: 480px) {
