/* ============================================
   EMELYSS V4 — Homepage Editorial Premium
   ============================================ */

/* === HERO IMMERSIF MONUMENTAL === */
.hero {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8rem var(--gutter) 4rem;
  overflow: hidden;
  background: var(--obsidian);
}

.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  object-fit: cover;
  opacity: 0;
  transition: opacity 3s var(--ease-expo);
}
.hero-video.is-loaded {
  opacity: 0.4;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse at center, rgba(10, 9, 8, 0.3) 0%, rgba(10, 9, 8, 0.7) 60%, rgba(10, 9, 8, 0.95) 100%);
  z-index: 1;
}

.hero-vignette {
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(to bottom, rgba(10, 9, 8, 0.6) 0%, transparent 30%, transparent 70%, rgba(10, 9, 8, 0.9) 100%);
  z-index: 2;
  pointer-events: none;
}

.hero-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: absolute;
  top: 7.5rem;
  left: var(--gutter);
  right: var(--gutter);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--cream-warm);
  opacity: 0;
  animation: fadeUp 1.4s var(--ease-expo) 2.4s forwards;
  z-index: 3;
}
.hero-meta .meta-left,
.hero-meta .meta-right { 
  display: flex; 
  gap: 0.75rem; 
  align-items: center;
}
.hero-meta .dot {
  width: 6px; height: 6px;
  background: var(--champagne);
  border-radius: 50%;
  animation: pulse 3s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  width: 100%;
}

.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--champagne);
  margin-bottom: 5rem;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
}
.hero-eyebrow span {
  display: inline-block;
  transform: translateY(110%);
  animation: heroEyebrow 1.4s var(--ease-expo) 1.5s forwards;
}
@keyframes heroEyebrow { to { transform: translateY(0); } }

/* === EMELYSS MONUMENTAL - PREND TOUTE LA LARGEUR === */
.hero-wordmark {
  font-family: var(--font-display);
  font-size: clamp(4rem, 18vw, 22rem);
  font-weight: 300;
  color: var(--cream);
  line-height: 0.9;
  letter-spacing: 0.02em;
  margin: 0 auto;
  white-space: nowrap;
  display: flex;
  justify-content: center;
  align-items: baseline;
}
.hero-wordmark .char {
  display: inline-block;
  transform: translateY(110%);
  opacity: 0;
  animation: heroCharSlow 2s var(--ease-expo) forwards;
  animation-delay: calc(0.3s + var(--i) * 0.14s);
  text-shadow: 0 4px 60px rgba(10, 9, 8, 0.6);
}
@keyframes heroCharSlow {
  to { transform: translateY(0); opacity: 1; }
}

.hero-divider {
  width: 1px;
  height: 80px;
  background: linear-gradient(to bottom, var(--champagne), transparent);
  margin: 5rem auto 3rem;
  transform: scaleY(0);
  transform-origin: top;
  animation: heroDivider 1.4s var(--ease-expo) 3.2s forwards;
}
@keyframes heroDivider { to { transform: scaleY(1); } }

.hero-baseline {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--champagne);
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeUp 1.4s var(--ease-expo) 3.4s forwards;
}

.hero-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  line-height: 1.3;
  color: var(--cream);
  margin: 0 auto;
  max-width: 24em;
  font-weight: 300;
  opacity: 0;
  animation: fadeUp 1.4s var(--ease-expo) 3.6s forwards;
}
.hero-tagline .gold-text { color: var(--champagne); }

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--cream-warm);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  opacity: 0;
  animation: fadeUp 1.4s 4.4s var(--ease-expo) forwards;
  z-index: 3;
  transition: opacity 0.5s var(--ease-expo);
}
.hero-scroll::after {
  content: '';
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--champagne), transparent);
  animation: scrollLine 3s ease-in-out infinite;
}
.hero-scroll.is-hidden {
  opacity: 0 !important;
  pointer-events: none;
}
@keyframes scrollLine {
  0%, 100% { transform: scaleY(0.2); transform-origin: top; opacity: 0.4; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* === MANIFESTO - SECTION IVOIRE (alternance dramatique) === */
.manifesto {
  padding: var(--section-py) 0;
  background: var(--ivory);
  color: var(--charcoal);
  position: relative;
}

.manifesto-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 8rem;
  align-items: start;
}

.manifesto-label {
  position: sticky;
  top: 10rem;
}

.manifesto-text h2 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5.5vw, 5rem);
  line-height: 1.05;
  letter-spacing: -0.005em;
  font-weight: 300;
  color: var(--charcoal);
}

.manifesto-text h2 .gold-text {
  font-style: italic;
  color: var(--champagne-rich);
}

.manifesto-body {
  margin-top: 4rem;
  font-size: clamp(1rem, 1.1vw, 1.125rem);
  line-height: 1.95;
  color: var(--charcoal);
  opacity: 0.85;
  max-width: 40em;
  font-weight: 300;
}

@media (max-width: 900px) {
  .manifesto-inner { grid-template-columns: 1fr; gap: 3rem; }
  .manifesto-label { position: relative; top: 0; }
}

/* === VALEURS - RETOUR NOIR === */
.values {
  background: var(--obsidian);
  position: relative;
  padding: var(--section-py) 0;
}

.values-header {
  margin-bottom: 7rem;
  display: flex;
  justify-content: space-between;
  align-items: end;
  flex-wrap: wrap;
  gap: 2rem;
}

.values-list {
  border-top: 1px solid var(--line-dark);
}

.value-row {
  display: grid;
  grid-template-columns: 80px 1fr 1.5fr;
  gap: 3rem;
  padding: 3.5rem 0;
  border-bottom: 1px solid var(--line-dark);
  align-items: baseline;
  position: relative;
  transition: padding 0.8s var(--ease-expo);
}
.value-row::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, transparent, var(--carbon) 50%, transparent);
  opacity: 0;
  transition: opacity 0.8s var(--ease-expo);
  z-index: 0;
  margin: 0 -2rem;
}
.value-row:hover::before { opacity: 0.5; }
.value-row > * { position: relative; z-index: 1; }

.value-num {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  color: var(--champagne);
}

.value-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--cream);
  transition: color 0.6s var(--ease-expo);
}
.value-row:hover .value-title { color: var(--champagne); }

.value-desc {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--cream-warm);
  max-width: 35em;
  font-weight: 300;
}

@media (max-width: 900px) {
  .value-row { grid-template-columns: 50px 1fr; gap: 1rem; }
  .value-desc { grid-column: 1 / -1; padding-left: 50px; }
}

/* === HOUSES INTRO - IVOIRE === */
.houses-intro {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--section-py) 0;
  background: var(--ivory);
  color: var(--charcoal);
}

.houses-intro-content {
  max-width: 1100px;
}

.houses-eyebrow {
  display: inline-block;
  margin-bottom: 4rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--champagne-rich);
}

.houses-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 9vw, 8rem);
  line-height: 1;
  letter-spacing: -0.005em;
  font-weight: 300;
  color: var(--charcoal);
}
.houses-title .gold-text {
  font-style: italic;
  color: var(--champagne-rich);
  font-weight: 300;
}

/* === HOUSES - SECTIONS CINÉMA FULL-BLEED === */
.houses-wrapper {
  position: relative;
  background: var(--obsidian);
}

.house {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 0;
  color: var(--cream);
}

.house-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.house-video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  object-fit: cover;
  opacity: 0;
  transition: opacity 2.5s var(--ease-expo);
}
.house-video.is-loaded { opacity: 1; }

.house-image-fallback {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: -1;
}

.house-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, 
    rgba(10, 9, 8, 0.95) 0%, 
    rgba(10, 9, 8, 0.75) 40%, 
    rgba(10, 9, 8, 0.4) 70%, 
    rgba(10, 9, 8, 0.7) 100%);
  z-index: 1;
}

.house.reverse .house-overlay {
  background: linear-gradient(to left, 
    rgba(10, 9, 8, 0.95) 0%, 
    rgba(10, 9, 8, 0.75) 40%, 
    rgba(10, 9, 8, 0.4) 70%, 
    rgba(10, 9, 8, 0.7) 100%);
}

.house-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 6rem var(--gutter);
}

.house-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.house-grid.reverse .house-text { order: 2; }
.house-grid.reverse .house-spacer { order: 1; }

.house-num {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--cream-warm);
  margin-bottom: 2.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  opacity: 0.8;
}
.house-num::before {
  content: '';
  width: 3rem;
  height: 1px;
  background: var(--champagne);
}

.house-logo {
  height: 75px;
  width: auto;
  margin-bottom: 2.5rem;
  filter: drop-shadow(0 4px 30px rgba(0, 0, 0, 0.5));
}
.house-logo-agency { height: 95px; }

.house-logo-text {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 7vw, 6rem);
  font-weight: 300;
  letter-spacing: 0.12em;
  color: var(--cream);
  margin-bottom: 2.5rem;
  line-height: 0.95;
  text-shadow: 0 4px 40px rgba(0, 0, 0, 0.6);
}

.house-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: var(--cream);
  margin-bottom: 2.5rem;
  font-weight: 300;
  line-height: 1.25;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}
.house-tagline .gold-text { color: var(--champagne); }

.house-description {
  font-size: 1.05rem;
  line-height: 1.95;
  color: var(--cream);
  opacity: 0.9;
  margin-bottom: 3rem;
  max-width: 35em;
  font-weight: 300;
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.6);
}

.house-stats {
  display: flex;
  gap: 3rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}
.house-stat {
  position: relative;
  padding-left: 1.5rem;
  border-left: 1px solid var(--champagne);
}
.house-stat-value {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--champagne);
  line-height: 1;
  margin-bottom: 0.4rem;
  font-weight: 400;
}
.house-stat-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--cream-warm);
  opacity: 0.85;
}

@media (max-width: 900px) {
  .house-grid { grid-template-columns: 1fr; gap: 2rem; }
  .house-grid.reverse .house-text { order: 1; }
  .house-grid.reverse .house-spacer { display: none; }
  .house-overlay { background: rgba(10, 9, 8, 0.75) !important; }
}

/* === FOUNDER - IVOIRE === */
.founder {
  padding: var(--section-py) 0;
  background: var(--ivory);
  color: var(--charcoal);
  position: relative;
}

.founder-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 8rem;
  align-items: center;
  margin-top: 6rem;
}

.founder-photo-wrap {
  position: relative;
}
.founder-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--ivory-soft);
}
.founder-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.05);
  transform: scale(1.05);
  transition: transform 10s ease-out;
}
.founder-photo:hover img { transform: scale(1.1); }
.founder-photo-tag {
  position: absolute;
  top: 2rem;
  left: 2rem;
  background: var(--ivory);
  padding: 0.7rem 1.4rem;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--champagne-rich);
  z-index: 2;
  border: 1px solid var(--champagne-rich);
}
.founder-photo-frame {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 1px solid var(--champagne-rich);
  top: 1.5rem;
  left: 1.5rem;
  z-index: -1;
}

.founder-quote {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  line-height: 1.6;
  color: var(--charcoal);
  font-style: italic;
  font-weight: 300;
  margin: 3rem 0 3.5rem;
}
.founder-quote p { margin-bottom: 1.5rem; }

.founder-signature {
  border-top: 1px solid var(--line-light);
  padding-top: 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: end;
  flex-wrap: wrap;
  gap: 1rem;
}
.founder-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--charcoal);
  margin-bottom: 0.5rem;
  font-weight: 400;
}
.founder-role {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--champagne-rich);
}

@media (max-width: 900px) {
  .founder-grid { grid-template-columns: 1fr; gap: 3rem; }
}

/* === CONTACT - NOIR === */
.contact {
  padding: var(--section-py) 0;
  background: var(--obsidian);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.contact-bg-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(10rem, 28vw, 26rem);
  color: var(--carbon);
  font-weight: 300;
  letter-spacing: -0.02em;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
  z-index: 0;
  line-height: 1;
  opacity: 0.4;
}

.contact-content { position: relative; z-index: 2; }

.contact-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 7rem);
  line-height: 1.02;
  font-weight: 300;
  margin: 2.5rem 0;
  max-width: 12em;
  margin-left: auto;
  margin-right: auto;
  color: var(--cream);
}
.contact-title .gold-text {
  font-style: italic;
  color: var(--champagne);
}

.contact-description {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.25rem, 1.6vw, 1.5rem);
  color: var(--cream-warm);
  margin-bottom: 4rem;
  font-weight: 300;
}

/* === FOOTER === */
.footer {
  background: var(--obsidian);
  color: var(--cream);
  padding: 8rem var(--gutter) 2.5rem;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line-dark);
}

.footer-marquee {
  font-family: var(--font-display);
  font-size: clamp(5rem, 16vw, 14rem);
  letter-spacing: 0.12em;
  color: var(--cream);
  text-align: center;
  margin-bottom: 4rem;
  line-height: 1;
  font-weight: 300;
}

.footer-tagline {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--champagne);
  text-align: center;
  margin-bottom: 6rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding: 4rem 0;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--champagne);
  font-weight: 400;
  margin-bottom: 1.75rem;
}
.footer-col p, .footer-col a {
  font-size: 0.85rem;
  line-height: 2;
  color: var(--cream-warm);
  transition: color 0.5s var(--ease-expo);
  display: block;
  font-weight: 300;
}
.footer-col a:hover { color: var(--champagne); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2.5rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--ash);
  flex-wrap: wrap;
  gap: 1rem;
}

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { justify-content: center; text-align: center; }
}
