/* ============================================================
   YOUN — monochrome / editorial
   ============================================================ */

:root {
  --bg:      #080808;
  --bg-2:    #0d0d0d;
  --card:    #111111;
  --card-2:  #161616;
  --line:    rgba(255, 255, 255, 0.08);
  --line-2:  rgba(255, 255, 255, 0.16);
  --line-3:  rgba(255, 255, 255, 0.28);

  --white:   #ffffff;
  --text:    #e9e9e9;
  --muted:   #949494;
  --dim:     #5f5f5f;
  --up:      #5ee08a;
  --down:    #ff6b6b;

  --r:       18px;
  --maxw:    1200px;

  --display: 'Space Grotesk', system-ui, sans-serif;
  --body:    'Inter', system-ui, -apple-system, sans-serif;
  --ease:    cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px; line-height: 1.6; letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::after {
  content: ''; position: fixed; inset: 0; z-index: 999; pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection { background: var(--white); color: #000; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
ul { list-style: none; }

/* --- type ----------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--display); font-weight: 700;
  letter-spacing: -0.05em; line-height: 0.98; color: var(--white);
}
h1 { font-size: clamp(2.9rem, 8.2vw, 6.4rem); }
h2 { font-size: clamp(2rem, 5vw, 3.7rem); }
h3 { font-size: 1.28rem; letter-spacing: -0.035em; line-height: 1.2; }
h4 { font-size: 1.02rem; letter-spacing: -0.03em; }
p  { color: var(--muted); }

.label {
  font-size: 0.7rem; font-weight: 500; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--dim);
}
.lead { font-size: clamp(1rem, 1.5vw, 1.16rem); line-height: 1.65; max-width: 46ch; }

/* --- layout --------------------------------------------------- */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
section { padding: clamp(64px, 10vw, 130px) 0; }
.sec-head { margin-bottom: clamp(38px, 5.5vw, 66px); }
.sec-head h2 { margin: 18px 0 0; max-width: 17ch; }
.sec-head p  { margin-top: 20px; max-width: 54ch; }

/* --- nav ------------------------------------------------------ */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(8, 8, 8, 0.72); backdrop-filter: blur(18px) saturate(1.4);
  border-bottom: 1px solid var(--line);
}
.nav-in {
  max-width: var(--maxw); margin: 0 auto; padding: 19px 28px;
  display: flex; align-items: center; justify-content: space-between;
}
.brand { font-family: var(--display); font-weight: 700; font-size: 1.3rem; letter-spacing: -0.05em; color: var(--white); }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { font-size: 0.9rem; color: var(--muted); transition: color 0.3s var(--ease); }
.nav-links a:hover, .nav-links a.active { color: var(--white); }

.pill {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 14px 26px; border-radius: 999px;
  font-size: 0.9rem; font-weight: 500; letter-spacing: -0.01em;
  border: 1px solid var(--line-2); color: var(--white); white-space: nowrap;
  transition: background 0.35s var(--ease), color 0.35s var(--ease),
              border-color 0.35s var(--ease), transform 0.35s var(--ease);
}
.pill:hover { transform: translateY(-2px); }
.pill-solid { background: var(--white); color: #000; border-color: var(--white); }
.pill-solid:hover { background: #dcdcdc; border-color: #dcdcdc; }
.pill-ghost:hover { background: rgba(255,255,255,0.07); border-color: var(--white); }
.pill.sm { padding: 10px 19px; font-size: 0.84rem; }

.burger { display: none; width: 26px; height: 14px; position: relative; }
.burger span { position: absolute; left: 0; right: 0; height: 1.5px; background: var(--white); transition: transform 0.3s var(--ease); }
.burger span:first-child { top: 0; } .burger span:last-child { bottom: 0; }
.burger.open span:first-child { transform: translateY(6px) rotate(45deg); }
.burger.open span:last-child  { transform: translateY(-6.5px) rotate(-45deg); }

/* --- hero ----------------------------------------------------- */
.hero { padding: clamp(66px, 11vw, 140px) 0 clamp(46px, 6vw, 80px); }
.hero h1 { margin-bottom: 32px; max-width: 15ch; }
.hero .lead { margin-bottom: 40px; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }

.split .w { display: inline-block; overflow: hidden; vertical-align: top; }
.split .w > span {
  display: inline-block; transform: translateY(100%); opacity: 0;
  transition: transform 0.9s var(--ease), opacity 0.9s var(--ease);
}
.split.go .w > span { transform: none; opacity: 1; }

/* --- live ticker ---------------------------------------------- */
.ticker {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: var(--bg-2);
}
.ticker-in {
  max-width: var(--maxw); margin: 0 auto; padding: 0 28px;
  display: flex; align-items: stretch; overflow-x: auto; scrollbar-width: none;
}
.ticker-in::-webkit-scrollbar { display: none; }
.tick {
  flex: 1 0 auto; min-width: 168px; padding: 22px 30px 22px 0;
  display: flex; flex-direction: column; gap: 7px;
}
.tick + .tick { padding-left: 30px; border-left: 1px solid var(--line); }
.tick .sym { font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--dim); }
.tick .px  { font-family: var(--display); font-size: 1.35rem; letter-spacing: -0.04em; color: var(--white); }
.tick .ch  { font-size: 0.82rem; color: var(--muted); }
.tick .ch.up   { color: var(--up); }
.tick .ch.down { color: var(--down); }
.tick .state { font-size: 0.76rem; color: var(--dim); }
.ticker-note { max-width: var(--maxw); margin: 0 auto; padding: 0 28px 16px; }

/* --- marquee -------------------------------------------------- */
.marquee {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 19px 0; overflow: hidden; white-space: nowrap;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track { display: inline-flex; align-items: center; gap: 28px; animation: slide 36s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span { font-family: var(--display); font-size: 1.02rem; letter-spacing: -0.03em; color: var(--muted); }
.marquee .sep { color: var(--dim); font-size: 0.7rem; }
@keyframes slide { to { transform: translateX(-50%); } }

/* --- meta rows ------------------------------------------------- */
.meta-rows { border-top: 1px solid var(--line); }
.meta-row {
  display: flex; justify-content: space-between; align-items: baseline; gap: 24px;
  padding: 19px 0; border-bottom: 1px solid var(--line);
}
.meta-row .v { color: var(--white); font-size: 0.98rem; text-align: right; }

/* --- tiles ------------------------------------------------------ */
.cols { display: grid; gap: 18px; }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }

.tile {
  position: relative; overflow: hidden;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r); padding: clamp(26px, 3vw, 36px);
  transition: background 0.45s var(--ease), border-color 0.45s var(--ease), transform 0.45s var(--ease);
}
.tile::before {
  content: ''; position: absolute; inset: 0; opacity: 0;
  background: radial-gradient(560px 220px at var(--mx, 50%) 0%, rgba(255,255,255,0.07), transparent 70%);
  transition: opacity 0.5s var(--ease); pointer-events: none;
}
.tile:hover { background: var(--card-2); border-color: var(--line-2); transform: translateY(-4px); }
.tile:hover::before { opacity: 1; }
.tile .num { font-family: var(--display); font-size: 0.82rem; color: var(--dim); margin-bottom: 24px; display: block; }
.tile h3 { margin-bottom: 11px; }
.tile p { font-size: 0.95rem; }

/* --- feature grid (remplace les puces) --------------------------- */
.feats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.feat { background: var(--card); padding: 30px; transition: background 0.4s var(--ease); }
.feat:hover { background: var(--card-2); }
.feat h4 { margin-bottom: 9px; }
.feat p { font-size: 0.9rem; line-height: 1.55; }

/* --- plain list (sans tiret) -------------------------------------- */
.plain { display: grid; gap: 0; border-top: 1px solid var(--line); }
.plain li { padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 0.95rem; color: var(--muted); }
.plain li strong { color: var(--white); font-weight: 500; }

/* --- verdict ------------------------------------------------------ */
.verdict { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.vbox { border: 1px solid var(--line); border-radius: var(--r); padding: 30px; background: var(--card); }
.vbox.yes { border-color: rgba(94,224,138,0.3); }
.vbox h4 { margin-bottom: 20px; }
.vbox li { padding: 13px 0; border-top: 1px solid var(--line); font-size: 0.93rem; color: var(--muted); line-height: 1.5; }

/* --- quote --------------------------------------------------------- */
.quote { text-align: center; padding: clamp(56px, 8vw, 104px) 0; }
.quote blockquote {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(1.6rem, 4.2vw, 3rem); letter-spacing: -0.05em;
  line-height: 1.06; color: var(--white); max-width: 20ch; margin: 0 auto 24px;
}
.quote cite { font-style: normal; }

/* ============================================================
   PARTNER CARDS (index)
   ============================================================ */
.pgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }

.pcard {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
  padding: 34px;
  transition: background 0.45s var(--ease), border-color 0.45s var(--ease), transform 0.45s var(--ease);
}
.pcard::before {
  content: ''; position: absolute; inset: 0; opacity: 0; pointer-events: none;
  background: radial-gradient(600px 240px at 50% -10%, rgba(255,255,255,0.08), transparent 70%);
  transition: opacity 0.55s var(--ease);
}
.pcard:hover { background: var(--card-2); border-color: var(--line-2); transform: translateY(-5px); }
.pcard:hover::before { opacity: 1; }
.pcard.lead-card { grid-column: 1 / -1; }

.pcard-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; margin-bottom: 26px; }
.pcard-name {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(2.1rem, 4.6vw, 3.4rem); letter-spacing: -0.05em; line-height: 1;
  color: var(--white); margin-top: 12px;
}
.pcard-tag { font-size: 1.02rem; color: var(--text); max-width: 46ch; }
.pcard-desc { font-size: 0.94rem; margin-top: 14px; max-width: 62ch; }
.pcard-foot { margin-top: auto; padding-top: 30px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }

.chip {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase;
  padding: 7px 13px; border-radius: 999px;
  border: 1px solid var(--line-2); color: var(--dim); white-space: nowrap;
}
.chip.live { color: var(--up); border-color: rgba(94,224,138,0.35); }
.chip.live::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--up); box-shadow: 0 0 8px var(--up); }
.chip.soon { color: var(--white); }

/* --- figures --------------------------------------------------------- */
.figs { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.figs.six { grid-template-columns: repeat(3, 1fr); }
.fig {
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 19px 20px 19px 0; border-bottom: 1px solid var(--line); min-height: 92px;
}
.fig .k { font-size: 0.64rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--dim); line-height: 1.35; }
.fig .v { font-family: var(--display); font-size: 1.3rem; letter-spacing: -0.04em; color: var(--white); margin-top: 9px; }

/* --- deal block ------------------------------------------------------- */
.deal {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  padding: 20px; border-radius: 14px;
  background: var(--bg); border: 1px solid var(--line-2);
}
.deal-code {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 20px; border-radius: 10px;
  border: 1px dashed var(--line-3); background: rgba(255,255,255,0.025);
  font-family: var(--display); font-size: 1.05rem; letter-spacing: 0.06em; color: var(--white);
  transition: border-color 0.35s var(--ease), background 0.35s var(--ease);
}
.deal-code[data-code]:hover { border-color: var(--white); background: rgba(255,255,255,0.07); }
.deal-code .hint { font-size: 0.62rem; letter-spacing: 0.2em; color: var(--dim); }
.deal-code.void { color: var(--dim); cursor: default; }
.deal-code.done { border-style: solid; border-color: var(--up); color: var(--up); }
.deal-off { font-family: var(--display); font-size: 0.9rem; padding: 8px 14px; border-radius: 999px; background: var(--white); color: #000; }
.deal-void { font-size: 0.9rem; color: var(--dim); }
.deal .pill { margin-left: auto; }

/* --- sticky deal bar (page partenaire) --------------------------------- */
.dealbar {
  position: sticky; bottom: 18px; z-index: 60; margin: 46px 0 0;
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  padding: 18px 22px; border-radius: 999px;
  background: rgba(14, 14, 14, 0.88); backdrop-filter: blur(18px);
  border: 1px solid var(--line-2);
}
.dealbar .who { font-family: var(--display); font-size: 1.05rem; letter-spacing: -0.04em; color: var(--white); }
.dealbar .pill { margin-left: auto; }

/* --- calculator --------------------------------------------------------- */
.calc { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--card); }
.calc-head { padding: 30px 32px; border-bottom: 1px solid var(--line); }
.calc-head h3 { margin-bottom: 8px; }
.calc-head p { font-size: 0.88rem; }
.calc-body { display: grid; grid-template-columns: 300px 1fr; }
.calc-in { padding: 30px 32px; border-right: 1px solid var(--line); }
.calc-out { padding: 30px 32px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); }
.calc-out > div { background: var(--card); padding: 18px 20px; }
.calc-out .k { font-size: 0.63rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--dim); }
.calc-out .v { font-family: var(--display); font-size: 1.42rem; letter-spacing: -0.04em; color: var(--white); margin-top: 8px; }
.calc-out .v.pos { color: var(--up); }

.sizes { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.size-btn {
  padding: 11px 16px; border-radius: 999px; border: 1px solid var(--line-2);
  font-family: var(--display); font-size: 0.9rem; letter-spacing: -0.03em; color: var(--muted);
  transition: all 0.3s var(--ease);
}
.size-btn:hover { border-color: var(--white); color: var(--white); }
.size-btn.on { background: var(--white); color: #000; border-color: var(--white); }

/* --- FAQ ----------------------------------------------------------------- */
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; text-align: left; display: flex; justify-content: space-between;
  align-items: center; gap: 20px; padding: 24px 0;
  font-family: var(--display); font-size: 1.08rem; letter-spacing: -0.03em; color: var(--white);
}
.faq-q .sign { flex: 0 0 auto; font-size: 1.3rem; color: var(--dim); transition: transform 0.4s var(--ease), color 0.3s; }
.faq-item.open .faq-q .sign { transform: rotate(45deg); color: var(--white); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.5s var(--ease); }
.faq-a p { padding-bottom: 26px; font-size: 0.95rem; max-width: 72ch; }
.faq-item.open .faq-a { max-height: 340px; }

/* --- steps ---------------------------------------------------------------- */
.steps { border-top: 1px solid var(--line); }
.step { display: grid; grid-template-columns: 58px 1fr; gap: 22px; padding: 28px 0; border-bottom: 1px solid var(--line); align-items: start; }
.step .i { font-family: var(--display); font-size: 0.82rem; color: var(--dim); padding-top: 4px; }
.step h3 { margin-bottom: 7px; }
.step p { font-size: 0.94rem; max-width: 62ch; }

/* --- breadcrumb ------------------------------------------------------------ */
.crumb { display: flex; align-items: center; gap: 10px; font-size: 0.84rem; color: var(--dim); margin-bottom: 26px; }
.crumb a { color: var(--muted); transition: color 0.3s var(--ease); }
.crumb a:hover { color: var(--white); }

/* --- band ------------------------------------------------------------------ */
.band { border: 1px solid var(--line); border-radius: var(--r); padding: clamp(38px, 5.5vw, 72px); text-align: center; background: var(--card); }
.band h2 { margin: 0 auto 20px; max-width: 15ch; }
.band p  { margin: 0 auto 30px; max-width: 46ch; }

/* --- forms ----------------------------------------------------------------- */
.field { display: grid; gap: 9px; margin-bottom: 20px; }
.field label { font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--dim); }
.field input, .field textarea, .field select {
  background: transparent; border: none; border-bottom: 1px solid var(--line);
  color: var(--white); padding: 12px 0; font-family: var(--body); font-size: 1rem;
  transition: border-color 0.35s var(--ease); width: 100%;
}
.field input::placeholder, .field textarea::placeholder { color: var(--dim); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--white); }
.field textarea { min-height: 110px; resize: vertical; }
.field select option { background: var(--card); }

/* --- footer ----------------------------------------------------------------- */
.foot { border-top: 1px solid var(--line); padding: 58px 0 38px; }
.foot-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; margin-bottom: 50px; }
.foot-nav { display: grid; gap: 11px; align-content: start; }
.foot-nav a { font-size: 0.92rem; color: var(--muted); transition: color 0.3s var(--ease); }
.foot-nav a:hover { color: var(--white); }
.foot-bot { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: center; padding-top: 24px; border-top: 1px solid var(--line); }
.foot-bot span { font-size: 0.78rem; color: var(--dim); }
.clock { font-family: var(--display); color: var(--muted) !important; }

/* --- reveal ------------------------------------------------------------------ */
.rv { opacity: 0; transform: translateY(24px); transition: opacity 0.85s var(--ease), transform 0.85s var(--ease); }
.rv.in { opacity: 1; transform: none; }

/* --- responsive --------------------------------------------------------------- */
@media (max-width: 1000px) {
  .calc-body { grid-template-columns: 1fr; }
  .calc-in { border-right: none; border-bottom: 1px solid var(--line); }
}
@media (max-width: 900px) {
  .pgrid, .cols-2, .cols-3, .feats, .verdict { grid-template-columns: 1fr; }
  .figs, .figs.six { grid-template-columns: repeat(2, 1fr); }
  .deal .pill, .dealbar .pill { margin-left: 0; width: 100%; justify-content: center; }
  .dealbar { border-radius: 18px; }
  .calc-out { grid-template-columns: 1fr; }
  .pcard { padding: 26px; }
}
@media (max-width: 720px) {
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #080808; border-bottom: 1px solid var(--line);
    padding: 6px 28px 24px; display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .nav-links .pill { margin-top: 16px; justify-content: center; }
  .burger { display: block; }
  .nav { position: relative; }
  .foot-top { flex-direction: column; }
  .tick { min-width: 145px; padding-right: 22px; }
  .tick + .tick { padding-left: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition-duration: 0.01ms !important; }
  .rv, .split .w > span { opacity: 1 !important; transform: none !important; }
}
