/* ==========================================================================
   Dyko : feuille de style principale
   Univers "cartes à collectionner" : couleurs vives, reflets holographiques,
   formes de cartes. Aucune image ni marque officielle.
   ========================================================================== */

:root {
  /* Couleurs */
  --ink: #120f26;          /* texte principal sur fond clair */
  --ink-soft: #46426a;     /* texte secondaire sur fond clair */
  --night: #0f0b24;        /* fonds sombres */
  --night-2: #1b1540;
  --paper: #ffffff;
  --mist: #f5f3ff;         /* fond de section clair */
  --line: #e3def7;
  --yellow: #ffd23f;
  --pink: #ff3d8b;
  --violet: #6d4bff;
  --violet-dark: #4b2fd6;  /* violet lisible sur fond clair */
  --cyan: #19c8e6;
  --green: #22c58b;

  --holo: linear-gradient(115deg, #ff3d8b 0%, #ffd23f 22%, #5cf2c8 44%, #19c8e6 62%, #6d4bff 82%, #ff3d8b 100%);
  --holo-conic: conic-gradient(from 210deg, #ff3d8b, #ffd23f, #5cf2c8, #19c8e6, #6d4bff, #ff3d8b);

  /* Typo */
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --fs-h1: clamp(2.1rem, 1.3rem + 3.6vw, 4rem);
  --fs-h2: clamp(1.7rem, 1.2rem + 2vw, 2.6rem);
  --fs-h3: 1.2rem;

  /* Mise en page */
  --wrap: 1160px;
  --gutter: clamp(1rem, 0.6rem + 2vw, 2rem);
  --radius: 18px;
  --radius-card: 14px;
  --shadow: 0 1px 2px rgba(18, 15, 38, .06), 0 10px 30px -12px rgba(18, 15, 38, .18);
  --header-h: 68px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--violet-dark); text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.02em; margin: 0 0 .6em; font-weight: 800; }
h1 { font-size: var(--fs-h1); letter-spacing: -.035em; }
h2 { font-size: var(--fs-h2); letter-spacing: -.03em; }
h3 { font-size: var(--fs-h3); letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul, ol { padding: 0; margin: 0; list-style: none; }

:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; border-radius: 6px; }
.on-dark :focus-visible, .site-header :focus-visible, .site-footer :focus-visible { outline-color: var(--yellow); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--yellow); color: var(--ink); padding: .7rem 1rem; border-radius: 10px;
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: .75rem; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(4rem, 3rem + 4vw, 7rem); }
.section--mist { background: var(--mist); }
.section--dark { background: var(--night); color: #fff; }
.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.25rem); }
.section-head p { color: var(--ink-soft); font-size: 1.125rem; }
.section--dark .section-head p { color: #cfc9f3; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--violet-dark); margin-bottom: 1rem;
}
.eyebrow::before {
  content: ""; width: 14px; height: 19px; border-radius: 3px; background: var(--holo);
  box-shadow: 0 0 0 2px rgba(255,255,255,.6) inset;
}
.section--dark .eyebrow, .hero .eyebrow { color: var(--yellow); }

.holo-text {
  background: var(--holo); -webkit-background-clip: text; background-clip: text; color: transparent;
  background-size: 200% 100%;
}

/* ---------- Boutons ---------- */
.btn {
  --bg: var(--yellow); --fg: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .8rem 1.35rem;
  border-radius: 999px; border: 2px solid transparent;
  background: var(--bg); color: var(--fg);
  font: inherit; font-weight: 750; font-size: 1rem; line-height: 1.2; text-decoration: none;
  cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background-color .2s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 24px -10px rgba(255, 210, 63, .7); }
.btn:active { transform: translateY(0); }
.btn--ghost { --bg: transparent; --fg: #fff; border-color: rgba(255,255,255,.45); }
.btn--ghost:hover { border-color: #fff; box-shadow: none; background: rgba(255,255,255,.06); }
.btn--dark { --bg: var(--ink); --fg: #fff; }
.btn--dark:hover { box-shadow: 0 10px 24px -10px rgba(18,15,38,.6); }
.btn svg { width: 18px; height: 18px; flex: none; }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(15, 11, 36, .88);
  -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.08);
  color: #fff;
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 1rem; }
.logo { display: inline-flex; align-items: center; gap: .6rem; color: #fff; text-decoration: none; font-weight: 850; font-size: 1.45rem; letter-spacing: -.04em; }
.logo svg { width: 32px; height: 40px; }
.nav { display: flex; align-items: center; gap: .25rem; }
.nav a:not(.btn) {
  color: #e9e6ff; text-decoration: none; font-weight: 600; font-size: .95rem;
  padding: .55rem .75rem; border-radius: 10px;
}
.nav a:not(.btn):hover { background: rgba(255,255,255,.08); color: #fff; }
.nav .btn { min-height: 42px; padding: .6rem 1.1rem; margin-left: .5rem; font-size: .95rem; }
.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 12px; border: 1px solid rgba(255,255,255,.2);
  background: transparent; color: #fff; cursor: pointer;
}
.nav-toggle svg { width: 24px; height: 24px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: .25rem;
    padding: 1rem var(--gutter) 1.5rem;
    background: var(--night); border-bottom: 1px solid rgba(255,255,255,.1);
    box-shadow: 0 20px 40px -20px rgba(0,0,0,.6);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; transition: opacity .2s ease, transform .2s ease; }
  .nav a:not(.btn) { padding: .85rem .75rem; font-size: 1.05rem; }
  .nav .btn { margin: .5rem 0 0; min-height: 50px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(60rem 40rem at 85% -10%, rgba(109, 75, 255, .55), transparent 60%),
    radial-gradient(40rem 30rem at -10% 110%, rgba(255, 61, 139, .35), transparent 60%),
    var(--night);
  color: #fff;
  padding-block: clamp(3rem, 2rem + 5vw, 6.5rem) clamp(3.5rem, 2.5rem + 5vw, 7rem);
}
.hero::before { /* trame de points discrète */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .35;
  background-image: radial-gradient(rgba(255,255,255,.18) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 85%); mask-image: linear-gradient(to bottom, #000, transparent 85%);
}
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: clamp(2rem, 1rem + 4vw, 4rem); }
.hero h1 { margin-bottom: .45em; }
.hero-lead { font-size: clamp(1.06rem, 1rem + .4vw, 1.25rem); color: #d9d4fb; max-width: 36rem; }
.hero-lead strong { color: #fff; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.hero-games { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.75rem; }
.hero-games li {
  font-size: .85rem; font-weight: 700; padding: .35rem .75rem; border-radius: 999px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); color: #fff;
}

/* Éventail de cartes (visuel original) */
.card-fan { position: relative; height: clamp(320px, 40vw, 460px); perspective: 1200px; }
.tcg-card {
  --w: clamp(150px, 17vw, 220px);
  position: absolute; left: 50%; top: 50%;
  width: var(--w); aspect-ratio: 63 / 88;
  border-radius: var(--radius-card);
  padding: 7px;
  background: var(--holo-conic);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.65), 0 0 0 1px rgba(255,255,255,.25) inset;
  transform-style: preserve-3d;
  transition: transform .5s cubic-bezier(.2,.8,.2,1);
}
.tcg-card__inner {
  position: relative; height: 100%; border-radius: 9px; overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between; padding: 12px;
  color: #fff;
}
.tcg-card__inner::after { /* reflet holographique */
  content: ""; position: absolute; inset: -40%;
  background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.55) 45%, rgba(255, 210, 63, .35) 50%, rgba(25, 200, 230, .35) 55%, transparent 65%);
  mix-blend-mode: overlay;
  transform: translateX(var(--shine, -30%));
  transition: transform .4s ease;
  pointer-events: none;
}
.tcg-card__top { display: flex; justify-content: space-between; align-items: center; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; position: relative; z-index: 1; }
.tcg-card__gem { width: 18px; height: 18px; border-radius: 50%; background: var(--holo-conic); box-shadow: 0 0 0 2px rgba(255,255,255,.7); }
.tcg-card__art { position: relative; z-index: 1; flex: 1; margin: 10px 0; border-radius: 6px; display: grid; place-items: center; overflow: hidden; }
.tcg-card__art svg { width: 70%; height: auto; }
.tcg-card__bottom { position: relative; z-index: 1; font-size: .7rem; font-weight: 700; opacity: .9; display: flex; justify-content: space-between; }
.tcg-card--a { transform: translate(-95%, -48%) rotate(-14deg); }
.tcg-card--a .tcg-card__inner { background: linear-gradient(160deg, #ff3d8b, #7a1fd6); }
.tcg-card--a .tcg-card__art { background: radial-gradient(circle at 50% 40%, rgba(255,255,255,.35), rgba(255,255,255,.05) 60%); }
.tcg-card--b { transform: translate(-50%, -56%) rotate(0deg); z-index: 2; }
.tcg-card--b .tcg-card__inner { background: linear-gradient(160deg, #2a1d7a, #0e7fa6); }
.tcg-card--b .tcg-card__art { background: radial-gradient(circle at 50% 40%, rgba(255, 210, 63, .5), rgba(255,255,255,.04) 65%); }
.tcg-card--c { transform: translate(-5%, -46%) rotate(13deg); }
.tcg-card--c .tcg-card__inner { background: linear-gradient(160deg, #ffb13f, #ff3d6e); }
.tcg-card--c .tcg-card__art { background: radial-gradient(circle at 50% 40%, rgba(255,255,255,.4), rgba(255,255,255,.05) 60%); }
.card-fan:hover .tcg-card--a { transform: translate(-108%, -48%) rotate(-18deg); }
.card-fan:hover .tcg-card--c { transform: translate(8%, -46%) rotate(17deg); }
.card-fan:hover .tcg-card__inner::after { --shine: 30%; }
.card-fan .spark { position: absolute; border-radius: 50%; background: var(--yellow); filter: blur(.3px); animation: twinkle 3.2s ease-in-out infinite; }
@keyframes twinkle { 0%, 100% { opacity: .2; transform: scale(.6); } 50% { opacity: 1; transform: scale(1); } }
@media (prefers-reduced-motion: reduce) {
  .card-fan .spark { animation: none; opacity: .7; }
  .tcg-card, .tcg-card__inner::after { transition: none; }
}

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .card-fan { height: 250px; order: -1; margin-top: -1rem; }
  .tcg-card { --w: 132px; }
}
@media (max-width: 420px) {
  .card-fan { height: 220px; }
  .tcg-card { --w: 118px; }
  .tcg-card__top { font-size: .62rem; }
  .hero-actions .btn { width: 100%; }
}

/* ---------- Bandeau confiance ---------- */
.trust { background: var(--night-2); color: #fff; border-top: 1px solid rgba(255,255,255,.08); }
.trust ul { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; padding-block: 1.4rem; }
.trust li { display: flex; align-items: center; gap: .75rem; font-weight: 650; font-size: .95rem; line-height: 1.3; }
.trust svg { flex: none; width: 34px; height: 34px; padding: 7px; border-radius: 10px; background: rgba(255,255,255,.08); color: var(--yellow); }
@media (max-width: 900px) { .trust ul { grid-template-columns: repeat(2, 1fr); gap: 1rem 1.25rem; } }
@media (max-width: 420px) { .trust li { font-size: .9rem; } }

/* ---------- Étapes ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; counter-reset: step; }
.step {
  position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.75rem 1.5rem 1.5rem; box-shadow: var(--shadow);
}
.step__num {
  display: inline-grid; place-items: center; width: 44px; height: 58px; margin-bottom: 1.1rem;
  border-radius: 8px; background: var(--holo); color: var(--ink); font-weight: 900; font-size: 1.35rem;
  box-shadow: 0 0 0 3px #fff inset, 0 6px 16px -6px rgba(109,75,255,.6);
}
.step p { color: var(--ink-soft); margin: 0; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Grille d'avantages ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.feature { padding: 1.5rem; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); }
.feature h3 { margin-bottom: .4em; }
.feature p { color: var(--ink-soft); margin: 0; font-size: 1rem; }
.feature__icon {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 1rem;
  background: #efeaff; color: var(--violet-dark);
}
.feature__icon svg { width: 24px; height: 24px; }
@media (max-width: 960px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .features { grid-template-columns: 1fr; } }

/* ---------- Machines ---------- */
.machines { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.machine {
  display: grid; grid-template-columns: 1fr; border-radius: calc(var(--radius) + 4px); overflow: hidden;
  background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.machine__photo {
  position: relative; margin: 0; aspect-ratio: 4 / 3; overflow: hidden;
  background: linear-gradient(160deg, var(--night-2), var(--night));
}
.machine__photo img { width: 100%; height: 100%; object-fit: cover; }
.machine__tag {
  position: absolute; left: 1rem; top: 1rem; z-index: 1;
  font-size: .78rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  background: var(--yellow); color: var(--ink); padding: .35rem .7rem; border-radius: 999px;
}
.machine__body { padding: 1.5rem; }
.machine__body > p { color: var(--ink-soft); }
.specs { display: grid; grid-template-columns: auto 1fr; gap: .55rem 1.25rem; margin: 1.25rem 0 0; font-size: .97rem; }
.specs dt { font-weight: 700; color: var(--ink); }
.specs dd { margin: 0; color: var(--ink-soft); }
.todo { /* valeur provisoire, à remplacer */
  display: inline-block; padding: 0 .4em; border-radius: 5px; background: #fff4c7; color: #6b4e00; font-weight: 650;
}
@media (max-width: 860px) { .machines { grid-template-columns: 1fr; } }

/* ---------- Rémunération ---------- */
.revenue { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(1.5rem, 1rem + 3vw, 3.5rem); align-items: center; }
.revenue-card {
  position: relative; border-radius: 22px; padding: 6px; background: var(--holo-conic);
  box-shadow: 0 30px 60px -25px rgba(109,75,255,.55);
}
.revenue-card__inner {
  border-radius: 17px; background: var(--night); color: #fff; padding: clamp(1.75rem, 1.25rem + 2vw, 2.75rem);
  text-align: center;
}
.revenue-card__label { font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: #cfc9f3; margin: 0; }
.revenue-card__value { font-size: clamp(3.6rem, 2.5rem + 5vw, 5.75rem); font-weight: 900; line-height: 1; letter-spacing: -.05em; margin: .35em 0 .2em; }
.revenue-card__value .holo-text { padding-right: .05em; }
.revenue-card__desc { color: #e5e1ff; margin: 0; }
.checklist li { position: relative; padding-left: 2.1rem; margin-bottom: 1rem; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .15em; width: 1.4rem; height: 1.4rem; border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 62% no-repeat;
}
.checklist strong { display: block; }
.checklist span { color: var(--ink-soft); }
@media (max-width: 860px) { .revenue { grid-template-columns: 1fr; } }

/* ---------- Lieux ---------- */
.places { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(1.5rem, 1rem + 3vw, 3.5rem); align-items: start; }
.chips { display: flex; flex-wrap: wrap; gap: .6rem; }
.chips li {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .6rem 1rem; border-radius: 12px; background: var(--paper); border: 1px solid var(--line);
  font-weight: 650; font-size: .97rem;
}
.chips li::before { content: ""; width: 9px; height: 12px; border-radius: 2px; background: var(--holo); flex: none; }
.zone {
  border-radius: var(--radius); padding: 1.75rem; color: #fff;
  background: radial-gradient(30rem 20rem at 100% 0%, rgba(109,75,255,.6), transparent 60%), var(--night);
}
.zone h3 { color: #fff; }
.zone p { color: #d9d4fb; }
.zone ul { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 1rem; }
.zone li { padding: .3rem .7rem; border-radius: 999px; background: rgba(255,255,255,.1); font-size: .9rem; font-weight: 650; }
@media (max-width: 860px) { .places { grid-template-columns: 1fr; } }

/* ---------- Joueurs ---------- */
.players { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 1rem + 3vw, 3.5rem); align-items: center; }
.players .checklist span { color: #cfc9f3; }
.game-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.6rem, .4rem + 1vw, 1rem); }
.game-card {
  aspect-ratio: 63 / 88; border-radius: var(--radius-card); padding: 5px; background: var(--holo-conic);
  box-shadow: 0 20px 40px -18px rgba(0,0,0,.7);
  transition: transform .3s ease;
}
.game-card:nth-child(2) { transform: translateY(-14px); }
.game-card__inner {
  height: 100%; border-radius: 10px; display: flex; flex-direction: column; justify-content: flex-end;
  padding: .85rem; position: relative; overflow: hidden;
}
.game-card__inner::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.22) 1.2px, transparent 1.2px); background-size: 12px 12px; opacity: .6;
}
.game-card__name { position: relative; font-weight: 850; font-size: clamp(.85rem, .75rem + .4vw, 1.05rem); line-height: 1.15; color: #fff; }
.game-card__sub { position: relative; font-size: .72rem; font-weight: 700; color: rgba(255,255,255,.85); text-transform: uppercase; letter-spacing: .08em; margin-top: .25rem; }
.game-card--1 .game-card__inner { background: linear-gradient(170deg, #ffcf3f, #ff6a3d 70%); }
.game-card--2 .game-card__inner { background: linear-gradient(170deg, #6d4bff, #2a1673 75%); }
.game-card--3 .game-card__inner { background: linear-gradient(170deg, #ff3d6e, #a3123c 75%); }
.players-note {
  margin-top: 2rem; padding: 1.1rem 1.25rem; border-radius: 14px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); color: #e5e1ff;
}
.players-note a { color: var(--yellow); font-weight: 700; }
@media (max-width: 860px) { .players { grid-template-columns: 1fr; } .game-cards { max-width: 420px; margin-top: 1rem; } }

/* ---------- Engagements ---------- */
.commit { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.commit li { padding: 1.5rem; border-radius: var(--radius); border: 1px solid var(--line); background: var(--paper); }
.commit h3 { font-size: 1.08rem; }
.commit p { color: var(--ink-soft); margin: 0; font-size: .98rem; }
.commit .feature__icon { background: #fff4c7; color: #7a5600; }
@media (max-width: 960px) { .commit { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .commit { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { max-width: 52rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.2rem .25rem; font-weight: 750; font-size: 1.08rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%; background: #efeaff
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234b2fd6' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 16px no-repeat;
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--violet-dark); }
.faq .answer { padding: 0 .25rem 1.3rem; color: var(--ink-soft); max-width: 46rem; }
.faq .answer p:last-child { margin: 0; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(1.5rem, 1rem + 3vw, 4rem); align-items: start; }
.contact-direct { margin-top: 1.5rem; display: grid; gap: .75rem; }
.contact-direct li { display: flex; gap: .75rem; align-items: center; color: #e5e1ff; }
.contact-direct svg { width: 22px; height: 22px; color: var(--yellow); flex: none; }
.contact-direct a { color: #fff; font-weight: 700; }
.form {
  background: var(--paper); color: var(--ink); border-radius: calc(var(--radius) + 4px);
  padding: clamp(1.25rem, 1rem + 1.5vw, 2.25rem); box-shadow: 0 30px 60px -30px rgba(0,0,0,.7);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1rem; }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font-weight: 700; font-size: .95rem; }
.field .opt { font-weight: 500; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: .8rem .9rem; min-height: 48px; border-radius: 12px; border: 1.5px solid #cfc8ec; background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { min-height: 130px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 2.5rem;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2346426a' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right .8rem center / 18px no-repeat; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 4px rgba(109,75,255,.18); }
.field [aria-invalid="true"] { border-color: #c81e4e; }
.field-error { color: #b0103f; font-size: .88rem; font-weight: 600; min-height: 0; }
.field-error:empty { display: none; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.radios { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .4rem; }
.radios label {
  display: inline-flex; align-items: center; gap: .5rem; cursor: pointer;
  padding: .6rem .9rem; border-radius: 12px; border: 1.5px solid #cfc8ec; font-weight: 650; font-size: .97rem;
}
.radios input { width: 18px; height: 18px; min-height: 0; accent-color: var(--violet-dark); margin: 0; }
.radios label:has(input:checked) { border-color: var(--violet); background: #f3efff; }
.consent { display: flex; gap: .7rem; align-items: flex-start; font-size: .92rem; color: var(--ink-soft); }
.consent input { width: 20px; height: 20px; min-height: 0; flex: none; margin-top: .15rem; accent-color: var(--violet-dark); }
.form-footer { margin-top: 1.25rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.form-footer .btn { min-width: 220px; }
.form-hint { font-size: .86rem; color: var(--ink-soft); margin: 0; }
.form-status { margin-top: 1rem; padding: .9rem 1rem; border-radius: 12px; font-weight: 600; }
.form-status:empty { display: none; }
.form-status--ok { background: #e5f9ef; color: #0f6b47; }
.form-status--error { background: #fde8ee; color: #9e0d3a; }
.hp { display: none; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } .form-footer .btn { width: 100%; } }

/* ---------- Pied de page ---------- */
.site-footer { background: #0a0719; color: #c9c4ec; padding-block: 3rem 2rem; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.site-footer h2 { font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; color: #fff; margin-bottom: 1rem; }
.site-footer a { color: #e9e6ff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer li { margin-bottom: .5rem; }
.footer-bottom {
  margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.1);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 2rem; font-size: .86rem; color: #b5afdc;
}
.footer-bottom p { margin: 0; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 1.75rem; } }

/* ---------- Pages légales ---------- */
.legal-hero { background: var(--night); color: #fff; padding-block: 3rem 2.5rem; }
.legal-hero h1 { font-size: clamp(1.9rem, 1.4rem + 2vw, 2.8rem); margin: 0; }
.legal-hero p { color: #cfc9f3; margin: .75rem 0 0; }
.legal { max-width: 48rem; padding-block: 3rem 4.5rem; }
.legal h2 { font-size: 1.4rem; margin-top: 2.25rem; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { color: var(--ink-soft); }
.legal ul { list-style: disc; padding-left: 1.25rem; margin-bottom: 1em; }
.legal li { margin-bottom: .35rem; }
.legal dl { display: grid; grid-template-columns: max-content 1fr; gap: .5rem 1.5rem; }
.legal dt { font-weight: 700; }
.legal dd { margin: 0; color: var(--ink-soft); }
@media (max-width: 560px) { .legal dl { grid-template-columns: 1fr; gap: .15rem; } .legal dd { margin-bottom: .6rem; } }

/* ---------- Apparition au défilement ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
.no-js .reveal { opacity: 1; transform: none; }

[hidden] { display: none !important; }

/* Évite les débordements horizontaux des colonnes de grille */
.hero .wrap > *, .revenue > *, .places > *, .players > *, .contact > *, .machines > *, .steps > *, .features > *, .commit > * { min-width: 0; }
.tcg-card__top, .tcg-card__bottom { white-space: nowrap; gap: .4rem; }
@media (max-width: 900px) { .tcg-card__top, .tcg-card__bottom { font-size: .62rem; } .tcg-card__inner { padding: 9px; } }
@media (max-width: 860px) { .revenue .revenue-card { order: 2; } }
.revenue-card__value--text { font-size: clamp(2.6rem, 2rem + 3vw, 4rem); letter-spacing: -.04em; }
