:root{
  /* Brand */
  --primary:#E50914;
  --primary-2:#ff2d2d;
  --primary-3:#ff5a3c;

  /* Light UI */
  --bg:#ffffff;
  --bg-soft:#f7f7fb;
  --card:#ffffff;

  /* Text */
  --text:#0b0b14;
  --muted:#5b5b72;
  --soft:#7a7a95;

  /* Lines & shadow */
  --border:rgba(10, 10, 20, .10);
  --border-2:rgba(10, 10, 20, .14);
  --shadow: 0 14px 35px rgba(16, 24, 40, .10);
  --shadow-2: 0 10px 24px rgba(16, 24, 40, .12);

  --radius:16px;
  --radius2:24px;
  --max:1200px;
}

*{box-sizing:border-box}
html,body{height:100%}

/* Base background (neutral) on the full page */
html{
  background: linear-gradient(180deg, #ffffff 0%, #fbfbfe 100%);
}

/* Body: no glow in background anymore (glow is limited to the top via ::before) */
body{
  margin:0;
  font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  color:var(--text);
  background: transparent;
  min-height:100vh;
  position:relative;
  z-index:0;
}

/* Global glow, strictly at the TOP only */
body::before{
  content:"";
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:520px; /* adjust 400–700px if needed */
  pointer-events:none;
  z-index:-1;

  background:
    radial-gradient(600px 320px at 12% 0%,
      rgba(229, 9, 20, 0.18),
      rgba(229, 9, 20, 0.00) 70%
    ),
    radial-gradient(520px 280px at 92% 0%,
      rgba(255, 90, 60, 0.14),
      rgba(255, 90, 60, 0.00) 70%
    );

  /* Smooth fade-out downward so it never “reappears” mid-page */
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 55%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 55%, transparent 100%);
}

a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}

.container{
  width:100%;
  max-width:var(--max);
  margin:0 auto;
  padding:28px 16px 56px;
}

/* Buttons (modern) */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:12px 16px;
  border-radius:999px;
  border:1px solid var(--border-2);
  background:#fff;
  color:var(--text);
  font-weight:700;
  box-shadow: 0 1px 0 rgba(16,24,40,.04);
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}
.btn:hover{
  transform: translateY(-1px);
  box-shadow: var(--shadow-2);
  border-color: rgba(229,9,20,.30);
}

.btn--primary{
  border-color: transparent;
  color:#fff;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-2) 45%, var(--primary-3) 100%);
  box-shadow: 0 18px 40px rgba(229,9,20,.22);
}
.btn--primary:hover{
  box-shadow: 0 22px 50px rgba(229,9,20,.26);
}
/* FOOTER LAYOUT */
.footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 1rem 2rem;
  font-size: 0.8rem;
  border-top: 1px solid rgba(0,0,0,0.08);
}

/* LEFT */
.footer__left {
  justify-self: start;
  color: #555;
}

/* CENTER */
.footer__center {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer__link {
  font-weight: 500;
  text-decoration: none;
  color: var(--primary, #E50914);
}

.footer__link:hover {
  text-decoration: underline;
}

/* RIGHT */
.footer__right {
  justify-self: end;
  color: #777;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .footer {
    grid-template-columns: 1fr;
    gap: 0.6rem;
    text-align: center;
  }

  .footer__left,
  .footer__center,
  .footer__right {
    justify-self: center;
  }
}
/* Reserve space ABOVE the footer so the image doesn't overlap page content */
.footer{
  position: relative;
  margin-top: 350px; /* réserve la place dans la page (hors footer) */
}

/* Image centered, bottom flush with the footer border-top */
.footer::before{
  content: "";
  position: absolute;
  left: 50%;
  bottom: 100%;              /* juste au-dessus du footer */
  transform: translateX(-50%);
  width: 350px;
  height: 350px;
  background: url("/assets/images/footer-mark.png") no-repeat center / contain;
  pointer-events: none;
}
.footer{ margin-top: clamp(180px, 30vw, 350px); }
.footer::before{
  width: clamp(180px, 30vw, 350px);
  height: clamp(180px, 30vw, 350px);
}
/* Mobile: reduce reserved space above footer image */
@media (max-width: 768px){
  .footer{
    margin-top: 150px !important;
  }

  .footer::before{
    width: 150px;
    height: 150px;
  }
}
