.hero {background: #101825 url("trackdays-poster.jpg") center / cover no-repeat;}
.hero-film {position:absolute;inset:0;z-index:-3;width:100%;height:100%;object-fit:cover;pointer-events:none;}
.hero.hero-with-film::before {
  background: linear-gradient(90deg, rgba(5,6,8,.81), rgba(5,6,8,.60) 48%, rgba(5,6,8,.35));
}
.hero #hero-title {color:#fff;font-size:clamp(2.55rem,5.9vw,6rem);line-height:1;letter-spacing:-.055em;}
#hero-title span {color:#ff4754;}
.hero .hero-note {color:#e6eaf0;}
.hero-film-control {position:absolute;bottom:12px;right:max(16px,calc((100vw - var(--max))/2));color:white;background:#101924df;border:1px solid #758091;border-radius:20px;padding:.42rem .85rem;font:600 .78rem/1.3 system-ui;cursor:pointer;}
.hero-film-control[hidden]{display:none;}
.hero-film-control:focus-visible {outline:3px solid white;outline-offset:2px;}
@media(max-width:700px){
  .hero{padding-bottom:3.8rem;background:#0b1522;}
  .hero-film{height:clamp(440px,65svh,570px);}
  .hero.hero-with-film::before {
    background: linear-gradient(180deg, rgba(7,13,23,.55), rgba(7,13,23,.62) 58%, #0b1522 100%) top / 100% clamp(440px,65svh,570px) no-repeat;
  }
}

.site-nav .signup-cta, .hero .signup-cta {
  color: #080808;
  background: #ffda32;
  border-color: #ffe774;
  box-shadow: 0 0 8px rgba(255, 211, 34, .32);
}
@media (prefers-reduced-motion: no-preference) {
  .signup-cta { animation: signup-halo 1.8s ease-in-out infinite; }
}
@keyframes signup-halo {
  50% { box-shadow: 0 0 0 4px rgba(255, 211, 34, .18), 0 0 22px rgba(255, 211, 34, .65); }
}

@media (prefers-reduced-motion: no-preference) {
  .hero .console-list > div {
    position: relative;
  }
  .hero .console-list > div::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 1px solid #ffda32;
    background: rgba(255, 218, 50, .10);
    box-shadow: 0 0 12px rgba(255, 218, 50, .56), inset 0 0 9px rgba(255, 218, 50, .18);
    opacity: 0;
    pointer-events: none;
    animation: console-row-halo 7.5s ease-in-out infinite;
  }
  .hero .console-list > div:nth-child(2)::after { animation-delay: 1.5s; }
  .hero .console-list > div:nth-child(3)::after { animation-delay: 3s; }
  .hero .console-list > div:nth-child(4)::after { animation-delay: 4.5s; }
  .hero .console-list > div:nth-child(5)::after { animation-delay: 6s; }
}
@keyframes console-row-halo {
  0%, 6.6667%, 13.3333%, 20%, 100% { opacity: 0; }
  3.3333%, 10%, 16.6667% { opacity: 1; }
}

#fonctionnement .section-heading { max-width: 100%; }
.guide-heading-photo { display: grid; grid-template-columns: minmax(0, 1fr) clamp(85px, 22vw, 300px); gap: clamp(12px, 3vw, 40px); align-items: stretch; }
.guide-heading-photo h2 { margin: 0; }
.guide-heading-photo span { position: relative; }
.guide-heading-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 64% 50%; border-radius: 10px; }
