*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --gold: #FFFFFF;
  --gold-light: #F5F0E8;
  --gold-dark: #8B6914;
  --ink: #0E0E0E;
  --ink-soft: #1A1814;
  --cream: #F5F0E8;
  --cream-dark: #EDE6D6;
  --text-muted: #D9D0C4;
}

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

body {
  background: var(--ink);
  color: var(--cream);
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  overflow-x: hidden;
  cursor: none;
}

/* Custom cursor */
.cursor {
  width: 8px; height: 8px;
  background: var(--gold);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease, width 0.3s ease, height 0.3s ease;
}
.cursor-ring {
  width: 36px; height: 36px;
  border: 1px solid rgba(201,169,110,0.5);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: all 0.15s ease;
}

/* ─── NAVIGATION ─── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 4rem;
  mix-blend-mode: normal;
}
nav::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(14,14,14,0.7), transparent);
  pointer-events: none;
}
.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 300;
  letter-spacing: 0.3em;
  color: var(--gold-light);
  text-transform: uppercase;
  text-decoration: none;
  position: relative; z-index: 1;
}
.nav-links {
  display: flex;
  gap: 3rem;
  list-style: none;
  position: relative; z-index: 1;
}
.nav-links a {
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(245,240,232,0.9);
  text-decoration: none;
  transition: color 0.3s;
}
.nav-links a:hover { color: var(--gold); }

/* ─── HERO ─── */
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1587314168485-3236d6710814?w=1800&q=85&auto=format&fit=crop');
  background-size: cover;
  background-position: center 40%;
  transform: scale(1.05);
  animation: heroReveal 2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes heroReveal {
  from { transform: scale(1.12); opacity: 0.4; }
  to { transform: scale(1.0); opacity: 1; }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(14,14,14,0.82) 0%,
    rgba(14,14,14,0.35) 60%,
    rgba(14,14,14,0.65) 100%
  );
}
.hero-content {
  position: relative;
  text-align: center;
  animation: fadeUp 1.8s 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  display: block;
}
.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(5rem, 14vw, 12rem);
  font-weight: 300;
  line-height: 0.9;
  letter-spacing: -0.02em;
  color: var(--cream);
  margin-bottom: 2rem;
}
.hero-title em {
  font-style: italic;
  color: var(--gold-light);
}
.hero-sub {
  font-size: 0.8rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: rgba(245,240,232,0.85);
}
.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  color: rgba(245,240,232,0.85);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  animation: fadeIn 2s 1.5s both;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.hero-scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollLine 2s 2s infinite;
}
@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ─── SECTION BASE ─── */
section { position: relative; }

/* ─── INTRO STRIP ─── */
.intro-strip {
  padding: 7rem 4rem;
  display: grid;
  grid-template-columns: 1fr 2px 1fr;
  gap: 5rem;
  align-items: center;
  background: var(--ink-soft);
}
.divider-vert {
  width: 1px;
  height: 80px;
  background: linear-gradient(to bottom, transparent, var(--gold), transparent);
  justify-self: center;
}
.intro-quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.5;
  color: var(--cream);
  text-align: right;
}
.intro-quote span {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 1.5rem;
  font-style: normal;
}
.intro-text {
  font-size: 0.95rem;
  line-height: 2.2;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

/* ─── GALLERY MARQUEE ─── */
.marquee-section { overflow: hidden; padding: 0; }
.marquee-track {
  display: flex;
  gap: 20px;
  animation: marquee 30s linear infinite;
  width: max-content;
}
.marquee-track:hover { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.marquee-item {
  width: 340px;
  height: 440px;
  flex-shrink: 0;
  overflow: hidden;
  position: relative;
}
.marquee-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.marquee-item:hover img { transform: scale(1.06); }
.marquee-item-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 2rem 1.5rem 1.5rem;
  background: linear-gradient(to top, rgba(14,14,14,0.85), transparent);
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-style: italic;
  color: var(--gold-light);
  letter-spacing: 0.05em;
  opacity: 0;
  transition: opacity 0.4s;
}
.marquee-item:hover .marquee-item-label { opacity: 1; }

/* ─── FEATURED ─── */
.featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 80vh;
}
.featured-image {
  overflow: hidden;
  position: relative;
}
.featured-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.featured-image:hover img { transform: scale(1.04); }
.featured-body {
  background: var(--ink-soft);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 7rem 6rem;
}
.featured-tag {
  font-size: 0.7rem;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2rem;
}
.featured-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--cream);
  margin-bottom: 2rem;
}
.featured-title em { font-style: italic; color: var(--gold-light); }
.featured-desc {
  font-size: 0.9rem;
  line-height: 2.3;
  color: var(--text-muted);
  margin-bottom: 3rem;
  max-width: 340px;
}
.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.75rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(201,169,110,0.3);
  padding-bottom: 0.5rem;
  transition: all 0.3s;
  width: fit-content;
}
.btn-gold:hover { color: var(--gold-light); border-color: var(--gold); letter-spacing: 0.5em; }
.btn-gold::after {
  content: '\2192';
  font-size: 0.8rem;
}

/* ─── GRID CREATIONS ─── */
.creations-header {
  text-align: center;
  padding: 8rem 4rem 5rem;
  background: var(--ink);
}
.section-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  display: block;
}
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 300;
  color: var(--cream);
  line-height: 1.1;
}
.section-title em { font-style: italic; color: var(--gold-light); }

.creations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto;
  gap: 4px;
  background: var(--ink);
  padding: 0 4px 4px;
}
.creation-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
  cursor: none;
}
.creation-card.wide {
  grid-column: span 2;
  aspect-ratio: 16/9;
}
.creation-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1);
  filter: brightness(0.9);
}
.creation-card:hover img {
  transform: scale(1.07);
  filter: brightness(0.75);
}
.creation-info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 3rem 2rem 2rem;
  background: linear-gradient(to top, rgba(14,14,14,0.9) 0%, transparent 100%);
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.creation-card:hover .creation-info { transform: translateY(0); opacity: 1; }
.creation-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-style: italic;
  color: var(--cream);
  margin-bottom: 0.3rem;
}
.creation-cat {
  font-size: 0.7rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ─── PHILOSOPHY ─── */
.philosophy {
  padding: 10rem 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--ink-soft);
  position: relative;
  overflow: hidden;
}
.philosophy::before {
  content: 'S';
  position: absolute;
  font-family: 'Cormorant Garamond', serif;
  font-size: 40vw;
  font-weight: 300;
  color: rgba(201,169,110,0.03);
  line-height: 1;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  letter-spacing: -0.05em;
}
.philosophy-quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.6;
  color: var(--cream);
  max-width: 800px;
  position: relative;
}
.philosophy-quote::before {
  content: '\201C';
  font-size: 8rem;
  color: rgba(201,169,110,0.15);
  position: absolute;
  top: -3rem; left: -3rem;
  font-family: 'Cormorant Garamond', serif;
  line-height: 1;
}
.gold-divider {
  width: 60px;
  height: 1px;
  background: var(--gold);
  margin: 3rem auto;
}
.philosophy-author {
  font-size: 0.75rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ─── ATELIER STRIP ─── */
.atelier {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  height: 60vh;
}
.atelier-pane {
  position: relative;
  overflow: hidden;
}
.atelier-pane img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  filter: brightness(0.6) saturate(0.8);
}
.atelier-pane:hover img {
  transform: scale(1.08);
  filter: brightness(0.45) saturate(0.8);
}
.atelier-label {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.5s;
  gap: 0.8rem;
}
.atelier-pane:hover .atelier-label { opacity: 1; }
.atelier-label-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  font-style: italic;
  color: var(--cream);
}
.atelier-label-line {
  width: 30px; height: 1px;
  background: var(--gold);
}
.atelier-label-sub {
  font-size: 0.7rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ─── COMMANDER ─── */
.cta-section {
  padding: 10rem 4rem;
  background: var(--ink);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1551024601-bec78aea704b?w=1400&q=70&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
  opacity: 0.08;
}
.cta-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 300;
  color: var(--cream);
  margin-bottom: 1rem;
  position: relative;
}
.cta-sub {
  font-size: 0.8rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4rem;
  position: relative;
}
.btn-cta {
  display: inline-block;
  padding: 1.2rem 4rem;
  border: 1px solid var(--gold);
  font-size: 0.75rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  transition: all 0.4s;
  position: relative;
  overflow: hidden;
}
.btn-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-cta:hover::before { transform: scaleX(1); }
.btn-cta span { position: relative; }
.btn-cta:hover { color: var(--ink); }

/* ─── FOOTER ─── */
footer {
  padding: 4rem;
  background: var(--ink-soft);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(201,169,110,0.1);
}
.footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 300;
  letter-spacing: 0.3em;
  color: var(--gold);
  text-transform: uppercase;
}
.footer-info {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  text-align: center;
  line-height: 2;
}
.footer-social {
  display: flex;
  gap: 2rem;
}
.footer-social a {
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s;
}
.footer-social a:hover { color: var(--gold); }

/* ─── SCROLL REVEAL ─── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.25s; }
.reveal-delay-3 { transition-delay: 0.4s; }

/* ─── HAMBURGER ─── */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  position: fixed;
  right: 2rem;
  top: 1.5rem;
  z-index: 200;
  padding: 0;
}
.hamburger-line {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--gold);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s;
  transform-origin: center;
}
.hamburger.active .hamburger-line:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}
.hamburger.active .hamburger-line:nth-child(2) {
  opacity: 0;
}
.hamburger.active .hamburger-line:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* ─── MOBILE MENU OVERLAY ─── */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: rgba(14,14,14,0.97);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.5s;
}
.mobile-menu.open {
  opacity: 1;
  visibility: visible;
}
.mobile-menu-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
}
.mobile-menu-link {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.4rem;
  font-style: italic;
  font-weight: 300;
  color: var(--cream);
  text-decoration: none;
  letter-spacing: 0.05em;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s;
}
.mobile-menu-link:hover { color: var(--gold); }
.mobile-menu.open .mobile-menu-link {
  opacity: 1;
  transform: translateY(0);
}
.mobile-menu.open .mobile-menu-link:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.open .mobile-menu-link:nth-child(2) { transition-delay: 0.2s; }
.mobile-menu.open .mobile-menu-link:nth-child(3) { transition-delay: 0.3s; }
.mobile-menu.open .mobile-menu-link:nth-child(4) { transition-delay: 0.4s; }
.mobile-menu-footer {
  position: absolute;
  bottom: 3rem;
  font-size: 0.7rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ─── MEDIA QUERIES — TABLETTE (<=768px) ─── */
@media (max-width: 768px) {
  body { cursor: auto; }
  .cursor, .cursor-ring { display: none !important; }

  nav { padding: 1.5rem 2rem; }
  .nav-links { display: none; }
  .hamburger { display: flex; }

  /* Tailles de texte augmentées pour mobile */
  .hero-eyebrow { font-size: 0.75rem; }
  .hero-sub { font-size: 0.8rem; letter-spacing: 0.3em; }
  .hero-scroll { font-size: 0.7rem; }

  .intro-strip {
    grid-template-columns: 1fr;
    padding: 4rem 2rem;
    gap: 2rem;
    text-align: center;
  }
  .intro-quote { text-align: center; }
  .intro-quote span { font-size: 0.75rem; }
  .intro-text { font-size: 0.95rem; line-height: 2; }
  .divider-vert {
    width: 60px;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--gold), transparent);
    justify-self: center;
  }

  .marquee-item {
    width: 240px;
    height: 320px;
  }

  .featured {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .featured-image { height: 50vh; }
  .featured-body { padding: 4rem 2rem; }
  .featured-tag { font-size: 0.7rem; }
  .featured-desc { font-size: 0.9rem; line-height: 2; }

  .section-eyebrow { font-size: 0.72rem; }
  .creations-header { padding: 5rem 2rem 3rem; }
  .creations-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .creation-name { font-size: 1.3rem; }
  .creation-cat { font-size: 0.7rem; }

  .philosophy { padding: 6rem 2rem; }
  .philosophy-author { font-size: 0.75rem; }

  .atelier {
    grid-template-columns: 1fr;
    height: auto;
  }
  .atelier-pane { height: 50vh; }
  .atelier-label { opacity: 1; }
  .atelier-pane img { filter: brightness(0.45) saturate(0.8); }
  .atelier-label-sub { font-size: 0.7rem; }

  .cta-section { padding: 6rem 2rem; }
  .cta-sub { font-size: 0.8rem; }
  .btn-cta { font-size: 0.75rem; }
  .btn-gold { font-size: 0.75rem; }

  footer {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
    padding: 3rem 2rem;
  }
  .footer-info { font-size: 0.75rem; }
  .footer-social a { font-size: 0.75rem; }

  .creation-info {
    transform: translateY(0);
    opacity: 1;
  }
  .creation-card img {
    filter: brightness(0.75);
  }
  .creation-card { cursor: auto; }

  /* Menu mobile agrandi */
  .mobile-menu-link { font-size: 3.5rem; }
  .mobile-menu-inner { gap: 3.5rem; }
  .mobile-menu-footer { font-size: 0.7rem; }
}

/* ─── MEDIA QUERIES — PETIT MOBILE (<=480px) ─── */
@media (max-width: 480px) {
  nav { padding: 1.2rem 1.2rem; }
  .hamburger { right: 1.2rem; top: 1.2rem; }
  .nav-logo { font-size: 1.3rem; letter-spacing: 0.2em; }

  .marquee-item {
    width: 200px;
    height: 260px;
  }

  .creations-grid {
    grid-template-columns: 1fr;
  }
  .creation-card.wide {
    grid-column: span 1;
    aspect-ratio: 3/4;
  }

  .intro-strip { padding: 3rem 1.2rem; }
  .intro-text { font-size: 0.88rem; }
  .featured-body { padding: 3rem 1.2rem; }
  .featured-desc { font-size: 0.85rem; }
  .creations-header { padding: 4rem 1.2rem 2.5rem; }
  .philosophy { padding: 4rem 1.2rem; }
  .cta-section { padding: 4rem 1.2rem; }
  footer { padding: 2.5rem 1.2rem; }

  .mobile-menu-link { font-size: 2.5rem; }
  .mobile-menu-inner { gap: 3rem; }
}
