/* =============================================
   ATELIER BÉLUVIA — Design System & Styles
   ============================================= */

:root {
  --ivory:       #FAF7F2;
  --cream-dark:  #F0EAE0;
  --greige:      #D6CDBF;
  --taupe:       #9C8E82;
  --charcoal:    #2C2825;
  --gold-dust:   #BFA87A;
  --blush:       #E8D5CC;

  --font-display: 'Cinzel Decorative', serif;
  --font-body:    'Montserrat', sans-serif;

  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1.125rem;
  --text-lg:   1.5rem;
  --text-xl:   2.5rem;
  --text-2xl:  4rem;
  --text-3xl:  7rem;

  --spacing-xs:  0.5rem;
  --spacing-sm:  1rem;
  --spacing-md:  1.5rem;
  --spacing-lg:  3rem;
  --spacing-xl:  5rem;

  --shadow-soft: 0 4px 16px rgba(44, 40, 37, 0.08);
  --shadow-med:  0 8px 32px rgba(44, 40, 37, 0.12);
  --shadow-bold: -8px 8px 40px rgba(44, 40, 37, 0.12);

  --duration-slow: 0.6s;
  --duration-base: 0.3s;
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);

  --nav-height: 72px;
  --section-pad: clamp(4rem, 8vw, 7rem);
  --container: min(1200px, 92vw);
}

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

html {
  scroll-behavior: auto;
}

html.lenis, html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 400;
  line-height: 1.7;
  color: var(--charcoal);
  background: var(--ivory);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.has-custom-cursor,
body.has-custom-cursor a,
body.has-custom-cursor button {
  cursor: none;
}

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

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

button {
  font: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

.section {
  padding: var(--section-pad) 0;
  scroll-margin-top: 72px;
}

.section-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--charcoal);
  margin-bottom: 2rem;
}

.section-title--center {
  text-align: center;
}

.gold-line {
  width: 120px;
  height: 1px;
  background: var(--gold-dust);
  margin-top: 2rem;
}

/* =============================================
   CURSEUR CUSTOM
   ============================================= */
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 24px;
  height: 24px;
  pointer-events: none;
  z-index: 9999;
  display: none;
  transform: translate(-12px, -12px);
}

@media (hover: hover) and (min-width: 769px) {
  .cursor {
    display: block;
  }
}

.cursor__inner {
  position: absolute;
  inset: 0;
  border: 1px solid var(--gold-dust);
  border-radius: 50%;
  opacity: 0.5;
  transition: transform 0.2s ease-out, opacity 0.2s ease;
}

.cursor__dot {
  position: absolute;
  width: 6px;
  height: 6px;
  background: var(--gold-dust);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.8;
}

.cursor.hover .cursor__inner {
  transform: scale(1.6);
  opacity: 0.8;
}

.cursor.is-gallery .cursor__inner,
.cursor.is-gallery .cursor__dot {
  opacity: 0;
}

.cursor.is-gallery::before,
.cursor.is-gallery::after {
  content: '';
  position: absolute;
  background: var(--gold-dust);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.cursor.is-gallery::before {
  width: 1px;
  height: 16px;
}

.cursor.is-gallery::after {
  width: 16px;
  height: 1px;
}

/* =============================================
   NAVIGATION
   ============================================= */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
  background: transparent;
  transition: background 0.4s var(--ease-smooth), box-shadow 0.4s var(--ease-smooth), backdrop-filter 0.4s var(--ease-smooth);
}

.nav.scrolled {
  background: rgba(250, 247, 242, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow-soft);
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav__logo {
  height: 39px;
  width: auto;
  filter: invert(1);
}

.nav.scrolled .nav__logo,
.nav.is-open .nav__logo {
  filter: none;
}

.nav__name {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  letter-spacing: 0.08em;
  color: var(--ivory);
  transition: color 0.4s ease;
}

.nav.scrolled .nav__name,
.nav.is-open .nav__name {
  color: var(--charcoal);
}

.nav__links {
  display: none;
  gap: 2rem;
}

@media (min-width: 768px) {
  .nav__links {
    display: flex;
  }

  .nav__name {
    display: inline;
  }
}

.nav__links a {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  letter-spacing: 0.1em;
  color: var(--ivory);
  transition: color 0.3s ease;
  position: relative;
}

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

.nav__links a:hover::after,
.nav__links a.nav__link--active::after {
  width: 100%;
}

.nav__links a.nav__link--active {
  color: var(--gold-dust);
}

.nav.scrolled .nav__links a,
.nav.is-open .nav__links a {
  color: var(--charcoal);
}

.nav__burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: 32px;
  height: 32px;
  z-index: 1002;
}

@media (min-width: 768px) {
  .nav__burger {
    display: none;
  }
}

.nav__burger span {
  display: block;
  width: 20px;
  height: 1px;
  background: var(--ivory);
  transition: transform 0.3s ease, opacity 0.3s ease, background 0.3s ease;
}

.nav.scrolled .nav__burger span,
.nav.is-open .nav__burger span {
  background: var(--charcoal);
}

@media (max-width: 767px) {
  .nav.is-open {
    background: #EBD8cf;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
  }
}

.nav__burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav__burger.active span:nth-child(2) {
  opacity: 0;
}

.nav__burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.nav__overlay {
  position: fixed;
  inset: 0;
  background: rgba(44, 40, 37, 0.5);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.nav__overlay.active {
  opacity: 1;
  visibility: visible;
}

.nav__mobile {
  position: fixed;
  top: 0;
  right: 0;
  width: min(320px, 85vw);
  height: 100vh;
  background-color: #EBD8cf;
  z-index: 999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  padding: var(--spacing-xl) var(--spacing-lg);
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: -8px 0 40px rgba(44, 40, 37, 0.08);
}

.nav__mobile.active {
  transform: translateX(0);
}

.nav__mobile a {
  width: 100%;
  text-align: center;
  font-size: var(--text-lg);
  letter-spacing: 0.12em;
  color: var(--charcoal);
}

/* =============================================
   HÉRO — Carousel
   ============================================= */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero__carousel {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  will-change: transform;
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease-out;
}

.hero__slide--active {
  opacity: 1;
  z-index: 1;
}

.hero__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

video.hero__media {
  background: #000;
}

@media (min-width: 769px) {
  .hero__carousel {
    transform: none !important;
  }

  .hero__media {
    object-fit: cover;
    object-position: center center;
  }
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(44, 40, 37, 0.1) 0%, rgba(44, 40, 37, 0.55) 100%);
  z-index: 2;
}

.hero__content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 0 1.5rem;
  color: var(--ivory);
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3.9vw, 3.375rem);
  font-weight: 400;
  letter-spacing: 0.03em;
  line-height: 1.1;
  margin: 0;
}

.hero__letter {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
}

.hero__title-brand {
  display: inline-block;
  white-space: nowrap;
}

.hero__title-sub {
  display: block;
  margin-top: 1.25rem;
  font-size: clamp(0.95rem, 2.4vw, 1.5rem);
  letter-spacing: 0.28em;
  color: var(--gold-dust);
}

.hero__scroll {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 6;
  color: var(--ivory);
  text-decoration: none;
  opacity: 0;
}

.hero__scroll-hint {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 1;
}

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

.hero__arrow {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 1;
  fill: none;
  animation: arrowBounce 2s ease-in-out infinite;
}

.hero__arrow path {
  stroke: currentColor;
  stroke-width: 1;
  fill: none;
}

.hero__arrow--down {
  animation-delay: 0.3s;
}

@keyframes arrowBounce {
  0%, 100% { transform: translateY(0); opacity: 0.5; }
  50%       { transform: translateY(6px); opacity: 1; }
}

.hero__scroll-text {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.75;
}

.hero__dots {
  position: absolute;
  bottom: 6rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.75rem;
  z-index: 5;
}

.hero__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(250, 247, 242, 0.3);
  border: 1px solid rgba(191, 168, 122, 0.4);
  cursor: pointer;
  padding: 0;
  transition: all 0.4s var(--ease-smooth);
}

.hero__dot:hover {
  background: rgba(191, 168, 122, 0.5);
}

.hero__dot--active {
  background: var(--gold-dust);
  width: 20px;
  border-radius: 4px;
  border-color: var(--gold-dust);
}

/* Boutons navigation hero */
.hero__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 72px;
  height: 72px;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ivory);
  transition: color 0.4s var(--ease-smooth), transform 0.4s var(--ease-smooth);
}

.hero__nav:hover {
  color: var(--gold-dust);
  transform: translateY(-50%) scale(1.12);
}

.hero__nav:active {
  transform: translateY(-50%) scale(0.96);
}

.hero__nav svg {
  width: 56px;
  height: 56px;
  transition: transform 0.3s ease;
  filter: drop-shadow(0 1px 5px rgba(0, 0, 0, 0.5));
}

.hero__nav--prev {
  left: 3rem;
}

.hero__nav--prev:hover svg {
  transform: translateX(-2px);
}

.hero__nav--next {
  right: 3rem;
}

.hero__nav--next:hover svg {
  transform: translateX(2px);
}

.hero__nav:disabled {
  opacity: 0;
  pointer-events: none;
}

/* =============================================
   MANIFESTE
   ============================================= */
.manifeste {
  background: var(--ivory);
  overflow: visible;
  padding-bottom: calc(var(--section-pad) + 4rem);
}

.manifeste__grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: var(--spacing-xl);
  align-items: start;
}

.manifeste__quote {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-weight: 300;
  font-style: italic;
  line-height: 1.85;
  color: var(--charcoal);
  margin-bottom: 1.25rem;
}

.manifeste__quote:last-child {
  margin-bottom: 0;
}

.manifeste__visual {
  position: relative;
  min-height: 400px;
}

.manifeste__photo {
  position: absolute;
  right: -5%;
  top: -8%;
  width: min(340px, 100%);
  aspect-ratio: 3/4;
  object-fit: cover;
  transform: rotate(-2deg);
  box-shadow: var(--shadow-bold);
  border-radius: 2px;
}

/* =============================================
   GALERIE
   ============================================= */
.gallery-section {
  background: var(--cream-dark);
}

.gallery-section .section-title {
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
}

.gallery {
  max-width: var(--container);
  margin: var(--spacing-lg) auto 0;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
  columns: 1;
  column-gap: var(--spacing-md);
}

.gallery--grid {
  columns: unset;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 280px;
  gap: var(--spacing-md);
}

.gallery--grid .gallery__item {
  margin-bottom: 0;
  height: 100%;
}

.gallery--grid .gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery--grid .gallery__item--tall {
  grid-row: span 2;
}

.gallery--grid .gallery__item--wide {
  grid-column: span 2;
}

.gallery__item {
  position: relative;
  break-inside: avoid;
  margin-bottom: var(--spacing-md);
  overflow: hidden;
  border-radius: 2px;
}

.gallery__item img {
  width: 100%;
  transition: transform var(--duration-slow) var(--ease-smooth);
}

.gallery__item figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--spacing-lg) var(--spacing-md);
  background: linear-gradient(180deg, rgba(44, 40, 37, 0) 0%, rgba(44, 40, 37, 0.75) 100%);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 300;
  font-style: italic;
  color: var(--ivory);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity var(--duration-base) var(--ease-smooth), transform var(--duration-base) var(--ease-smooth);
}

.gallery__item:hover img {
  transform: scale(1.02);
}

.gallery__item:hover figcaption {
  opacity: 1;
  transform: translateY(0);
}

/* =============================================
   PROCESSUS
   ============================================= */
.process {
  background: var(--ivory);
}

.process .section-title {
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
}

.process__steps {
  max-width: var(--container);
  margin: var(--spacing-lg) auto 0;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.process__step {
  position: relative;
  padding: 2rem 1.5rem;
  text-align: center;
}

.process__step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 3rem;
  right: 0;
  width: 1px;
  height: calc(100% - 4rem);
  background: var(--greige);
}

.process__number {
  display: block;
  font-family: var(--font-body);
  font-size: var(--text-2xl);
  font-weight: 300;
  color: var(--gold-dust);
  opacity: 0.4;
  line-height: 1;
  margin-bottom: 1rem;
}

.process__step-title {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}

.process__desc {
  font-size: var(--text-sm);
  color: var(--taupe);
  line-height: 1.7;
}
.process__step .univers__link {
  display: inline-block;
  margin-top: 1rem;
  font-size: var(--text-xs);
}


/* =============================================
   CITATION
   ============================================= */
.quote-section {
  background: var(--charcoal);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  padding: var(--spacing-xl) var(--spacing-lg);
  overflow: hidden;
}

.quote-section::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.04;
  pointer-events: none;
  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.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

.quote-section__mark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -55%);
  font-family: var(--font-display);
  font-size: 10rem;
  color: var(--gold-dust);
  opacity: 0.15;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.quote-section__text {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 700px;
}

.quote-section__text p {
  font-family: var(--font-body);
  font-size: var(--text-xl);
  font-weight: 300;
  font-style: italic;
  color: var(--ivory);
  line-height: 1.6;
}

/* =============================================
   À PROPOS
   ============================================= */
.about {
  background: var(--cream-dark);
}

.about__grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.about__image {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  box-shadow: var(--shadow-bold);
  border-radius: 2px;
}

.about__text p {
  margin-bottom: 1.25rem;
  line-height: 1.85;
}

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

.about__instagram {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2rem;
  font-size: var(--text-sm);
  letter-spacing: 0.1em;
  color: var(--taupe);
  transition: color 0.3s ease;
}

.about__instagram:hover {
  color: var(--gold-dust);
}

.about__instagram svg {
  transition: transform 0.3s ease;
}

.about__instagram:hover svg {
  transform: scale(1.1);
}

/* =============================================
   CTA
   ============================================= */
.cta {
  background: var(--ivory);
  text-align: center;
  padding-bottom: clamp(5rem, 10vw, 8rem);
}

.cta .section-title {
  margin-bottom: 1.25rem;
}

.cta__subtitle {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-weight: 300;
  font-style: italic;
  color: var(--taupe);
  max-width: 42ch;
  margin: 0 auto 2.5rem;
  line-height: 1.75;
}

.btn-primary {
  display: inline-block;
  padding: 1rem 2.5rem;
  border: 1px solid #9A6E5A;
  background-color: #9A6E5A;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ivory);
  position: relative;
  overflow: hidden;
  z-index: 0;
  transition: background-color 0.4s var(--ease-smooth), border-color 0.4s var(--ease-smooth);
}

.btn-primary::before {
  display: none;
}

.btn-primary:hover {
  background-color: #8A6E5A;
  border-color: #8A6E5A;
  color: var(--ivory);
}

.btn-primary:hover::before {
  transform: none;
}

.btn-primary:focus-visible {
  outline: 2px solid var(--gold-dust);
  outline-offset: 4px;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: #8A6E5A;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-xl) var(--spacing-lg);
  text-align: center;
  color: var(--ivory);
}

.footer__logo {
  height: 40px;
  width: auto;
  margin-bottom: var(--spacing-sm);
}

.footer__copy {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 300;
  color: var(--ivory);
  letter-spacing: 0.08em;
}

.footer__services {
  margin-top: var(--spacing-xs);
}

.footer__services-title {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 400;
  color: var(--ivory);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.footer__services-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 0.75rem;
  max-width: 28rem;
}

.footer__services-list li {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 300;
  color: var(--ivory);
  letter-spacing: 0.06em;
}

.footer__contact,
.footer__contact a {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 300;
  color: var(--ivory);
  letter-spacing: 0.08em;
}

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

.footer__instagram {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 300;
  color: var(--ivory);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.footer__instagram:hover {
  color: var(--gold-dust);
}

.footer__links {
  margin-top: var(--spacing-sm);
}

.footer__links a {
  font-size: var(--text-xs);
  color: var(--ivory);
  letter-spacing: 0.08em;
  transition: color 0.3s ease;
}

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

.footer__credit {
  margin-top: var(--spacing-sm);
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 300;
  color: var(--ivory);
  letter-spacing: 0.06em;
  opacity: 0.85;
}

.footer__credit a {
  color: var(--ivory);
  transition: color 0.3s ease;
}

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

/* =============================================
   UNIVERS — Dual activité
   ============================================= */
.univers {
  background: var(--ivory);
}

.univers__intro {
  max-width: 60ch;
  margin: 0 auto 3rem;
  text-align: center;
  font-size: var(--text-lg);
  font-weight: 300;
  font-style: italic;
  line-height: 1.85;
  color: var(--taupe);
  padding: 0 clamp(1.25rem, 4vw, 3rem);
}

.univers__grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-lg);
}

.univers__card {
  padding: 2.5rem;
  background: var(--cream-dark);
  border: 1px solid var(--greige);
  border-radius: 2px;
}

.univers__label {
  display: block;
  font-size: var(--text-xs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-dust);
  margin-bottom: 1rem;
}

.univers__card-title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
}

.univers__card p {
  line-height: 1.85;
  color: var(--taupe);
  margin-bottom: 1.5rem;
}

.univers__link {
  font-size: var(--text-sm);
  letter-spacing: 0.1em;
  color: var(--charcoal);
  border-bottom: 1px solid var(--gold-dust);
  transition: color 0.3s ease;
}

.univers__link:hover {
  color: var(--gold-dust);
}

/* =============================================
   PREVIEW CARDS
   ============================================= */
.preview {
  background: var(--cream-dark);
}

.preview__grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-md);
}

.preview__card {
  display: block;
  overflow: hidden;
  border-radius: 2px;
  background: var(--ivory);
  transition: transform 0.4s var(--ease-smooth), box-shadow 0.4s var(--ease-smooth);
}

.preview__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-med);
}

.preview__card img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  transition: transform 0.6s var(--ease-smooth);
}

.preview__card:hover img {
  transform: scale(1.03);
}

.preview__card-content {
  padding: 1.5rem;
}

.preview__card-content h3 {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.preview__card-content p {
  font-size: var(--text-sm);
  color: var(--taupe);
  line-height: 1.7;
}

.preview__action {
  display: flex;
  justify-content: center;
  margin-top: var(--spacing-lg);
  padding: 0 clamp(1.25rem, 4vw, 3rem);
}

/* =============================================
   PAGE HERO (sous-pages)
   ============================================= */
.page-hero {
  --page-hero-label: #8A6E5A;
  padding: calc(var(--nav-height) + 4rem) clamp(1.25rem, 4vw, 3rem) 4rem;
  background: #8A6E5A;
  text-align: center;
  color: var(--ivory);
}

.page-hero__label {
  font-size: var(--text-xs);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--page-hero-label) !important;
  margin-bottom: 1rem;
}

.page-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, var(--text-xl));
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.page-hero__desc {
  font-size: var(--text-lg);
  font-weight: 300;
  font-style: italic;
  color: var(--greige);
  max-width: 50ch;
  margin: 0 auto;
}

/* =============================================
   PAGE CONTENT (robes de soirée)
   ============================================= */
.page-content {
  background: var(--ivory);
}

.page-content__grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.page-content__text p {
  margin-bottom: 1.25rem;
  line-height: 1.85;
}

.page-content__gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-md);
}

.home-univers__block {
  max-width: var(--container);
  margin: var(--spacing-lg) auto 0;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xl);
}

.home-gallery {
  margin: 0;
  padding: 0;
}

.home-univers__name.section-title {
  margin: 0;
  padding: 0;
}

.home-univers__story {
  margin: 0;
  padding: 0;
}

.home-univers__action {
  display: flex;
  justify-content: center;
  margin-top: var(--spacing-lg);
}

.video-duo {
  max-width: 720px;
  margin: var(--spacing-lg) auto 0;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--spacing-md);
}

.page-content__gallery .gallery__item {
  margin-bottom: 0;
}

.page-content__gallery .gallery__item img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
}

/* =============================================
   COULISSES
   ============================================= */
.coulisses {
  background: var(--ivory);
}

.coulisses__intro {
  max-width: 55ch;
  margin: 0 auto 3rem;
  text-align: center;
  font-size: var(--text-lg);
  font-weight: 300;
  font-style: italic;
  line-height: 1.85;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
}

.coulisses__videos {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-lg);
}

.coulisses__video-wrap {
  position: relative;
  aspect-ratio: 9/16;
  background: var(--charcoal);
  border-radius: 2px;
  overflow: hidden;
}

.coulisses__video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.coulisses__video-title {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  letter-spacing: 0.08em;
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
}

.coulisses__video-desc {
  font-size: var(--text-sm);
  color: var(--taupe);
  line-height: 1.7;
}

/* =============================================
   MENTIONS LÉGALES
   ============================================= */
.legal {
  padding-top: calc(var(--nav-height) + 3rem);
  background: var(--ivory);
  min-height: 70vh;
}

.legal__content {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem) 4rem;
}

.legal__content h1 {
  margin-bottom: 2.5rem;
}

.legal__content h2 {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  letter-spacing: 0.1em;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.legal__content p {
  line-height: 1.85;
  color: var(--taupe);
  margin-bottom: 0.5rem;
}

.legal__content a {
  color: var(--gold-dust);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}

.legal__content a:hover {
  border-bottom-color: var(--gold-dust);
}

.legal__back {
  margin-top: 3rem !important;
}

/* =============================================
   REVEAL ANIMATIONS
   ============================================= */
.reveal-lines {
  opacity: 0;
}

.reveal-lines.in-view {
  animation: revealLines 1s ease-out forwards;
}

@keyframes revealLines {
  from {
    opacity: 0;
    clip-path: polygon(0 100%, 100% 100%, 100% 100%, 0 100%);
  }
  to {
    opacity: 1;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }
}

.reveal-story .manifeste__quote {
  opacity: 0;
  transform: translateY(1.25rem);
}

.reveal-story.in-view .manifeste__quote {
  animation: revealStoryLine 1s ease-out forwards;
}

.reveal-story.in-view .manifeste__quote:nth-child(1) { animation-delay: 0.1s; }
.reveal-story.in-view .manifeste__quote:nth-child(2) { animation-delay: 0.3s; }
.reveal-story.in-view .manifeste__quote:nth-child(3) { animation-delay: 0.5s; }
.reveal-story.in-view .manifeste__quote:nth-child(4) { animation-delay: 0.7s; }

@keyframes revealStoryLine {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal-image {
  opacity: 0;
  transform: scale(1.05);
}

.reveal-image.in-view {
  animation: revealImage 1.2s ease-out forwards;
}

@keyframes revealImage {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.reveal-fade {
  opacity: 0;
}

.reveal-fade.in-view {
  animation: revealFade 0.9s ease-out forwards;
}

@keyframes revealFade {
  to { opacity: 1; }
}

.reveal-step {
  opacity: 0;
  transform: translateX(-20px);
}

.reveal-step.in-view {
  animation: revealStep 0.9s ease-out forwards;
}

.reveal-step:nth-child(1).in-view { animation-delay: 0s; }
.reveal-step:nth-child(2).in-view { animation-delay: 0.12s; }
.reveal-step:nth-child(3).in-view { animation-delay: 0.24s; }
.reveal-step:nth-child(4).in-view { animation-delay: 0.36s; }

@keyframes revealStep {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  :root {
    --text-3xl: 5rem;
    --text-xl: 2rem;
  }

  .manifeste__grid {
    grid-template-columns: 1fr;
  }

  .manifeste__photo {
    position: relative;
    right: auto;
    top: auto;
    max-width: 400px;
    margin: 2rem auto 0;
    transform: rotate(-1deg);
  }

  .manifeste__visual {
    min-height: auto;
  }

  .gallery:not(.gallery--grid) {
    columns: 2;
  }

  .gallery--grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 240px;
  }

  .gallery--grid .gallery__item--wide {
    grid-column: span 2;
  }

  .univers__grid {
    grid-template-columns: 1fr;
  }

  .preview__grid {
    grid-template-columns: 1fr;
  }

  .coulisses__videos {
    grid-template-columns: 1fr;
    max-width: 400px;
  }

  .page-content__grid {
    grid-template-columns: 1fr;
  }

  .page-content__gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .process__steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .process__step:nth-child(2)::after {
    display: none;
  }

  .about__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --text-3xl: 3.5rem;
    --text-2xl: 2.5rem;
    --nav-height: 64px;
  }

  .gallery:not(.gallery--grid) {
    columns: 1;
  }

  .gallery--grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .gallery--grid .gallery__item--tall,
  .gallery--grid .gallery__item--wide {
    grid-row: span 1;
    grid-column: span 1;
  }

  .page-content__gallery {
    grid-template-columns: 1fr;
  }

  .process__steps {
    grid-template-columns: 1fr;
  }

  .process__step::after {
    display: none !important;
  }

  .process__step {
    border-bottom: 1px solid var(--greige);
    padding: 2rem 0;
  }

  .process__step:last-child {
    border-bottom: none;
  }

  .quote-section__mark {
    font-size: 6rem;
  }

  .quote-section__text p {
    font-size: var(--text-lg);
  }

  .hero__dots {
    bottom: 4rem;
  }

  .hero__dot {
    width: 6px;
    height: 6px;
  }

  .hero__dot--active {
    width: 16px;
  }

  .hero__nav {
    width: 44px;
    height: 44px;
  }

  .hero__nav--prev {
    left: 1rem;
  }

  .hero__nav--next {
    right: 1rem;
  }

  .hero__nav svg {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 480px) {
  .hero__scroll-hint {
    display: none;
  }

  .hero__title {
    font-size: clamp(1.125rem, 3.6vw, 1.65rem);
    letter-spacing: 0.02em;
  }

  .btn-primary {
    width: 100%;
    text-align: center;
  }
}

@media (min-width: 1025px) {
  .gallery:not(.gallery--grid) {
    columns: unset;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
  }

  .gallery:not(.gallery--grid) .gallery__item {
    margin-bottom: 0;
  }

  .gallery:not(.gallery--grid) .gallery__item img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
  }
}

@media (min-width: 1440px) {
  :root {
    --text-3xl: 8rem;
    --container: 1280px;
  }

  .gallery--grid {
    grid-auto-rows: 320px;
  }
}

/* =============================================
   UX GLOBALE
   ============================================= */
button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--gold-dust);
  outline-offset: 4px;
}

video {
  display: block;
}

::selection {
  background: var(--gold-dust);
  color: var(--charcoal);
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--ivory);
}

::-webkit-scrollbar-thumb {
  background: var(--greige);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gold-dust);
}

@media (prefers-reduced-motion: no-preference) {
  .gallery__item {
    animation: galleryFadeIn 0.6s ease-out both;
  }

  .gallery__item:nth-child(1) { animation-delay: 0s; }
  .gallery__item:nth-child(2) { animation-delay: 0.1s; }
  .gallery__item:nth-child(3) { animation-delay: 0.2s; }
  .gallery__item:nth-child(4) { animation-delay: 0.3s; }
  .gallery__item:nth-child(5) { animation-delay: 0.2s; }
  .gallery__item:nth-child(6) { animation-delay: 0.1s; }
  .gallery__item:nth-child(7) { animation-delay: 0s; }
  .gallery__item:nth-child(n+8) { animation-delay: 0.1s; }
}

@keyframes galleryFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* =============================================
   REDUCED MOTION
   ============================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .hero__letter {
    opacity: 1 !important;
  }

  .reveal-lines,
  .reveal-story,
  .reveal-story .manifeste__quote,
  .reveal-image,
  .reveal-fade,
  .reveal-step {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
  }

  .hero__slide {
    transition: none;
  }

  .hero__slide:not(.hero__slide--active) {
    display: none;
  }
}
