/* Southbay Roleplay */
:root{
  --bg:#290e0e;
  --border: rgba(255,255,255,.12);
  --text:#f6fbff;
  --muted: rgba(246,251,255,.78);
  --accent:#ff8a3d;
  --accent2:#b81b1b;
  --shadow: 0 14px 34px rgba(0,0,0,.35);
}

*, *::before, *::after { box-sizing: border-box; }

html,body{margin:0;padding:0;}
body{
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background:
    radial-gradient(1200px 800px at 15% -10%, rgba(228,4,4,.25), transparent 60%),
    radial-gradient(900px 700px at 90% 0%, rgba(255,138,61,.18), transparent 60%),
    var(--bg);
  color: var(--text);
}
a{color:inherit;text-decoration:none;}
.container{width:min(1100px, 92%); margin:0 auto;}

/* ── Header ── */
.header{
  position:sticky; top:0; z-index:10;
  background: rgba(11,27,38,.62);
  backdrop-filter: blur(10px);
  border-bottom:1px solid var(--border);
}
.header__inner{display:flex; align-items:center; justify-content:space-between; gap:14px; padding:14px 0;}
.brand{display:flex; align-items:center; gap:10px;}
.brand img{height:38px; width:auto; display:block;}
.brand span{font-weight:800; letter-spacing:.2px;}
.nav{display:flex; gap:10px; align-items:center;}
.nav__link{
  padding:10px 12px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.18);
  color: rgba(246,251,255,.92);
}
.nav__link:hover{
  border-color: rgba(255,255,255,.18);
  background: rgba(255,255,255,.06);
}
.header__call{display:flex; align-items:center; gap:10px; font-size:14px;}
.pill{
  padding:8px 12px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.05);
}

/* ── Hero ── */
.hero{padding:18px 0 10px;}
.hero__wrap{
  position:relative;
  border-radius:26px;
  overflow:hidden;
  border:1px solid var(--border);
  box-shadow: var(--shadow);
  min-height:360px;
}
.hero__wrap img{width:100%; height:100%; object-fit:cover; display:block; filter:saturate(1.05) contrast(1.03);}
.hero__overlay{
  position:absolute; inset:0;
  background: linear-gradient(90deg, rgba(0,0,0,.55), rgba(0,0,0,.10) 60%, transparent);
  display:flex; align-items:center;
}
.hero__content{padding:30px; max-width:520px;}
.hero__title{margin:0 0 10px; font-size:42px; line-height:1.05;}
.hero__subtitle{margin:0 0 16px; color: var(--muted); font-size:16px;}
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:12px 16px; border-radius:14px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  border:1px solid rgba(255,255,255,.14);
  color:white; font-weight:800;
}
.btn:hover{filter:brightness(1.05);}
.stats{display:flex; gap:10px; flex-wrap:wrap; margin-top:16px;}
.stat{
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.14);
  border-radius:16px; padding:10px 12px;
  font-size:13px; color: rgba(246,251,255,.86);
}

/* ── Section ── */
.section{padding:26px 0;}
.section__head{display:flex; align-items:flex-end; justify-content:space-between; gap:12px; margin-bottom:14px;}
.section__title{margin:0; font-size:22px;}
.section__hint{margin:0; color: var(--muted); font-size:14px;}

/* ── Cards grid ── */
.cards{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:14px;
}
.card{
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.12);
  border-radius:18px;
  overflow:hidden;
  box-shadow: 0 10px 24px rgba(0,0,0,.25);
  display:flex;
  flex-direction:column;
}
.card__img{height:170px; flex-shrink:0;}
.card__img img{width:100%; height:100%; object-fit:cover; display:block;}
.card__body{padding:14px; flex:1;}
.card__name{margin:0 0 6px; font-weight:800;}
.card__meta{display:flex; justify-content:space-between; gap:10px; color: rgba(246,251,255,.86); font-size:14px;}
.small{font-size:13px; color: rgba(246,251,255,.78); margin:6px 0 0;}

/* ── Tags colorés (card 1) ── */
.card__tags{display:flex; flex-wrap:wrap; gap:6px; margin-top:10px;}
.ctag{
  font-size:12px; padding:3px 9px; border-radius:999px;
  border:1px solid rgba(255,255,255,.14);
  color: rgba(246,251,255,.78); background: rgba(255,255,255,.06);
}
.ctag--blue  { background: rgba(55,138,221,.18); border-color: rgba(55,138,221,.4); color: #a8d4f7; }
.ctag--teal  { background: rgba(29,158,117,.18); border-color: rgba(29,158,117,.4); color: #7ddfc0; }
.ctag--amber { background: rgba(239,159,39,.18);  border-color: rgba(239,159,39,.4);  color: #f5c878; }
.ctag--red   { background: rgba(226,75,74,.18);   border-color: rgba(226,75,74,.4);   color: #f09595; }

/* ── Panel déroulant jobs (card 1) ── */
.card__jobs{ max-height:0; overflow:hidden; transition: max-height 0.38s ease; }
.card__jobs.open{ max-height:600px; }
.card__jobs-inner{
  padding:14px; display:flex; flex-direction:column; gap:14px;
  border-top:1px solid rgba(255,255,255,.10);
}
.jobs-cat__label{
  margin:0 0 6px; font-size:11px; font-weight:700;
  letter-spacing:.06em; text-transform:uppercase;
  color: rgba(246,251,255,.55);
}

/* ── Bouton dérouler (card 1) ── */
.card__expand{
  display:flex; align-items:center; justify-content:center; gap:7px;
  width:100%; padding:10px; border:none;
  border-top:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  color: rgba(246,251,255,.65);
  font-size:12px; font-family:inherit; cursor:pointer;
  transition: background 0.15s, color 0.15s;
  margin-top:auto;
}
.card__expand:hover{ background: rgba(255,255,255,.09); color: rgba(246,251,255,.95); }
.card__expand-arrow{ display:inline-block; transition: transform 0.28s ease; font-size:10px; }
.card__expand-arrow.open{ transform: rotate(180deg); }

/* ── Steps (card 2) ── */
.steps{
  list-style:none; margin:12px 0 0; padding:0;
  display:flex; flex-direction:column; gap:10px;
}
.step{
  display:flex; align-items:flex-start; gap:10px;
}
.step__num{
  flex-shrink:0;
  width:24px; height:24px; border-radius:50%;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  display:flex; align-items:center; justify-content:center;
  font-size:12px; font-weight:800; color:white;
}
.step__title{
  margin:0 0 2px; font-size:13px; font-weight:700;
  color: rgba(246,251,255,.95);
}
.step__desc{
  margin:0; font-size:12px; color: rgba(246,251,255,.6);
  line-height:1.4;
}

/* ── Rules (card 3) ── */
.rules{
  list-style:none; margin:12px 0 0; padding:0;
  display:flex; flex-direction:column; gap:8px;
}
.rule{
  display:flex; align-items:flex-start; gap:8px;
  font-size:13px; color: rgba(246,251,255,.82); line-height:1.4;
}
.rule__icon{
  flex-shrink:0; width:18px; height:18px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  font-size:10px; font-weight:800; margin-top:1px;
}
.rule__icon--green{ background: rgba(29,158,117,.25); color:#7ddfc0; border:1px solid rgba(29,158,117,.4); }
.rule__icon--red  { background: rgba(226,75,74,.20);  color:#f09595; border:1px solid rgba(226,75,74,.4); }

/* ── Highlights (card 4) ── */
.highlights{
  display:flex; flex-direction:column; gap:10px; margin-top:12px;
}
.highlight{
  display:flex; align-items:flex-start; gap:10px;
}
.highlight__icon{ font-size:16px; flex-shrink:0; margin-top:1px; }
.highlight__title{
  margin:0 0 2px; font-size:13px; font-weight:700;
  color: rgba(246,251,255,.95);
}
.highlight__desc{
  margin:0; font-size:12px; color: rgba(246,251,255,.6);
  line-height:1.4;
}

/* ── Reviews ── */
.reviews{ display:grid; grid-template-columns: repeat(3,1fr); gap:12px; margin-top:14px; }
.review{
  background: rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.12);
  border-radius:18px; padding:14px;
}
.review p{margin:0; color: rgba(246,251,255,.84); line-height:1.5;}
.review .who{margin-top:10px; font-weight:700; color: rgba(246,251,255,.92); font-size:13px;}

/* ── Footer ── */
.footer{ border-top:1px solid rgba(255,255,255,.12); margin-top:28px; padding:22px 0; }
.footer__grid{display:grid; grid-template-columns:repeat(3,1fr); gap:12px;}
.footer__grid h4{margin:0 0 6px; font-size:14px; color: rgba(246,251,255,.95);}
.footer__grid p{margin:0; font-size:13px; color: rgba(246,251,255,.78); line-height:1.5;}

/* ── Formulaire ── */
.form{
  display:grid; gap:12px;
  background: rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.12);
  border-radius:18px; padding:16px;
}
.field label{display:block; font-size:13px; color: rgba(246,251,255,.86); margin-bottom:6px;}
.field input, .field textarea, .field select{
  width:100%; padding:12px;
  border-radius:14px; border:1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.22); color: var(--text); outline:none;
}
.field textarea{min-height:120px; resize:vertical;}