@font-face { font-family: "Cormorant"; font-weight: 300; font-style: normal; font-display: swap; src: url("../assets/fonts/cg-300.ttf") format("truetype"); }
@font-face { font-family: "Cormorant"; font-weight: 400; font-style: normal; font-display: swap; src: url("../assets/fonts/cg-400.ttf") format("truetype"); }
@font-face { font-family: "Cormorant"; font-weight: 300; font-style: italic; font-display: swap; src: url("../assets/fonts/cg-300i.ttf") format("truetype"); }

:root {
  --noir: #000000;
  --noir2: #060606;
  --emeraude: #12b886;
  --ivoire: #ece6da;
  --gris: #8b9490;
  --trait: rgba(236,230,218,.14);
  --serif: "Cormorant", "Iowan Old Style", Palatino, Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --marge: clamp(22px, 5.5vw, 88px);
  --ease: cubic-bezier(.16, 1, .3, 1);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { font-family: var(--sans); color: var(--ivoire); background: var(--noir); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--emeraude); outline-offset: 4px; }
.skip { position: absolute; left: -999px; top: 0; background: #fff; color: #000; padding: 10px 14px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }

/* Rideau : tout le site (nav, texte, boutons, vidéo) se construit dessous, invisible, pendant
   que la première vidéo se stabilise ; un seul fondu global le révèle une fois prêt, plutôt que
   chaque élément qui apparaît à son propre rythme. */
.rideau { position: fixed; inset: 0; z-index: 90; background: var(--noir); opacity: 1; pointer-events: none; transition: opacity 1.2s var(--ease); }
.rideau.leve { opacity: 0; }

/* Hero */
.hero { position: relative; height: 100svh; min-height: 560px; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; background: var(--noir); }
.hero-poster, .hero-poster img, .hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-poster { transition: opacity 1.2s var(--ease); }
.hero-video { opacity: 0; transition: opacity 1.1s var(--ease); }
.video-hero .hero-video.actif { opacity: 1; }
.video-hero .hero-poster { opacity: 0; }
.voile { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(7,7,7,.45) 0%, rgba(7,7,7,0) 45%), linear-gradient(to bottom, rgba(7,7,7,.5) 0%, rgba(7,7,7,0) 24%, rgba(7,7,7,0) 70%, rgba(7,7,7,.9) 100%); }
.mention-ia { position: absolute; left: var(--marge); bottom: 18px; z-index: 3; margin: 0; font-size: 11px; letter-spacing: .02em; color: var(--gris); }

.nav { position: relative; z-index: 3; display: flex; justify-content: space-between; align-items: center; padding: 32px var(--marge) 0; }
.logo { font-family: var(--serif); font-size: 1.5rem; letter-spacing: .32em; text-transform: uppercase; text-decoration: none; font-weight: 400; }
.nav ul { display: flex; gap: clamp(18px, 3.2vw, 46px); list-style: none; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; }
.nav ul a { text-decoration: none; color: var(--ivoire); opacity: .8; position: relative; padding-bottom: 4px; transition: opacity .4s; }
.nav ul a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: var(--emeraude); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.nav ul a:hover { opacity: 1; }
.nav ul a:hover::after { transform: scaleX(1); }

.hero-texte { position: relative; z-index: 3; padding: 0 var(--marge) clamp(56px, 11vh, 120px); max-width: 1100px; }
.kicker { font-size: .74rem; letter-spacing: .3em; text-transform: uppercase; color: var(--emeraude); margin-bottom: 22px; }
h1 { font-family: var(--serif); font-weight: 300; font-size: clamp(2.6rem, 6.4vw, 6.2rem); line-height: .98; letter-spacing: -.02em; margin-bottom: 40px; }
h1 em { font-style: italic; color: var(--emeraude); }
.ligne { display: block; overflow: hidden; padding-bottom: .08em; }
.ligne > span { display: block; transform: translateY(110%); transition: transform 1.5s var(--ease); }
.pret .ligne > span { transform: none; }
.ligne:nth-child(2) > span { transition-delay: .14s; }

[hidden] { display: none !important; }
.cta { display: inline-block; text-decoration: none; font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; padding: 17px 34px; border: 1px solid rgba(236,230,218,.4); position: relative; overflow: hidden; isolation: isolate; transition: color .5s var(--ease), border-color .5s; }
.cta::before { content: ""; position: absolute; inset: 0; background: var(--emeraude); transform: translateY(101%); transition: transform .6s var(--ease); z-index: -1; }
.cta:hover { color: var(--noir); border-color: var(--emeraude); }
.cta:hover::before { transform: none; }
.cta small { font-size: .9em; opacity: .6; letter-spacing: .05em; text-transform: none; }

.hero-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }

#hero-pause { background: none; border: 1px solid var(--trait); color: var(--ivoire); font-family: var(--sans); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; padding: 10px 18px; cursor: pointer; transition: border-color .4s, opacity .4s; opacity: .8; }
#hero-pause:hover { opacity: 1; border-color: var(--emeraude); }

.defile { position: absolute; z-index: 3; right: var(--marge); bottom: clamp(56px, 11vh, 120px); width: 1px; height: 84px; background: var(--trait); overflow: hidden; }
.defile span { position: absolute; left: 0; top: 0; width: 1px; height: 40%; background: var(--emeraude); animation: descend 2.4s var(--ease) infinite; }
@keyframes descend { 0% { transform: translateY(-100%); } 100% { transform: translateY(260%); } }

/* Sections */
.bloc { padding: clamp(120px, 16vw, 240px) var(--marge); max-width: 1240px; margin: 0 auto; }
.bloc-large { max-width: 1500px; }
.bloc-statement { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; }
.bloc-media { max-width: 1680px; padding-inline: clamp(16px, 3vw, 56px); }
.etiquette { font-size: .72rem; letter-spacing: .3em; text-transform: uppercase; color: var(--emeraude); margin-bottom: 28px; }
.phrase { font-family: var(--serif); font-weight: 300; font-size: clamp(1.9rem, 4.4vw, 3.6rem); line-height: 1.16; max-width: 26ch; }
h2 { font-family: var(--serif); font-weight: 300; font-size: clamp(2.4rem, 6vw, 5rem); line-height: 1; margin-bottom: clamp(40px, 6vw, 80px); }
h2 em { font-style: italic; color: var(--emeraude); }
.micro { font-size: .68rem; letter-spacing: .28em; text-transform: uppercase; color: var(--emeraude); margin-top: 26px; margin-bottom: 8px; opacity: .9; }

.lecteur { position: relative; aspect-ratio: 16 / 9; border: 1px solid rgba(18,184,134,.32); background: var(--noir2); overflow: hidden; box-shadow: 0 40px 100px -30px rgba(0,0,0,.7), 0 0 70px -15px rgba(18,184,134,.18); }
.lecteur video { width: 100%; height: 100%; object-fit: cover; display: block; }
.lecteur.rv { transform: scale(1.045); }
.lecteur.rv.vu { transform: none; }
.legende { margin-top: 18px; font-size: .8rem; color: rgba(236,230,218,.68); max-width: 70ch; }
.micro + .legende { margin-top: 2px; }

.pied { border-top: 1px solid var(--trait); position: relative; padding: clamp(56px, 8vw, 88px) var(--marge); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }
.pied::before { content: ""; position: absolute; top: -1px; left: var(--marge); width: 64px; height: 1px; background: var(--emeraude); }
.pied p { max-width: 70ch; font-size: .8rem; color: rgba(236,230,218,.68); }
.pied-marque { font-family: var(--serif); font-size: .72rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gris); white-space: nowrap; }

/* Apparition au défilement : chaque famille d'élément a son propre grain, pas un fade unique répété */
.rv { opacity: 0; transform: translateY(38px); transition: opacity 1.4s var(--ease), transform 1.6s var(--ease); transition-delay: var(--d, 0s); }
.rv.vu { opacity: 1; transform: none; }
h2.rv { transform: translateY(34px) scale(.97); transform-origin: left center; }
.etiquette.rv { transform: none; clip-path: inset(0 55% 0 0); transition: opacity 1.2s var(--ease), clip-path 1.1s var(--ease); }
.etiquette.rv.vu { clip-path: inset(0 0 0 0); }

@media (max-width: 900px) { .defile { display: none; } .voile { background: linear-gradient(to bottom, rgba(7,7,7,.5) 0%, rgba(7,7,7,0) 26%, rgba(7,7,7,.05) 45%, rgba(7,7,7,.92) 100%); } }
@media (max-width: 560px) { .nav { padding-top: 40px; } .nav ul { gap: 12px; font-size: .6rem; letter-spacing: .1em; } .logo { font-size: 1rem; letter-spacing: .16em; } }
@media (prefers-reduced-motion: reduce) {
  .defile span { animation: none; }
  .rv, .ligne > span, .hero-video, .hero-poster, .rideau, .etiquette.rv { transition: none; }
  .rv, h2.rv, .etiquette.rv { opacity: 1; transform: none; clip-path: none; }
  .ligne > span { transform: none; }
}
