:root {
  --navy-950: #060e20;
  --navy-900: #0a1630;
  --navy-800: #0f2350;
  --navy-700: #16306b;
  --navy-600: #1f4290;
  --gold: #d6ab4a;
  --gold-light: #f0cd7a;
  --gold-dark: #a9822e;
  --cream: #f3ede0;
  --text: #e6ebf5;
  --muted: #9fb0cf;
  --line: rgba(214, 171, 74, .22);
  --card: rgba(18, 38, 84, .55);
  --radius: 14px;
  --shadow: 0 18px 40px -18px rgba(0, 0, 0, .7);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  background: var(--navy-900);
  color: var(--text);
  font: 400 16px/1.6 Inter, system-ui, sans-serif;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--gold-light); }
h1, h2, h3 { font-family: Montserrat, sans-serif; line-height: 1.15; margin: 0; }
code { background: rgba(255,255,255,.08); padding: 1px 6px; border-radius: 5px; font-size: .9em; }

.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 32px); }

/* ---------- boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: 10px;
  font: 700 15px/1 Montserrat, sans-serif; letter-spacing: .04em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; border: 0;
  transition: transform .15s, box-shadow .2s, background .2s, color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold {
  background: linear-gradient(180deg, var(--gold-light), var(--gold) 55%, var(--gold-dark));
  color: var(--navy-950);
  box-shadow: 0 10px 24px -10px rgba(214,171,74,.8), inset 0 1px 0 rgba(255,255,255,.5);
}
.btn-ghost { background: rgba(10,22,48,.5); color: var(--cream); border: 2px solid var(--gold); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: var(--gold); color: var(--navy-950); }
.btn-sm { padding: 10px 16px; font-size: 13px; }
.btn-discord { background: #5865f2; color: #fff; }
.btn-discord:hover { background: #4752c4; }

/* ---------- navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background .25s, border-color .25s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: rgba(6,14,32,.88); backdrop-filter: blur(10px); border-color: var(--line); }
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--cream); }
.brand-mark {
  width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center;
  background: var(--navy-800); border: 2px solid var(--gold); color: var(--gold);
  font: 900 20px Montserrat, sans-serif;
}
.brand-txt { font: 800 18px/1 Montserrat, sans-serif; text-transform: uppercase; letter-spacing: .06em; }
.brand-txt small { display: block; font-size: 10px; letter-spacing: .32em; color: var(--gold); margin-top: 3px; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a:not(.btn) { color: var(--text); text-decoration: none; font-weight: 500; font-size: 15px; position: relative; }
.nav-links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px;
  background: var(--gold); transform: scaleX(0); transition: transform .2s;
}
.nav-links a:not(.btn):hover::after { transform: scaleX(1); }
.burger { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.burger span { display: block; width: 24px; height: 2px; background: var(--cream); margin: 5px 0; transition: .25s; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: grid; align-items: center; overflow: hidden; padding: 110px 0 70px; }
/* fond décoratif sans image : halo doré + motif losange façon tapis du hub */
.hero-bg, .page-head-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 55% 45% at 50% 38%, rgba(214,171,74,.18), transparent 70%),
    radial-gradient(ellipse 70% 60% at 8% 100%, rgba(31,66,144,.6), transparent 70%),
    radial-gradient(ellipse 60% 55% at 95% 0%, rgba(31,66,144,.5), transparent 70%),
    repeating-linear-gradient(45deg, rgba(214,171,74,.06) 0 1px, transparent 1px 38px),
    repeating-linear-gradient(-45deg, rgba(214,171,74,.06) 0 1px, transparent 1px 38px),
    var(--navy-900);
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(6,14,32,.5) 0%, transparent 30%, transparent 70%, var(--navy-900) 100%);
}
.hero-in { position: relative; z-index: 3; text-align: center; }
.pill {
  display: inline-block; padding: 7px 16px; border-radius: 99px;
  border: 1px solid var(--gold); color: var(--gold-light); background: rgba(214,171,74,.1);
  font: 700 12px Montserrat, sans-serif; letter-spacing: .2em; text-transform: uppercase;
}
.hero h1 {
  margin: 22px 0 14px; font-weight: 900; text-transform: uppercase; letter-spacing: .03em;
  font-size: clamp(42px, 9vw, 104px); color: var(--cream);
  text-shadow: 0 6px 30px rgba(0,0,0,.6);
}
.hero h1 span {
  display: block; font-size: .36em; letter-spacing: .5em; margin-top: 6px; padding-left: .5em;
  background: linear-gradient(180deg, var(--gold-light), var(--gold-dark));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { font-size: clamp(16px, 2.2vw, 19px); color: #cdd7ea; max-width: 640px; margin: 0 auto; }

.countdown { display: flex; justify-content: center; gap: 14px; margin: 36px 0 8px; }
.countdown div {
  min-width: 92px; padding: 14px 10px 10px; border-radius: 12px;
  background: rgba(15,35,80,.65); border: 1px solid var(--line); backdrop-filter: blur(6px);
}
.countdown b { display: block; font: 800 38px/1 Montserrat, sans-serif; color: var(--gold-light); font-variant-numeric: tabular-nums; }
.countdown span { font-size: 12px; text-transform: uppercase; letter-spacing: .15em; color: var(--muted); }
.countdown-done { font: 700 20px Montserrat, sans-serif; color: var(--gold-light); margin: 32px 0 8px; }

.cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 30px; }
.ip {
  margin-top: 22px; display: inline-flex; align-items: center; gap: 12px;
  padding: 10px 12px 10px 16px; border-radius: 10px; cursor: pointer;
  background: rgba(6,14,32,.6); border: 1px dashed rgba(214,171,74,.45); color: var(--text);
  font: 500 14px Inter, sans-serif;
}
.ip:disabled { cursor: default; }
.ip-dot { width: 9px; height: 9px; border-radius: 50%; background: #e0a43a; box-shadow: 0 0 0 4px rgba(224,164,58,.2); }
.ip-dot.on { background: #3ddc84; box-shadow: 0 0 0 4px rgba(61,220,132,.2); }
.ip-copy { font: 700 12px Montserrat, sans-serif; text-transform: uppercase; letter-spacing: .1em; color: var(--gold-light); padding: 5px 9px; border-radius: 6px; background: rgba(214,171,74,.12); }
.ip:disabled .ip-copy { display: none; }

/* neige */
.snow { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.flake { position: absolute; top: -10px; border-radius: 50%; background: #fff; opacity: .8; animation: fall linear infinite; }
@keyframes fall { to { transform: translate3d(var(--dx), 105vh, 0); } }

/* ---------- bande stats ---------- */
.stats { background: linear-gradient(90deg, var(--navy-800), var(--navy-700), var(--navy-800)); border-block: 1px solid var(--line); }
.stats-in { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; }
.stats-in div { padding: 26px 8px; }
.stats-in div + div { border-left: 1px solid var(--line); }
.stats b { display: block; font: 800 28px/1.1 Montserrat, sans-serif; color: var(--gold-light); }
.stats span { color: var(--muted); font-size: 14px; }

/* ---------- sections ---------- */
.section { padding: 100px 0; }
.section-alt { background: linear-gradient(180deg, var(--navy-950), #0b1a3a); }
.kicker { margin: 0 0 10px; color: var(--gold); font: 700 13px Montserrat, sans-serif; letter-spacing: .28em; text-transform: uppercase; }
.section h2 { font-size: clamp(30px, 4.5vw, 46px); font-weight: 800; color: var(--cream); }
.sub { color: var(--muted); margin: 12px 0 0; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 44px; }
.feature {
  padding: 28px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line);
  box-shadow: var(--shadow); transition: transform .2s, border-color .2s;
}
.feature:hover { transform: translateY(-4px); border-color: rgba(214,171,74,.5); }
.ico {
  width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 18px;
  background: linear-gradient(160deg, var(--navy-600), var(--navy-800)); border: 1px solid var(--gold);
}
.ico svg, .tab svg, .job-ico svg { width: 26px; height: 26px; fill: none; stroke: var(--gold-light); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { font-size: 19px; margin-bottom: 8px; color: var(--cream); }
.feature p { margin: 0; color: var(--muted); }

.gallery {
  display: grid; gap: 14px; margin-top: 44px;
  grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(2, 200px);
}
.gallery figure { margin: 0; position: relative; overflow: hidden; border-radius: 12px; border: 1px solid var(--line); cursor: zoom-in; }
.gallery .g-big { grid-column: span 2; grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery figure:hover img { transform: scale(1.06); }
.gallery figcaption {
  position: absolute; inset: auto 0 0; padding: 26px 14px 10px;
  background: linear-gradient(transparent, rgba(6,14,32,.9));
  font: 700 13px Montserrat, sans-serif; letter-spacing: .06em; color: var(--cream);
}

/* ---------- métiers ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.tab {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 10px; cursor: pointer;
  background: rgba(15,35,80,.6); border: 1px solid var(--line); color: var(--text);
  font: 600 14px Montserrat, sans-serif; transition: .2s;
}
.tab svg { width: 18px; height: 18px; }
.tab:hover { border-color: var(--gold); }
.tab[aria-selected="true"] { background: var(--gold); color: var(--navy-950); border-color: var(--gold); }
.tab[aria-selected="true"] svg { stroke: var(--navy-950); }
.tab.illegal[aria-selected="true"] { background: #b8343a; border-color: #b8343a; color: #fff; }
.tab.illegal[aria-selected="true"] svg { stroke: #fff; }

.jobs { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; margin-top: 26px; }
.job {
  display: flex; gap: 14px; padding: 20px; border-radius: var(--radius);
  background: var(--card); border: 1px solid var(--line); animation: pop .35s both;
}
.job-ico {
  flex: none; width: 46px; height: 46px; border-radius: 11px; display: grid; place-items: center;
  background: rgba(214,171,74,.1); border: 1px solid rgba(214,171,74,.35);
}
.job.illegal .job-ico { background: rgba(184,52,58,.15); border-color: rgba(220,90,96,.45); }
.job.illegal .job-ico svg { stroke: #ff8a8f; }
.job h3 { font-size: 16px; color: var(--cream); margin: 2px 0 6px; }
.job p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.5; }
@keyframes pop { from { opacity: 0; transform: translateY(10px); } }

/* ---------- règlement / FAQ ---------- */
.rules { margin-top: 34px; display: grid; gap: 10px; }
.rules details { border-radius: 12px; background: var(--card); border: 1px solid var(--line); overflow: hidden; }
.rules details[open] { border-color: rgba(214,171,74,.55); }
.rules summary {
  list-style: none; cursor: pointer; padding: 18px 50px 18px 20px; position: relative;
  font: 700 16px Montserrat, sans-serif; color: var(--cream); display: flex; align-items: center; gap: 14px;
}
.rules summary::-webkit-details-marker { display: none; }
.rules summary::after {
  content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  font-size: 24px; font-weight: 400; color: var(--gold); transition: transform .2s;
}
.rules details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.rules .n { color: var(--gold); font-weight: 900; font-size: 14px; }
.rules details p { margin: 0; padding: 0 20px 20px; color: var(--muted); }
.faq summary { font-size: 15px; }

/* ---------- étapes ---------- */
.steps { list-style: none; padding: 0; margin: 44px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
.steps li { padding: 26px 22px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); position: relative; }
.steps li > span {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; margin-bottom: 16px;
  background: linear-gradient(180deg, var(--gold-light), var(--gold-dark)); color: var(--navy-950);
  font: 900 18px Montserrat, sans-serif;
}
.steps h3 { font-size: 18px; color: var(--cream); margin-bottom: 6px; }
.steps p { margin: 0; color: var(--muted); font-size: 15px; }

/* ---------- page candidatures ---------- */
.nav-links a.active { color: var(--gold-light); }
.nav-links a.active::after { transform: scaleX(1); }
.page-head { position: relative; overflow: hidden; padding: 140px 0 56px; text-align: center; }
.page-head::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(6,14,32,.4), transparent 50%, var(--navy-900));
}
.page-head-in { position: relative; z-index: 2; }
.page-head h1 { font-size: clamp(36px, 6vw, 60px); font-weight: 900; color: var(--cream); text-transform: uppercase; }

.role-bar {
  position: sticky; top: 68px; z-index: 40;
  background: rgba(6,14,32,.92); backdrop-filter: blur(10px);
  border-block: 1px solid var(--line);
}
.role-tabs { display: flex; justify-content: center; gap: 6px; }
.role-tab {
  display: inline-flex; align-items: center; gap: 9px; padding: 18px 22px; cursor: pointer;
  background: none; border: 0; border-bottom: 3px solid transparent; color: var(--muted);
  font: 700 15px Montserrat, sans-serif; letter-spacing: .03em; text-transform: uppercase;
  transition: color .2s, border-color .2s, background .2s;
}
.role-tab svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.role-tab:hover { color: var(--cream); background: rgba(255,255,255,.03); }
.role-tab[aria-selected="true"] { color: var(--gold-light); border-bottom-color: var(--gold); background: rgba(214,171,74,.07); }

.apply-section { padding-top: 32px; }
.role-info {
  display: flex; gap: 18px; align-items: flex-start; padding: 22px 24px; border-radius: var(--radius);
  background: linear-gradient(120deg, rgba(31,66,144,.45), rgba(15,35,80,.45)); border: 1px solid var(--line);
}
.role-info h2 { font-size: 24px !important; }
.role-info p { margin: 6px 0 0; color: var(--muted); }
.role-info ul { margin: 10px 0 0; padding-left: 18px; color: var(--text); font-size: 15px; }

.apply, .apply-done {
  margin-top: 22px; padding: 30px; border-radius: var(--radius);
  background: var(--card); border: 1px solid rgba(214,171,74,.4); box-shadow: var(--shadow);
}
.apply h3, .apply-done h3 { font-size: 22px; color: var(--cream); margin-bottom: 20px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.apply label { display: grid; gap: 7px; font-weight: 600; font-size: 14px; color: var(--cream); }
.apply label.full { grid-column: 1 / -1; }
.apply > label, #roleQuestions label { margin-top: 16px; }
.apply input:not([type="checkbox"]), .apply textarea {
  width: 100%; padding: 12px 14px; border-radius: 9px; font: 400 15px Inter, sans-serif;
  background: rgba(6,14,32,.7); border: 1px solid rgba(159,176,207,.25); color: var(--text);
  transition: border-color .2s, box-shadow .2s; resize: vertical;
}
.apply input:focus, .apply textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(214,171,74,.2); }
.apply .invalid { border-color: #e0565c !important; }
.apply .count { font-weight: 400; color: var(--muted); font-size: 12px; text-align: right; }
.apply .check { display: flex; align-items: center; gap: 10px; font-weight: 500; margin-top: 20px; }
.apply .check input { width: 18px; height: 18px; accent-color: var(--gold); flex: none; }
.apply .hp { position: absolute; left: -9999px; }
.apply .btn { margin-top: 18px; }
.form-err { color: #ff8a8f; margin: 14px 0 0; min-height: 1em; }
.apply-done { text-align: center; }
.apply-done p { color: var(--muted); max-width: 620px; margin: 0 auto; }
.apply-done textarea {
  width: 100%; margin-top: 18px; padding: 12px; border-radius: 9px; resize: vertical;
  background: rgba(6,14,32,.7); border: 1px solid var(--line); color: var(--muted); font: 13px/1.5 Consolas, monospace;
}
.done-ico {
  width: 60px; height: 60px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(180deg, var(--gold-light), var(--gold-dark)); color: var(--navy-950); font: 900 28px Montserrat, sans-serif;
}

/* ---------- accueil : en direct ---------- */
.section-direct { padding-top: 70px; }
.direct-grid { display: grid; grid-template-columns: 1fr 340px; gap: 32px; align-items: start; }
.home-actus { display: grid; gap: 12px; margin-top: 24px; }
.home-actu { display: block; padding: 18px 20px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); text-decoration: none; transition: border-color .2s, transform .2s; }
.home-actu:hover { border-color: rgba(214,171,74,.6); transform: translateX(3px); }
.home-actu small { color: var(--gold); font-size: 12.5px; font-weight: 600; }
.home-actu b { display: block; color: var(--cream); font: 700 18px Montserrat, sans-serif; margin: 4px 0; }
.home-actu p { margin: 0; color: var(--muted); font-size: 14px; }
.lien-plus { display: inline-block; margin-top: 14px; color: var(--gold-light); font-weight: 600; text-decoration: none; }
.direct-side { display: grid; gap: 16px; }
.direct-carte { position: relative; padding: 20px; border-radius: 14px; background: var(--card); border: 1px solid rgba(214,171,74,.35); }
.direct-carte h3 { display: flex; align-items: center; gap: 10px; color: var(--cream); font-size: 16px; margin-bottom: 10px; }
.direct-nb { margin: 0 0 12px; color: var(--muted); }
.direct-nb b { color: var(--gold-light); font: 900 28px Montserrat, sans-serif; }
.direct-nb span { color: var(--text); }
.direct-joueurs { display: flex; flex-wrap: wrap; gap: 6px; }
.direct-joueurs a, .direct-joueurs span { padding: 4px 9px; border-radius: 99px; font-size: 12.5px; background: rgba(6,14,32,.6); border: 1px solid var(--line); color: var(--text); text-decoration: none; }
.direct-joueurs a:hover { border-color: var(--gold); color: var(--gold-light); }
.home-ev { display: grid; gap: 4px; text-decoration: none; }
.home-ev b { color: var(--cream); font: 700 17px Montserrat, sans-serif; }
.home-ev span { color: var(--text); font-size: 14px; }
.home-ev small { color: var(--gold-light); font-weight: 600; }
@media (max-width: 900px) { .direct-grid { grid-template-columns: 1fr; } }

/* ---------- sous-menus ---------- */
.dd { position: relative; }
.dd-btn {
  display: inline-flex; align-items: center; gap: 4px; padding: 0; border: 0; background: none; cursor: pointer;
  color: var(--text); font: 500 15px Inter, sans-serif;
}
.dd-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .2s; }
.dd.actif > .dd-btn { color: var(--gold-light); }
.dd-menu {
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translate(-50%, 6px); min-width: 190px;
  padding: 8px; border-radius: 12px; background: rgba(6,14,32,.97); border: 1px solid var(--line);
  box-shadow: 0 20px 40px rgba(0,0,0,.5); display: grid; gap: 2px;
  opacity: 0; visibility: hidden; transition: opacity .15s, transform .15s, visibility .15s;
}
.dd-menu::before { content: ""; position: absolute; inset: -16px 0 auto; height: 16px; }
.dd-menu a { padding: 9px 12px; border-radius: 8px; color: var(--text); text-decoration: none; font-size: 14.5px; }
.dd-menu a:hover, .dd-menu a.active { background: rgba(214,171,74,.12); color: var(--gold-light); }
.dd:hover .dd-menu, .dd.ouvert .dd-menu, .dd:focus-within .dd-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.dd:hover .dd-btn svg, .dd.ouvert .dd-btn svg { transform: rotate(180deg); }

/* ---------- thème de Noël ---------- */
.noel { --rouge: #c0392b; --vert: #1e8449; }
.guirlande { position: absolute; left: 0; right: 0; bottom: -9px; height: 14px; display: flex; justify-content: space-between; padding: 0 12px; pointer-events: none; }
.guirlande::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; border-bottom: 1.5px solid rgba(30,132,73,.7); border-radius: 0 0 50% 50% / 0 0 100% 100%; }
.guirlande i { position: relative; top: 4px; width: 7px; height: 10px; border-radius: 50% 50% 50% 50% / 40% 40% 60% 60%; animation: brille 1.8s ease-in-out infinite; }
.guirlande i:nth-child(4n+1) { background: #ff5a5a; color: #ff5a5a; }
.guirlande i:nth-child(4n+2) { background: #ffd35a; color: #ffd35a; }
.guirlande i:nth-child(4n+3) { background: #5ad17a; color: #5ad17a; }
.guirlande i:nth-child(4n+4) { background: #6fb2ff; color: #6fb2ff; }
@keyframes brille { 0%, 100% { opacity: 1; box-shadow: 0 0 8px 2px currentColor; } 50% { opacity: .35; box-shadow: none; } }

.neige-globale { position: fixed; inset: 0; z-index: 45; pointer-events: none; overflow: hidden; }

/* bonnet sur le logo */
.noel .brand-mark { position: relative; }
.noel .nav .brand-mark::after {
  content: ""; position: absolute; top: -13px; right: -11px; width: 28px; height: 24px; transform: rotate(18deg);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 24'%3E%3Cpath d='M3 19C5 9 11 2 19 3c3 .5 4 4 5 8-2-2-4-3-6-2-3 2-4 6-4 10z' fill='%23c0392b'/%3E%3Crect x='1' y='17' width='17' height='6' rx='3' fill='%23fff'/%3E%3Ccircle cx='24' cy='12' r='3.2' fill='%23fff'/%3E%3C/svg%3E") no-repeat center / contain;
}
.noel .kicker::before { content: "❄ "; color: #cfe3ff; }
.noel .pill { background: var(--rouge); border-color: #e86a5e; color: #fff; }

/* boules suspendues + congère */
.boules { position: absolute; inset: 0 0 auto; height: 260px; z-index: 2; pointer-events: none; }
.boule { position: absolute; top: 0; width: 2px; height: var(--l); background: linear-gradient(rgba(214,171,74,.2), rgba(214,171,74,.7)); transform-origin: top center; animation: balance 4s ease-in-out infinite; }
.boule i {
  position: absolute; left: 50%; bottom: -26px; width: 30px; height: 30px; margin-left: -15px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(255,255,255,.75), transparent 28%), var(--c);
  box-shadow: inset -5px -6px 10px rgba(0,0,0,.35), 0 6px 16px rgba(0,0,0,.35);
}
.boule i::before { content: ""; position: absolute; top: -5px; left: 10px; width: 10px; height: 6px; border-radius: 2px; background: var(--gold); }
@keyframes balance { 0%, 100% { transform: rotate(4deg); } 50% { transform: rotate(-4deg); } }
.congere { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 70px; z-index: 2; fill: #eef3fb; opacity: .95; pointer-events: none; }

/* neige sur le haut des cartes */
.noel .feature, .noel .teaser, .noel .pack, .noel .car, .noel .grade-card, .noel .rc-action, .noel .reg-section, .noel .ev-carte, .noel .actu { position: relative; }
.noel .feature::before, .noel .teaser::before, .noel .pack::after, .noel .grade-card::after, .noel .rc-action::before, .noel .reg-section::before, .noel .ev-carte::before, .noel .actu::before {
  content: ""; position: absolute; left: 6px; right: 6px; top: -1px; height: 9px; pointer-events: none; z-index: 1;
  background: radial-gradient(circle at 9px -2px, #f3f7fd 8px, transparent 8.5px) 0 0 / 18px 9px repeat-x;
  border-radius: var(--radius) var(--radius) 0 0; opacity: .9;
}
/* pied de page enneigé */
.noel .footer { position: relative; border-top: 0; }
.noel .footer::before {
  content: ""; position: absolute; left: 0; right: 0; top: -18px; height: 20px;
  background: radial-gradient(ellipse 40px 20px at 40px 20px, #eef3fb 98%, transparent) 0 0 / 80px 20px repeat-x;
}
.noel .footer p::after { content: " · Joyeux Noël et bonne année 2027 ! 🎄"; }

@media (prefers-reduced-motion: reduce) {
  .guirlande i, .boule { animation: none; }
}
@media (max-width: 700px) {
  .boule { height: calc(var(--l) * .45); }
  .boule i { width: 22px; height: 22px; margin-left: -11px; bottom: -19px; }
  .boule:nth-child(3), .boule:nth-child(4) { display: none; }
}

/* ---------- page boutique ---------- */
.ribbon {
  position: absolute; top: 16px; right: -1px; padding: 5px 12px; border-radius: 6px 0 0 6px;
  background: var(--gold); color: var(--navy-950); font: 800 11px Montserrat, sans-serif; letter-spacing: .08em; text-transform: uppercase;
}
.ribbon.lim { background: #c0392b; color: #fff; }
.grade { display: grid; grid-template-columns: 380px 1fr; gap: 24px; align-items: stretch; }
.grade-card {
  position: relative; overflow: hidden; padding: 30px; border-radius: 18px; text-align: center;
  background: radial-gradient(circle at 50% 0%, color-mix(in srgb, var(--c) 30%, transparent), transparent 65%), var(--card);
  border: 2px solid var(--c); box-shadow: 0 20px 50px -25px var(--c);
}
.grade-tag {
  display: inline-block; padding: 8px 22px; border-radius: 10px; background: var(--c); color: #fff;
  font: 900 26px Montserrat, sans-serif; letter-spacing: .08em; text-transform: uppercase; text-shadow: 0 2px 6px rgba(0,0,0,.35);
}
.grade-card h2 { font-size: 20px !important; color: var(--cream); margin: 16px 0 20px; }
.durees { display: flex; justify-content: center; gap: 6px; padding: 5px; border-radius: 12px; background: rgba(6,14,32,.6); }
.durees button { flex: 1; padding: 10px 6px; border-radius: 8px; border: 0; background: none; color: var(--muted); cursor: pointer; font: 700 14px Montserrat, sans-serif; }
.durees button.on { background: var(--c); color: #fff; }
.grade-prix { margin: 22px 0 18px; }
.grade-prix b { display: block; font: 900 44px/1 Montserrat, sans-serif; color: var(--cream); }
.grade-prix span { color: var(--muted); font-size: 14px; }
.shop-buy { width: 100%; }
.grade-av { list-style: none; margin: 0; padding: 26px 28px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); display: grid; gap: 14px; align-content: start; }
.grade-av li, .pack li { display: flex; gap: 12px; align-items: flex-start; color: var(--text); }
.grade-av svg, .pack li svg { flex: none; width: 20px; height: 20px; margin-top: 2px; fill: none; stroke: var(--c, var(--gold)); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.shop-switch { text-align: center; color: var(--muted); margin-top: 26px; }

.shop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.pack, .car {
  position: relative; overflow: hidden; display: flex; flex-direction: column; padding: 24px; border-radius: 16px;
  background: var(--card); border: 1px solid var(--line); transition: transform .2s, border-color .2s;
}
.pack:hover, .car:hover { transform: translateY(-4px); border-color: rgba(214,171,74,.6); }
.pack.pop { border: 2px solid var(--gold); }
.pack h3, .car h3 { font-size: 19px; color: var(--cream); margin-right: 80px; }
.car h3 { margin-right: 0; font-size: 17px; }
.pack > p { color: var(--muted); margin: 6px 0 16px; font-size: 14px; }
.pack ul { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 10px; flex: 1; }
.pack-bas { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; }
.pack-bas b { font: 900 24px Montserrat, sans-serif; color: var(--gold-light); white-space: nowrap; }
.pack-bas .btn { width: auto; padding: 12px 18px; font-size: 13px; }

.shop-filtres { margin-bottom: 22px; }
.car-img {
  height: 120px; margin: -24px -24px 16px; display: grid; place-items: center;
  background: radial-gradient(ellipse at 50% 80%, rgba(214,171,74,.15), transparent 60%), linear-gradient(180deg, var(--navy-700), var(--navy-800));
  border-bottom: 1px solid var(--line);
}
.car-img svg { width: 70%; max-width: 220px; filter: drop-shadow(0 10px 8px rgba(0,0,0,.45)); }
.car-img .roue { fill: #11151f; stroke: #9aa3b5; stroke-width: 3; }
.car-img .vitre { fill: rgba(170,210,255,.55); }
.car-img .cadre { fill: none; stroke: #c8ced9; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.car-cat { color: var(--gold); font: 700 11px Montserrat, sans-serif; letter-spacing: .15em; text-transform: uppercase; margin-bottom: 4px; }
.car-stats { display: grid; grid-template-columns: auto 1fr; gap: 8px 12px; align-items: center; margin: 14px 0 20px; font-size: 13px; color: var(--muted); }
.car-stats b { color: var(--cream); }
.barre { display: block; height: 6px; border-radius: 3px; background: rgba(255,255,255,.08); overflow: hidden; }
.barre i { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg, var(--gold-dark), var(--gold-light)); }

/* aperçu boutique sur l'accueil */
.shop-teaser { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 34px; }
.teaser {
  position: relative; overflow: hidden; padding: 24px; border-radius: 16px; text-decoration: none; color: var(--text);
  background: var(--card); border: 1px solid var(--line); transition: transform .2s, border-color .2s;
}
.teaser:hover { transform: translateY(-4px); border-color: var(--c, var(--gold)); }
.teaser .ico { border-color: var(--c, var(--gold)); }
.teaser .ico svg { stroke: var(--c, var(--gold-light)); }
.teaser h3 { font-size: 19px; color: var(--cream); margin-bottom: 6px; }
.teaser p { margin: 0 0 14px; color: var(--muted); font-size: 14px; }
.teaser span { font: 700 13px Montserrat, sans-serif; color: var(--gold-light); }

/* ---------- page règlement ---------- */
.reg-intro { color: var(--text); font-size: 17px; margin: 0; padding: 18px 22px; border-left: 3px solid var(--gold); background: rgba(214,171,74,.07); border-radius: 0 10px 10px 0; }
.reg-toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 10px; }
.reg-toc a {
  padding: 7px 12px; border-radius: 8px; font-size: 13px; font-weight: 600; text-decoration: none;
  color: var(--text); background: rgba(15,35,80,.6); border: 1px solid var(--line);
}
.reg-toc a:hover { border-color: var(--gold); color: var(--gold-light); }
.reg-section { margin-top: 26px; padding: 26px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); scroll-margin-top: 140px; }
.reg-section h2 { display: flex; align-items: center; gap: 12px; font-size: 22px !important; color: var(--cream); }
.reg-section h2 span {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; flex: none;
  background: linear-gradient(180deg, var(--gold-light), var(--gold-dark)); color: var(--navy-950); font-size: 16px; font-weight: 900;
}
.reg-section ol { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 12px; }
.reg-section li { display: flex; gap: 12px; }
.reg-section li b { flex: none; min-width: 36px; color: var(--gold); font: 700 14px/1.6 Montserrat, sans-serif; }
.reg-section li p { margin: 0; color: #cbd5ea; }

/* ---------- bannière ---------- */
.banner { padding: 70px 0; background: linear-gradient(120deg, var(--navy-700), var(--navy-800) 60%, #1a2c5c); border-top: 1px solid var(--line); }
.banner-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.banner h2 { font-size: clamp(26px, 3.5vw, 36px); color: var(--cream); font-weight: 800; }
.banner p { margin: 6px 0 0; color: var(--muted); }

/* ---------- footer ---------- */
.footer { background: var(--navy-950); border-top: 1px solid var(--line); padding: 30px 0; }
.footer-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer p { margin: 0; color: var(--muted); font-size: 13px; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 6px 18px; width: 100%; justify-content: center; font-size: 13px; }
.footer-legal a { color: var(--muted); text-decoration: none; }
.footer-legal a:hover { color: var(--gold-light); }

/* ---------- toast + lightbox ---------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 100; transform: translate(-50%, calc(100% + 40px)); visibility: hidden;
  padding: 12px 20px; border-radius: 10px; background: var(--navy-800); border: 1px solid var(--gold);
  color: var(--cream); font-weight: 600; transition: transform .3s; max-width: calc(100% - 32px); text-align: center;
}
.toast.show { transform: translate(-50%, 0); visibility: visible; }
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(4,9,22,.92); display: grid; place-items: center; padding: 16px; cursor: zoom-out; }
.lightbox img { max-height: 90vh; border-radius: 12px; border: 1px solid var(--line); }


/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .features, .steps, .shop-teaser { grid-template-columns: 1fr 1fr; }
  .grade { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 240px repeat(2, 150px); }
  .gallery .g-big { grid-row: span 1; }
}
@media (max-width: 1080px) {
  .burger { display: block; }
  .nav-links {
    position: fixed; inset: 68px 0 auto; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--navy-950); border-bottom: 1px solid var(--line); padding: 8px 16px 18px;
    box-shadow: 0 20px 40px rgba(0,0,0,.6);
    transform: translateY(-120%); transition: transform .3s; z-index: -1;
  }
  .nav-links.open { transform: none; }
  .nav-links { max-height: calc(100vh - 68px); overflow-y: auto; }
  .nav-links a:not(.btn) { padding: 13px 4px; border-bottom: 1px solid rgba(255,255,255,.06); }
  .dd-btn { padding: 16px 4px 6px; pointer-events: none; color: var(--gold); font: 700 11px Montserrat, sans-serif; letter-spacing: .2em; text-transform: uppercase; }
  .dd-btn svg { display: none; }
  .dd-menu { position: static; transform: none !important; opacity: 1; visibility: visible; min-width: 0; padding: 0 0 0 12px; background: none; border: 0; box-shadow: none; gap: 0; }
  .dd-menu::before { display: none; }
  .dd-menu a { border-radius: 0; padding: 12px 4px !important; }
  .nav-links .btn { margin-top: 14px; }
  .nav { background: rgba(6,14,32,.88); backdrop-filter: blur(10px); }
  .burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
@media (max-width: 600px) {
  .section { padding: 72px 0; }
  .grid2, .shop-teaser { grid-template-columns: 1fr; }
  .grade-card, .grade-av { padding: 22px 18px; }
  .grade-prix b { font-size: 38px; }
  .role-tabs { justify-content: stretch; gap: 0; width: 100%; }
  .role-tab { flex: 1; flex-direction: column; gap: 4px; padding: 12px 4px; font-size: 11px; letter-spacing: 0; }
  .page-head { padding: 110px 0 40px; }
  .role-info { padding: 18px 16px; }
  .apply, .apply-done { padding: 22px 16px; }
  .apply .btn { width: 100%; }
  .features, .steps { grid-template-columns: 1fr; }
  .stats-in { grid-template-columns: 1fr 1fr; }
  .stats-in div:nth-child(3) { border-left: 0; }
  .stats-in div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .countdown { gap: 8px; }
  .countdown div { min-width: 0; flex: 1; padding: 12px 4px 8px; }
  .countdown b { font-size: 28px; }
  .countdown span { font-size: 10px; letter-spacing: .08em; }
  .cta .btn { width: 100%; }
  .gallery { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-rows: 190px; }
  .gallery .g-big { grid-column: auto; }
  .hero h1 span { letter-spacing: .3em; padding-left: .3em; }
  .ip { max-width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .snow { display: none; }
}
