/* =========================================================
   MODINLUX — Feuille de style principale
   Direction artistique : minimaliste, blanc cassé, N&B, épuré
   HTML/CSS/JS statique · mobile-first · sans framework
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  --bg:      #FAFAF8;
  --bg-alt:  #F3F2ED;
  --ink:     #141412;
  --ink-soft:rgba(20,20,18,0.68);
  --muted:   rgba(20,20,18,0.48);
  --line:    rgba(20,20,18,0.12);
  --line-2:  rgba(20,20,18,0.08);

  --dark:       #0D0D0C;
  --dark-2:     #171715;
  --dark-ink:   #FAFAF8;
  --dark-muted: rgba(250,250,248,0.56);
  --dark-line:  rgba(250,250,248,0.14);

  --accent: #8C7B5C;
  --accent-light: #C9BA9A;

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans:  "Plus Jakarta Sans", system-ui, -apple-system, Segoe UI, sans-serif;

  /* Police éditoriale des grands titres "Agency" / "Management" et du bandeau de transition.
     Choix par défaut : Bodoni Moda (validé par la cliente, esprit Didot/Bodoni).
     Basculée en Cormorant Garamond / Playfair Display via [data-font] pour comparatif. */
  --serif-editorial: "Bodoni Moda", Didot, "Bodoni MT", Georgia, serif;

  --wrap: 1240px;
  --pad: clamp(1.25rem, 5vw, 2rem);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

[data-font="cormorant"] { --serif-editorial: "Cormorant Garamond", Georgia, serif; }
[data-font="playfair"]  { --serif-editorial: "Playfair Display", Georgia, serif; }

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  font-weight: 400;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: subpixel-antialiased;
  -moz-osx-font-smoothing: auto;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; }
input, select, textarea { font: inherit; color: inherit; }
ul, ol { list-style: none; padding: 0; }

::selection { background: rgba(140,123,92,0.22); }
::-webkit-scrollbar { width: 9px; }
::-webkit-scrollbar-thumb { background: #D8D5CB; border-radius: 999px; }
::-webkit-scrollbar-track { background: var(--bg-alt); }

/* ---------- Utilitaires ---------- */
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); width: 100%; }
.wrap--narrow { max-width: 860px; }
.ico { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; flex: none; }

.display {
  font-family: var(--serif);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.015em;
}
.eyebrow {
  font-size: 0.6875rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--muted);
}
.rule { display: block; width: 2.5rem; height: 1px; background: var(--line); margin: 1.25rem auto; }

.skip-link {
  position: fixed; top: 0; left: 50%; transform: translate(-50%, -120%);
  z-index: 200; background: var(--ink); color: var(--bg);
  padding: 0.65rem 1.25rem; border-radius: 0 0 10px 10px; font-size: 0.85rem;
  transition: transform 0.3s var(--ease);
}
.skip-link:focus { transform: translate(-50%, 0); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 3px; }

.link-underline { position: relative; display: inline-flex; align-items: center; gap: 0.4rem; }
.link-underline::after {
  content: ""; position: absolute; left: 0; bottom: -3px; height: 1px; width: 0;
  background: currentColor; transition: width 0.5s var(--ease);
}
.link-underline:hover::after { width: 100%; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.85rem;
  border-radius: 999px; font-weight: 500; font-size: 0.9rem;
  letter-spacing: 0.01em;
  transition: transform 0.35s var(--ease), background 0.4s ease, color 0.4s ease;
}
.btn:active { transform: scale(0.97); }
.btn--ink { background: var(--ink); color: var(--bg); padding: 0.7rem 0.7rem 0.7rem 1.6rem; }
.btn--ink:hover { background: var(--accent); }
.btn__ico {
  width: 2.1rem; height: 2.1rem; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(250,250,248,0.14);
}

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0; transform: translateY(22px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: 0.08s; }
.reveal[data-d="2"] { transition-delay: 0.16s; }
.reveal[data-d="3"] { transition-delay: 0.24s; }
.reveal[data-d="4"] { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* ---------- Sections ---------- */
.section { position: relative; padding-block: clamp(4rem, 10vw, 7.5rem); background: var(--bg); }
.section--alt { background: var(--bg-alt); }

.section-head { max-width: 40rem; margin-bottom: clamp(2.5rem, 6vw, 3.5rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-title { font-size: clamp(2.25rem, 6vw, 3.75rem); color: var(--ink); margin-top: 0.5rem; letter-spacing: -0.01em; }
.section-subtitle { color: var(--ink-soft); font-size: 1.05rem; margin-top: 0.75rem; letter-spacing: 0.01em; }

/* Titres éditoriaux "Agency" / "Management" + bandeau de transition : police à part,
   scope volontairement restreint (ne touche pas les autres usages de .section-title). */
.title-editorial { font-family: var(--serif-editorial); }
h2.section-title.title-editorial { font-weight: 400; letter-spacing: 0; }

.section-body { max-width: 42rem; display: flex; flex-direction: column; gap: 1.1rem; }
.section-body p { color: var(--ink-soft); font-size: 1.05rem; line-height: 1.75; }
.section-body--narrow { max-width: 32rem; gap: 1.4rem; }

/* Phrase-signature éditoriale d'une section (ex. Management) : traitée comme un vrai
   titre, pas comme du corps de texte — grand, aéré, dans la police éditoriale des titres. */
.section-signature {
  font-style: italic; font-weight: 400;
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  color: var(--ink);
  line-height: 1.25;
  max-width: 30rem;
  margin: clamp(1.5rem, 4vw, 2rem) 0 clamp(2.5rem, 6vw, 3.5rem);
}
.section-body--narrow p { font-size: 1rem; line-height: 1.8; }

.pledge {
  font-family: var(--serif); font-weight: 400; font-style: italic;
  font-size: clamp(1.1rem, 2.4vw, 1.4rem); color: var(--ink);
  line-height: 1.55; max-width: 30rem;
  margin-top: clamp(2rem, 5vw, 2.75rem);
  padding-left: 1.25rem; border-left: 2px solid var(--accent);
}

.statement {
  font-family: var(--serif); font-weight: 400; font-style: italic;
  font-size: clamp(1.15rem, 2.6vw, 1.5rem); color: var(--ink);
  margin-top: clamp(2.25rem, 5vw, 3.25rem); line-height: 1.45; max-width: 30rem;
}

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: fixed; top: 0; inset-inline: 0; z-index: 80;
  background: rgba(250,250,248,0.88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.5s ease;
}
.nav.scrolled { border-color: var(--line); }
.nav__inner {
  max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad);
  height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.nav__logo { display: inline-flex; align-items: center; flex: 0 0 auto; }
.nav__logo-img { display: block; width: auto; height: 36px; }
@media (max-width: 480px) { .nav__logo-img { height: 30px; } }
.nav__links { display: none; align-items: center; gap: 2.25rem; margin-inline: auto; }
.nav__link { color: var(--ink-soft); font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; }
.nav__lang { display: none; align-items: center; gap: 0.4rem; font-size: 0.75rem; letter-spacing: 0.1em; color: var(--muted); }
.nav__lang-active { color: var(--ink); font-weight: 600; }
.nav__lang-soon { opacity: 0.45; cursor: default; }
.nav__burger { color: var(--ink); width: 2.4rem; height: 2.4rem; display: inline-flex; align-items: center; justify-content: center; }
.nav__burger .ico { width: 1.4rem; height: 1.4rem; }
@media (min-width: 1024px) {
  .nav__links { display: flex; }
  .nav__lang { display: flex; }
  .nav__burger { display: none; }
}

/* Menu mobile */
.menu {
  position: fixed; inset: 0; z-index: 95;
  background: var(--dark);
  color: var(--dark-ink);
  opacity: 0; visibility: hidden;
  transition: opacity 0.6s var(--ease), visibility 0.6s var(--ease);
  display: flex; flex-direction: column;
  pointer-events: none;
}
.menu.open { opacity: 1; visibility: visible; pointer-events: auto; }
.menu__head { display: flex; align-items: center; justify-content: space-between; padding: 0 var(--pad); height: 68px; }
.menu__close { width: 2.4rem; height: 2.4rem; display: inline-flex; align-items: center; justify-content: center; }
.menu__close .ico { width: 1.4rem; height: 1.4rem; }
.menu__nav { display: flex; flex-direction: column; gap: 1.4rem; padding: 2.25rem var(--pad) 0; }
.menu__nav a { font-family: var(--serif); font-weight: 300; font-size: clamp(1.9rem, 9vw, 2.4rem); }
.menu__foot {
  margin-top: auto; padding: 2rem var(--pad);
  display: flex; justify-content: space-between; color: var(--dark-muted); font-size: 0.75rem;
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  height: clamp(420px, 62vh, 780px);
  display: grid; place-items: center;
  overflow: hidden; background: var(--dark);
}
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; filter: grayscale(1) contrast(1.02); }
.hero__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,10,9,0.4) 0%, rgba(10,10,9,0.14) 32%, rgba(10,10,9,0.22) 62%, rgba(10,10,9,0.6) 100%);
}
.hero__content { position: relative; text-align: center; padding: 4.5rem var(--pad) 2.5rem; color: var(--dark-ink); }
.hero__brand {
  font-family: var(--serif); font-weight: 300; letter-spacing: 0.04em;
  font-size: clamp(2.25rem, 7.5vw, 3.75rem); line-height: 1;
}
.hero__brand-sub {
  display: block; font-family: var(--sans); font-weight: 500;
  font-size: clamp(0.65rem, 1.4vw, 0.78rem); letter-spacing: 0.32em; text-transform: uppercase;
  margin-top: 0.75rem; color: rgba(250,250,248,0.82);
}
.hero__tagline { margin-top: clamp(1.1rem, 3vw, 1.6rem); font-size: clamp(0.95rem, 1.8vw, 1.1rem); letter-spacing: 0.02em; }
.hero__meta { margin-top: 0.55rem; font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(250,250,248,0.6); }

/* =========================================================
   AGENCY / MANAGEMENT — accès & CTA
   ========================================================= */
.access-grid {
  display: grid; gap: 1px; margin-top: clamp(2.5rem, 6vw, 3.5rem);
  background: var(--line); max-width: 48rem; border: 1px solid var(--line);
  border-top: 1px solid var(--line);
}
@media (min-width: 640px) { .access-grid { grid-template-columns: 1fr 1fr; } }
.access-card { background: var(--bg); padding: clamp(1.75rem, 4vw, 2.25rem); }
.access-card__q { font-family: var(--serif); font-size: 1.15rem; color: var(--ink); max-width: 18ch; }
.access-card__cta { margin-top: 1.25rem; font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink); font-weight: 500; }
.access-card__cta .ico { width: 0.95rem; height: 0.95rem; }

/* =========================================================
   BANDE SOMBRE
   ========================================================= */
.band-dark {
  background: var(--dark); color: var(--dark-ink);
  padding-block: clamp(2rem, 4.5vw, 2.75rem);
}
.band-dark__text {
  text-align: center; font-family: var(--serif); font-weight: 300; font-style: normal;
  text-transform: uppercase;
  font-size: clamp(0.8rem, 1.8vw, 1rem); letter-spacing: 0.38em;
  max-width: 34rem; margin-inline: auto; padding-inline: var(--pad);
  color: rgba(250,250,248,0.88);
}

/* =========================================================
   ÉQUIPE
   ========================================================= */
.founder { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 780px) { .founder { grid-template-columns: 260px 1fr; gap: 3.5rem; align-items: center; } }

.founder__portrait {
  width: 100%; max-width: 260px; aspect-ratio: 3/4; margin-inline: auto;
  background: linear-gradient(160deg, #EDECE5, #E1DFD5);
  border-radius: 0.5rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 30px 60px -20px rgba(20,20,18,0.28), 0 10px 24px -12px rgba(20,20,18,0.18);
  position: relative;
  overflow: hidden;
}
.founder__portrait img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%;
  filter: grayscale(1) contrast(1.03);
}
.founder__portrait-ico { width: 3.5rem; height: 3.5rem; color: rgba(20,20,18,0.22); }
.founder__name { font-family: var(--serif); font-weight: 400; font-size: 1.9rem; color: var(--ink); }
.founder__role { color: var(--muted); font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; margin-top: 0.4rem; }
.founder__quote {
  margin-top: 1.5rem; font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: clamp(1.05rem, 2.2vw, 1.25rem); line-height: 1.6; color: var(--ink-soft);
  max-width: 34rem; padding-left: 1.25rem; border-left: 2px solid var(--line);
}

.team { margin-top: clamp(3.5rem, 8vw, 5.5rem); }
.team__label { text-align: center; }
.team__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.75rem; max-width: 32rem; margin: 2rem auto 0; }
.team__grid--single { grid-template-columns: 1fr; max-width: 17.25rem; margin-top: 2.75rem; }
.team__portrait {
  aspect-ratio: 1; border-radius: 0.5rem;
  background: linear-gradient(160deg, #EDECE5, #E1DFD5);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 20px 40px -18px rgba(20,20,18,0.24);
  overflow: hidden;
}
.team__portrait--wide { aspect-ratio: 4/3; }
.team__portrait img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.03); }
.team__portrait-ico { width: 2.25rem; height: 2.25rem; color: rgba(20,20,18,0.22); }
.team__name { font-family: var(--serif); font-size: 1.1rem; color: var(--ink); margin-top: 1rem; text-align: center; }
.team__role { color: var(--muted); font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; margin-top: 0.25rem; text-align: center; }

/* =========================================================
   BANDE RÉCAP (Talents / Opportunités / Carrières)
   ========================================================= */
.band-recap { background: var(--dark); color: var(--dark-ink); }
.band-recap__grid { display: grid; }
@media (min-width: 780px) { .band-recap__grid { grid-template-columns: repeat(3, 1fr); } }
.band-recap__col {
  padding: clamp(2rem, 4.5vw, 2.75rem) var(--pad);
  border-top: 1px solid var(--dark-line);
  text-align: center;
}
@media (min-width: 780px) {
  .band-recap__col { border-top: 0; border-left: 1px solid var(--dark-line); }
  .band-recap__col:first-child { border-left: 0; }
}
.band-recap__title {
  font-family: var(--sans); font-weight: 600; text-transform: uppercase;
  font-size: 0.85rem; letter-spacing: 0.28em; color: var(--accent-light);
}
.band-recap__q { margin-top: 1.1rem; font-family: var(--serif); font-weight: 300; font-size: clamp(1.15rem, 2.6vw, 1.4rem); color: rgba(250,250,248,0.92); max-width: 22ch; margin-inline: auto; line-height: 1.35; }
.band-recap__sub { margin-top: 0.85rem; font-size: 0.75rem; letter-spacing: 0.05em; color: var(--dark-muted); line-height: 1.6; }
.band-recap__link { display: inline-flex; margin-top: 1.5rem; font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dark-ink); }

/* =========================================================
   CANDIDATURE
   ========================================================= */
.candidature-card {
  text-align: center;
  border: 1px solid var(--line); border-radius: 1.25rem;
  padding: clamp(2.5rem, 6vw, 3.75rem) clamp(1.5rem, 6vw, 3.5rem);
  background: var(--bg-alt);
}
.candidature-card__cta { margin-inline: auto; }
.candidature-card__req {
  margin-top: clamp(2.25rem, 5vw, 3rem);
  font-size: 1rem; color: var(--ink); line-height: 1.85;
  max-width: 32rem; margin-inline: auto;
}
.candidature-card__note {
  margin-top: 1.1rem; font-size: 0.8rem; color: var(--ink-soft); line-height: 1.65;
  max-width: 36rem; margin-inline: auto;
}
.candidature-card__warn {
  margin-top: 1.5rem; font-size: 0.75rem; letter-spacing: 0.03em; color: var(--muted);
  font-style: italic; font-family: var(--serif);
}

/* =========================================================
   FAQ
   ========================================================= */
.faq-list { display: flex; flex-direction: column; }
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item__q {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.35rem 0.25rem; font-family: var(--serif); font-size: 1.05rem; color: var(--ink);
}
.faq-item__q::-webkit-details-marker { display: none; }
.faq-item__ico { color: var(--muted); transition: transform 0.35s var(--ease); }
.faq-item[open] .faq-item__ico { transform: rotate(45deg); }
.faq-item__a { padding: 0 0.25rem 1.5rem; color: var(--ink-soft); font-size: 0.95rem; line-height: 1.7; max-width: 44rem; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { position: relative; background: var(--dark); color: var(--dark-ink); padding-block: 5rem 2.25rem; }
.footer__top { display: grid; gap: 2.5rem; padding-bottom: 3.5rem; border-bottom: 1px solid var(--dark-line); }
@media (min-width: 768px) { .footer__top { grid-template-columns: 1.4fr 1fr 1fr auto; gap: 2.5rem; align-items: start; } }
.footer__logo-img { width: 100%; max-width: 220px; height: auto; }
.footer__desc { color: var(--dark-muted); margin-top: 1.25rem; font-size: 0.85rem; line-height: 1.6; }
.footer__head { color: rgba(250,250,248,0.4); margin-bottom: 1.1rem; }
.footer__col ul { display: flex; flex-direction: column; gap: 0.7rem; color: rgba(250,250,248,0.72); font-size: 0.9rem; }
.footer__insta { display: inline-flex; align-items: center; gap: 0.5rem; }
.footer__col--badge { display: flex; align-items: flex-start; justify-content: flex-start; }
@media (min-width: 768px) { .footer__col--badge { justify-content: flex-end; } }
.footer__badge { width: 110px; height: auto; opacity: 0.92; transition: opacity 0.3s ease; }
.footer__badge:hover { opacity: 1; }
.footer__bottom {
  display: flex; flex-direction: column; align-items: center; gap: 1rem;
  padding-top: 1.75rem; font-size: 0.75rem; color: rgba(250,250,248,0.35);
}
@media (min-width: 640px) { .footer__bottom { flex-direction: row; justify-content: space-between; } }
.footer__legal { display: flex; gap: 1.5rem; }

/* ---------- Responsive helpers ---------- */
@media (max-width: 380px) {
  .team__grid { gap: 1rem; }
}

/* =========================================================
   PAGES LÉGALES (mentions-legales.html, politique-confidentialite.html)
   ========================================================= */
.legal-header {
  position: relative; background: var(--bg);
  border-bottom: 1px solid var(--line);
  padding-block: 1.1rem;
}
.legal-header__inner {
  max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.legal-header__logo-img { height: 30px; width: auto; }
.legal-back { font-size: 0.8rem; letter-spacing: 0.04em; color: var(--ink-soft); }

.legal-main { padding-block: clamp(3rem, 7vw, 5rem) clamp(4rem, 8vw, 6rem); }
.legal-main .wrap--narrow { max-width: 42rem; }

.legal-eyebrow { color: var(--muted); }
.legal-title { font-size: clamp(2rem, 5.5vw, 3rem); color: var(--ink); margin-top: 0.5rem; }
.legal-updated { color: var(--muted); font-size: 0.8rem; margin-top: 0.75rem; }

.legal-body { margin-top: clamp(2.5rem, 6vw, 3.5rem); display: flex; flex-direction: column; gap: 2.25rem; }
.legal-section h2 {
  font-family: var(--serif); font-weight: 400; font-size: 1.3rem; color: var(--ink);
  scroll-margin-top: 90px;
}
.legal-section p, .legal-section li {
  color: var(--ink-soft); font-size: 0.98rem; line-height: 1.75; margin-top: 0.9rem;
}
.legal-section ul { display: flex; flex-direction: column; gap: 0.4rem; margin-top: 0.9rem; }
.legal-section li { margin-top: 0; padding-left: 1.1rem; position: relative; }
.legal-section li::before { content: "·"; position: absolute; left: 0.2rem; color: var(--accent); font-weight: 700; }
.legal-section a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }

.legal-todo {
  margin-top: 1rem; padding: 0.9rem 1.1rem;
  border: 1px dashed var(--accent); border-radius: 0.75rem;
  background: var(--bg-alt);
  color: var(--ink-soft); font-size: 0.85rem; line-height: 1.6;
}
.legal-todo strong { color: var(--accent); font-weight: 600; }
