/* ============================================================
   MULTIPLE DE SOI — Design éditorial · Feuille partagée
   ============================================================ */

:root {
  --rouge: #d95562;
  --rouge-fonce: #d95562;
  --rouge-tres-fonce: #aa2734;
  --anthracite: #696969;
  --anthracite-doux: #7a7a7a;
  --texte: #4a4a4a;
  --gris: #8a8a8a;
  --gris-clair: #d8d4ce;
  --gris-tres-clair: #ebe7e0;
  --ivoire: #faf7f2;
  --ivoire-fonce: #f1ede5;
  --blanc: #ffffff;
}

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

::selection { background: var(--rouge); color: white; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--ivoire);
  color: var(--texte);
  line-height: 1.6;
  font-weight: 300;
  font-size: 16px;
  overflow-x: hidden;
}

/* Grain subtil sur tout le site */
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-image:
    url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1000;
  opacity: 0.5;
  mix-blend-mode: multiply;
}

/* ============================================================
   TYPOGRAPHIE
   ============================================================ */
h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
  color: var(--anthracite);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.05;
}

.display {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-style: italic;
  letter-spacing: -0.02em;
}

.eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  color: var(--rouge-fonce);
  font-weight: 500;
}

.eyebrow.dark { color: var(--anthracite); }
.eyebrow.light { color: rgba(255,255,255,0.7); }

/* Effet "split" sur le mot italique */
.italic-accent {
  font-style: italic;
  font-weight: 300;
  color: var(--rouge-fonce);
}

/* ============================================================
   NAVIGATION
   ============================================================ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: rgba(250, 247, 242, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  z-index: 100;
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(26,26,26,0.06);
  transition: all 0.4s ease;
}

nav.scrolled {
  padding: 0.6rem 0;
  background: rgba(250, 247, 242, 0.95);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: opacity 0.3s;
}

.nav-logo:hover { opacity: 0.75; }

.nav-logo img {
  height: 95px;
  width: auto;
  display: block;
  transition: height 0.4s ease;
}

nav.scrolled .nav-logo img {
  height: 72px;
}

@media (max-width: 900px) {
  .nav-logo img { height: 68px; }
  nav.scrolled .nav-logo img { height: 56px; }
}

.nav-links {
  display: flex;
  gap: 3rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  color: var(--texte);
  text-decoration: none;
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-weight: 500;
  transition: color 0.3s;
  position: relative;
  padding: 0.5rem 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--rouge-fonce);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s cubic-bezier(0.65, 0, 0.35, 1);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--rouge-fonce);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta {
  background: var(--anthracite);
  color: white !important;
  padding: 0.7rem 1.5rem !important;
  letter-spacing: 0.2em !important;
  transition: background 0.3s, transform 0.3s !important;
}

.nav-cta:hover {
  background: var(--rouge-fonce);
  transform: translateY(-2px);
}

.nav-cta::after { display: none !important; }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 32px;
  height: 32px;
  position: relative;
}

.menu-toggle span {
  position: absolute;
  left: 4px;
  width: 24px;
  height: 1px;
  background: var(--anthracite);
  transition: all 0.3s;
}

.menu-toggle span:nth-child(1) { top: 12px; }
.menu-toggle span:nth-child(2) { top: 20px; }

.menu-toggle.open span:nth-child(1) { top: 16px; transform: rotate(45deg); }
.menu-toggle.open span:nth-child(2) { top: 16px; transform: rotate(-45deg); }

/* ============================================================
   BOUTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1.1rem 2.2rem;
  background: var(--anthracite);
  color: white;
  text-decoration: none;
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.65, 0, 0.35, 1);
  font-family: inherit;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--rouge-fonce);
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.65, 0, 0.35, 1);
  z-index: 0;
}

.btn:hover::before {
  transform: translateY(0);
}

.btn span,
.btn .arrow {
  position: relative;
  z-index: 1;
}

.btn .arrow {
  transition: transform 0.4s;
}

.btn:hover .arrow {
  transform: translateX(5px);
}

.btn-outline {
  background: transparent;
  color: var(--anthracite);
  border: 1px solid var(--anthracite);
}

.btn-outline::before { background: var(--anthracite); }
.btn-outline:hover { color: white; border-color: var(--anthracite); }

.btn-rouge {
  background: var(--rouge-fonce);
}

.btn-rouge::before { background: var(--anthracite); }

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  color: var(--anthracite);
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-weight: 500;
  position: relative;
  padding-bottom: 0.5rem;
  transition: color 0.3s;
}

.btn-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--anthracite);
  transition: width 0.4s;
}

.btn-link:hover { color: var(--rouge-fonce); }
.btn-link:hover::after { background: var(--rouge-fonce); width: 70%; }

.btn-link .arrow { transition: transform 0.3s; }
.btn-link:hover .arrow { transform: translateX(5px); }

/* ============================================================
   SECTIONS / CONTENEURS
   ============================================================ */
section {
  padding: 8rem 3rem;
  position: relative;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
}

.container-narrow {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
}

/* Label vertical éditorial */
.vertical-label {
  position: absolute;
  left: 1.5rem;
  top: 50%;
  transform: rotate(-90deg) translateX(50%);
  transform-origin: left center;
  font-size: 0.65rem;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--gris);
  font-weight: 500;
  white-space: nowrap;
}

/* ============================================================
   HERO PAGE
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 8rem 3rem 4rem;
}

.hero-bg-number {
  position: absolute;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(30rem, 60vw, 60rem);
  color: var(--rouge);
  opacity: 0.04;
  line-height: 0.8;
  z-index: 0;
  pointer-events: none;
  user-select: none;
  right: -8%;
  top: 50%;
  transform: translateY(-50%);
  letter-spacing: -0.05em;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.hero h1 {
  font-size: clamp(3.5rem, 9vw, 8rem);
  margin-bottom: 2rem;
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.hero-subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  color: var(--gris);
  margin-bottom: 3rem;
  max-width: 650px;
  font-weight: 300;
  line-height: 1.4;
}

.hero-actions {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  align-items: center;
}

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.65rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gris);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.hero-scroll::after {
  content: '';
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--gris) 50%, transparent 50%);
  background-size: 100% 8px;
  animation: scrollLine 1.8s linear infinite;
}

@keyframes scrollLine {
  0% { background-position: 0 -50px; }
  100% { background-position: 0 50px; }
}

/* ============================================================
   MARQUEE (bande défilante)
   ============================================================ */
.marquee {
  background: var(--anthracite);
  color: white;
  padding: 1.8rem 0;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.marquee-track {
  display: flex;
  gap: 4rem;
  white-space: nowrap;
  animation: marquee 35s linear infinite;
  width: max-content;
}

.marquee-item {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.8rem;
  font-weight: 300;
  display: flex;
  align-items: center;
  gap: 4rem;
  letter-spacing: 0.01em;
}

.marquee-item::after {
  content: '✦';
  color: var(--rouge);
  font-style: normal;
  font-size: 1rem;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================================
   SECTION HEADER ÉDITORIAL
   ============================================================ */
.section-header {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 4rem;
  align-items: start;
  margin-bottom: 5rem;
}

.section-header-meta {
  border-top: 1px solid var(--anthracite);
  padding-top: 1.2rem;
}

.section-header-meta .num {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.5rem;
  color: var(--rouge-fonce);
  margin-bottom: 0.3rem;
}

.section-header-meta .label {
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gris);
}

.section-header-title h2 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 1;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--anthracite);
  color: rgba(255,255,255,0.6);
  padding: 6rem 3rem 2rem;
  position: relative;
  overflow: hidden;
}

.footer-top {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand h3 {
  color: white;
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 1rem;
  font-weight: 300;
  line-height: 1;
}

.footer-brand h3 span {
  font-style: italic;
  color: var(--rouge);
}

.footer-brand p {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.2rem;
  color: rgba(255,255,255,0.6);
  max-width: 400px;
}

.footer-col h4 {
  color: white;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.footer-col ul { list-style: none; }

.footer-col li { margin-bottom: 0.7rem; }

.footer-col a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s;
}

.footer-col a:hover { color: var(--rouge); }

.footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s cubic-bezier(0.65, 0, 0.35, 1),
              transform 1s cubic-bezier(0.65, 0, 0.35, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Reveal text par lignes */
.split-line {
  display: block;
  overflow: hidden;
}

.split-line span {
  display: inline-block;
  transform: translateY(100%);
  transition: transform 1s cubic-bezier(0.65, 0, 0.35, 1);
}

.split-line.visible span {
  transform: translateY(0);
}

/* Lignes de séparation animées */
.line-grow {
  height: 1px;
  background: var(--anthracite);
  width: 0;
  transition: width 1.2s cubic-bezier(0.65, 0, 0.35, 1);
}

.line-grow.visible { width: 100%; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  section { padding: 5rem 1.5rem; }
  .nav-container { padding: 0 1.5rem; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--ivoire);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    border-bottom: 1px solid var(--gris-clair);
    box-shadow: 0 20px 40px rgba(0,0,0,0.06);
  }
  .nav-links.active { display: flex; }
  .menu-toggle { display: block; }

  .hero { padding: 7rem 1.5rem 4rem; min-height: 90vh; }
  .hero-scroll { display: none; }

  .section-header {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .footer-bottom { flex-direction: column; text-align: center; }
}
