:root {
  --bg:        #050505;
  --bg2:       #0A0A0A;
  --bg3:       #111111;
  --orange:    #FDA31C;
  --orange2:   #C47A00;
  --orange-glow: rgba(253,163,28,0.15);
  --text:      rgba(255,255,255,0.92);
  --muted:     rgba(255,255,255,0.55);
  --hint:      rgba(255,255,255,0.30);
  --border:    rgba(253,163,28,0.12);
  --border2:   rgba(253,163,28,0.28);
  --radius:    12px;
  --radius-pill: 100px;
  --font-title: 'Raleway', sans-serif;
  --font-body:  'Raleway', sans-serif;
  /* Titres : echelle /3 (demande affichage plus discret) */
  --heading-factor: 0.3333333333;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: #050505;
}
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

.container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 2rem;
}

@media (max-width: 375px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

.section {
  padding-block: clamp(4rem, 10vw, 7rem);
}

.section-header {
  max-width: 640px;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.eyebrow {
  font-family: var(--font-title);
  font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.2em;
  color: var(--orange);
  display: block; margin-bottom: 1rem;
}
h1 {
  font-family: var(--font-title);
  font-size: clamp(
    calc(2.8rem * var(--heading-factor)),
    calc(7vw * var(--heading-factor)),
    calc(5.5rem * var(--heading-factor))
  );
  font-weight: 800; line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--text);
}
h2 {
  font-family: var(--font-title);
  font-size: clamp(
    calc(1.8rem * var(--heading-factor)),
    calc(4vw * var(--heading-factor)),
    calc(3rem * var(--heading-factor))
  );
  font-weight: 700; line-height: 1.05;
  letter-spacing: -0.025em; color: var(--text);
}
h3 {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: max(0.75rem, calc(1.2rem * var(--heading-factor)));
  color: var(--text);
}
p { font-family: var(--font-body); color: var(--muted);
    line-height: 1.75; font-size: 15px; }

main { flex: 1; min-height: 50vh; }

.text-balance { text-wrap: balance; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.gradient-border {
  position: relative;
  border-radius: var(--radius);
  background: var(--bg2);
}
.gradient-border::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, var(--border2), transparent 50%, var(--border));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
