@font-face {
  font-family: Nunito;
  font-style: normal;
  font-weight: 400 1000;
  font-display: swap;
  src: url('/fonts/nunito-latin.woff2') format('woff2');
}

@font-face {
  font-family: Nunito;
  font-style: normal;
  font-weight: 400 1000;
  font-display: swap;
  src: url('/fonts/nunito-latin-ext.woff2') format('woff2');
}

:root {
  --encre: #38240f;
  --encre-douce: #7a6144;
  --ciel-haut: #3fa9e8;
  --ciel: #79c9f2;
  --ciel-bas: #dff4ff;
  --herbe: #6dbc45;
  --herbe-sombre: #3f8a2a;
  --creme: #fffdf6;
  --creme-bas: #ffe9c6;
  --creme-tranche: #c2853a;
  --plomb-clair: #aab4bc;
  --plomb: #7c8794;
  --plomb-sombre: #4e5762;
  --or-h: #ffe490;
  --or: #ffc42e;
  --or-b: #bd7a00;
  --orange-h: #ffc857;
  --orange: #ff8f22;
  --orange-b: #bd4c00;
  --vert-h: #a9e96e;
  --vert: #55c031;
  --vert-b: #297c15;
  --cyan-h: #a1e7ff;
  --cyan: #3cbfef;
  --cyan-b: #0c6d97;
  --blanc: #fff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--ciel);
  color: var(--encre);
  font-family: Nunito, 'Segoe UI', system-ui, sans-serif;
  font-weight: 700;
}

a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 4px solid var(--encre); outline-offset: 3px; }

.barre {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 20;
  display: flex;
  width: min(1160px, calc(100% - 36px));
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  transform: translateX(-50%);
}

.marque {
  position: relative;
  display: inline-flex;
  align-items: center;
  color: var(--encre);
  text-decoration: none;
  transform: rotate(-1deg);
}

.marque__mot {
  background: linear-gradient(178deg, #ffe9a4, #ffb62f 40%, #ff8a1e 64%, #f26a00);
  background-clip: text;
  font-size: 29px;
  font-weight: 1000;
  letter-spacing: -.045em;
  line-height: 1;
  paint-order: stroke fill;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 4px var(--encre);
  filter: drop-shadow(0 4px 0 #a8480a) drop-shadow(0 7px 6px rgb(20 42 18 / 26%));
}

.marque__macaron {
  position: absolute;
  top: -10px;
  left: -15px;
  border-radius: 999px;
  padding: 3px 7px;
  background: linear-gradient(179deg, var(--cyan-h), var(--cyan));
  box-shadow: inset 0 2px 0 rgb(255 255 255 / 60%), 0 3px 0 var(--cyan-b);
  color: white;
  font-size: 10px;
  font-weight: 1000;
  text-shadow: 0 1px 0 rgb(0 0 0 / 25%);
  transform: rotate(-13deg);
}

.barre__jouer {
  border-radius: 999px;
  padding: 11px 18px;
  background: linear-gradient(179deg, var(--creme), var(--creme-bas));
  box-shadow: inset 0 2px 0 white, 0 5px 0 var(--creme-tranche), 0 11px 14px -7px rgb(20 42 18 / 55%);
  color: var(--encre);
  font-size: 12px;
  font-weight: 1000;
  text-decoration: none;
  transition: transform 100ms ease, box-shadow 100ms ease;
}

.barre__jouer:active { box-shadow: inset 0 2px 0 white, 0 1px 0 var(--creme-tranche); transform: translateY(4px); }

.hero {
  position: relative;
  display: grid;
  min-height: 780px;
  overflow: hidden;
  align-items: center;
  padding: 110px max(22px, calc((100vw - 1160px) / 2)) 115px;
  background:
    radial-gradient(circle at 78% 5%, rgb(255 247 195 / 84%), transparent 23%),
    linear-gradient(178deg, var(--ciel-haut), #79c9f2 48%, var(--ciel-bas));
  gap: 68px;
  grid-template-columns: 1.02fr .98fr;
}

.hero::after {
  position: absolute;
  right: -10%;
  bottom: -105px;
  left: -10%;
  z-index: 0;
  height: 205px;
  border-radius: 50% 50% 0 0 / 35% 35% 0 0;
  background: linear-gradient(178deg, #86cf55, var(--herbe) 40%, var(--herbe-sombre));
  box-shadow: inset 0 8px 0 rgb(255 255 255 / 25%);
  content: '';
}

.nuages { position: absolute; z-index: 0; inset: 0; pointer-events: none; }
.nuage {
  position: absolute;
  width: 125px;
  height: 42px;
  border-radius: 28px;
  background: linear-gradient(#fff, #c7e3f3);
  box-shadow: 0 12px 18px rgb(60 120 150 / 10%);
  opacity: .78;
}
.nuage::before, .nuage::after { position: absolute; bottom: 0; border-radius: 50%; background: inherit; content: ''; }
.nuage::before { left: 19px; width: 55px; height: 55px; }
.nuage::after { right: 17px; width: 69px; height: 69px; }
.nuage--un { top: 14%; left: -25px; transform: scale(.9); }
.nuage--deux { top: 24%; right: -30px; transform: scale(.6); }
.nuage--trois { right: 38%; bottom: 18%; transform: scale(.42); opacity: .45; }

.hero__texte, .scene { position: relative; z-index: 2; }
.surligne, .numero {
  display: inline-block;
  margin: 0 0 18px;
  border-radius: 999px;
  padding: 6px 14px;
  background: rgb(255 255 255 / 83%);
  box-shadow: 0 3px 0 rgb(90 130 160 / 28%);
  color: var(--encre-douce);
  font-size: 10px;
  font-weight: 1000;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 680px;
  margin: 0;
  color: var(--creme);
  font-size: clamp(58px, 7.8vw, 108px);
  font-weight: 1000;
  letter-spacing: -.065em;
  line-height: .82;
  paint-order: stroke fill;
  text-transform: uppercase;
  -webkit-text-stroke: 7px var(--encre);
  filter: drop-shadow(0 8px 0 #82400c) drop-shadow(0 15px 12px rgb(20 42 18 / 25%));
}

.hero h1 em, .conversion h2 em {
  background: linear-gradient(178deg, #ffe9a4, #ffb62f 35%, #ff8a1e 65%, #f26a00);
  background-clip: text;
  font-style: normal;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__promesse {
  max-width: 600px;
  margin: 34px 0 28px;
  color: var(--encre);
  font-size: clamp(17px, 1.8vw, 21px);
  font-weight: 900;
  line-height: 1.45;
  text-shadow: 0 1px 0 rgb(255 255 255 / 60%);
}

.hero__actions { display: flex; align-items: center; gap: 20px; }
.cta {
  position: relative;
  display: inline-flex;
  min-width: 250px;
  align-items: center;
  justify-content: space-between;
  border-radius: 25px;
  padding: 17px 20px;
  background: linear-gradient(179deg, var(--orange-h), var(--orange) 42%, var(--orange));
  box-shadow: inset 0 2px 0 rgb(255 255 255 / 50%), inset 0 -3px 0 rgb(0 0 0 / 12%), 0 7px 0 var(--orange-b), 0 16px 18px -10px rgb(24 46 20 / 65%);
  color: white;
  font-size: 16px;
  font-weight: 1000;
  text-decoration: none;
  text-shadow: 0 2px 0 rgb(0 0 0 / 22%);
  transition: transform 90ms ease, box-shadow 90ms ease;
}
.cta::before { position: absolute; height: 40%; border-radius: 20px 20px 40% 40%; background: linear-gradient(rgb(255 255 255 / 35%), transparent); content: ''; inset: 4px 8px auto; pointer-events: none; }
.cta:hover { transform: translateY(-2px); }
.cta:active { box-shadow: inset 0 2px 0 rgb(255 255 255 / 45%), 0 2px 0 var(--orange-b); transform: translateY(5px); }
.cta span, .cta i { position: relative; z-index: 1; }
.cta i { font-size: 22px; font-style: normal; }
.gratuit { color: var(--encre-douce); font-size: 11px; font-weight: 900; }
.asterisque { position: absolute; bottom: 79px; left: max(22px, calc((100vw - 1160px) / 2)); z-index: 2; color: rgb(56 36 15 / 45%); font-size: 9px; }

.scene { display: flex; flex-direction: column; align-items: center; transform: rotate(1.5deg); }
.plaque {
  position: relative;
  width: min(450px, 42vw);
  aspect-ratio: 1;
  border: 11px solid #68737e;
  border-radius: 23px;
  background: linear-gradient(165deg, var(--plomb-clair), var(--plomb) 62%, #69737e);
  box-shadow: inset 0 5px 10px rgb(0 0 0 / 42%), inset 0 -2px 0 rgb(255 255 255 / 22%), 0 11px 0 var(--plomb-sombre), 0 28px 30px -15px rgb(20 42 18 / 65%);
  transform: perspective(900px) rotateX(8deg) rotateZ(-3deg);
}
.plaque::after { position: absolute; inset: 0; opacity: .24; background-image: repeating-linear-gradient(13deg, transparent 0 17px, rgb(255 255 255 / 12%) 18px, transparent 19px), repeating-linear-gradient(98deg, transparent 0 27px, rgb(0 0 0 / 8%) 28px, transparent 29px); content: ''; }
.maitre, .palet {
  position: absolute;
  z-index: 2;
  display: grid;
  width: 17%;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(115% 115% at 50% 26%, #ffeaa8, #dda92f 36%, #dda92f 66%, #8a6010);
  box-shadow: inset 0 0 0 2px rgb(0 0 0 / 14%), inset 0 2px 2px rgb(255 255 255 / 55%), inset 0 -2px 3px rgb(0 0 0 / 30%), 0 5px 0 #8a6010, 0 10px 10px -4px rgb(20 42 18 / 70%);
}
.maitre::before, .palet::before { position: absolute; height: 20%; border-radius: 50%; background: linear-gradient(rgb(255 255 255 / 75%), transparent); content: ''; inset: 9% 22% auto; }
.maitre { top: 43%; left: 44%; width: 10%; background: radial-gradient(115% 115% at 50% 26%, #fff, #d3e0eb 48%, #74808d); box-shadow: inset 0 2px 2px white, inset 0 -2px 3px rgb(0 0 0 / 25%), 0 3px 0 #74808d, 0 7px 8px -4px rgb(20 42 18 / 60%); }
.palet i { position: relative; z-index: 1; color: white; font-size: clamp(11px, 1.5vw, 17px); font-style: normal; font-weight: 1000; text-shadow: 0 2px 2px rgb(0 0 0 / 45%); }
.palet--un { top: 20%; left: 18%; transform: rotate(-12deg); }
.palet--deux { right: 15%; bottom: 20%; transform: rotate(17deg); }
.palet--trois { bottom: 10%; left: 30%; transform: rotate(-8deg); }
.impact { position: absolute; z-index: 1; width: 4px; height: 90px; background: linear-gradient(transparent, rgb(255 255 255 / 45%)); transform-origin: bottom; }
.impact--un { top: 5%; left: 24%; transform: rotate(-27deg); }
.impact--deux { right: 22%; bottom: 31%; transform: rotate(155deg); }
.scene > p { margin: 30px 0 0; color: var(--encre-douce); font-size: 12px; font-weight: 900; }
.scene > p b { color: #9b5f00; }

.manifeste { position: relative; padding: 110px max(22px, calc((100vw - 1080px) / 2)); background: linear-gradient(180deg, var(--creme), #fff3d9); }
.manifeste .numero, .preuve .numero { background: linear-gradient(179deg, var(--or-h), var(--or)); box-shadow: inset 0 2px 0 rgb(255 255 255 / 60%), 0 4px 0 var(--or-b); color: #5c3200; }
.manifeste h2 { max-width: 950px; margin: 4px 0 0; font-size: clamp(38px, 5.5vw, 70px); font-weight: 1000; letter-spacing: -.045em; line-height: .97; }
.manifeste h2 span { color: var(--encre-douce); }
.regles { display: grid; margin-top: 72px; gap: 24px; grid-template-columns: repeat(3, 1fr); }
.regles article {
  position: relative;
  min-height: 245px;
  border-radius: 30px;
  padding: 29px;
  background: linear-gradient(179deg, var(--creme), var(--creme-bas));
  box-shadow: inset 0 3px 0 white, inset 0 -2px 0 rgb(160 110 50 / 22%), 0 8px 0 var(--creme-tranche), 0 24px 34px -16px rgb(20 42 18 / 40%);
}
.regles article > b { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 50%; background: radial-gradient(circle at 50% 25%, var(--or-h), var(--or) 55%, var(--or-b)); box-shadow: inset 0 2px 2px white, 0 4px 0 var(--or-b); color: #5c3200; font-size: 12px; }
.regles h3 { margin: 36px 0 8px; font-size: 30px; font-weight: 1000; }
.regles p { margin: 0; color: var(--encre-douce); font-size: 14px; font-weight: 750; line-height: 1.55; }

.preuve { position: relative; display: grid; overflow: hidden; padding: 105px max(22px, calc((100vw - 1080px) / 2)) 115px; background: linear-gradient(178deg, #5fbee9, #bce7fb); gap: 72px; grid-template-columns: 1.05fr .95fr; }
.preuve::after { position: absolute; right: -12%; bottom: -115px; left: -12%; height: 180px; border-radius: 50% 50% 0 0 / 35% 35% 0 0; background: linear-gradient(#86cf55, var(--herbe)); box-shadow: inset 0 7px 0 rgb(255 255 255 / 25%); content: ''; }
.preuve__carte { position: relative; z-index: 1; border-radius: 32px; padding: 38px; background: linear-gradient(179deg, var(--creme), var(--creme-bas)); box-shadow: inset 0 3px 0 white, 0 8px 0 var(--creme-tranche), 0 24px 34px -16px rgb(20 42 18 / 55%); }
.preuve__carte h2 { margin: 10px 0 34px; font-size: clamp(44px, 6vw, 76px); font-weight: 1000; letter-spacing: -.055em; line-height: .85; text-transform: uppercase; }
.preuve__carte h2 em { color: var(--orange); font-style: normal; }
.preuve ul { display: flex; flex-direction: column; padding: 0; margin: 0; gap: 14px; list-style: none; }
.preuve li { display: flex; align-items: center; gap: 11px; font-size: 14px; font-weight: 900; }
.preuve li span { display: grid; width: 26px; height: 26px; flex: none; place-items: center; border-radius: 50%; background: linear-gradient(var(--vert-h), var(--vert)); box-shadow: 0 3px 0 var(--vert-b); color: white; font-size: 12px; text-shadow: 0 1px 0 rgb(0 0 0 / 25%); }
.preuve blockquote { position: relative; z-index: 1; align-self: center; margin: 0; border-radius: 32px; padding: 44px; background: linear-gradient(179deg, var(--vert-h), var(--vert) 38%, #45a929); box-shadow: inset 0 3px 0 rgb(255 255 255 / 45%), 0 9px 0 var(--vert-b), 0 25px 30px -15px rgb(20 42 18 / 55%); color: white; text-shadow: 0 2px 0 rgb(0 0 0 / 18%); transform: rotate(2deg); }
.preuve blockquote > span { color: var(--or-h); font-family: Georgia, serif; font-size: 88px; line-height: .5; }
.preuve blockquote p { font-size: clamp(21px, 2.8vw, 31px); font-style: italic; font-weight: 900; line-height: 1.25; }
.preuve cite { color: rgb(56 36 15 / 68%); font-size: 11px; font-style: normal; font-weight: 1000; }

.conversion { position: relative; display: grid; min-height: 690px; overflow: hidden; align-items: center; padding: 100px max(22px, calc((100vw - 1080px) / 2)); background: linear-gradient(178deg, #7bcd4d, var(--herbe) 50%, var(--herbe-sombre)); color: white; gap: 90px; grid-template-columns: 1fr 360px; }
.conversion::before { position: absolute; inset: 0; opacity: .1; background: radial-gradient(circle, white 0 2px, transparent 2.5px) 0 0 / 27px 27px; content: ''; }
.conversion__texte, .qr { position: relative; z-index: 1; }
.conversion .numero { background: rgb(255 255 255 / 82%); color: var(--encre-douce); }
.conversion h2 { margin: 0; color: var(--creme); font-size: clamp(66px, 8.5vw, 112px); font-weight: 1000; letter-spacing: -.07em; line-height: .8; paint-order: stroke fill; text-transform: uppercase; -webkit-text-stroke: 7px var(--encre); filter: drop-shadow(0 8px 0 #82400c) drop-shadow(0 15px 12px rgb(20 42 18 / 22%)); }
.conversion__texte > p:not(.numero) { max-width: 600px; margin: 34px 0; font-size: 17px; font-weight: 900; line-height: 1.5; text-shadow: 0 2px 0 rgb(0 0 0 / 15%); }
.cta--clair { background: linear-gradient(179deg, var(--orange-h), var(--orange)); color: white; }
.qr { display: flex; flex-direction: column; align-items: center; border-radius: 32px; padding: 30px; background: linear-gradient(179deg, var(--creme), var(--creme-bas)); box-shadow: inset 0 3px 0 white, 0 8px 0 var(--creme-tranche), 0 24px 34px -16px rgb(20 42 18 / 65%); color: var(--encre); text-align: center; }
.qr > p { margin: 0 0 15px; color: var(--encre-douce); font-size: 13px; font-weight: 1000; }
.qr__code { width: 220px; border-radius: 22px; padding: 14px; background: white; box-shadow: inset 0 0 0 2px rgb(56 36 15 / 8%), 0 7px 14px rgb(56 36 15 / 15%); }
.qr__code img { display: block; width: 100%; }
.qr > b { margin-top: 18px; font-size: 18px; }
.qr > span { margin: 7px 0; color: var(--encre-douce); font-size: 10px; font-weight: 900; text-transform: uppercase; }
.adresse { border: 0; border-radius: 999px; padding: 9px 15px; background: linear-gradient(var(--cyan-h), var(--cyan)); box-shadow: inset 0 2px 0 white, 0 4px 0 var(--cyan-b); color: white; font: inherit; font-size: 13px; font-weight: 1000; text-shadow: 0 1px 0 rgb(0 0 0 / 22%); cursor: pointer; }
.adresse i { margin-left: 6px; font-style: normal; opacity: .75; }
.copie { min-height: 14px; margin-top: 8px; color: var(--vert-b); font-size: 10px; font-weight: 1000; }

footer { display: grid; padding: 52px max(22px, calc((100vw - 1080px) / 2)); background: #315f27; color: rgb(255 255 255 / 70%); gap: 24px; grid-template-columns: auto 1fr auto; }
.marque--pied { align-self: center; }
.marque--pied .marque__mot { font-size: 27px; }
footer > p { max-width: 450px; margin: 0; align-self: center; font-size: 11px; font-weight: 800; line-height: 1.5; }
footer nav { display: flex; align-items: center; gap: 18px; }
footer nav a { color: white; font-size: 11px; font-weight: 1000; text-decoration: none; }
footer details { grid-column: 1 / -1; border-top: 1px solid rgb(255 255 255 / 16%); padding-top: 16px; font-size: 10px; line-height: 1.5; }
footer summary { color: white; cursor: pointer; font-weight: 1000; }
footer details p { max-width: 760px; }
footer > small { grid-column: 1 / -1; font-size: 9px; }

@media (max-width: 820px) {
  .hero { min-height: auto; padding-top: 120px; padding-bottom: 100px; gap: 55px; grid-template-columns: 1fr; }
  .hero__actions { align-items: stretch; flex-direction: column; }
  .cta { width: 100%; }
  .gratuit { text-align: center; }
  .scene { margin: 10px auto 5px; }
  .plaque { width: min(410px, 86vw); }
  .asterisque { display: none; }
  .regles { grid-template-columns: 1fr; }
  .regles article { min-height: 190px; }
  .regles h3 { margin-top: 24px; }
  .preuve { grid-template-columns: 1fr; }
  .conversion { min-height: auto; grid-template-columns: 1fr; }
  .qr { display: none; }
  footer { grid-template-columns: 1fr; }
  footer nav { flex-wrap: wrap; }
  footer details, footer > small { grid-column: 1; }
}

@media (max-width: 480px) {
  .barre { padding-top: 19px; }
  .barre__jouer { padding: 9px 12px; font-size: 10px; }
  .marque__mot { font-size: 25px; }
  .hero { gap: 44px; padding-inline: 18px; }
  .hero h1 { font-size: clamp(54px, 17.5vw, 76px); -webkit-text-stroke-width: 5px; filter: drop-shadow(0 6px 0 #82400c) drop-shadow(0 12px 10px rgb(20 42 18 / 22%)); }
  .hero__promesse { margin: 28px 3px 25px; font-size: 17px; }
  .surligne { max-width: 330px; line-height: 1.35; }
  .manifeste, .preuve, .conversion { padding: 78px 18px 90px; }
  .regles { margin-top: 48px; }
  .preuve__carte, .preuve blockquote { padding: 30px; }
  .conversion h2 { font-size: 70px; -webkit-text-stroke-width: 5px; }
}

@media (prefers-reduced-motion: no-preference) {
  .palet--un { animation: flotte 3.4s ease-in-out infinite; }
  .palet--deux { animation: flotte 3.8s ease-in-out .4s infinite reverse; }
  .nuage--un { animation: derive 50s linear infinite; }
  .nuage--deux { animation: derive 67s linear infinite reverse; }
  @keyframes flotte { 0%, 100% { translate: 0 0; } 50% { translate: 2px -5px; } }
  @keyframes derive { 50% { translate: 35px 4px; } }
}
