/* DG Club · Hero v2 — palette officielle Pomelli, screenshots sources inchangés. */
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("assets/fonts/inter-latin.woff2") format("woff2");
}

html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  background: var(--background-color);
  color: var(--text-color);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  transition: background-color .2s ease, color .2s ease;
}
body > header {
  position: sticky;
  inset-block-start: 0;
  z-index: 20;
  padding: 0;
  background: rgba(1, 3, 93, .92);
  border-block-end: 1px solid var(--border-color);
  box-shadow: none;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
:root[data-theme="light"] body > header { background: rgba(255, 255, 255, .94); }
.site-nav {
  position: relative;
  width: min(1280px, 100%);
  min-height: 76px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  gap: 22px;
}
.site-brand {
  order: 1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  color: var(--text-color);
  text-decoration: none;
}
.site-brand img { width: 42px; height: 42px; object-fit: contain; }
.site-brand span { display: flex; flex-direction: column; gap: 3px; line-height: 1; }
.site-brand strong { font-size: .94rem; font-weight: 800; letter-spacing: .06em; }
.site-brand small { color: var(--text-dark-color); font-size: .53rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.site-links {
  order: 2;
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 27px);
  list-style: none;
  margin: 0 0 0 auto;
  padding: 0;
}
.site-links li { margin: 0; }
.site-links a {
  color: var(--text-light-color);
  font-size: .83rem;
  font-weight: 550;
  text-decoration: none;
  transition: color .18s ease, background-color .18s ease;
}
.site-links a:hover { color: var(--brand-cyan); }
:root[data-theme="light"] .site-links a:hover { color: var(--brand-red); }
.site-links .nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--brand-cyan);
  border-radius: 7px;
  background: var(--brand-cyan);
  color: var(--brand-navy);
  font-size: .81rem;
  font-weight: 750;
}
.site-links .nav-cta:hover { background: transparent; color: var(--brand-cyan); }
:root[data-theme="light"] .site-links .nav-cta { border-color: var(--brand-navy); background: var(--brand-navy); color: var(--brand-white); }
:root[data-theme="light"] .site-links .nav-cta:hover { background: transparent; color: var(--brand-navy); }
.theme-toggle {
  order: 3;
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  padding: 0;
  border: 1px solid var(--border-color);
  border-radius: 50%;
  background: transparent;
  color: var(--brand-cyan);
  cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}
.theme-toggle:hover { border-color: var(--brand-cyan); background: rgba(0, 240, 255, .09); }
:root[data-theme="light"] .theme-toggle { color: var(--brand-navy); }
.theme-icon { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
:root[data-theme="dark"] .theme-icon--moon,
:root[data-theme="light"] .theme-icon--sun { display: none; }
.menu-toggle { display: none; }

#hero.hero-section {
  position: relative;
  isolation: isolate;
  max-width: none;
  min-height: auto;
  margin: 0;
  padding: clamp(40px, 4.2vw, 46px) 28px clamp(60px, 6vw, 86px);
  display: block;
  overflow: hidden;
  text-align: left;
  opacity: 1;
  transform: none;
  background: var(--background-color);
}
#hero.hero-section::before,
#hero.hero-section::after {
  position: absolute;
  z-index: -1;
  content: "";
  pointer-events: none;
  border-radius: 50%;
}
#hero.hero-section::before {
  top: 0;
  left: 50%;
  right: auto;
  width: min(1280px, 100%);
  aspect-ratio: 4 / 1;
  transform: translateX(-50%);
  border-radius: 0;
  background: url("assets/brand/dgclub-banner-alpha.webp") center / 100% auto no-repeat;
  opacity: .18;
  filter: blur(1px);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, rgba(0,0,0,.72) 52%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, rgba(0,0,0,.72) 52%, transparent 100%);
}
#hero.hero-section::after {
  display: none;
}
:root[data-theme="light"] #hero.hero-section::before { opacity: .10; filter: blur(1px); }
.hero-inner { position: relative; width: min(1280px, 100%); margin: 0 auto; }
.hero-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(310px, .78fr);
  align-items: end;
  gap: clamp(34px, 6vw, 86px);
  margin-block-end: clamp(30px, 3.3vw, 42px);
}
.hero-copy { max-width: 800px; }
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  color: var(--brand-cyan);
  font-size: .70rem;
  font-weight: 750;
  letter-spacing: .17em;
  text-transform: uppercase;
}
.hero-eyebrow::before { content: ""; width: 25px; height: 2px; background: var(--brand-red); }
:root[data-theme="light"] .hero-eyebrow { color: var(--brand-navy); }
#hero.hero-section .hero-copy h1 {
  max-width: 810px;
  margin: 0;
  color: var(--text-color);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(2.75rem, 5vw, 4.5rem);
  font-weight: 760;
  line-height: 1.03;
  letter-spacing: -.065em;
  text-align: left;
  text-wrap: balance;
  text-shadow: none;
}
#hero.hero-section .hero-copy h1 span { color: var(--brand-cyan); }
:root[data-theme="light"] #hero.hero-section .hero-copy h1 span { color: var(--brand-navy); }
.hero-conversion { max-width: 470px; justify-self: end; }
#hero.hero-section .hero-lede {
  margin: 0;
  color: var(--text-light-color);
  font-size: clamp(.98rem, 1.15vw, 1.08rem);
  font-weight: 430;
  line-height: 1.75;
}
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 17px; margin-block-start: 23px; }
.hero-primary {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 20px;
  border: 1px solid var(--brand-cyan);
  border-radius: 7px;
  background: var(--brand-cyan);
  color: var(--brand-navy);
  font-size: .9rem;
  font-weight: 760;
  text-decoration: none;
  box-shadow: 0 8px 26px rgba(0, 240, 255, .12);
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.hero-primary:hover { transform: translateY(-2px); box-shadow: 0 11px 28px rgba(0, 240, 255, .20); color: var(--brand-navy); }
:root[data-theme="light"] .hero-primary { border-color: var(--brand-navy); background: var(--brand-navy); color: var(--brand-white); box-shadow: 0 8px 24px rgba(1, 3, 93, .14); }
:root[data-theme="light"] .hero-primary:hover { background: #080B62; color: var(--brand-white); }
.hero-primary .arrow { font-size: 1.1rem; line-height: 1; }
.hero-secondary { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 2px; color: var(--text-light-color); font-size: .85rem; font-weight: 650; text-decoration: none; }
.hero-secondary:hover { color: var(--brand-cyan); }
:root[data-theme="light"] .hero-secondary:hover { color: var(--brand-red); }
#hero.hero-section .hero-note { display: flex; align-items: center; gap: 9px; margin: 15px 0 0; color: var(--text-dark-color); font-size: .77rem; line-height: 1.6; }
.note-dot { width: 7px; height: 7px; flex: 0 0 7px; border-radius: 50%; background: var(--brand-cyan); box-shadow: 0 0 11px rgba(0, 240, 255, .45); }
.proof-heading { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-block-end: 15px; }
.proof-overline { margin: 0 0 9px; color: var(--brand-cyan); font-size: .67rem; font-weight: 750; letter-spacing: .16em; }
:root[data-theme="light"] .proof-overline { color: var(--brand-navy); }
.proof-heading h2 { margin: 0; color: var(--text-color); font-size: clamp(1.34rem, 2.2vw, 1.72rem); font-weight: 720; letter-spacing: -.045em; line-height: 1.2; text-align: left; }
.proof-heading > p { max-width: 390px; margin: 0 0 2px; color: var(--text-dark-color); font-size: .82rem; line-height: 1.6; text-align: right; }
.proof-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: 15px; }
.proof-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 11px;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  background: var(--surface-color);
  box-shadow: 0 14px 42px rgba(0, 0, 25, .12);
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.proof-card:hover { border-color: var(--brand-cyan); box-shadow: 0 17px 45px rgba(0, 240, 255, .10); }
:root[data-theme="light"] .proof-card { box-shadow: 0 12px 32px rgba(1, 3, 93, .07); }
:root[data-theme="light"] .proof-card:hover { box-shadow: 0 15px 38px rgba(1, 3, 93, .11); }
.proof-card-top { min-height: 25px; display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-block-end: 9px; }
.proof-type { color: var(--brand-cyan); font-size: .62rem; font-weight: 760; letter-spacing: .12em; }
:root[data-theme="light"] .proof-type { color: var(--brand-navy); }
.proof-signal { color: var(--brand-red); font-size: .6rem; line-height: 1; }
.proof-image-link { display: block; width: 100%; border: 1px solid var(--border-color); line-height: 0; background: var(--brand-navy); }
.proof-image-link:focus-visible { outline: 3px solid var(--brand-cyan); outline-offset: 4px; }
:root[data-theme="light"] .proof-image-link:focus-visible { outline-color: var(--brand-navy); }
.proof-image-link img { display: block; width: 100%; height: auto; margin: 0; border: 0; border-radius: 0; object-fit: contain; filter: none; transform: none; }
.proof-card figcaption { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-block-start: 10px; padding: 3px; color: var(--text-dark-color); font-size: .74rem; line-height: 1.45; }
.proof-card figcaption > span:first-child { display: flex; flex-direction: column; gap: 4px; }
.proof-card figcaption strong { color: var(--text-color); font-size: .84rem; font-weight: 730; letter-spacing: -.015em; }
.proof-open { color: var(--brand-cyan); font-size: 1.1rem; }
:root[data-theme="light"] .proof-open { color: var(--brand-navy); }
.proof-footnote { max-width: 890px; margin: 11px 0 0; color: var(--text-dark-color); font-size: .72rem; line-height: 1.55; }
.skip-link { position: fixed; z-index: 100; inset: 8px auto auto 8px; transform: translateY(-150%); padding: 12px 16px; border-radius: 6px; background: var(--brand-cyan); color: var(--brand-navy); font-weight: 700; }
.skip-link:focus { transform: translateY(0); }

.hero-primary:focus-visible,
.hero-secondary:focus-visible,
.site-nav a:focus-visible,
.theme-toggle:focus-visible,
.menu-toggle:focus-visible { outline: 3px solid var(--brand-cyan); outline-offset: 4px; }
:root[data-theme="light"] .hero-primary:focus-visible,
:root[data-theme="light"] .hero-secondary:focus-visible,
:root[data-theme="light"] .site-nav a:focus-visible,
:root[data-theme="light"] .theme-toggle:focus-visible,
:root[data-theme="light"] .menu-toggle:focus-visible { outline-color: var(--brand-navy); }

@media (max-width: 1040px) {
  .site-nav { gap: 16px; padding-inline: 22px; }
  .site-links { gap: 15px; }
  .site-links a { font-size: .78rem; }
  .hero-intro { grid-template-columns: minmax(0, 1fr) minmax(280px, .82fr); gap: 35px; }
}
@media (max-width: 840px) {
  .site-nav { min-height: 68px; padding-inline: 20px; gap: 12px; flex-direction: row; justify-content: flex-start; }
  .theme-toggle { margin-inline-start: auto; }
  .menu-toggle {
    order: 4;
    width: 42px;
    height: 42px;
    display: grid;
    place-content: center;
    gap: 6px;
    padding: 0;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: transparent;
    cursor: pointer;
  }
  .menu-toggle span { display: block; width: 18px; height: 1.5px; background: var(--text-color); transition: transform .18s ease; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
  .site-links {
    position: absolute;
    z-index: 30;
    inset: calc(100% + 1px) 0 auto;
    order: 5;
    display: none;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 9px 20px 18px;
    border-block-end: 1px solid var(--border-color);
    background: var(--background-color);
    box-shadow: 0 20px 24px rgba(0, 0, 25, .18);
  }
  .site-links.is-open { display: flex; flex-direction: column; }
  .site-links li a { display: block; padding: 14px 2px; border-block-end: 1px solid var(--border-color); font-size: .9rem; }
  .site-links li:last-child a { margin-block-start: 13px; padding: 13px 15px; border: 0; text-align: center; }
  #hero.hero-section { padding: 56px 22px 76px; }
  .hero-intro { grid-template-columns: 1fr; gap: 20px; margin-block-end: 45px; }
  .hero-conversion { max-width: 650px; justify-self: start; }
  .proof-heading > p { max-width: 320px; }
  .proof-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
  .proof-card:last-child { grid-column: 1 / -1; width: min(100%, 620px); justify-self: center; }
}
@media (max-width: 560px) {
  .site-nav { min-height: 64px; padding-inline: 16px; flex-direction: row; justify-content: flex-start; }
  .site-brand { gap: 8px; }
  .site-brand img { width: 38px; height: 38px; }
  .site-brand strong { font-size: .84rem; }
  .site-brand small { font-size: .47rem; }
  .theme-toggle, .menu-toggle { width: 40px; height: 40px; flex-basis: 40px; }
  #hero.hero-section { padding: 45px 16px 64px; }
  .hero-eyebrow { margin-block-end: 18px; font-size: .62rem; letter-spacing: .13em; }
  #hero.hero-section .hero-copy h1 { font-size: clamp(2.48rem, 11vw, 3.45rem); line-height: 1.04; letter-spacing: -.065em; }
  .hero-intro { gap: 17px; margin-block-end: 39px; }
  #hero.hero-section .hero-lede { font-size: .95rem; line-height: 1.68; }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 9px; margin-block-start: 19px; }
  .hero-primary { width: 100%; min-height: 51px; }
  .hero-secondary { justify-content: center; }
  #hero.hero-section .hero-note { margin-block-start: 11px; font-size: .71rem; }
  .proof-heading { display: block; margin-block-end: 16px; }
  .proof-heading h2 { font-size: 1.42rem; }
  .proof-heading > p { margin-block-start: 9px; font-size: .76rem; text-align: left; }
  .proof-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .proof-card:last-child { grid-column: auto; width: 100%; }
  .proof-card { padding: 9px; }
  .proof-card figcaption { padding-block-start: 11px; }
  .proof-card figcaption strong { font-size: .81rem; }
  .proof-footnote { font-size: .69rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
}
