:root {
  --night: #111515;
  --ink: #1d1c18;
  --paper: #f3ecdf;
  --hero-pink: #ed93b3;
  --gold: #d6a735;
  --red: #8d2022;
  --muted: #b9b1a4;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--paper);
  background: var(--night);
  font-family: "Pliant", system-ui, sans-serif;
}

.site-header, footer {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.site-header {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-inline: max(24px, calc((100vw - 1120px) / 2));
  min-height: 92px;
  align-items: center;
  background: var(--hero-pink);
  position: absolute;
  top: 0;
  left: 0;
}
.wordmark {
  display: inline-flex;
  gap: 0;
  color: #08090a;
  font-family: "Press Start 2P", monospace;
  font-size: 1.02rem;
  letter-spacing: 0;
  line-height: 1.2;
  text-decoration: none;
}
.wordmark span { color: inherit; }
.wordmark > span:last-child { color: #f7f0e8; }
.wordmark .rainbow-letter:nth-child(6) { margin-right: .32rem; }
.wordmark .rainbow-letter:nth-child(2) { margin-left: -2px; }
.pride-month .wordmark .rainbow-letter:nth-child(1) { color: #e40303; }
.pride-month .wordmark .rainbow-letter:nth-child(2) { color: #ff8c00; }
.pride-month .wordmark .rainbow-letter:nth-child(3) { color: #ffed00; }
.pride-month .wordmark .rainbow-letter:nth-child(4) { color: #008026; }
.pride-month .wordmark .rainbow-letter:nth-child(5) { color: #004dff; }
.pride-month .wordmark .rainbow-letter:nth-child(6) { color: #750787; }
.language-picker {
  position: relative;
}
.language-toggle,
.language-menu button {
  color: #08090a;
  background: transparent;
  border: 0;
  font: inherit;
  cursor: pointer;
}
.language-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 0;
  font-size: .85rem;
  font-weight: 700;
}
.language-toggle span:last-child {
  display: inline-block;
  transform: translateY(-2px);
}
.language-menu {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  z-index: 5;
  min-width: 142px;
  padding: 6px;
  background: #f7f0e8;
  border: 1px solid #08090a;
  box-shadow: 4px 4px 0 #08090a;
}
.language-menu button {
  width: 100%;
  display: block;
  padding: 8px 9px;
  text-align: left;
  font-size: .8rem;
  font-weight: 700;
}
.language-menu button:hover,
.language-menu button:focus-visible {
  color: #f7f0e8;
  background: #08090a;
}
.cookie-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9;
  background: rgba(8, 9, 10, .18);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}
.cookie-banner {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 10;
  width: min(370px, calc(100% - 32px));
  padding: 22px;
  color: #08090a;
  background: var(--hero-pink);
  border: 2px solid #08090a;
  box-shadow: 7px 7px 0 #08090a;
}
.cookie-kicker {
  margin: 0 0 10px;
  font-family: "Press Start 2P", monospace;
  font-size: .68rem;
  line-height: 1.5;
}
.cookie-banner h2 {
  margin: 0 0 9px;
  font-family: "Press Start 2P", monospace;
  font-size: 1.15rem;
  font-weight: 900;
  line-height: 1.1;
}
.cookie-banner > p:not(.cookie-kicker) {
  margin: 0;
  font-size: .9rem;
  font-weight: 700;
  line-height: 1.45;
}
.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px 12px;
  margin-top: 18px;
}
.cookie-actions button {
  padding: 9px 13px;
  color: #f7f0e8;
  background: #08090a;
  border: 1px solid #08090a;
  font: inherit;
  font-size: .78rem;
  font-weight: 700;
  cursor: pointer;
}
.cookie-actions button:nth-child(2) {
  color: #08090a;
  background: transparent;
}
.cookie-actions button:hover,
.cookie-actions button:focus-visible {
  color: #08090a;
  background: #f7f0e8;
}
.cookie-actions a {
  color: #08090a;
  font-size: .72rem;
  font-weight: 700;
}
footer a {
  color: var(--paper);
  text-decoration: none;
  font-size: .88rem;
  line-height: 1;
}
footer span { color: #08090a; font-size: .88rem; line-height: 1; }
footer a:hover { color: #f7f0e8; }

.hero {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  height: 100svh;
  display: grid;
  align-content: center;
  padding: 58px max(24px, calc((100vw - 1120px) / 2)) 24px;
  overflow: hidden;
  color: #08090a;
  background: var(--hero-pink);
}
.hero::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0 !important;
  width: auto !important;
  height: auto !important;
  background: var(--hero-pink) url("assets/hero-pixels.svg") 0 0 / 512px 384px repeat;
}
.hero::after {
  content: "DES  JEUX\A QUI FONT DU BIEN     ♡";
  position: absolute;
  z-index: 1;
  top: 44px;
  right: 72px;
  width: 360px;
  height: 126px;
  padding: 48px 25px 0;
  color: #17181a;
  background:
    radial-gradient(circle at 18px 17px, #ef9198 0 6px, transparent 7px),
    radial-gradient(circle at 42px 17px, #eee9df 0 6px, #17181a 6px 8px, transparent 8px),
    radial-gradient(circle at 66px 17px, #eee9df 0 6px, #17181a 6px 8px, transparent 8px),
    linear-gradient(#eee9df 0 34px, #eee9df 34px);
  border: 2px solid #17181a;
  box-shadow: 0 0 0 1px rgba(238, 233, 223, .3);
  font-family: "Press Start 2P", monospace;
  font-size: .82rem;
  line-height: 1.55;
  white-space: pre;
  transform: rotate(-9deg);
}
.hero::before,
.hero::after {
  display: none;
}
.eyebrow {
  margin: 0 0 18px;
  color: var(--gold);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .17em;
  text-transform: uppercase;
}
h1, h2 { margin: 0; font-family: Artifika, Georgia, serif; font-weight: 400; }
h1 {
  position: relative;
  z-index: 2;
  max-width: 530px;
  margin-top: 0;
  font-family: "Inter", sans-serif;
  font-size: 4.6rem;
  line-height: 1;
  letter-spacing: 0;
  font-weight: 900;
}
h1 em { color: #f7f0e8; font-style: normal; }
h1 span,
h1 em {
  display: block;
  white-space: nowrap;
}
.intro,
.game-copy {
  font-family: "Pliant", system-ui, sans-serif;
  font-weight: 700;
}
.intro { position: relative; z-index: 2; max-width: 580px; margin: 16px 0 0; color: #17181a; font-size: 1rem; font-weight: 700; line-height: 1.45; }
.scroll-cue {
  position: absolute;
  z-index: 3;
  right: 50%;
  bottom: 34px;
  display: grid;
  place-items: center;
  color: #08090a;
  font-family: Georgia, serif;
  font-size: 5rem;
  font-weight: 700;
  line-height: .5;
  text-decoration: none;
  transform: translateX(50%);
  transition: color .2s ease, transform .2s ease;
}
.scroll-cue:hover {
  color: #08090a;
  transform: translate(50%, 3px);
}
.scroll-cue:active,
.scroll-cue:focus-visible { color: #08090a; }
.primary-button {
  width: fit-content;
  padding: 15px 23px;
  color: var(--paper);
  background: var(--red);
  border: 1px solid var(--gold);
  box-shadow: 4px 4px 0 rgba(0, 0, 0, .28);
  font-weight: 700;
  text-decoration: none;
}
.primary-button:hover { background: #ad2a2c; transform: translateY(-2px); }

.game {
  height: 680px;
  min-height: 0;
  display: grid;
  grid-template-rows: 300px 58px 36px;
  align-content: center;
  row-gap: 18px;
  padding: 70px max(24px, calc((100vw - 1120px) / 2));
  color: var(--ink);
  background: var(--paper);
}
.game .eyebrow { margin: 0; }
.game-visual {
  width: min(100%, 632px);
  height: 300px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}
.game-visual--nine { width: min(100%, 610px); }
.game--nine {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--paper);
  background: #4a4031;
}
.game--nine::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: url("assets/nine-lives-background.png") center / cover no-repeat;
}
.game--nine > * {
  position: relative;
  z-index: 1;
}
.game--nine .game-copy { color: var(--paper); }
.game--nine .coming-soon { color: var(--paper); border-color: var(--gold); }
.game--fleche {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--paper);
  background: #0b3210;
}
.game--fleche::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: url("assets/flechemoica-blurred-field.png") center / cover no-repeat;
  filter: none;
  transform: none;
  opacity: 1;
}
.game--fleche > * {
  position: relative;
  z-index: 1;
}
.game--fleche .game-subtitle { color: var(--gold); }
.game--fleche .game-copy { color: #000; }
.game--fleche .coming-soon { color: var(--paper); border-color: var(--gold); }
.game--fleche .eyebrow { color: #fff; }
.fleche-logo {
  display: block;
  width: 78px;
  height: 78px;
  margin: 0 0 22px;
  object-fit: contain;
}
.game--fleche h2 {
  font-family: "Inter", sans-serif;
  font-style: italic;
  font-weight: 900;
  color: #111;
  font-size: clamp(2rem, 7.5vw, 6.5rem);
  letter-spacing: -.015em;
  line-height: 1;
  white-space: nowrap;
}
.game--fleche h2 span { color: #111; }
.game--fleche .coming-soon { color: #111; background: #f3e7ad; border-color: #f3e7ad; }
.fleche-discover {
  color: #111;
  background: #c4adf3;
  border: 1px solid #111;
}
.fleche-discover:hover { color: #111; background: #d3c2ff; }
h2 { font-size: clamp(3.2rem, 8vw, 6.5rem); line-height: .8; letter-spacing: -.045em; }
h2 span { color: var(--red); }
.game-logo {
  display: block;
  width: min(100%, 610px);
  height: auto;
  margin: 0;
}
.game-subtitle { margin: 28px 0 10px; color: var(--gold); font-family: Artifika, Georgia, serif; font-size: 1.6rem; }
.game-banner {
  width: 67.4%;
  aspect-ratio: 332 / 45;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 18px 0 0 17.7%;
  padding: 14px 42px;
  color: #f3c846;
  background: url("assets/nine-lives-banner.png") center / 100% 100% no-repeat;
  border: 0;
  filter: none;
  font-family: "Artifika", Georgia, serif;
  font-size: clamp(.95rem, 2.4vw, 1.55rem);
  font-style: normal;
  font-weight: 400;
  line-height: 1;
  text-align: center;
}
.game-banner span {
  color: transparent;
  background: linear-gradient(90deg, #9e6617, #ebb345, #ffeda3, #c78721, #ffe076, #915712);
  background-clip: text;
  -webkit-background-clip: text;
  white-space: nowrap;
}
.game-copy { max-width: 390px; margin: 0; line-height: 1.65; }
.game-cta {
  width: fit-content;
  min-width: 184px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0 14px;
  box-shadow: none;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .13em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  transform: translateY(18px);
}
.coming-soon { color: var(--red); border: 1px solid var(--red); }

footer {
  width: 100%;
  min-height: 116px;
  padding: 26px max(24px, calc((100vw - 1120px) / 2));
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 16px;
  color: #08090a;
  background: var(--hero-pink);
  font-size: .78rem;
  text-align: center;
}
footer nav {
  order: 1;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  text-align: center;
}
footer > span { order: 2; }
footer a { color: #08090a; }
.footer-cookie-link {
  display: inline-block;
  padding: 0;
  color: #08090a;
  background: transparent;
  border: 0;
  font: inherit;
  font-size: .88rem;
  line-height: 1;
  cursor: pointer;
}
.footer-cookie-link:hover,
.footer-cookie-link:focus-visible { color: #f7f0e8; }

.legal-page {
  min-height: 100vh;
  color: #08090a;
  background: #f7f0e8;
}
.legal-header {
  position: static;
  width: 100%;
  min-height: 92px;
  margin: 0 auto;
  padding-inline: max(24px, calc((100vw - 1120px) / 2));
  background: var(--hero-pink);
}
.legal-content {
  width: min(760px, calc(100% - 48px));
  margin: 0 auto;
  padding: 42px 0 72px;
}
.legal-content h1 {
  max-width: none;
  margin: 26px 0 48px;
  color: #08090a;
  font-size: clamp(2.2rem, 6vw, 4.6rem);
  line-height: 1.05;
}
.legal-content h2 {
  margin: 0 0 14px;
  color: var(--hero-pink);
  font-family: "Inter", sans-serif;
  font-size: 1.2rem;
  font-weight: 900;
  line-height: 1.2;
}
.legal-content section {
  margin-top: 40px;
}
.legal-content p {
  margin: 0 0 14px;
  color: #08090a;
  font-size: 1rem;
  line-height: 1.7;
}
.legal-content ul {
  margin: 0 0 14px;
  padding-left: 1.25rem;
  color: #08090a;
  font-size: 1rem;
  line-height: 1.7;
}
.legal-content a {
  color: #08090a;
}
.legal-content a:hover { color: var(--hero-pink); }
.back-link {
  color: var(--gold) !important;
  font-size: .85rem;
  font-weight: 700;
  text-decoration: none;
}
.legal-update {
  margin-top: -30px !important;
  font-size: .85rem !important;
}
.policy-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 42px;
}
.policy-picker button {
  padding: 11px 14px;
  color: #08090a;
  background: transparent;
  border: 2px solid #08090a;
  font: inherit;
  font-size: .85rem;
  font-weight: 700;
  cursor: pointer;
}
.policy-picker button:hover,
.policy-picker button:focus-visible,
.policy-picker button.is-active {
  color: #f7f0e8;
  background: #08090a;
}
.legal-page footer {
  width: 100%;
  min-height: 116px;
  margin: 0;
}
.contact-content h1 {
  margin-bottom: 18px;
  font-family: "Inter", sans-serif;
  font-style: italic;
  font-weight: 900;
  white-space: nowrap;
}
.contact-cursor {
  display: inline-block;
  color: var(--hero-pink);
  font-size: .72em;
  margin-left: .02em;
  animation: contact-cursor-blink 1s steps(1, end) infinite;
}
@keyframes contact-cursor-blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}
.contact-lead { max-width: 620px; font-size: 1.15rem !important; }
.contact-prompts {
  display: flex;
  flex-wrap: wrap;
  gap: 0 .25em;
  margin: 0;
  color: var(--hero-pink) !important;
  font-family: "Inter", sans-serif;
  font-size: 1.2rem !important;
  font-weight: 900;
  line-height: 1.2 !important;
}
.contact-prompts span { white-space: nowrap; }
.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 24px;
  margin-top: 44px;
}
.contact-form-field { display: flex; flex-direction: column; gap: 8px; }
.contact-form-field--wide { grid-column: 1 / -1; }
.contact-form label { color: #08090a; font-size: .85rem; font-weight: 700; }
.contact-form input,
.contact-form select,
.contact-form textarea {
  box-sizing: border-box;
  width: 100%;
  padding: 12px;
  color: #08090a;
  background: #fff;
  border: 2px solid #08090a;
  border-radius: 0;
  font: inherit;
}
.contact-form select {
  min-height: 46px;
  appearance: none;
  background-color: #fff;
  background-image: linear-gradient(45deg, transparent 50%, #08090a 50%), linear-gradient(135deg, #08090a 50%, transparent 50%);
  background-position: calc(100% - 17px) 50%, calc(100% - 12px) 50%;
  background-repeat: no-repeat;
  background-size: 5px 5px;
  padding-right: 36px;
}
.contact-form textarea { resize: vertical; }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus { outline: 3px solid var(--gold); outline-offset: 2px; }
.contact-submit {
  grid-column: 1 / -1;
  justify-self: start;
  padding: 12px 24px;
  color: #f7f0e8;
  background: #08090a;
  border: 2px solid #08090a;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.contact-submit:hover,
.contact-submit:focus-visible { color: #08090a; background: var(--hero-pink); }
.contact-success-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  color: #08090a;
  background: #f7f0e8;
}
.contact-success-content {
  width: min(100%, 1120px);
  padding: 24px 18px 42px;
  border: 3px solid #8ca5bf;
  background: #fffef5;
}
.contact-success-content h1 {
  margin: 0 0 42px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
}
.contact-success-content p {
  max-width: 1080px;
  margin: 0;
  font-size: clamp(1.35rem, 3vw, 2.2rem);
  line-height: 1.25;
}
.contact-success-link {
  display: inline-block;
  margin-top: 32px;
  padding: 12px 18px;
  color: #f7f0e8;
  background: #08090a;
  font-weight: 700;
  text-decoration: none;
}
.contact-success-link:hover,
.contact-success-link:focus-visible { color: #08090a; background: var(--hero-pink); }
html.fleche-page-root { background: var(--hero-pink); }
.fleche-page {
  min-height: 100vh;
  color: #08090a;
  background: var(--hero-pink);
  overflow: visible;
}
.fleche-page-header {
  position: static;
  width: 100%;
  min-height: 92px;
  padding-inline: max(24px, calc((100vw - 1120px) / 2));
  background: var(--hero-pink);
}
.fleche-home-link {
  color: #08090a;
  font-family: "Pliant", system-ui, sans-serif;
  font-size: .9rem;
  font-weight: 700;
  text-decoration: none;
}
.fleche-home-link:hover { color: #f7f0e8; }
.fleche-page-content {
  width: 100%;
  height: auto;
  min-height: 0;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
}
.xp-window {
  width: min(920px, 100%);
  max-width: 100%;
  height: auto;
  min-width: 0;
  overflow: visible;
  background: #f3f0e8;
  border: 2px solid #1b4f9c;
  border-radius: 9px 9px 5px 5px;
  box-shadow: 0 22px 45px rgba(0, 0, 0, .35), inset 0 0 0 1px #fff;
}

.fleche-page-root { scroll-behavior: smooth; }
.fleche-page .xp-content > section { scroll-margin-top: 104px; }
.xp-sticky-chrome {
  position: sticky;
  top: 0;
  z-index: 30;
  overflow: hidden;
  background: #ece9d8;
  border-radius: 7px 7px 0 0;
  box-shadow: 0 6px 10px -7px rgba(0, 0, 0, .55);
}
.xp-sticky-chrome.is-stuck {
  border-radius: 0;
  box-shadow: inset 2px 0 #1b4f9c, inset -2px 0 #1b4f9c, 0 6px 10px -7px rgba(0, 0, 0, .55);
}
.xp-window.is-maximized {
  position: fixed;
  inset: 12px;
  z-index: 10;
  width: auto;
  max-width: none;
  overflow: auto;
}
.xp-titlebar {
  position: static;
  height: 36px;
  flex: 0 0 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6px 0 8px;
  color: #fff;
  background: linear-gradient(to bottom, #4091ff 0%, #054ad1 50%, #00309e 100%);
  font-weight: bold;
  font-family: Tahoma, Verdana, Arial, sans-serif;
  font-size: 19px;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, .55);
}
.xp-title { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; display: flex; align-items: center; gap: 6px; font-family: Tahoma, Verdana, Arial, sans-serif; font-size: 19px; font-weight: 800; }
.xp-title img { flex: 0 0 21px; width: 21px; height: 21px; }
.xp-window-buttons { display: flex; gap: 4px; flex-shrink: 0; }
.xp-window-buttons button {
  width: 24px;
  height: 24px;
  min-width: 24px;
  padding: 0;
  border: 1px solid #fff;
  border-radius: 4px;
  position: relative;
  color: transparent;
  background: linear-gradient(to bottom, #7ab8ff, #054ad1);
  font-size: 0;
  cursor: default;
}
.xp-window-buttons button:disabled { opacity: 1; }
.xp-window-buttons button:first-child::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 5px;
  width: 11px;
  height: 2px;
  background: #fff;
  transform: translateX(-50%);
}
.xp-window-buttons button:nth-child(2)::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  border: 2px solid #fff;
  transform: translate(-50%, -50%);
}
.xp-window-buttons button:last-child {
  background: linear-gradient(to bottom, rgba(255, 165, 0, .95), #f00);
}
.xp-window-buttons button:last-child::before,
.xp-window-buttons button:last-child::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 17px;
  height: 3px;
  background: #fff;
  transform-origin: center;
}
.xp-window-buttons button:last-child::before { transform: translate(-50%, -50%) rotate(45deg); }
.xp-window-buttons button:last-child::after { transform: translate(-50%, -50%) rotate(-45deg); }
.xp-menu-bar {
  position: sticky;
  top: 36px;
  z-index: 20;
  display: flex;
  gap: 22px;
  padding: 7px 12px;
  background: #ece9d8;
  border-bottom: 1px solid #c9c5b4;
  color: #222;
  font-size: .9rem;
  align-items: center;
}
.xp-menu-bar a { color: inherit; text-decoration: none; }
.xp-menu-bar a:first-letter { text-decoration: underline; }
.menu-contact { margin-left: auto; }
body.fleche-page .xp-menu-bar {
  position: static;
  background: #ece9d8;
  box-shadow: none;
}
.xp-content {
  height: auto;
  max-height: none;
  overflow: visible;
}
.fleche-hero-panel,
.xp-section { padding: clamp(30px, 5vw, 70px); }
.fleche-hero-panel {
  width: calc(100% - 6px);
  max-width: calc(100% - 6px);
  min-height: 300px;
  margin: 0 auto;
  padding: 18px;
  display: grid;
  grid-template-columns: 1fr minmax(180px, 300px);
  align-items: center;
  gap: 32px;
  color: #111;
  background: #fffef5;
  border: 2px solid #7f9db9;
  box-shadow: none;
}
.xp-eyebrow {
  margin: 0 0 14px;
  color: #1f2e3c;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.fleche-hero-panel h1,
.xp-section h2 { margin: 0 0 18px; color: #111; font-family: "Inter", sans-serif; font-weight: 900; }
.fleche-hero-panel h1 { font-size: clamp(2rem, 5vw, 4.5rem); line-height: .95; font-style: italic; }
.fleche-hero-panel h1 em { color: #a64fd2; font-style: normal; }
.fleche-hero-panel p:not(.xp-eyebrow),
.xp-section p:not(.xp-eyebrow) { max-width: 560px; margin: 0 0 22px; font-size: 1.05rem; font-weight: 700; line-height: 1.45; }
.xp-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 18px;
  color: #111;
  background: #c7a8ef;
  border: 2px solid #111;
  box-shadow: 4px 4px 0 #111;
  font-weight: 700;
  text-decoration: none;
}
.xp-button:hover { color: #fff; background: #111; }
.fleche-app-card {
  min-height: 270px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 20px;
  padding: 25px;
  color: #fff;
  background: #111;
  border: 3px solid #fff;
  box-shadow: 8px 8px 0 rgba(17, 17, 17, .3);
  text-align: center;
}
.fleche-app-card img { width: 100px; height: 100px; object-fit: contain; }
.xp-section {
  width: calc(100% - 6px);
  max-width: calc(100% - 6px);
  margin: 8px auto 4px;
  padding: 18px;
  color: #111;
  border: 2px solid #7f9db9;
  box-shadow: none;
}
.xp-section h2 { font-size: clamp(2rem, 5vw, 4rem); line-height: .95; }
.wizz-section { display: flex; justify-content: space-between; align-items: center; background: #fffef5; }
.wizz-emoji { font-size: clamp(4rem, 10vw, 8rem); }
.grids-section { background: #fffef5; }
.app-promo-copy h2 { font-size: clamp(2rem, 5vw, 4.5rem); line-height: .95; font-style: italic; }
.app-promo-previews { display: flex; gap: 10px; overflow-x: auto; margin: 28px 0; }
.app-promo-previews img { width: 139px; height: 301px; flex: 0 0 139px; object-fit: cover; border-radius: 9px; }
.grid-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 30px 0; }
.grid-tiles span { min-height: 100px; display: grid; place-items: center; padding: 15px; background: #f7f0e8; border: 2px solid #111; font-weight: 900; text-align: center; }
.posts-section { background: #fffef5; }
.social-links { display: flex; gap: 14px; flex-wrap: wrap; }
.social-links a { color: #111; font-weight: 900; }
.signup-section { background: #fffef5; color: #111; }
.signup-section h2, .signup-section p:not(.xp-eyebrow), .signup-section .xp-eyebrow { color: #111; }
.signup-section .xp-eyebrow { color: #111; }
.signup-section .xp-button { color: #111; background: #c4adf3; }

/* Accueil Flèche-moi ça : reprise de la composition du site historique. */
.xp-content {
  container-type: inline-size;
  width: min(720px, calc(100% - 32px));
  margin: 8px auto 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  row-gap: 8px;
}
.xp-content .xp-button {
  margin-top: 16px;
  padding: 8px 28px;
  min-width: 130px;
  border: 1px solid #003c74;
  border-radius: 3px;
  color: #111;
  font-family: Tahoma, Verdana, Arial, sans-serif;
  font-size: 1rem;
  background: linear-gradient(to bottom, #fff 0%, #f4f1e6 45%, #d8d2bd 100%);
  box-shadow: inset 1px 1px 0 #fff, inset -1px -1px 0 #8b8878;
  cursor: pointer;
}
.xp-content .xp-button:hover { color: #111; background: linear-gradient(to bottom, #fff7d7 0%, #f1dc8b 50%, #d6b84e 100%); }
.home-coming-soon-card,
.app-promo-card,
.home-newsletter-card {
  width: calc(100% - 6px);
  max-width: calc(100% - 6px);
  box-sizing: border-box;
  margin: 0 auto;
  border: 2px solid #7f9db9;
  background: #fffef5;
  box-shadow: none;
}
.xp-content > .home-coming-soon-card,
.xp-content > .app-promo-card,
.xp-content > .instagram-feed-card,
.xp-content > .home-newsletter-card {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}
.home-coming-soon-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  padding: 0 18px;
}
.xp-content > .home-coming-soon-card + .home-coming-soon-card { margin-top: 0; }
.home-promo-grid-card { align-items: start; }
.home-coming-soon-copy { min-width: 0; text-align: left; }
.home-coming-soon-card h2,
.app-promo-card h2,
.home-newsletter-card h2 {
  margin: 18px 0 10px;
  color: #111;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.45rem;
  font-weight: 900;
  font-style: italic;
  line-height: 1.1;
  letter-spacing: -.04em;
  text-transform: uppercase;
}
.home-promo-grid-cta { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin-top: 10px; }
.home-promo-grid-cta p,
.app-promo-details p,
.home-newsletter-card > p { margin: 0; color: #222; font-size: 1.03rem; line-height: 1.45; }
.home-promo-grid-cta .xp-button { align-self: center; height: 38px; margin: 0; }
.promo-grid-photo { display: block; width: 139px; height: 139px; margin: 18px 0; border-radius: 9px; object-fit: cover; }
.wizz-card { grid-template-columns: minmax(0, 1fr); align-items: center; min-height: 76px; }
.wizz-title-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; }
.wizz-title-row h2 { min-width: 0; margin-bottom: 18px; }
.wizz-count-label { color: #4f4f4f; font-size: .48em; font-weight: 400; white-space: nowrap; }
.wizz-title-row .xp-button { flex: 0 0 38px; width: 38px; min-width: 38px; height: 38px; margin: 0; padding: 0; font-size: 1.55rem; }
.xp-window.is-wizzing { animation: wizz-window-shake .6s linear; }
@keyframes wizz-window-shake {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
  10% { transform: translate3d(-14px, 6px, 0) rotate(-1.4deg); }
  20% { transform: translate3d(14px, -6px, 0) rotate(1.4deg); }
  30% { transform: translate3d(-16px, 5px, 0) rotate(-1.2deg); }
  40% { transform: translate3d(16px, -5px, 0) rotate(1.2deg); }
  50% { transform: translate3d(-13px, 7px, 0) rotate(-1deg); }
  60% { transform: translate3d(13px, -7px, 0) rotate(1deg); }
  70% { transform: translate3d(-8px, 4px, 0) rotate(-.65deg); }
  80% { transform: translate3d(8px, -4px, 0) rotate(.65deg); }
  90% { transform: translate3d(-3px, 1px, 0) rotate(-.2deg); }
}
@media (prefers-reduced-motion: reduce) {
  .xp-window.is-wizzing { animation: none; }
}
.app-promo-card {
  display: grid;
  grid-template-columns: minmax(0, 280px) minmax(0, 1fr);
  grid-template-rows: 300px;
  align-items: stretch;
  gap: 24px;
  padding: 18px;
}
.app-promo-left { display: flex; flex-direction: column; justify-content: space-between; min-width: 0; height: 300px; }
.app-promo-main { display: flex; align-items: center; gap: 18px; width: 100%; }
.app-promo-copy { min-width: 0; flex: 0 1 250px; }
.app-promo-copy h2 { margin: 0; }
.app-promo-icon { display: block; width: 84px; height: 84px; flex: 0 0 auto; overflow: hidden; border-radius: 23px; line-height: 0; }
.app-promo-icon img { display: block; width: 100%; height: 100%; object-fit: contain; }
.app-promo-download { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; }
.app-store-badge { display: inline-block; flex: 3.1585 1 0; min-width: 0; margin: 0 0 8px; line-height: 0; text-decoration: none; }
.app-store-badge img { display: block; width: 100%; height: auto; }
.app-store-badge--disabled { position: relative; flex-grow: 3.3715; filter: grayscale(1); opacity: .62; }
.google-play-coming-soon { position: absolute; top: 14%; left: 30.5%; color: #fff; font-family: Roboto, Arial, sans-serif; font-size: 6.7cqi; font-weight: 500; line-height: 1; white-space: nowrap; }
.app-promo-previews { display: flex; align-items: center; gap: 10px; width: 100%; min-width: 0; height: 300px; margin: 0; padding: 0 2px; overflow-x: auto; }
.app-promo-previews img { display: block; width: auto; height: 100%; flex: 0 0 auto; border-radius: 9px; object-fit: cover; object-position: top; }
.home-newsletter-card { padding: 18px; }
.home-newsletter-card h2 { margin: 0; }
.home-newsletter-card > p { margin-top: 10px; }
.social-card { padding: 18px; }
.social-card h2 { margin: 0; }
.social-card > p { margin: 10px 0 0; color: #222; font-size: 1.03rem; line-height: 1.45; }
.social-card-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.social-card-links a { padding: 8px 12px; color: #111; border: 2px solid #7f9db9; background: #fffef5; font-weight: 700; text-decoration: none; }
.social-card-links a:hover { background: #c4adf3; }
.instagram-feed-icon .social-network-icon { display: block; width: 21px; height: 21px; object-fit: contain; }
.instagram-carousel-hover-icon .social-post-network-icon {
  width: 28px !important;
  height: 28px !important;
  filter: brightness(0) invert(1);
}
.home-newsletter-form { width: min(100%, 360px); margin: 15px auto 0; }
.home-newsletter-form > label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
.completion-news-controls { display: flex; align-items: stretch; gap: 8px; min-width: 0; }
.completion-news-controls input { box-sizing: border-box; flex: 1 1 0; width: auto; height: 38px; min-height: 38px; padding: 8px 10px; border: 2px solid #7f9db9; background: #fffef5; color: #111; font: inherit; }
.completion-news-controls .xp-button { display: grid; flex: 0 0 38px; place-items: center; min-width: 38px; width: 38px; height: 38px; min-height: 38px; margin: 0; padding: 0; border: 2px solid #7f9db9; border-radius: 0; background: #fffef5; box-shadow: none; }
.completion-news-submit img { display: block; width: 24px; height: auto; }
.xp-site-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  flex-direction: row;
  gap: 12px;
  width: 100%;
  min-height: 0;
  padding: 12px 0 4px;
  background: transparent;
  color: #111;
  font-size: .82rem;
  text-align: center;
}
.xp-site-footer a { color: inherit; text-decoration: none; }
.xp-site-footer a:first-letter { text-decoration: underline; }
.xp-site-footer > span { order: initial; color: #111; font-size: .82rem; }

@media (max-width: 640px) {
  .xp-content { width: calc(100% - 16px); margin: 8px auto; }
  .home-coming-soon-card,
  .app-promo-card,
  .home-newsletter-card { width: 100%; max-width: 100%; }
  .app-promo-card { grid-template-columns: minmax(0, 1fr); grid-template-rows: 300px 300px; row-gap: 42px; }
  .app-promo-left { grid-column: 1; grid-row: 1; width: 100%; }
  .app-promo-previews { grid-column: 1; grid-row: 2; }
}
@media (max-width: 560px) {
  .site-header { width: 100%; }
  footer { width: 100%; padding-inline: 18px; }
  .site-header { min-height: 76px; }
  .hero { min-height: 100svh; height: 100svh; padding: 58px 24px 24px; }
  .hero::before { top: 190px; right: -88px; width: 240px; height: 230px; }
  .hero::after { top: 180px; right: -92px; width: 260px; height: 92px; padding: 34px 16px 0; font-size: .6rem; }
  .hero h1 {
    max-width: 100%;
    font-size: clamp(2.65rem, 12vw, 3.2rem);
    letter-spacing: 0;
  }
  .hero h1 span,
  .hero h1 em { white-space: normal; }
  .contact-form { grid-template-columns: 1fr; }
  .contact-form-field--wide,
  .contact-submit { grid-column: auto; }
  .game {
    height: auto;
    min-height: 560px;
    grid-template-rows: 220px auto 36px;
    row-gap: 14px;
    padding-block: 44px;
  }
  .game-visual { height: 220px; }
  .game--fleche .fleche-logo {
    width: 86px;
    height: 86px;
    margin-bottom: 18px;
  }
  .game--fleche h2 { font-size: 2.25rem; }
  footer { align-items: center; flex-direction: column; justify-content: center; gap: 14px; }
  footer nav {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    align-items: center;
  }
  footer nav a,
  .footer-cookie-link {
    width: 100%;
    text-align: center;
  }
  .fleche-page-header { min-height: 76px; }
  .fleche-page-content {
    width: 100%;
    height: auto;
    min-height: 0;
    padding: 0;
  }
  .fleche-page .xp-window {
    width: 100%;
    border: 2px solid #1b4f9c;
    border-left: 2px solid #1b4f9c;
    border-right: 2px solid #1b4f9c;
    border-radius: 9px 9px 5px 5px;
    box-shadow: 0 22px 45px rgba(0, 0, 0, .35), inset 0 0 0 1px #fff;
  }
  .fleche-hero-panel { grid-template-columns: 1fr; }
  .fleche-app-card { min-height: 190px; }
  .wizz-section { align-items: flex-start; flex-direction: column; }
  .grid-tiles { grid-template-columns: 1fr; }
  .fleche-home-link { font-size: .72rem; }
}

@media (min-width: 561px) and (max-width: 1100px) {
  .hero { padding-top: 58px; }
  .hero::after { top: 46px; right: -75px; width: 320px; }
  .hero::before { top: 58px; right: -75px; width: 360px; }
  .hero h1 { max-width: 400px; }
  .intro { max-width: 420px; }
}
