/* ===== Couleurs : change ces 4 valeurs pour appliquer ton code couleur ===== */
:root {
  --rouge: #e3161e;
  --noir: #0a0a0b;
  --gris: #16161a;
  --blanc: #f4f4f5;
  --texte-doux: rgba(244,244,245,.65);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--noir); color: var(--blanc);
  font-family: "Titillium Web", system-ui, sans-serif; font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.titre {
  font-family: "Saira Condensed", "Titillium Web", sans-serif; font-style: italic; font-weight: 800;
  text-transform: uppercase; letter-spacing: .01em; line-height: .95;
}
.rouge { color: var(--rouge); }

/* ===== Menu ===== */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: 72px;
  display: flex; align-items: center; justify-content: space-between; padding: 0 5vw;
  background: linear-gradient(to bottom, rgba(10,10,11,.92), rgba(10,10,11,0));
  transition: background .3s;
}
.nav.solid { background: rgba(10,10,11,.96); border-bottom: 1px solid rgba(255,255,255,.06); }
.logo { font-size: 30px; display: flex; align-items: baseline; gap: 2px; }
.logo span { font-size: 15px; color: var(--texte-doux); margin-left: 8px; font-style: normal; letter-spacing: .2em; }
.nav ul { list-style: none; display: flex; gap: 34px; }
.nav li a {
  font-weight: 600; text-transform: uppercase; letter-spacing: .14em; font-size: 13px;
  padding: 6px 0; position: relative; color: var(--texte-doux); transition: color .2s;
}
.nav li a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--rouge); transition: width .25s;
}
.nav li a:hover, .nav li a.actif { color: var(--blanc); }
.nav li a:hover::after, .nav li a.actif::after { width: 100%; }

/* ===== Boutons ===== */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  font-weight: 700; text-transform: uppercase; letter-spacing: .14em; font-size: 14px;
  padding: 16px 30px; clip-path: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
  transition: transform .2s, background .2s;
}
.btn-rouge { background: var(--rouge); color: #fff; }
.btn-rouge:hover { transform: translateX(4px); background: #ff2a31; }
.btn-ghost { background: rgba(255,255,255,.08); }
.btn-ghost:hover { background: rgba(255,255,255,.16); }

/* ===== Bandes diagonales décoratives ===== */
.slash { position: absolute; width: 8px; background: var(--rouge); transform: skewX(-20deg); }

/* ===== Pied de page ===== */
footer {
  border-top: 1px solid rgba(255,255,255,.07); padding: 36px 5vw;
  display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap;
  color: var(--texte-doux); font-size: 14px;
}
footer .titre { font-size: 22px; color: var(--blanc); }

/* ===== Apparition au scroll ===== */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s ease, transform .8s ease; }
.reveal.vu { opacity: 1; transform: none; }

@media (max-width: 720px) {
  body { font-size: 16px; }
  .nav { height: 62px; }
  .logo { font-size: 24px; }
  .logo span { display: none; }
  .nav ul { gap: 18px; }
  .nav li a { font-size: 12px; letter-spacing: .1em; }
}

/* ===== Fond fibre de carbone ===== */
html { background: #131315; }
body { background: transparent !important; position: relative; }
body::before {
  content: ""; position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    linear-gradient(27deg, #0e0e10 5px, transparent 5px) 0 5px,
    linear-gradient(207deg, #0e0e10 5px, transparent 5px) 10px 0,
    linear-gradient(27deg, #1c1c1f 5px, transparent 5px) 0 10px,
    linear-gradient(207deg, #1c1c1f 5px, transparent 5px) 10px 5px,
    linear-gradient(90deg, #151517 10px, transparent 10px),
    linear-gradient(#17171a 25%, #131315 25%, #131315 50%, transparent 50%, transparent 75%, #1e1e21 75%, #1e1e21);
  background-color: #111113;
  background-size: 20px 20px;
  opacity: .45; /* intensité du carbone : baisser pour plus discret */
}
/* reflet brillant + vignettage, comme une pièce carbone vernie */
body::after {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(115deg, transparent 30%, rgba(255,255,255,.045) 45%, rgba(255,255,255,.07) 50%, rgba(255,255,255,.045) 55%, transparent 70%),
    radial-gradient(ellipse 75% 65% at 50% 45%, rgba(0,0,0,0) 0%, rgba(0,0,0,.35) 60%, rgba(0,0,0,.85) 100%);
}
@media (max-width: 720px) { body::before { background-size: 14px 14px; background-position: 0 3.5px, 7px 0, 0 7px, 7px 3.5px, 0 0, 0 0; } }
