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

/* ── Custom cursor ── */
html, body, a, button { cursor: none !important; }
#cursor-dot {
  position: fixed;
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition: width .2s, height .2s, background .2s;
}
#cursor-ring {
  position: fixed;
  width: 36px; height: 36px;
  border: 1px solid rgba(201,169,110,.45);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99998;
  transform: translate(-50%, -50%);
  transition: width .35s ease, height .35s ease, border-color .3s, opacity .3s;
}
body.cursor-hover #cursor-dot { width: 10px; height: 10px; background: var(--white); }
body.cursor-hover #cursor-ring { width: 52px; height: 52px; border-color: rgba(245,242,238,.25); }
body.cursor-click #cursor-dot { width: 4px; height: 4px; }
body.cursor-click #cursor-ring { width: 24px; height: 24px; opacity: .6; }

/* ── Page load overlay ── */
#page-load {
  position: fixed; inset: 0;
  background: var(--black);
  z-index: 10000;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
  transition: opacity .6s ease .1s;
}
#page-load.done { opacity: 0; }
.load-logo {
  font-family: var(--ff-serif);
  font-size: 1.6rem;
  letter-spacing: .1em;
  opacity: 0;
  animation: loadFadeIn .5s ease .2s forwards;
}
.load-logo span { color: var(--accent); }
@keyframes loadFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}

/* ── Shutter flash ── */
#shutter-flash {
  position: fixed; inset: 0;
  background: rgba(255, 255, 255, 0);
  pointer-events: none;
  z-index: 9997;
  mix-blend-mode: screen;
}

/* ── Variables ── */
:root {
  --black:   #080808;
  --white:   #f5f2ee;
  --gray:    #8a8680;
  --accent:  #c9a96e;
  --border:  rgba(245,242,238,.08);
  --ff-serif: 'Cormorant Garamond', Georgia, serif;
  --ff-sans:  'Inter', system-ui, sans-serif;
}

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

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--ff-sans);
  font-weight: 300;
  letter-spacing: .01em;
  overflow-x: hidden;
}

/* ── Noise texture overlay ── */
body::before {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: .6;
}

/* ── Typography ── */
h1, h2, h3 { font-family: var(--ff-serif); font-weight: 300; line-height: 1.1; }
p { line-height: 1.75; color: var(--gray); }
a { color: inherit; text-decoration: none; }

.label {
  font-size: .68rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
}

/* ── Navigation ── */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.75rem 4rem;
  transition: background .4s, padding .4s;
}
nav.scrolled {
  background: rgba(8,8,8,.92);
  backdrop-filter: blur(12px);
  padding: 1.25rem 4rem;
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  font-family: var(--ff-serif);
  font-size: 1.35rem;
  font-weight: 400;
  letter-spacing: .06em;
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: .18rem;
}
.nav-logo span { color: var(--accent); }
.nav-logo small {
  font-family: var(--ff-sans);
  font-size: .5rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: rgba(245,242,238,.35);
  font-weight: 300;
}
.nav-links {
  display: flex; gap: 2.5rem;
  list-style: none;
}
.nav-links a {
  font-size: .75rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(245,242,238,.55);
  transition: color .25s;
}
.nav-links a:hover { color: var(--white); }
.nav-cta {
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  border: 1px solid rgba(201,169,110,.4);
  color: var(--accent);
  padding: .55rem 1.4rem;
  border-radius: 2px;
  transition: background .25s, color .25s;
}
.nav-cta:hover { background: var(--accent); color: var(--black); }

/* ── Language switcher ── */
.lang-switcher {
  display: flex;
  gap: .15rem;
  align-items: center;
}
.lang-btn {
  background: none;
  border: none;
  font-size: 1.1rem;
  line-height: 1;
  padding: .2rem .25rem;
  opacity: .35;
  transition: opacity .2s, transform .15s;
  border-radius: 3px;
}
.lang-btn.active { opacity: 1; }
.lang-btn:hover { opacity: .75; transform: scale(1.15); }
.lang-btn.active:hover { opacity: 1; transform: scale(1.1); }

/* ── Hero ── */
#hero {
  position: relative;
  height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
}
.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 4rem 6rem;
}
.hero-eyebrow {
  display: flex; align-items: center; gap: 1rem;
  margin-bottom: 2rem;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 2rem; height: 1px;
  background: var(--accent);
}
.hero-title {
  font-size: clamp(3.5rem, 6vw, 5.5rem);
  line-height: 1.0;
  margin-bottom: 2rem;
}
.hero-title em { font-style: italic; color: var(--accent); }
.hero-sub {
  font-size: .95rem;
  max-width: 26rem;
  margin-bottom: 3rem;
  color: rgba(245,242,238,.5);
}
.hero-actions { display: flex; gap: 1.25rem; align-items: center; }
.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: var(--black);
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: .85rem 2rem;
  border-radius: 2px;
  font-weight: 500;
  transition: opacity .25s, transform .2s;
}
.btn-primary:hover { opacity: .85; }
.btn-ghost {
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(245,242,238,.5);
  transition: color .25s;
}
.btn-ghost:hover { color: var(--white); }

.hero-right {
  position: relative;
  overflow: hidden;
}
.hero-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--black) 0%, transparent 20%);
}

.hero-scroll {
  position: absolute; bottom: 3rem; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  font-size: .6rem; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(245,242,238,.3);
}
.hero-scroll::after {
  content: '';
  display: block;
  width: 1px; height: 3rem;
  background: linear-gradient(to bottom, rgba(245,242,238,.3), transparent);
  animation: scrollLine 1.8s ease-in-out infinite;
}
@keyframes scrollLine {
  0%, 100% { opacity: 1; }
  50% { opacity: .4; }
}

.hero-counter {
  position: absolute; bottom: 3rem; right: 4rem;
  display: flex; align-items: center; gap: 1rem;
}
.hero-counter-num {
  font-family: var(--ff-serif);
  font-size: 3.5rem;
  font-weight: 300;
  color: rgba(245,242,238,.06);
  line-height: 1;
}
.hero-counter-text {
  font-size: .65rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(245,242,238,.25);
}

/* ── Section base ── */
section { padding: 9rem 4rem; }

.section-header {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 2rem;
  margin-bottom: 5rem;
}
.section-number {
  font-family: var(--ff-serif);
  font-size: 1rem;
  color: var(--accent);
  padding-top: .2rem;
}
.section-title { font-size: clamp(2.4rem, 4vw, 3.5rem); }
.section-title em { font-style: italic; }
.section-desc {
  max-width: 36rem;
  font-size: .9rem;
  margin-top: 1rem;
  color: rgba(245,242,238,.45);
}

/* ── Services ── */
#services { border-top: 1px solid var(--border); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid var(--border);
}
.service-card {
  padding: 3rem 2.5rem;
  border-right: 1px solid var(--border);
  transition: background .3s;
  position: relative;
  overflow: hidden;
}
.service-card:last-child { border-right: none; }
.service-card::before {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 100%; height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s ease;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover { background: rgba(201,169,110,.03); }

.service-icon {
  width: 2rem; height: 2rem;
  margin-bottom: 2rem;
  color: var(--accent);
  opacity: .7;
}
.service-name {
  font-family: var(--ff-serif);
  font-size: 1.5rem;
  margin-bottom: .75rem;
}
.service-desc { font-size: .85rem; line-height: 1.7; }

.services-row2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid var(--border);
  border-top: none;
}

/* ── Portfolio ── */
#portfolio {
  padding: 6rem 0;
  border-top: 1px solid var(--border);
  overflow: hidden;
}
#portfolio .inner { padding: 0 4rem; }

/* Tabs */
.portfolio-tabs {
  display: flex;
  gap: 0;
  padding: 0 4rem;
  margin-top: 3rem;
  border-bottom: 1px solid var(--border);
}
.portfolio-tab {
  font-size: .7rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(245,242,238,.35);
  padding: .85rem 1.75rem;
  border-bottom: 1px solid transparent;
  margin-bottom: -1px;
  transition: color .25s, border-color .25s;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
  font-family: var(--ff-sans);
  font-weight: 300;
}
.portfolio-tab:hover { color: rgba(245,242,238,.7); }
.portfolio-tab.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* Strip */
.portfolio-strip {
  display: flex; gap: 1.5rem;
  margin-top: 3rem;
  padding: 0 4rem 2rem;
  overflow-x: auto;
  scrollbar-width: none;
  min-height: 420px;
  align-items: flex-start;
}
.portfolio-strip::-webkit-scrollbar { display: none; }

.portfolio-item {
  flex-shrink: 0;
  width: 28vw; height: 40vw;
  max-height: 520px;
  background: #111;
  border-radius: 3px;
  position: relative;
  overflow: hidden;
}
.portfolio-item:nth-child(even) { margin-top: 3rem; }
.portfolio-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s ease;
}
.portfolio-item:hover img { transform: scale(1.04); }
.portfolio-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8,8,8,.9) 0%, transparent 50%);
  opacity: 0;
  transition: opacity .35s;
  display: flex; align-items: flex-end;
  padding: 1.75rem;
}
.portfolio-item:hover .portfolio-overlay { opacity: 1; }
.portfolio-label {
  font-size: .7rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(245,242,238,.6);
}

/* Empty state */
.portfolio-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 4rem 0;
  color: rgba(245,242,238,.2);
  gap: 1rem;
}
.portfolio-empty svg { width: 3rem; opacity: .3; }
.portfolio-empty p {
  font-size: .75rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(245,242,238,.25);
}

/* Loading state */
.portfolio-loading {
  display: flex; align-items: center; justify-content: center;
  width: 100%; padding: 4rem 0;
}
.portfolio-loading::after {
  content: '';
  width: 1.5rem; height: 1.5rem;
  border: 1px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Tarifs / Pricing ── */
#tarifs { border-top: 1px solid var(--border); }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.pricing-grid--4 {
  grid-template-columns: repeat(4, 1fr);
}
.pricing-card {
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 3rem 2.5rem;
  position: relative;
  transition: border-color .3s;
}
.pricing-card:hover { border-color: rgba(201,169,110,.3); }
.pricing-card.featured {
  border-color: rgba(201,169,110,.25);
  background: rgba(201,169,110,.03);
}
.pricing-badge {
  position: absolute; top: -1px; left: 2.5rem;
  background: var(--accent);
  color: var(--black);
  font-size: .6rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 500;
  padding: .3rem .85rem;
  border-radius: 0 0 3px 3px;
}
.pricing-name {
  font-family: var(--ff-serif);
  font-size: 1.6rem;
  margin-bottom: .5rem;
}
.pricing-desc { font-size: .82rem; margin-bottom: 2rem; min-height: 2.5rem; }
.pricing-price {
  display: flex; align-items: baseline; gap: .4rem;
  margin-bottom: 2rem;
}
.pricing-amount {
  font-family: var(--ff-serif);
  font-size: 3rem;
  font-weight: 300;
  line-height: 1;
}
.pricing-currency { font-size: .85rem; color: var(--gray); }
.pricing-unit { font-size: .75rem; color: var(--gray); }
.pricing-features { list-style: none; }
.pricing-features li {
  display: flex; align-items: flex-start; gap: .75rem;
  font-size: .83rem;
  color: rgba(245,242,238,.55);
  padding: .55rem 0;
  border-bottom: 1px solid var(--border);
}
.pricing-features li:last-child { border-bottom: none; }
.pricing-features li::before {
  content: '—';
  color: var(--accent);
  font-size: .7rem;
  margin-top: .15rem;
  flex-shrink: 0;
}

.pricing-retouche {
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 2.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}
.retouche-title {
  font-family: var(--ff-serif);
  font-size: 1.4rem;
  margin-bottom: .5rem;
}
.retouche-desc { font-size: .83rem; }
.retouche-options { display: flex; gap: 2rem; justify-content: flex-end; }
.retouche-option { text-align: center; }
.retouche-price {
  font-family: var(--ff-serif);
  font-size: 2rem;
  color: var(--accent);
}
.retouche-label-small { font-size: .7rem; color: var(--gray); margin-top: .25rem; }

/* ── À propos ── */
#about {
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}
.about-img {
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, #1a1612, #0c0a08);
  border-radius: 3px;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  overflow: hidden;
}
.about-img::after {
  content: '';
  position: absolute; inset: 0;
  border: 1px solid var(--border);
  border-radius: 3px;
}
.about-label { margin-bottom: 1.5rem; }
.about-title { font-size: clamp(2rem, 3vw, 2.8rem); margin-bottom: 2rem; }
.about-body { font-size: .9rem; margin-bottom: 2rem; }
.about-publications {
  display: flex; gap: 1.5rem; align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.pub-label { font-size: .65rem; letter-spacing: .15em; text-transform: uppercase; color: var(--gray); flex-shrink: 0; }
.pub-tags { display: flex; gap: .75rem; flex-wrap: wrap; }
.pub-tag {
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  border: 1px solid var(--border);
  padding: .35rem .85rem;
  border-radius: 2px;
  color: rgba(245,242,238,.5);
}

/* ── Quote ── */
#quote {
  padding: 7rem 4rem;
  border-top: 1px solid var(--border);
  text-align: center;
}
.quote-text {
  font-family: var(--ff-serif);
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  font-weight: 300;
  font-style: italic;
  max-width: 52rem;
  margin: 0 auto 2rem;
  line-height: 1.45;
  color: rgba(245,242,238,.75);
}
.quote-author {
  font-size: .7rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
}

/* ── Contact ── */
#contact {
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.contact-left {
  padding: 7rem 4rem;
  border-right: 1px solid var(--border);
}
.contact-right { padding: 7rem 4rem; }
.contact-title { font-size: clamp(2.2rem, 3.5vw, 3.2rem); margin-bottom: 1.5rem; }
.contact-sub { font-size: .9rem; margin-bottom: 3.5rem; }
.contact-info { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-item { display: flex; align-items: flex-start; gap: 1.25rem; }
.contact-icon { color: var(--accent); opacity: .7; flex-shrink: 0; margin-top: .15rem; }
.contact-item-label { font-size: .65rem; letter-spacing: .15em; text-transform: uppercase; color: var(--gray); margin-bottom: .25rem; }
.contact-item-value { font-size: .9rem; color: rgba(245,242,238,.75); }

/* Form */
.form { display: flex; flex-direction: column; gap: 1.5rem; }
.form-group { position: relative; }
.form-label {
  display: block;
  font-size: .65rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: .6rem;
}
.form-input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border);
  padding: .75rem 0;
  color: var(--white);
  font-family: var(--ff-sans);
  font-size: .9rem;
  font-weight: 300;
  outline: none;
  transition: border-color .25s;
}
.form-input::placeholder { color: rgba(245,242,238,.2); }
.form-input:focus { border-color: var(--accent); }
textarea.form-input { resize: none; height: 6rem; }
.form-submit {
  display: inline-flex; align-items: center; gap: .75rem;
  background: var(--accent);
  color: var(--black);
  font-family: var(--ff-sans);
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 1rem 2.25rem;
  border: none;
  border-radius: 2px;
  transition: opacity .25s, transform .2s;
  align-self: flex-start;
}
.form-submit:hover { opacity: .85; }
.form-submit svg { width: 1rem; }

/* ── Footer ── */
footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-logo {
  font-family: var(--ff-serif);
  font-size: 1.1rem;
  letter-spacing: .06em;
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: .18rem;
}
.footer-logo span { color: var(--accent); }
.footer-logo small {
  font-family: var(--ff-sans);
  font-size: .48rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: rgba(245,242,238,.3);
  font-weight: 300;
}
.footer-copy { font-size: .72rem; color: rgba(245,242,238,.3); letter-spacing: .05em; }
.footer-links { display: flex; gap: 2rem; }
.footer-links a {
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(245,242,238,.35);
  transition: color .25s;
}
.footer-links a:hover { color: var(--white); }

/* ── Scroll reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .75s ease, transform .75s ease;
}
.reveal.visible { opacity: 1; transform: none; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  nav { padding: 1.5rem 2rem; }
  nav.scrolled { padding: 1rem 2rem; }
  .nav-links { display: none; }
  section { padding: 6rem 2rem; }
  #hero { grid-template-columns: 1fr; }
  .hero-right { display: none; }
  .hero-left { padding: 0 2rem 5rem; justify-content: flex-end; }
  .services-grid, .services-row2 { grid-template-columns: 1fr; }
  .service-card { border-right: none; border-bottom: 1px solid var(--border); }
  .pricing-grid, .pricing-grid--4 { grid-template-columns: 1fr; }
  #about { grid-template-columns: 1fr; padding: 5rem 2rem; gap: 3rem; }
  .about-img { display: none; }
  #contact { grid-template-columns: 1fr; }
  .contact-left { border-right: none; border-bottom: 1px solid var(--border); padding: 4rem 2rem; }
  .contact-right { padding: 4rem 2rem; }
  footer { flex-direction: column; gap: 1.5rem; text-align: center; padding: 2rem; }
  .portfolio-item { width: 72vw; }
  .hero-counter { display: none; }
  .pricing-retouche { grid-template-columns: 1fr; }
  .retouche-options { justify-content: flex-start; }
  .portfolio-tabs { padding: 0 2rem; overflow-x: auto; }
  .portfolio-strip { padding: 0 2rem 2rem; }
}
