/* Styles communs des pages intérieures (À propos, Contact) */
:root {
  --bg: #07060b;
  --surface: #121019;
  --line: #221f2b;
  --text: #f4f1ec;
  --muted: #8d8896;
  --accent: #e3262b;
  --accent-soft: rgba(227, 38, 43, .5);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { background: var(--bg); color: var(--text); font-family: "Sora", system-ui, sans-serif; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }

.cursor {
  position: fixed; top: 0; left: 0; z-index: 100; pointer-events: none;
  width: 22px; height: 22px; mix-blend-mode: screen;
}
.cursor::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: var(--accent); opacity: .85; transition: transform .25s, opacity .25s;
}
.cursor.big::after { transform: scale(2.5); opacity: .45; }
@media (hover: none) { .cursor { display: none; } }

header {
  position: sticky; top: 0; z-index: 20;
  display: flex; justify-content: space-between; align-items: center;
  padding: 24px clamp(16px, 5vw, 64px);
  background: rgba(7, 6, 11, .82); backdrop-filter: blur(10px);
}
.logo { font-weight: 800; font-size: 15px; }
.logo span { color: var(--accent); }
nav { display: flex; gap: clamp(18px, 3vw, 44px); }
nav a { font-size: 14px; font-weight: 600; position: relative; padding: 4px 0; }
nav a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 100%;
  background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform .35s;
}
nav a:hover, nav a[aria-current] { color: var(--accent); }
nav a:hover::after, nav a[aria-current]::after { transform: scaleX(1); transform-origin: left; }

main { padding: 40px clamp(16px, 5vw, 64px) 100px; position: relative; overflow-x: clip; }
main::before {
  content: ""; position: absolute; right: -160px; top: -200px; width: 480px; height: 480px; z-index: -1;
  background: radial-gradient(circle, var(--accent-soft), transparent 70%); filter: blur(40px); opacity: .45;
}
.kicker { color: var(--accent); font-size: 15px; margin-bottom: 8px; }
h1 { font-size: clamp(40px, 6vw, 88px); font-weight: 800; letter-spacing: -.02em; line-height: .95; }
h1 span, h2 span { color: var(--accent); }
h2 { font-size: clamp(24px, 3vw, 38px); font-weight: 800; letter-spacing: -.01em; margin-bottom: 24px; }
.lead { color: var(--muted); line-height: 1.75; font-size: 16px; }
.lead strong { color: var(--text); font-weight: 600; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); color: #fff; font: inherit; font-weight: 600; font-size: 14px;
  padding: 14px 24px; border: 0; border-radius: 999px; cursor: pointer; transition: transform .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn.ghost { background: transparent; border: 1px solid var(--line); color: var(--text); }
.btn.ghost:hover { border-color: var(--accent); }

.reveal { animation: in .7s cubic-bezier(.2,.7,.2,1) both; }
.d1 { animation-delay: .1s; } .d2 { animation-delay: .2s; } .d3 { animation-delay: .3s; }
@keyframes in { from { opacity: 0; transform: translateY(18px); } }

@media (max-width: 620px) { nav a { font-size: 13px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* Petits écrans : le logo passe au-dessus du menu (4 onglets) */
@media (max-width: 520px) {
  header { flex-wrap: wrap; row-gap: 10px; padding-top: 18px; padding-bottom: 14px; }
  nav { width: 100%; justify-content: space-between; gap: 0; }
  nav a { white-space: nowrap; font-size: 13px; }
}
