/* ═══════════════════════════════════════════════════════
   SECONGO CLOTCHO SANOGO — BMI-WFS
   CSS GLOBAL PARTAGÉ — V1 DARK PRESIDENTIAL AMÉLIORÉE
   Syne · Cormorant Garamond · Space Mono
   ═══════════════════════════════════════════════════════ */
:root {
  --ink:    #07090f;
  --ink2:   #0b0f1c;
  --ink3:   #111828;
  --ink4:   #18223a;
  --gold:   #c9a84c;
  --gold2:  #e8c870;
  --gold-d: rgba(201,168,76,.15);
  --gold-g: rgba(201,168,76,.06);
  --cream:  #f4efe6;
  --muted:  rgba(244,239,230,.52);
  --rule:   rgba(201,168,76,.18);
  --F1: 'Syne', 'Helvetica Neue', Arial, sans-serif;
  --F2: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --F3: 'Space Mono', 'Courier New', monospace;
  --ease:  cubic-bezier(.16,1,.3,1);
  --ease2: cubic-bezier(.25,.46,.45,.94);
  --radius: 2px;
  --shadow: 0 24px 60px rgba(0,0,0,.6);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--ink);
  color: var(--cream);
  font-family: var(--F2);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
  cursor: none;
}
::selection { background: var(--gold); color: var(--ink); }
::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 1px; }
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── CURSEUR ── */
#cur, #cur2 {
  position: fixed; top: 0; left: 0;
  border-radius: 50%; pointer-events: none; z-index: 9999;
  transform: translate(-50%,-50%);
}
#cur  { width: 7px; height: 7px; background: var(--gold); transition: width .2s, height .2s; }
#cur2 { width: 30px; height: 30px; border: 1px solid rgba(201,168,76,.4); transition: width .35s var(--ease), height .35s var(--ease), border-color .3s; }
body.hov #cur  { width: 0; height: 0; }
body.hov #cur2 { width: 48px; height: 48px; border-color: var(--gold); }

/* ── GRAIN ── */
body::after {
  content: ''; position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='250' height='250'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='250' height='250' filter='url(%23n)' opacity='0.028'/%3E%3C/svg%3E");
  opacity: .45;
}

/* ── PRELOADER ── */
#ld {
  position: fixed; inset: 0; background: var(--ink); z-index: 10000;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2rem;
}
.ld-gem {
  width: 34px; height: 34px; background: var(--gold);
  clip-path: polygon(50% 0%,100% 50%,50% 100%,0% 50%);
  animation: gemSpin 1.2s linear infinite;
}
@keyframes gemSpin { to { transform: rotate(360deg); } }
.ld-name {
  font-family: var(--F1); font-weight: 800; font-size: clamp(1.6rem,4vw,3rem);
  letter-spacing: -.02em; color: var(--cream);
  overflow: hidden; line-height: 1; display: flex; gap: .04em;
}
.ld-name span { display: inline-block; transform: translateY(110%); animation: ldUp .6s var(--ease) forwards; }
.ld-sub { font-family: var(--F3); font-size: .56rem; letter-spacing: .28em; text-transform: uppercase; color: var(--muted); opacity: 0; animation: ldFd .5s .8s forwards; }
.ld-bar-w { width: 180px; height: 1px; background: rgba(201,168,76,.18); overflow: hidden; }
.ld-bar   { height: 100%; background: linear-gradient(90deg, var(--gold), var(--gold2), var(--gold)); width: 0%; animation: ldBar 1.8s .3s var(--ease2) forwards; }
@keyframes ldUp { to { transform: translateY(0); } }
@keyframes ldFd { to { opacity: 1; } }
@keyframes ldBar { to { width: 100%; } }

/* ── TOPBAR ── */
#topbar {
  background: var(--gold); padding: .4rem 3rem;
  display: flex; justify-content: space-between; align-items: center;
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: 28px;
}
.tb-l { font-family: var(--F3); font-size: .56rem; letter-spacing: .22em; text-transform: uppercase; color: var(--ink); font-weight: 700; }
.tb-r { display: flex; gap: 2rem; font-family: var(--F3); font-size: .54rem; letter-spacing: .15em; text-transform: uppercase; }
.tb-r a { color: var(--ink); opacity: .6; transition: opacity .2s; }
.tb-r a:hover { opacity: 1; }

/* ── NAV ── */
#nav {
  position: fixed; top: 28px; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center;
  padding: 1.2rem 3rem;
  transition: background .45s, padding .4s, top .4s, box-shadow .4s;
}
#nav.s {
  top: 28px; background: rgba(7,9,15,.97);
  backdrop-filter: blur(22px); padding: .9rem 3rem;
  box-shadow: 0 1px 0 var(--rule);
}
.nav-logo { display: flex; align-items: center; gap: .8rem; }
.nav-gem {
  width: 18px; height: 18px; background: var(--gold);
  clip-path: polygon(50% 0%,100% 50%,50% 100%,0% 50%);
  transition: transform .5s var(--ease); flex-shrink: 0;
}
.nav-logo:hover .nav-gem { transform: rotate(180deg); }
.nav-words { display: flex; flex-direction: column; gap: 1px; line-height: 1; }
.nav-name { font-family: var(--F1); font-size: .9rem; font-weight: 800; letter-spacing: .04em; color: var(--cream); }
.nav-sub  { font-family: var(--F3); font-size: .44rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
/* Liens desktop */
.nav-links {
  display: flex; gap: 0; list-style: none;
  margin-left: auto; margin-right: 2rem;
}
.nav-links a {
  font-family: var(--F3); font-size: .56rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--muted);
  padding: .5rem 1rem; transition: color .3s; position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: 0; left: 1rem; right: 1rem;
  height: 1px; background: var(--gold); transform: scaleX(0);
  transition: transform .3s var(--ease); transform-origin: center;
}
.nav-links a:hover, .nav-links a.on { color: var(--gold); }
.nav-links a:hover::after, .nav-links a.on::after { transform: scaleX(1); }

/* CTA */
.nav-cta {
  padding: .6rem 1.5rem; border: 1px solid var(--gold);
  background: transparent; color: var(--gold);
  font-family: var(--F3); font-size: .56rem; letter-spacing: .18em; text-transform: uppercase;
  cursor: pointer;
  clip-path: polygon(8px 0%,100% 0%,calc(100% - 8px) 100%,0% 100%);
  transition: background .3s, color .3s;
}
.nav-cta:hover { background: var(--gold); color: var(--ink); }
/* Burger */
.nav-ham { display: none; flex-direction: column; gap: 5px; cursor: pointer; margin-left: auto; }
.nav-ham span { display: block; width: 22px; height: 1.5px; background: var(--cream); transition: .3s; }
/* Mobile menu */
.nav-mobile {
  display: none; position: fixed; inset: 0; top: 0;
  background: rgba(7,9,15,.98); backdrop-filter: blur(24px);
  z-index: 90; flex-direction: column;
  padding: 7rem 2rem 3rem; gap: 0;
  transform: translateX(100%); transition: transform .4s var(--ease);
}
.nav-mobile.open { transform: translateX(0); }
.nav-mobile a {
  font-family: var(--F1); font-size: 1.5rem; font-weight: 800;
  letter-spacing: -.01em; color: var(--cream); padding: 1rem 0;
  border-bottom: 1px solid rgba(201,168,76,.1);
  transition: color .3s;
}
.nav-mobile a:hover { color: var(--gold); }
.nav-mobile .nm-sub {
  font-family: var(--F3); font-size: .52rem; letter-spacing: .2em;
  text-transform: uppercase; color: var(--muted);
  padding: .4rem 0; display: block; margin-left: .1rem;
}
/* Page indicator */
.page-indicator {
  position: fixed; right: 1.5rem; top: 50%; transform: translateY(-50%);
  z-index: 50; display: flex; flex-direction: column; gap: .55rem;
}
.pi-dot {
  width: 6px; height: 6px; border-radius: 50%;
  border: 1px solid rgba(201,168,76,.3);
  cursor: pointer; transition: all .3s;
  position: relative;
}
.pi-dot::after {
  content: attr(data-label);
  position: absolute; right: calc(100% + .8rem); top: 50%;
  transform: translateY(-50%); white-space: nowrap;
  font-family: var(--F3); font-size: .44rem; letter-spacing: .15em;
  text-transform: uppercase; color: var(--gold);
  opacity: 0; transition: opacity .25s; pointer-events: none;
}
.pi-dot:hover::after, .pi-dot.on::after { opacity: 1; }
.pi-dot.on { background: var(--gold); border-color: var(--gold); transform: scale(1.3); }

/* ── BOUTONS GLOBAUX ── */
.btn-g {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .9rem 2.2rem; background: var(--gold); color: var(--ink);
  font-family: var(--F1); font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  border: none; cursor: pointer;
  clip-path: polygon(10px 0%,100% 0%,calc(100% - 10px) 100%,0% 100%);
  position: relative; overflow: hidden;
  transition: transform .3s, box-shadow .3s;
}
.btn-g::before { content: ''; position: absolute; inset: 0; background: var(--gold2); transform: translateX(-101%); transition: transform .35s var(--ease); }
.btn-g:hover::before { transform: translateX(0); }
.btn-g:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(201,168,76,.3); }
.btn-g > * { position: relative; z-index: 1; }
.btn-o {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .9rem 2.2rem; background: transparent; color: var(--cream);
  font-family: var(--F1); font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  border: 1px solid rgba(244,239,230,.2); cursor: pointer;
  clip-path: polygon(10px 0%,100% 0%,calc(100% - 10px) 100%,0% 100%);
  transition: border-color .3s, color .3s;
}
.btn-o:hover { border-color: var(--gold); color: var(--gold); }

/* ── SECTIONS COMMUNES ── */
.sec { padding: 9rem 0; position: relative; }
.ctr { max-width: 1280px; margin: 0 auto; padding: 0 3rem; }
.ey {
  display: flex; align-items: center; gap: .8rem;
  font-family: var(--F3); font-size: .54rem; letter-spacing: .28em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1.4rem;
}
.ey::before { content: ''; display: block; width: 22px; height: 1px; background: var(--gold); }
h2.sh {
  font-family: var(--F1); font-weight: 800; font-size: clamp(2rem,4vw,3.4rem);
  line-height: 1.04; letter-spacing: -.02em; color: var(--cream); margin-bottom: 1.4rem;
}
h2.sh em { color: var(--gold); font-style: normal; }
h2.sh .go { -webkit-text-stroke: 1.5px var(--gold); color: transparent; }
.gold-bar { width: 50px; height: 2px; background: linear-gradient(90deg, var(--gold), var(--gold2)); margin-bottom: 2rem; }

/* ── REVEAL ANIMATIONS ── */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.rv.on { opacity: 1; transform: none; }
.d1{transition-delay:.1s}.d2{transition-delay:.2s}.d3{transition-delay:.3s}.d4{transition-delay:.4s}

/* ── MARQUEE ── */
.mq-wrap { background: var(--ink2); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); overflow: hidden; padding: .65rem 0; }
.mq-t { display: flex; white-space: nowrap; animation: mqA 24s linear infinite; }
.mq-t span { font-family: var(--F1); font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 0 2.5rem; }
.mq-t span::before { content: '◆'; margin-right: 2.5rem; font-size: .42rem; color: var(--gold); }
@keyframes mqA { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── PAGE HERO INTÉRIEUR ── */
.page-hero {
  min-height: 44vh; position: relative; display: flex; align-items: flex-end;
  padding-top: 90px; padding-bottom: 4rem; overflow: hidden;
}
.page-hero-bg { position: absolute; inset: 0; z-index: 0; }
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center top; filter: brightness(.3) saturate(.6); }
.page-hero-ov { position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, var(--ink) 0%, rgba(7,9,15,.7) 60%, rgba(7,9,15,.3) 100%); }
.page-hero-content { position: relative; z-index: 2; }
.page-hero-content .ey { margin-bottom: 1rem; animation: fuA .8s .3s var(--ease) forwards; opacity: 0; }
.page-hero-content h1 {
  font-family: var(--F1); font-weight: 800; font-size: clamp(2.5rem,6vw,5rem);
  letter-spacing: -.025em; line-height: .95; color: var(--cream);
  animation: fuA .9s .5s var(--ease) forwards; opacity: 0;
}
.page-hero-content h1 em { color: var(--gold); font-style: normal; }
.page-hero-content p {
  font-family: var(--F2); font-style: italic; font-size: clamp(.95rem,1.5vw,1.1rem);
  color: var(--muted); max-width: 520px; line-height: 1.8; margin-top: 1.2rem;
  animation: fuA .9s .7s var(--ease) forwards; opacity: 0;
}
@keyframes fuA { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

/* ── BREADCRUMB ── */
.breadcrumb {
  display: flex; align-items: center; gap: .6rem;
  font-family: var(--F3); font-size: .5rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted); padding: 1rem 3rem;
  border-bottom: 1px solid var(--rule);
  background: var(--ink2);
}
.breadcrumb a { color: var(--gold); transition: color .2s; }
.breadcrumb a:hover { color: var(--gold2); }
.breadcrumb span { opacity: .4; }
.breadcrumb .current { color: var(--muted); }

/* ── CARD STYLES ── */
.card {
  background: var(--ink2); border: 1px solid var(--rule);
  transition: border-color .3s, box-shadow .3s, transform .3s var(--ease);
  cursor: default;
}
.card:hover { border-color: rgba(201,168,76,.45); box-shadow: var(--shadow); transform: translateY(-4px); }

/* ── FORMULAIRE GLOBAL ── */
.form-grid { display: flex; flex-direction: column; gap: 0; }
.fr { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.fg { display: flex; flex-direction: column; }
.fg label { font-family: var(--F3); font-size: .52rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); padding: .75rem 1rem .28rem; background: var(--ink3); border: 1px solid var(--rule); border-bottom: none; }
.fr .fg:not(:first-child) label { border-left: none; }
.fg input, .fg select, .fg textarea {
  background: var(--ink2); border: 1px solid var(--rule); border-top: none;
  color: var(--cream); font-family: var(--F2); font-size: .88rem;
  padding: .8rem 1rem; outline: none; -webkit-appearance: none;
  transition: border-color .3s, background .3s; resize: vertical;
  min-height: 44px;
}
.fr .fg:not(:first-child) input, .fr .fg:not(:first-child) select { border-left: none; }
.fg input:focus, .fg select:focus, .fg textarea:focus { border-color: var(--gold); background: rgba(201,168,76,.04); }
.fg input::placeholder, .fg textarea::placeholder { color: rgba(244,239,230,.18); }
.fg select option { background: var(--ink2); color: var(--cream); }
.fg-full { border-left: 1px solid var(--rule) !important; border-right: 1px solid var(--rule) !important; }
.fg-full label { border-left: none; border-right: none; }
.fg-full textarea { border: 1px solid var(--rule); border-top: none; width: 100%; }
.btn-submit {
  padding: 1.1rem 2.5rem; background: var(--gold); color: var(--ink);
  font-family: var(--F1); font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  border: none; cursor: pointer;
  clip-path: polygon(0 0,100% 0,100% calc(100% - 10px),calc(100% - 10px) 100%,0 100%);
  transition: background .3s, transform .2s;
}
.btn-submit:hover { background: var(--gold2); transform: translateY(-2px); }

/* ── FOOTER ── */
#footer { background: var(--ink); border-top: 1px solid var(--rule); padding: 5rem 0 2.5rem; }
.f-top {
  display: grid; grid-template-columns: 2.2fr 1fr 1fr 1fr; gap: 3rem;
  padding-bottom: 3rem; border-bottom: 1px solid rgba(201,168,76,.08); margin-bottom: 2rem;
}
.f-logo-area .f-logo { font-family: var(--F1); font-size: 2rem; font-weight: 800; color: var(--gold); letter-spacing: -.02em; line-height: 1; margin-bottom: .4rem; }
.f-logo-area .f-tag { font-family: var(--F2); font-style: italic; font-size: .82rem; color: var(--muted); max-width: 250px; line-height: 1.65; margin-bottom: 1.5rem; }
.f-social { display: flex; gap: .6rem; flex-wrap: wrap; }
.fs-btn { padding: .38rem .9rem; border: 1px solid var(--rule); color: var(--muted); font-family: var(--F3); font-size: .52rem; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; transition: all .3s; }
.fs-btn:hover { border-color: var(--gold); color: var(--gold); background: var(--gold-g); }
.fc h5 { font-family: var(--F3); font-size: .52rem; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.1rem; }
.fc ul { display: flex; flex-direction: column; gap: .55rem; }
.fc ul a { font-size: .8rem; color: rgba(244,239,230,.35); transition: color .25s, padding-left .25s; display: flex; align-items: center; gap: .5rem; }
.fc ul a:hover { color: var(--gold); padding-left: .3rem; }
.fc ul a::before { content: '—'; font-size: .5rem; color: var(--gold); opacity: .4; flex-shrink: 0; }
.f-bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .5rem;
  font-family: var(--F3); font-size: .52rem; letter-spacing: .08em; color: rgba(244,239,230,.2);
}
.f-bottom a { color: var(--gold); opacity: .7; transition: opacity .2s; }
.f-bottom a:hover { opacity: 1; }
/* Emails footer */
.f-emails { display: flex; flex-direction: column; gap: .4rem; margin-top: 1.2rem; }
.f-email-link {
  font-family: var(--F3); font-size: .5rem; letter-spacing: .1em;
  color: var(--muted); text-decoration: none; transition: color .25s;
}
.f-email-link:hover { color: var(--gold); }
.f-bottom a:hover { opacity: 1; }

/* ── MODALS ── */
.modal { position: fixed; inset: 0; background: rgba(0,0,0,.93); z-index: 9999; display: none; align-items: center; justify-content: center; padding: 2rem; }
.modal.on { display: flex; }
.modal-in { width: 100%; max-width: 980px; position: relative; }
.modal-in iframe { width: 100%; aspect-ratio: 16/9; border: none; display: block; }
.modal-close { position: absolute; top: -2.5rem; right: 0; background: none; border: 1px solid var(--rule); color: var(--muted); font-family: var(--F3); font-size: .6rem; letter-spacing: .15em; text-transform: uppercase; padding: .32rem .8rem; cursor: pointer; transition: border-color .2s, color .2s; }
.modal-close:hover { border-color: var(--gold); color: var(--gold); }
.lbox { position: fixed; inset: 0; background: rgba(0,0,0,.96); z-index: 9998; display: none; align-items: center; justify-content: center; padding: 3rem; flex-direction: column; }
.lbox.on { display: flex; }
.lbox img { max-width: 88%; max-height: 88vh; object-fit: contain; }
.lbox-close { position: absolute; top: 1.5rem; right: 1.5rem; background: none; border: 1px solid var(--rule); color: var(--muted); font-family: var(--F3); font-size: .6rem; letter-spacing: .15em; text-transform: uppercase; padding: .35rem .8rem; cursor: pointer; transition: all .2s; }
.lbox-close:hover { border-color: var(--gold); color: var(--gold); }

/* ── TAGS ── */
.tag { font-family: var(--F3); font-size: .48rem; letter-spacing: .12em; text-transform: uppercase; border: 1px solid var(--rule); color: var(--gold); padding: .12rem .48rem; transition: border-color .3s, background .3s; cursor: default; }
.tag:hover { border-color: var(--gold); background: var(--gold-d); }

/* ── RESPONSIVE ── */
@media(max-width:1100px) {
  .f-top { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}
@media(max-width:900px) {
  #topbar { position: fixed; padding: .38rem 1.5rem; height: 26px; }
  #nav { top: 26px; }
  #nav.s { top: 26px; }
  .page-hero { padding-top: 72px; }
  #nav .nav-links, #nav .nav-cta { display: none; }
  .nav-ham { display: flex; }
  .ctr { padding: 0 1.5rem; }
  .sec { padding: 6rem 0; }
  .fr { grid-template-columns: 1fr; }
  .fr .fg:not(:first-child) label { border-left: 1px solid var(--rule); }
  .fr .fg:not(:first-child) input, .fr .fg:not(:first-child) select { border-left: 1px solid var(--rule); }
  .page-indicator { display: none; }
  .breadcrumb { padding: 1rem 1.5rem; }
  #topbar { padding: .4rem 1.5rem; }
  .tb-r { display: none; }
  .f-top { grid-template-columns: 1fr; }
}
@media(max-width:600px) {
  .btn-g, .btn-o { width: 100%; justify-content: center; }
}
