/* Corsia RP | site vitrine. Sobre : fond nuit, Outfit, teal et orange avec parcimonie. */
:root {
    --bg: #070b14; --bg-2: #0b1220; --panel: #0e1626; --line: rgba(255,255,255,.08); --line-2: rgba(255,255,255,.14);
    --text: #e8eef6; --muted: #93a0b4; --faint: #5b6879; --accent: #2dd4bf; --orange: #fb923c;
    --mono: 'Geist Mono', ui-monospace, monospace; --w: 1120px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font: 400 16px/1.6 'Outfit', system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.wrap { width: min(var(--w), calc(100% - 40px)); margin: 0 auto; }
.kicker { font: 500 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
h1, h2, h3 { font-weight: 600; letter-spacing: -.01em; line-height: 1.1; }
h2 { font-size: clamp(30px, 4vw, 44px); }
h3 { font-size: 20px; }

/* boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; height: 48px; padding: 0 22px; border-radius: 10px; background: var(--accent); color: #032521; font-weight: 600; font-size: 15px; transition: transform .15s, background .15s; }
.btn:hover { background: #5eead4; transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn.ghost:hover { box-shadow: inset 0 0 0 1px rgba(255,255,255,.35); background: rgba(255,255,255,.03); }
.btn.sm { height: 36px; padding: 0 14px; font-size: 14px; }

/* navigation */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; height: 68px; display: flex; align-items: center; gap: 28px; padding: 0 max(20px, calc((100% - var(--w)) / 2)); transition: background .25s, border-color .25s; border-bottom: 1px solid transparent; }
.nav.solid { background: rgba(7,11,20,.94); border-color: var(--line); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 17px; }
.mark { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; background: var(--text); color: var(--bg); font-weight: 700; font-size: 16px; }
.links { display: flex; gap: 26px; margin-left: 12px; font-size: 15px; color: var(--muted); }
.links a:hover { color: var(--text); }
.nav-r { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.status { display: flex; align-items: center; gap: 8px; font: 500 12.5px var(--mono); color: var(--muted); }
.status i { width: 8px; height: 8px; border-radius: 50%; background: var(--faint); }
.status.on i { background: #4ade80; box-shadow: 0 0 0 3px rgba(74,222,128,.15); }
.status.off i { background: #f87171; }

/* héros */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden;
    background: radial-gradient(1200px 600px at 75% 30%, #10203a 0%, transparent 60%), linear-gradient(180deg, #08101e, var(--bg)); }
.hero.has-img { background: linear-gradient(90deg, rgba(7,11,20,.92) 0%, rgba(7,11,20,.6) 55%, rgba(7,11,20,.35) 100%), linear-gradient(0deg, var(--bg) 0%, transparent 35%), var(--hero) center/cover; }
.hero:not(.has-img)::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 70%); opacity: .5; }
.hero-in { position: relative; width: min(var(--w), calc(100% - 40px)); margin: 0 auto; padding-top: 68px; }
.hero h1 { font-size: clamp(56px, 9vw, 112px); font-weight: 700; letter-spacing: -.035em; line-height: .95; margin-bottom: 22px; }
.lead { max-width: 560px; font-size: 19px; color: #c3cddb; font-weight: 300; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.live { display: flex; align-items: baseline; gap: 10px; margin-top: 46px; padding-top: 18px; border-top: 1px solid var(--line); width: max-content; color: var(--muted); font-size: 14px; }
.live b { font: 500 28px var(--mono); color: var(--text); }
.scroll { position: absolute; left: 50%; bottom: 28px; width: 22px; height: 36px; border-radius: 12px; box-shadow: inset 0 0 0 1.5px var(--line-2); transform: translateX(-50%); }
.scroll span { position: absolute; left: 50%; top: 8px; width: 3px; height: 7px; border-radius: 2px; background: var(--muted); transform: translateX(-50%); animation: sc 1.8s infinite; }
@keyframes sc { 0% { opacity: 0; top: 7px; } 30% { opacity: 1; } 100% { opacity: 0; top: 20px; } }

/* à propos */
section { padding: 120px 0; }
.about { background: var(--bg); }
.about-in { display: grid; grid-template-columns: 1.15fr .85fr; gap: 72px; align-items: center; }
.about-txt h2 { margin-bottom: 22px; }
.about-txt p { color: #b6c1d0; margin-bottom: 14px; max-width: 560px; }
.about-txt p b { color: var(--text); font-weight: 600; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 34px; }
.stat { padding: 20px 18px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); }
.stat b { display: block; font: 500 30px var(--mono); line-height: 1; margin-bottom: 8px; }
.stat b.sm { font-size: 17px; line-height: 1.25; font-family: 'Outfit'; font-weight: 600; }
.stat span { font-size: 13px; color: var(--muted); }
.about-img { aspect-ratio: 3 / 4; border-radius: 14px; overflow: hidden; background: var(--panel); border: 1px solid var(--line); }
.about-img img { width: 100%; height: 100%; object-fit: cover; }
.about-img.empty { display: grid; place-items: center; color: var(--faint); font: 13px var(--mono); text-align: center; padding: 20px; }

/* vie à Corsia */
.life { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.head { margin-bottom: 44px; }
.cards { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.card { grid-column: span 2; padding: 26px 24px 24px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); display: flex; flex-direction: column; transition: border-color .2s; }
.card:nth-child(4), .card:nth-child(5) { grid-column: span 3; }
.card:hover { border-color: var(--line-2); }
.card .n { font: 500 12px var(--mono); color: var(--faint); margin-bottom: 26px; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15px; }
.card a { margin-top: auto; padding-top: 18px; font-size: 14px; color: var(--accent); }
.card:first-child { border-color: rgba(45,212,191,.25); }

/* rejoindre */
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.steps li { padding: 30px 28px 6px 0; border-right: 1px solid var(--line); margin-right: 28px; }
.steps li:last-child { border-right: 0; margin-right: 0; }
.steps span { display: block; font: 500 13px var(--mono); color: var(--orange); margin-bottom: 18px; }
.steps h3 { margin-bottom: 8px; }
.steps p { color: var(--muted); font-size: 15px; max-width: 300px; }
.steps a { display: inline-block; margin-top: 14px; font-size: 14px; color: var(--accent); }

/* bande recrutement */
.band { padding: 0 0 120px; }
.band-in { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 44px 48px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); border-left: 3px solid var(--orange); }
.band-in .kicker { color: var(--orange); }
.band-in h2 { font-size: 32px; margin-bottom: 8px; }
.band-in p { color: var(--muted); max-width: 560px; }

/* pied */
.foot { padding: 46px 0; border-top: 1px solid var(--line); }
.foot-in { display: grid; grid-template-columns: auto 1fr; gap: 18px 40px; align-items: center; }
.foot nav { display: flex; gap: 24px; justify-content: flex-end; color: var(--muted); font-size: 14px; }
.foot nav a:hover { color: var(--text); }
.legal { grid-column: 1 / -1; color: var(--faint); font-size: 13px; max-width: 760px; }

/* apparition au défilement */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

@media (max-width: 900px) {
    .links { display: none; }
    section { padding: 84px 0; }
    .about-in { grid-template-columns: 1fr; gap: 40px; }
    .about-img { aspect-ratio: 16 / 10; }
    .cards { grid-template-columns: 1fr; }
    .card, .card:nth-child(4), .card:nth-child(5) { grid-column: auto; }
    .steps { grid-template-columns: 1fr; }
    .steps li { border-right: 0; margin-right: 0; border-bottom: 1px solid var(--line); padding-bottom: 26px; }
    .band-in { flex-direction: column; align-items: flex-start; padding: 32px 26px; }
    .foot-in { grid-template-columns: 1fr; } .foot nav { justify-content: flex-start; }
}
@media (max-width: 520px) { .status span { display: none; } .stats { grid-template-columns: 1fr 1fr; } .stat:last-child { grid-column: 1 / -1; } }
