/* ── Reset ── */
* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Montserrat', sans-serif;
  background: #0a0a0a;
  color: #f0ebe4;
  font-weight: 300;
}

.serif { font-family: 'Cormorant Garamond', serif; }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: #0a0a0a; }
::-webkit-scrollbar-thumb { background: #2a2a2a; }
::-webkit-scrollbar-thumb:hover { background: #c9a06a; }

/* ── Navbar ── */
#navbar {
  transition: background 0.5s ease, padding 0.4s ease;
}
#navbar.scrolled {
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.nav-link {
  color: rgba(240, 235, 228, 0.55);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: color 0.3s ease;
  position: relative;
  font-weight: 400;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: #c9a06a;
  transition: width 0.35s ease;
}
.nav-link:hover { color: #f0ebe4; }
.nav-link:hover::after { width: 100%; }

/* ── Divider ── */
.gold-line {
  width: 40px;
  height: 1px;
  background: #c9a06a;
  margin: 0 auto;
}

/* ── Hero animations ── */
.hero-text {
  opacity: 0;
  transform: translateY(18px);
  animation: heroFade 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}
.hero-text.d1 { animation-delay: 0.2s; }
.hero-text.d2 { animation-delay: 0.45s; }
.hero-text.d3 { animation-delay: 0.7s; }
.hero-text.d4 { animation-delay: 1.0s; }

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

/* ── Page header animations (galeries) ── */
.h1 { opacity: 0; animation: heroFade 1s ease 0.2s forwards; }
.h2 { opacity: 0; animation: heroFade 1s ease 0.45s forwards; }
.h3 { opacity: 0; animation: heroFade 1s ease 0.65s forwards; }

/* ── Scroll arrow bounce ── */
.scroll-arrow {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  animation: arrowBounce 2.4s ease-in-out infinite;
}
@keyframes arrowBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.5; }
  50%       { transform: translateX(-50%) translateY(7px); opacity: 1; }
}

/* ── Scroll reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal.d1 { transition-delay: 0.1s; }
.reveal.d2 { transition-delay: 0.2s; }
.reveal.d3 { transition-delay: 0.3s; }
.reveal.d4 { transition-delay: 0.4s; }

/* ── Gallery masonry items ── */
.gallery-item { overflow: hidden; break-inside: avoid; margin-bottom: 3px; display: block; }
.gallery-item img {
  display: block;
  width: 100%;
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.gallery-item:hover img { transform: scale(1.05); }

/* ── Gallery cards (index) ── */
.gal-card {
  position: relative;
  overflow: hidden;
  display: block;
  text-decoration: none;
}
.gal-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.gal-card:hover img { transform: scale(1.07); }
.gal-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.15) 60%, rgba(0,0,0,0.05) 100%);
  transition: background 0.5s ease;
}
.gal-card:hover .gal-overlay {
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.35) 60%, rgba(0,0,0,0.1) 100%);
}
.gal-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 2rem 2.2rem;
}
.gal-arrow {
  display: inline-block;
  margin-top: 0.8rem;
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  border-bottom: 1px solid rgba(255,255,255,0.15);
  padding-bottom: 2px;
  transition: color 0.3s ease, border-color 0.3s ease;
}
.gal-card:hover .gal-arrow { color: #c9a06a; border-color: #c9a06a; }

/* ── Service cards ── */
.service-card { position: relative; overflow: hidden; }
.service-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.service-card:hover img { transform: scale(1.07); }
.service-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.25) 55%, rgba(0,0,0,0.05) 100%);
  transition: background 0.5s ease;
}
.service-card:hover .service-overlay {
  background: linear-gradient(to top, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.4) 55%, rgba(0,0,0,0.15) 100%);
}
.service-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2.5rem;
}
.service-link {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  border-bottom: 1px solid rgba(255,255,255,0.2);
  padding-bottom: 2px;
  transition: color 0.3s ease, border-color 0.3s ease;
}
.service-card:hover .service-link {
  color: #c9a06a;
  border-color: #c9a06a;
}

/* ── Form ── */
.form-input {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(240, 235, 228, 0.2);
  color: #f0ebe4;
  padding: 0.85rem 0;
  width: 100%;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.82rem;
  font-weight: 300;
  letter-spacing: 0.06em;
  outline: none;
  transition: border-color 0.35s ease;
}
.form-input::placeholder { color: rgba(240, 235, 228, 0.3); }
.form-input:focus { border-bottom-color: #c9a06a; }

/* ── Submit button ── */
.btn-submit {
  width: 100%;
  padding: 1rem;
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  border: 1px solid rgba(201, 160, 106, 0.45);
  color: #c9a06a;
  background: transparent;
  cursor: pointer;
  transition: background 0.35s ease, color 0.35s ease, border-color 0.35s ease;
}
.btn-submit:hover {
  background: #c9a06a;
  color: #0a0a0a;
  border-color: #c9a06a;
}

/* ── Pricing cards (photo.htm) ── */
.price-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
  background: #111;
  transition: border-color 0.4s ease, transform 0.4s ease;
}
.price-card:hover {
  border-color: rgba(201,160,106,0.35);
  transform: translateY(-4px);
}
.price-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.25,0.46,0.45,0.94);
  filter: grayscale(0.15);
}
.price-card:hover img {
  transform: scale(1.05);
  filter: grayscale(0);
}
.price-tag {
  display: inline-block;
  font-size: 1.25rem;
  color: #c9a06a;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  letter-spacing: 0.05em;
}
.cta-btn {
  display: inline-block;
  margin-top: 1.2rem;
  padding: 0.6rem 1.4rem;
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border: 1px solid rgba(201,160,106,0.4);
  color: #c9a06a;
  background: transparent;
  transition: background 0.3s ease, color 0.3s ease;
  text-decoration: none;
}
.cta-btn:hover {
  background: #c9a06a;
  color: #0a0a0a;
}

/* ── Team photo ── */
.team-photo {
  border: 1px solid rgba(201, 160, 106, 0.25);
}
.team-photo img {
  transition: filter 0.5s ease;
  filter: grayscale(0.3);
}
.team-photo:hover img { filter: grayscale(0); }

/* ── Gallery masonry columns ── */
.gallery-grid {
  columns: 3;
  column-gap: 3px;
}

/* ── Mentions légales ── */
.legal-content {
  max-width: 44rem;
  margin: 0 auto;
}
.legal-section {
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.legal-section:last-of-type {
  border-bottom: none;
}
.legal-title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 300;
  color: #f0ebe4;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}
.legal-text {
  font-size: 0.85rem;
  color: rgba(240,235,228,0.55);
  line-height: 2;
  font-weight: 300;
}
.legal-link {
  color: #c9a06a;
  text-decoration: none;
  transition: opacity 0.3s;
}
.legal-link:hover { opacity: 0.75; }

/* ── Responsive grids ── */
@media (max-width: 768px) {
  .gallery-grid {
    columns: 2;
  }
  .gal-grid,
  .service-grid {
    grid-template-columns: 1fr !important;
  }
  .team-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
    max-width: 20rem !important;
  }
  .contact-grid {
    grid-template-columns: 1fr !important;
    gap: 2.5rem !important;
  }
  .form-name-grid {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }
  .pricing-grid {
    grid-template-columns: 1fr !important;
  }
  #desktop-nav { display: none !important; }
  #menu-toggle { display: block !important; }
}
