/* POWERLINK : site vitrine. Noir, blanc et rouge du logo, biais de son eclair. */
:root {
  --noir: #000;
  --blanc: #fff;
  --rouge: #e30613;
  --rouge-texte: #c10510;
  --fond: #fff;
  --encre: #000;
  --doux: #4a4a4f;
  --filet: #d9d9de;
  --bande: #f1f1f3;
  --biais: 7vw;
}
@media (prefers-color-scheme: dark) {
  :root {
    /* Pas noir pur : la coupe en biais de la tete doit rester visible. */
    --fond: #17171a;
    --encre: #fff;
    --doux: #b6b6bc;
    --filet: #3a3a40;
    --bande: #18181b;
    --rouge-texte: #ff5a63;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--fond);
  color: var(--encre);
  font: 400 1.0625rem/1.55 "Segoe UI", "Helvetica Neue", Roboto, Arial, sans-serif;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ol, ul, figure { margin: 0; }
a:focus-visible { outline: 3px solid var(--rouge); outline-offset: 3px; }

/* La tete reprend le noir du logo et se coupe selon le biais de l'eclair. */
.tete {
  background: var(--noir);
  color: var(--blanc);
  padding: 20px clamp(16px, 5vw, 72px) calc(var(--biais) + 56px);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--biais)), 0 100%);
}
.tete-haut {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1180px;
  margin: 0 auto;
}
.logo { width: clamp(150px, 20vw, 230px); }
.lien-espace { color: var(--blanc); font-weight: 600; text-underline-offset: 4px; }
.tete-corps {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  align-items: center;
  gap: clamp(32px, 6vw, 88px);
  max-width: 1180px;
  margin: clamp(32px, 6vw, 72px) auto 0;
}
h1 {
  font-size: clamp(2.5rem, 7vw, 5.25rem);
  font-weight: 900;
  font-style: italic;
  line-height: 1;
  letter-spacing: -.025em;
}
.tete-texte p {
  max-width: 34em;
  margin-top: 24px;
  font-size: 1.1875rem;
  color: #dcdce0;
}
.bouton {
  display: inline-block;
  margin-top: 32px;
  padding: 14px 26px;
  background: var(--rouge);
  color: var(--blanc);
  font-weight: 800;
  font-style: italic;
  text-decoration: none;
  transform: skewX(-12deg);
}
.bouton:hover { background: #b8050f; }
.bouton-clair { background: var(--blanc); color: var(--noir); font-style: normal; }
.bouton-clair:hover { background: #e4e4e7; }

/* Le ticket : l'objet que les revendeurs vendent vraiment. */
.ticket {
  display: grid;
  grid-template-columns: 1fr auto;
  width: 100%;
  max-width: 400px;
  justify-self: end;
  color: var(--noir);
  transform: rotate(-3deg);
}
.ticket-corps, .ticket-souche {
  background: var(--blanc);
}
.ticket-corps {
  padding: 22px 20px 22px 24px;
  border-right: 2px dashed #9a9aa0;
}
.ticket-forfait { font-weight: 800; font-style: italic; }
.ticket-code {
  margin: 12px 0;
  font: 700 clamp(1.5rem, 3vw, 2rem)/1.1 ui-monospace, Consolas, Menlo, monospace;
  white-space: nowrap;
}
.ticket-note { font-size: .875rem; line-height: 1.4; color: #4a4a4f; }
.ticket-souche {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
}
.ticket-souche span {
  writing-mode: vertical-rl;
  padding: 6px 0;
  border: 2px solid var(--rouge);
  color: #c10510;
  font-weight: 800;
  font-size: .9375rem;
  animation: tampon .45s .35s cubic-bezier(.2, 1.4, .4, 1) both;
}
.ticket figcaption {
  grid-column: 1 / -1;
  margin-top: 12px;
  font-size: .8125rem;
  color: #b6b6bc;
}
@keyframes tampon {
  from { opacity: 0; transform: scale(1.7); }
  to { opacity: 1; transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .ticket-souche span { animation: none; }
}

/* Corps de page */
.bloc {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(48px, 8vw, 96px) clamp(16px, 5vw, 72px) 0;
}
h2 {
  max-width: 20em;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 900;
  font-style: italic;
  line-height: 1.08;
  letter-spacing: -.015em;
}
h3 { font-size: 1.25rem; font-weight: 800; }
.colonnes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 56px);
  margin-top: 40px;
}
.colonnes > div { border-top: 4px solid var(--encre); padding-top: 16px; }
.colonnes p { margin-top: 10px; color: var(--doux); }

/* Le parcours est une vraie suite d'etapes : il est numerote. */
.parcours ol {
  list-style: none;
  counter-reset: etape;
  margin-top: 36px;
  padding: 0;
  max-width: 46em;
}
.parcours li {
  counter-increment: etape;
  position: relative;
  padding: 16px 0 16px 3.25rem;
  border-top: 1px solid var(--filet);
  color: var(--doux);
}
.parcours li::before {
  content: counter(etape);
  position: absolute;
  left: 0;
  top: 14px;
  font-size: 1.75rem;
  font-weight: 900;
  font-style: italic;
  line-height: 1;
  color: var(--rouge-texte);
}
.parcours li > b { color: var(--encre); }

.lieu {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  gap: 28px clamp(32px, 6vw, 88px);
}
.lieu h2 { grid-column: 1 / -1; }
.lieu-texte p { max-width: 36em; color: var(--doux); }
.lieu-texte p + p { margin-top: 14px; }
.garanties { list-style: none; padding: 0; }
.garanties li {
  padding: 10px 0 10px 16px;
  border-left: 4px solid var(--rouge);
  font-weight: 600;
}
.garanties li + li { margin-top: 8px; }

.contact { padding-bottom: 8px; }
.contact p { margin-top: 12px; color: var(--doux); }

.pied {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: clamp(56px, 8vw, 96px);
  padding: 24px clamp(16px, 5vw, 72px);
  background: var(--noir);
  color: var(--blanc);
}
.pied p { flex: 1 1 auto; font-size: .9375rem; }
.pied a { color: var(--blanc); font-weight: 600; text-underline-offset: 4px; }

@media (max-width: 820px) {
  .tete-corps, .colonnes, .lieu { grid-template-columns: minmax(0, 1fr); }
  .ticket { justify-self: start; max-width: 340px; }
  .tete-texte p { font-size: 1.0625rem; }
}
