/* ═══════════════════════════════════════════════════════════════
   YULLI — landing minimaliste
   DA : retenue monochrome, l'image domine, la couleur est réservée
   au logo (vidéo) et aux accents rose poudré / vert sauge.
   ═══════════════════════════════════════════════════════════════ */

:root {
  --creme: #F2F1EC;
  --papier: #EFECE4;
  --rose: #CFA5A0;
  --sauge: #8AA08B;
  --sauge-deep: #5C7060;
  --ink: #2E332E;
  --ink-soft: #6A716A;
  --hairline: #DDD8CC;
  --grad: linear-gradient(105deg, #CFA5A0, #8AA08B);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Nunito Sans", "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--creme);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--rose); color: #fff; }

a:focus-visible { outline: 2px solid var(--sauge-deep); outline-offset: 4px; }

/* ── Micro-labels ────────────────────────────────────────── */
.eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--sauge-deep);
  margin-bottom: 1.6rem;
}
.eyebrow--light { color: rgba(255, 255, 255, 0.85); }

/* ── Navigation ──────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem clamp(1.4rem, 4vw, 3.2rem);
  transition: background 0.4s, box-shadow 0.4s;
}
.nav.is-scrolled {
  background: rgba(242, 241, 236, 0.85);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--hairline);
}
.nav__brand { display: inline-flex; align-items: center; text-decoration: none; }
.nav__logo { height: 44px; width: auto; display: block; transition: opacity 0.2s; }
.nav__brand:hover .nav__logo { opacity: 0.8; }
.nav__links { display: flex; align-items: center; gap: clamp(1.2rem, 3vw, 2.6rem); }
.nav__links a {
  font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink-soft); text-decoration: none;
  transition: color 0.2s;
}
.nav__links a:hover { color: var(--ink); }
.nav__links a.nav__cta {
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 0.55em 1.3em;
  color: var(--ink);
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.nav__links a.nav__cta:hover { background: var(--sauge-deep); border-color: var(--sauge-deep); color: #fff; }

/* ══════════ HERO — scroll-scrub ══════════ */
.scrub { position: relative; height: 420vh; background: var(--papier); }
.scrub--static { height: 100svh; }

.scrub__stage {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  overflow: hidden;
}
.scrub__canvas { position: absolute; inset: 0; width: 100%; height: 100%; background: var(--papier); }

/* Vidéo du logo — jouée automatiquement sur mobile à la place du scrub */
.scrub__video { display: none; }
.scrub--video .scrub__canvas { display: none; }
.scrub--video .scrub__video {
  display: block;
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: contain;
  background: var(--papier);
}

/* Préloader */
.loader {
  position: absolute; inset: 0; z-index: 10;
  background: var(--papier);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 1.1rem;
  transition: opacity 0.8s ease, visibility 0.8s;
}
.loader.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
.loader__brand {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2.1rem; letter-spacing: 0.1em;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.loader__track {
  width: 140px; height: 2px;
  background: var(--hairline); border-radius: 2px; overflow: hidden;
}
.loader__bar { display: block; height: 100%; width: 0%; background: var(--grad); transition: width 0.25s ease; }
.loader__pct {
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.3em; color: var(--ink-soft);
}

/* Invitation à défiler */
.scrub__cue {
  position: absolute; bottom: 2.4rem; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.7rem;
  transition: opacity 0.4s;
}
.scrub__cue-text {
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--ink-soft);
}
.scrub__cue-line {
  width: 1px; height: 44px;
  background: linear-gradient(to bottom, var(--ink-soft), transparent);
  animation: cueDrop 2s ease-in-out infinite;
  transform-origin: top;
}
@keyframes cueDrop {
  0% { transform: scaleY(0); opacity: 0; }
  35% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; }
}

/* Tagline de fin de scrub */
.scrub__beat {
  position: absolute; left: 0; right: 0;
  bottom: clamp(3rem, 12vh, 7rem);
  text-align: center;
  opacity: 0;
  padding: 0 1.4rem;
}
.scrub__title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.9rem, 4.2vw, 3.4rem);
  font-weight: 500; line-height: 1.2;
  color: var(--ink);
}
.scrub__title em { font-style: italic; color: var(--sauge-deep); }

/* ══════════ STATEMENTS ══════════ */
.statement {
  min-height: 82svh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: clamp(6rem, 14vh, 10rem) clamp(1.4rem, 5vw, 3rem);
}
.statement--tight { min-height: 68svh; }

.statement__title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.5rem, 6.5vw, 5rem);
  font-weight: 500; line-height: 1.14;
  letter-spacing: 0.005em;
  color: var(--ink);
}
.statement__title em { font-style: italic; color: var(--sauge-deep); }

.statement__sub {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: var(--ink-soft);
  margin-top: 1.8rem;
  max-width: 38rem;
}

/* ══════════ PLEIN ÉCRAN (bleed) ══════════ */
.bleed {
  position: relative;
  height: 100svh;
  overflow: hidden;
}
.bleed__img {
  position: absolute; inset: -12% 0;
  width: 100%; height: 124%;
  object-fit: cover;
  filter: grayscale(100%) sepia(8%) contrast(1.02);
  transform: translateY(var(--py, 0));
  will-change: transform;
}
.bleed__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(28, 32, 28, 0.62) 0%, rgba(28, 32, 28, 0.12) 45%, transparent 70%);
}
.bleed__content {
  position: absolute;
  left: clamp(1.4rem, 6vw, 5rem);
  bottom: clamp(2.2rem, 8vh, 5rem);
  max-width: 44rem;
}
.bleed__content .eyebrow { margin-bottom: 1rem; }
.bleed__line {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.7rem, 3.6vw, 3rem);
  font-weight: 500; line-height: 1.22;
  color: #fff;
}

/* ══════════ TRIO ══════════ */
.trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 72rem;
  margin: 0 auto;
  padding: clamp(6rem, 14vh, 10rem) clamp(1.4rem, 4vw, 3rem);
  gap: clamp(2.5rem, 5vw, 4.5rem);
}
.trio__item {
  border-top: 1px solid var(--hairline);
  padding-top: 1.6rem;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: border-color 0.3s;
  cursor: pointer;
}
.trio__item:hover { border-top-color: var(--sauge-deep); }
.trio__item h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.7rem; font-weight: 600;
  margin-bottom: 0.5rem;
}
.trio__item p { font-size: 0.98rem; color: var(--ink-soft); max-width: 30ch; }
.trio__more {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--sauge-deep);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s;
}
.trio__item:hover .trio__more { border-bottom-color: var(--sauge-deep); }

/* ══════════ CONTACT ══════════ */
.contact {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: clamp(6rem, 14vh, 10rem) clamp(1.4rem, 5vw, 3rem);
  gap: 1.6rem;
}

.contact__form {
  width: 100%;
  max-width: 34rem;
  margin-top: 1.6rem;
  text-align: left;
  display: flex; flex-direction: column; gap: 1.9rem;
}
.form__field { display: flex; flex-direction: column; gap: 0.45rem; }
.form__field label {
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink-soft);
}
.form__optional { text-transform: none; letter-spacing: 0.04em; font-weight: 400; }
.form__field input,
.form__field textarea {
  font-family: "Nunito Sans", sans-serif;
  font-size: 1.05rem;
  color: var(--ink);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--hairline);
  padding: 0.55rem 0.1rem;
  transition: border-color 0.25s;
  resize: vertical;
}
.form__field input:hover, .form__field textarea:hover { border-bottom-color: var(--sauge); }
.form__field input:focus, .form__field textarea:focus {
  outline: none;
  border-bottom-color: var(--sauge-deep);
}
.contact__form .contact__btn {
  align-self: center;
  margin-top: 0.6rem;
  background: none; font-family: "Nunito Sans", sans-serif;
}
.form__hint {
  font-size: 0.82rem; color: var(--ink-soft);
  text-align: center; font-style: italic;
}

.contact__socials { display: flex; gap: 1.4rem; margin-top: 1.6rem; }
.social {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px;
  border: 1px solid var(--hairline); border-radius: 50%;
  color: var(--ink-soft);
  transition: color 0.25s, border-color 0.25s, transform 0.25s;
  cursor: pointer;
}
.social svg { width: 21px; height: 21px; }
.social:hover { color: var(--sauge-deep); border-color: var(--sauge-deep); transform: translateY(-2px); }
.contact__btn {
  font-size: 0.9rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  padding: 1.15em 2.4em;
  border: 1px solid var(--ink);
  border-radius: 999px;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
  cursor: pointer;
}
.contact__btn:hover { background: var(--sauge-deep); border-color: var(--sauge-deep); color: #fff; }

/* ══════════ SECTIONS ANNEXES DE L'ACCUEIL ══════════ */
.statement__badge {
  margin-top: 1.6rem;
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--rose-deep, #9C665D);
}

.audiences {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  max-width: 62rem;
  margin: 0 auto;
  padding: clamp(4rem, 10vh, 7rem) clamp(1.4rem, 4vw, 3rem);
}
.audiences__col { border-top: 1px solid var(--hairline); padding-top: 1.6rem; }
.audiences__col h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.6rem; font-weight: 600; margin-bottom: 0.6rem;
}
.audiences__col p { font-size: 0.98rem; color: var(--ink-soft); }

.contact__direct { font-size: 0.95rem; color: var(--ink-soft); }
.contact__direct a { color: var(--sauge-deep); }
.contact__plaquette { font-weight: 700; }

.todo-chip {
  display: inline-block;
  background: #F4E5C8;
  color: #7A5B22;
  font-size: 0.8rem; font-weight: 700;
  padding: 0.15em 0.7em;
  border-radius: 999px;
  white-space: nowrap;
}

/* ══════════ SOUS-PAGES ══════════ */
.page-main {
  max-width: 46rem;
  margin: 0 auto;
  padding: 9rem clamp(1.4rem, 5vw, 3rem) 5rem;
}
.page-main--wide { max-width: 58rem; }
.page-kicker {
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--sauge-deep);
  margin-bottom: 1.2rem;
}
.page-title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 500; line-height: 1.15;
  margin-bottom: 1rem;
}
.page-title em { font-style: italic; color: var(--sauge-deep); }
.page-lead { font-size: 1.1rem; color: var(--ink-soft); margin-bottom: 2.5rem; }

.prose { line-height: 1.75; }
.prose h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.8rem; font-weight: 600;
  margin: 2.6rem 0 0.9rem;
}
.prose h3 { font-size: 1.15rem; margin: 1.8rem 0 0.5rem; }
.prose p, .prose li { color: var(--ink-soft); }
.prose p { margin: 0.8rem 0; max-width: none; }
.prose ul, .prose ol { padding-left: 1.4rem; margin: 0.8rem 0; }
.prose li { margin: 0.35rem 0; }
.prose strong { color: var(--ink); }
.prose a { color: var(--sauge-deep); }
.prose blockquote {
  border-left: 3px solid var(--sauge);
  padding-left: 1.2rem; margin: 1.2rem 0;
  font-style: italic;
}
.prose hr { border: none; border-top: 1px solid var(--hairline); margin: 2.2rem 0; }
.prose table { border-collapse: collapse; width: 100%; font-size: 0.95rem; }
.prose th, .prose td { border: 1px solid var(--hairline); padding: 0.5rem 0.7rem; text-align: left; }
/* Les marqueurs [À COMPLÉTER] des documents légaux ressortent en jaune */
.prose code {
  background: #F4E5C8; color: #7A5B22;
  padding: 0.1em 0.5em; border-radius: 6px;
  font-family: "Nunito Sans", sans-serif; font-size: 0.88em; font-weight: 700;
}

.atelier-meta {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem 2rem;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  padding: 1.6rem 0;
  margin: 2.2rem 0;
}
.atelier-meta div { font-size: 0.95rem; color: var(--ink-soft); }
.atelier-meta strong {
  display: block;
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--sauge-deep);
  margin-bottom: 0.3rem;
}

.page-cta {
  text-align: center;
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--hairline);
}
.page-cta p { color: var(--ink-soft); margin-bottom: 1.4rem; }

.team-page__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin: 2rem 0; }
.team-page__card { border-top: 1px solid var(--hairline); padding-top: 1.4rem; }
.team-page__photo {
  width: 120px; height: 120px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2.2rem; color: #fff;
  margin-bottom: 1.1rem;
}
.team-page__photo--rose { background: linear-gradient(135deg, #D1ACA3, #B98E85); }
.team-page__photo--sauge { background: linear-gradient(135deg, #90A090, #5C7060); }
.team-page__role {
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--rose-deep, #9C665D);
  margin: 0.3rem 0 0.8rem;
}

/* ══════════ FOOTER ══════════ */
.footer {
  padding: 2.6rem clamp(1.4rem, 4vw, 3.2rem) 2rem;
  border-top: 1px solid var(--hairline);
  font-size: 0.85rem; letter-spacing: 0.03em;
  color: var(--ink-soft);
  display: flex; flex-direction: column; gap: 1.4rem;
}
.footer__top {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.4rem; flex-wrap: wrap;
}
.footer__contact { text-align: right; }
.footer__contact p { margin: 0.15rem 0; max-width: none; }
.footer__contact a { color: var(--sauge-deep); }
.footer__legal { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.footer__legal a {
  color: var(--ink-soft); text-decoration: none;
  font-size: 0.8rem; letter-spacing: 0.08em;
  border-bottom: 1px solid transparent;
}
.footer__legal a:hover { color: var(--ink); border-bottom-color: var(--ink); }
.footer__copy { font-size: 0.78rem; }
.footer__logo { height: 38px; width: auto; }

/* ══════════ RÉVÉLATIONS ══════════ */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

/* ══════════ RESPONSIVE ══════════ */
@media (max-width: 820px) {
  .trio { grid-template-columns: 1fr; }
  .trio__item p { max-width: none; }
  .bleed { height: 78svh; }
  .audiences, .team-page__grid, .atelier-meta { grid-template-columns: 1fr; }
  .footer__top { flex-direction: column; align-items: flex-start; }
  .footer__contact { text-align: left; }
}

@media (max-width: 520px) {
  .nav { padding: 0.8rem 1.1rem; }
  .nav__logo { height: 36px; }
  .nav__links { gap: 1rem; }
  .nav__links a { font-size: 0.68rem; letter-spacing: 0.14em; }
}

/* ══════════ ACCESSIBILITÉ ══════════ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .bleed__img { transform: none !important; }
}

@media (max-width: 520px) { .nav__links a { white-space: nowrap; } }
