:root {
  --serif: 'Cormorant Garamond', serif;
  --sans: 'Inter', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  background: #ffffff;
  color: #000000;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
a:hover { opacity: 0.6; }
button { font-family: var(--sans); }
::placeholder { color: rgba(255, 255, 255, 0.35); }
select { color-scheme: dark; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes bounceArrow { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(8px); } }

/* Placeholder image blocks — swap for real <img> tags when photos are ready */
.ph {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
}
.ph::before {
  content: attr(data-desc);
  font-family: var(--serif);
  font-style: italic;
  font-size: 13px;
  line-height: 1.5;
  opacity: 0.7;
  max-width: 70%;
}

/* Nav */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  padding: 28px 48px;
  transition: transform 0.35s ease;
}
#nav.hidden { transform: translateY(-120%); }
.nav-logo {
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: #ffffff;
  transition: color 0.4s ease;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #ffffff;
  transition: color 0.4s ease;
}
.nav-dot { font-size: 10px; color: #ffffff; opacity: 0.5; transition: color 0.4s ease; }
#nav.past-hero .nav-logo,
#nav.past-hero .nav-links a,
#nav.past-hero .nav-dot { color: #000000; }

/* Hero */
#hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 560px;
  overflow: hidden;
  background: #242424;
}
.hero-ph {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: #cfcfcf;
  background: #242424 url('images/hero.jpg') center 30% / cover no-repeat;
}
.hero-ph::before { content: none; }
.hero-top-scrim {
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 140px;
  background: linear-gradient(to bottom, rgba(0,0,0,0.45), rgba(0,0,0,0));
  pointer-events: none;
}
.hero-scrim {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 50%;
  background: linear-gradient(to top, rgba(0,0,0,0.6), rgba(0,0,0,0));
  pointer-events: none;
}
.hero-caption { position: absolute; left: 48px; bottom: 40px; color: #ffffff; pointer-events: none; }
.hero-title { font-size: 16px; font-weight: 300; }
.hero-sub { font-size: 12px; font-weight: 300; letter-spacing: 0.15em; color: rgba(255,255,255,0.65); margin-top: 8px; }
.hero-arrow {
  position: absolute; right: 48px; bottom: 40px;
  color: rgba(255,255,255,0.75);
  font-size: 20px;
  animation: bounceArrow 2.2s ease-in-out infinite;
  pointer-events: none;
}

/* Portfolio */
#portfolio { background: #ffffff; padding-top: 88px; }
.filters-wrap { display: flex; justify-content: center; margin-bottom: 36px; overflow-x: auto; }
.filters { position: relative; display: flex; }
.filter {
  width: 148px;
  flex-shrink: 0;
  text-align: center;
  padding: 14px 0;
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  cursor: pointer;
  color: #8a8a8a;
  background: none;
  border: none;
  transition: color 0.3s ease;
}
.filter.active { color: #000000; }
.filter-underline {
  position: absolute;
  left: 0; bottom: 0;
  width: 148px;
  height: 2px;
  background: #000000;
  transition: transform 0.3s ease;
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 190px;
  grid-auto-flow: dense;
  gap: 4px;
}
.photo-card {
  position: relative;
  overflow: hidden;
  grid-column: span var(--cd, 1);
  grid-row: span var(--rd, 1);
}
.photo-card .ph { width: 100%; height: 100%; }
.photo-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  background: rgba(0,0,0,0);
  transition: opacity 0.4s ease, background 0.4s ease;
  pointer-events: none;
}
.photo-card:hover .photo-overlay,
.photo-card:focus-within .photo-overlay {
  opacity: 1;
  background: rgba(0,0,0,0.7);
}
.photo-overlay button {
  pointer-events: auto;
  cursor: pointer;
  text-align: center;
  padding: 20px;
  background: none;
  border: none;
  color: inherit;
}
.photo-overlay-title { font-family: var(--serif); font-style: italic; color: #ffffff; font-size: 22px; }
.photo-overlay-sub { font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(255,255,255,0.75); margin-top: 8px; }

/* Approche */
#approche {
  background: #000000;
  color: #ffffff;
  display: flex;
  justify-content: center;
  padding: 160px 120px;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
#approche.revealed { opacity: 1; transform: translateY(0); }
.approche-inner { max-width: 650px; text-align: center; }
.approche-quote { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 2.5rem; line-height: 1.5; margin: 0; }
.approche-signature { margin-top: 36px; font-size: 14px; font-weight: 300; color: #888888; }
.approche-line { width: 40px; height: 1px; background: #ffffff; margin: 32px auto 0; }

/* Services */
#services {
  background: #ffffff;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
#services.revealed { opacity: 1; transform: translateY(0); }
.services-row { display: flex; flex-direction: row; }
.service { flex: 1; display: flex; flex-direction: column; transition: background 0.3s ease; }
.service:hover { background: #f5f5f5; }
.service.divider { border-left: 1px solid #e0e0e0; }
.service-ph { width: 100%; height: 380px; color: #6a6a6a; }
.service:nth-child(2) .service-ph { color: #bbbbbb; }
.service-body { padding: 36px 40px; flex: 1; display: flex; flex-direction: column; }
.service-title { font-size: 20px; font-weight: 600; margin-bottom: 24px; }
.service-body ul { list-style: none; margin: 0; padding: 0; font-size: 15px; font-weight: 300; line-height: 2.1; color: #000000; }
.service-price { margin-top: auto; padding-top: 28px; font-size: 13px; color: #888888; }
.services-tagline { text-align: center; padding: 48px 24px; font-family: var(--serif); font-style: italic; font-size: 15px; color: #666666; }

/* A propos */
#apropos {
  background: #f5f5f5;
  display: flex;
  flex-direction: row;
  scroll-margin-top: 80px;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
#apropos.revealed { opacity: 1; transform: translateY(0); }
.about-photo { width: 55%; flex-shrink: 0; }
.about-ph { width: 100%; height: 620px; color: #9a9a9a; }
.about-content { width: 45%; padding: 96px 72px; display: flex; flex-direction: column; justify-content: center; }
.about-label { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: #888888; margin-bottom: 20px; }
.about-name { font-family: var(--serif); font-size: 2rem; font-weight: 500; margin-bottom: 28px; }
.about-bio { font-size: 15px; font-weight: 300; line-height: 1.9; color: #000000; max-width: 480px; margin: 0; }
.about-press { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 40px; }
.about-press span { font-size: 11px; letter-spacing: 0.12em; color: #999999; }
.about-social { margin-top: 32px; font-size: 13px; font-weight: 300; color: #777777; }

/* Temoignages */
#temoignages {
  background: #ffffff;
  padding: 120px 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
#temoignages.revealed { opacity: 1; transform: translateY(0); }
.quote-mark {
  position: absolute;
  top: 48px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--serif);
  font-size: 8rem;
  color: #e8e8e8;
  line-height: 1;
  z-index: 0;
  user-select: none;
  pointer-events: none;
}
.testimonial-inner { position: relative; z-index: 1; max-width: 720px; }
.testimonial-quote { font-family: var(--serif); font-style: italic; font-size: 1.8rem; line-height: 1.6; color: #000000; margin: 0; }
.testimonial-author { margin-top: 28px; font-size: 14px; font-weight: 300; color: #888888; }
.testimonial-arrows { position: relative; z-index: 1; display: flex; align-items: center; gap: 24px; margin-top: 48px; }
.testimonial-arrows button { background: none; border: none; font-size: 18px; color: #000000; cursor: pointer; padding: 10px; }
.testimonial-dots { position: relative; z-index: 1; display: flex; gap: 10px; margin-top: 8px; }
.testimonial-dots span { cursor: pointer; font-size: 9px; color: #000000; padding: 6px; }

/* Contact */
#contact {
  background: #000000;
  color: #ffffff;
  padding: 140px 24px 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
#contact.revealed { opacity: 1; transform: translateY(0); }
.contact-header { text-align: center; max-width: 600px; }
.contact-title { font-family: var(--serif); font-size: 2.75rem; font-weight: 500; }
.contact-sub { font-size: 16px; font-weight: 300; color: #cccccc; margin-top: 20px; }
.contact-form-wrap { width: 100%; max-width: 550px; margin-top: 64px; }
#contactForm { display: flex; flex-direction: column; gap: 28px; }
#contactForm[hidden] { display: none; }
.field label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #888888;
  margin-bottom: 10px;
}
.field input, .field textarea, .field select {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.3);
  color: #ffffff;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 300;
  padding: 10px 2px;
  outline: none;
}
.field input:focus, .field textarea:focus, .field select:focus { border-bottom-color: #ffffff; }
.field textarea { resize: none; }
.select-wrap { position: relative; }
.select-wrap select { appearance: none; -webkit-appearance: none; padding-right: 24px; }
.select-wrap select option { color: #000000; }
.select-arrow { position: absolute; right: 2px; top: 12px; color: rgba(255,255,255,0.5); font-size: 11px; pointer-events: none; }
.submit-btn {
  align-self: flex-start;
  margin-top: 8px;
  padding: 14px 34px;
  background: transparent;
  border: 1px solid #ffffff;
  color: #ffffff;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
}
.submit-btn:hover { background: #ffffff; color: #000000; }
.contact-success { text-align: center; padding: 48px 0; }
.success-title { font-family: var(--serif); font-style: italic; font-size: 1.8rem; }
.success-sub { font-size: 14px; font-weight: 300; color: #999999; margin-top: 16px; }
.contact-details { margin-top: 64px; text-align: center; display: flex; flex-direction: column; gap: 10px; }
.contact-details a { font-size: 15px; font-weight: 300; color: #ffffff; text-decoration: underline; }
.contact-details div { font-size: 14px; font-weight: 300; color: #999999; }
.contact-social { font-size: 12px !important; letter-spacing: 0.15em; text-transform: uppercase; color: #888888 !important; margin-top: 12px; }

/* Footer */
footer { background: #000000; border-top: 1px solid #333333; padding: 24px; text-align: center; }
footer div { font-size: 12px; font-weight: 300; color: #666666; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.95);
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.25s ease-out;
}
.lightbox[hidden] { display: none; }
.lightbox-close, .lightbox-prev, .lightbox-next {
  background: none;
  border: none;
  cursor: pointer;
  line-height: 1;
}
.lightbox-close { position: absolute; top: 32px; right: 40px; color: #ffffff; font-size: 28px; }
.lightbox-prev, .lightbox-next { position: absolute; top: 50%; transform: translateY(-50%); color: rgba(255,255,255,0.7); font-size: 32px; }
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }
.lightbox-frame {
  width: min(74vw, 900px);
  height: min(80vh, 760px);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.lightbox-desc { font-family: var(--serif); font-style: italic; font-size: 16px; text-align: center; max-width: 70%; }
.lightbox-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 20px 28px;
  background: linear-gradient(to top, rgba(0,0,0,0.75), rgba(0,0,0,0));
}
.lightbox-title { font-family: var(--serif); font-style: italic; color: #ffffff; font-size: 20px; }
.lightbox-subtitle { font-size: 11px; letter-spacing: 0.15em; color: rgba(255,255,255,0.7); margin-top: 4px; }

/* Mobile */
@media (max-width: 760px) {
  #nav { padding: 18px 20px; }
  .nav-links { gap: 18px; }
}

@media (max-width: 480px) {
  .nav-logo { font-size: 11px; letter-spacing: 0.2em; white-space: nowrap; }
  .nav-links { gap: 8px; }
  .nav-links a { font-size: 10px; letter-spacing: 0.12em; white-space: nowrap; }
  .nav-dot { display: none; }
}

@media (max-width: 760px) {
  #portfolio { padding-top: 88px; }
  .filter, .filter-underline { width: 92px; }
  .grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; gap: 3px; }
  .photo-card { grid-column: span var(--cm, 1); grid-row: span var(--rm, 1); }
  #approche { padding: 96px 24px; }
  .approche-quote { font-size: 1.8rem; }
  .services-row { flex-direction: column; }
  .service.divider { border-left: none; border-top: 1px solid #e0e0e0; }
  .service-ph { height: 220px; }
  #apropos { flex-direction: column; }
  .about-photo, .about-content { width: 100%; }
  .about-ph { height: 340px; }
  .about-content { padding: 56px 24px; }
}
