/* =========================================================
   Académie Mento-Rat — shared design system (mockup)
   White site · accent #FF006E · secondary #FF4E08
   ========================================================= */

:root {
  --bg: #ffffff;
  --surface: #faf9fc;
  --surface-2: #f3f1f8;
  --ink: #15131c;
  --ink-soft: #5c5868;
  --ink-faint: #908b9c;
  --line: #ece9f1;
  --line-2: #e1ddec;

  --accent: #ff006e;
  --accent-2: #ff4e08;
  --accent-ink: #c1004f;          /* darker pink for text on white */
  --grad: linear-gradient(92deg, #ff006e 0%, #ff4e08 100%);
  --grad-soft: linear-gradient(92deg, rgba(255,0,110,.12), rgba(255,78,8,.12));

  --shadow-sm: 0 1px 2px rgba(21,19,28,.06), 0 1px 3px rgba(21,19,28,.05);
  --shadow-md: 0 10px 30px -12px rgba(21,19,28,.18);
  --shadow-lg: 0 30px 60px -24px rgba(21,19,28,.28);
  --shadow-pink: 0 14px 30px -12px rgba(255,0,110,.45);

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-pill: 999px;

  --wrap: 1200px;
  --gap: 24px;

  --h-display: "Plus Jakarta Sans", system-ui, sans-serif;
  --h-body: "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--h-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 { font-family: var(--h-display); font-weight: 800; line-height: 1.08; letter-spacing: -.02em; margin: 0; color: var(--ink); }
h1 { font-size: clamp(2.6rem, 5.2vw, 4.4rem); }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
h3 { font-size: 1.35rem; letter-spacing: -.01em; }
p { margin: 0 0 1rem; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.section { padding: 92px 0; }
.section--tight { padding: 64px 0; }
.section--surface { background: var(--surface); }
.center { text-align: center; }
.eyebrow {
  font-family: var(--h-display);
  font-weight: 800; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent-ink); display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--grad); }
.center .eyebrow::before { display: none; }
.lede { font-size: 1.15rem; color: var(--ink-soft); max-width: 64ch; }
.center .lede { margin-inline: auto; }
.section-head { max-width: 720px; margin-bottom: 44px; }
.center.section-head { margin-inline: auto; }

.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--h-display); font-weight: 700; font-size: .98rem;
  padding: 14px 24px; border-radius: var(--r-pill); border: 0; cursor: pointer;
  background: var(--accent); color: #fff; box-shadow: var(--shadow-pink);
  transition: transform .15s ease, box-shadow .15s ease, background .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); background: #ff1a7d; }
.btn--grad { background: var(--grad); }
.btn--ghost { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.6px var(--line-2); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.6px var(--accent); color: var(--accent-ink); background:#fff; }
.btn--dark { background: var(--ink); color: #fff; box-shadow: var(--shadow-md); }
.btn--dark:hover { background: #000; }
.btn--lg { padding: 17px 30px; font-size: 1.05rem; }
.btn--sm { padding: 10px 16px; font-size: .85rem; box-shadow: none; }

/* ---------- top nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.82); backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav__in { display: flex; align-items: center; gap: 28px; height: 74px; }
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--h-display); font-weight: 800; font-size: 1.18rem; letter-spacing: -.02em; }
.brand__mark {
  width: 38px; height: 38px; border-radius: 12px; background: var(--grad);
  display: grid; place-items: center; color: #fff; font-size: 1.15rem; box-shadow: var(--shadow-pink);
}
.brand small { display:block; font-family: var(--h-body); font-weight:600; font-size:.62rem; letter-spacing:.18em; text-transform:uppercase; color: var(--ink-faint); margin-top:1px; }
.nav__links { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
.nav__links a {
  font-weight: 600; font-size: .96rem; color: var(--ink-soft); padding: 9px 14px; border-radius: var(--r-pill);
  transition: color .15s, background .15s;
}
.nav__links a:hover, .nav__links a.is-active { color: var(--ink); background: var(--surface-2); }
.nav__links a.is-active { color: var(--accent-ink); }
.nav__cta { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.nav__login { font-weight: 700; font-family: var(--h-display); color: var(--ink); padding: 10px 6px; }
.nav__burger { display: none; }

/* ---------- floating discord widget (SUC) ---------- */
.discord-fab {
  position: fixed; right: 24px; bottom: 24px; z-index: 120;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: var(--r-pill);
  background: var(--accent); color: #fff; font-family: var(--h-display); font-weight: 700;
  box-shadow: var(--shadow-pink); transition: transform .15s ease;
}
.discord-fab:hover { transform: translateY(-3px) scale(1.02); }
.discord-fab svg { width: 22px; height: 22px; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: 84px 0 76px; }
.hero__media {
  position: relative; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-lg);
  min-height: 520px; display: grid; place-items: center; text-align: center;
  background:
    radial-gradient(120% 120% at 15% 10%, rgba(255,0,110,.55), transparent 45%),
    radial-gradient(120% 120% at 90% 20%, rgba(255,78,8,.5), transparent 50%),
    linear-gradient(160deg, #1d1722, #2a1430 60%, #3a0f2a);
}
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,8,14,.05), rgba(10,8,14,.55));
}
.hero__play {
  position: absolute; top: 22px; left: 22px; z-index: 3;
  display: inline-flex; align-items: center; gap: 9px; color: #fff;
  font-family: var(--h-display); font-weight: 700; font-size: .85rem; letter-spacing: .02em;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3);
  padding: 8px 14px 8px 9px; border-radius: var(--r-pill); backdrop-filter: blur(6px);
}
.hero__play b { width: 26px; height: 26px; border-radius: 50%; background: #fff; color: var(--accent); display: grid; place-items: center; font-size: .7rem; }
.hero__inner { position: relative; z-index: 3; max-width: 880px; padding: 40px 28px; color: #fff; }
.hero__inner h1 { color: #fff; }
.hero__inner .lede { color: rgba(255,255,255,.86); margin: 18px auto 28px; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28);
  color: #fff; padding: 7px 15px; border-radius: var(--r-pill); font-size: .82rem; font-weight: 600;
}
.hero__cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero__trust { display: flex; gap: 26px; justify-content: center; flex-wrap: wrap; margin-top: 30px; opacity: .9; }
.hero__trust span { color: rgba(255,255,255,.78); font-size: .8rem; font-weight: 600; letter-spacing: .04em; display:flex; align-items:center; gap:8px; }
.hero__trust span::before { content:""; width:7px; height:7px; border-radius:50%; background: var(--accent); }

/* ---------- generic media placeholder ---------- */
.thumb { position: relative; aspect-ratio: 16 / 10; border-radius: var(--r-md); overflow: hidden; background: var(--surface-2); }
.thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.28)); }
.thumb[data-t="1"]{ background: linear-gradient(150deg,#ff006e,#7a0bd6); }
.thumb[data-t="2"]{ background: linear-gradient(150deg,#ff4e08,#ff006e); }
.thumb[data-t="3"]{ background: linear-gradient(150deg,#23123a,#ff006e); }
.thumb[data-t="4"]{ background: linear-gradient(150deg,#0b8bd6,#7a0bd6); }
.thumb[data-t="5"]{ background: linear-gradient(150deg,#ff4e08,#ffb300); }
.thumb[data-t="6"]{ background: linear-gradient(150deg,#1d1722,#3a0f2a); }
.thumb__tag { position: absolute; left: 12px; top: 12px; z-index: 2; font-size: .72rem; font-weight: 700; color:#fff; background: rgba(0,0,0,.32); padding: 5px 11px; border-radius: var(--r-pill); backdrop-filter: blur(4px); }

/* ---------- course card ---------- */
.cards { display: grid; gap: var(--gap); }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .18s ease, border-color .18s;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line-2); }
.card__body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card__soft { display: flex; gap: 6px; }
.soft-chip { font-size: .62rem; font-weight: 800; font-family: var(--h-display); width: 26px; height: 26px; border-radius: 7px; display: grid; place-items: center; background: var(--surface-2); color: var(--ink-soft); }
.card h3 { font-size: 1.06rem; }
.card__meta { display: flex; align-items: center; gap: 9px; margin-top: auto; }
.avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; color: #fff; font-size: .72rem; font-weight: 800; font-family: var(--h-display); flex: none; }
.card__meta small { color: var(--ink-faint); font-size: .82rem; }
.card__foot { display: flex; align-items: center; justify-content: space-between; padding: 13px 18px; border-top: 1px solid var(--line); background: var(--surface); }
.price { font-family: var(--h-display); font-weight: 800; }
.price s { color: var(--ink-faint); font-weight: 600; margin-right: 6px; }

/* badges */
.badge { font-size: .68rem; font-weight: 800; font-family: var(--h-display); letter-spacing: .04em; text-transform: uppercase; padding: 5px 10px; border-radius: var(--r-pill); }
.badge--soon { background: #fff0e6; color: #c23a00; }
.badge--open { background: #eafbef; color: #117a3d; }
.badge--wait { background: var(--surface-2); color: var(--ink-soft); }
.badge--beg { background: #eafbef; color: #117a3d; }
.badge--int { background: #fff6e0; color: #9a6b00; }
.badge--adv { background: #ffe9f1; color: var(--accent-ink); }
.badge--free { background: var(--grad); color:#fff; }

/* ---------- top 10 (Coloso) ---------- */
.rail { display: flex; gap: 26px; overflow-x: auto; padding: 8px 4px 22px; scroll-snap-type: x mandatory; }
.rail::-webkit-scrollbar { height: 8px; }
.rail::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 99px; }
.rank { position: relative; flex: 0 0 264px; scroll-snap-align: start; padding-left: 46px; }
.rank__no { position: absolute; left: -6px; bottom: 8px; z-index: 0; font-family: var(--h-display); font-weight: 800; font-size: 6.2rem; line-height: .8; color: transparent; -webkit-text-stroke: 2px var(--line-2); }
.rank:nth-child(-n+3) .rank__no { -webkit-text-stroke: 0; background: var(--grad); -webkit-background-clip: text; background-clip: text; }
.rank__card { position: relative; z-index: 1; }
.rank .thumb { aspect-ratio: 3 / 4; box-shadow: var(--shadow-md); }
.rank h3 { font-size: 1rem; margin-top: 12px; }
.rank small { color: var(--ink-faint); font-size: .82rem; }

/* ---------- coming soon + email capture (Coloso) ---------- */
.signup { display: flex; gap: 10px; max-width: 460px; }
.signup input { flex: 1; border: 1.6px solid var(--line-2); background: #fff; border-radius: var(--r-pill); padding: 14px 20px; font: inherit; font-size: .95rem; }
.signup input:focus { outline: none; border-color: var(--accent); }

/* ---------- perks / approche humaine ---------- */
.perk { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; box-shadow: var(--shadow-sm); }
.perk__ic { width: 50px; height: 50px; border-radius: 14px; background: var(--grad-soft); color: var(--accent); display: grid; place-items: center; font-size: 1.4rem; margin-bottom: 16px; }
.perk h3 { font-size: 1.15rem; margin-bottom: 8px; }
.perk p { color: var(--ink-soft); font-size: .96rem; margin: 0; }

/* ---------- testimonials (SUC) ---------- */
.quote { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 16px; }
.quote__stars { color: var(--accent-2); letter-spacing: 2px; }
.quote p { font-size: 1.02rem; margin: 0; }
.quote__who { display: flex; align-items: center; gap: 11px; }
.quote__who b { font-family: var(--h-display); }
.quote__who small { display: block; color: var(--ink-faint); font-weight: 500; }

/* ---------- discord / community band ---------- */
.band {
  border-radius: var(--r-xl); padding: 56px; color: #fff; text-align: center; position: relative; overflow: hidden;
  background: linear-gradient(150deg, #1d1722, #3a0f2a);
}
.band::before { content:""; position:absolute; inset:0; background: radial-gradient(90% 120% at 80% 0%, rgba(255,0,110,.55), transparent 55%), radial-gradient(80% 120% at 10% 100%, rgba(255,78,8,.4), transparent 55%); }
.band > * { position: relative; z-index: 1; }
.band h2 { color: #fff; }
.band p { color: rgba(255,255,255,.84); max-width: 56ch; margin: 14px auto 26px; }
.band__stats { display: flex; gap: 40px; justify-content: center; margin-top: 30px; flex-wrap: wrap; }
.band__stats b { display: block; font-family: var(--h-display); font-size: 2rem; }
.band__stats span { color: rgba(255,255,255,.7); font-size: .82rem; }

/* ---------- FAQ (SUC + DJA) ---------- */
.faq { max-width: 800px; margin: 0 auto; }
.faq details { border: 1px solid var(--line-2); border-radius: var(--r-md); margin-bottom: 12px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: var(--accent); box-shadow: var(--shadow-sm); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-family: var(--h-display); font-weight: 700; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; color: var(--accent); font-weight: 400; transition: transform .2s; line-height: 1; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { padding: 0 22px 22px; color: var(--ink-soft); margin: 0; }

/* ---------- page hero (inner pages) ---------- */
.phero { padding: 70px 0 30px; }
.phero .eyebrow { justify-content: center; }
.benefit-row { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; margin-top: 40px; }
.benefit { background:#fff; border:1px solid var(--line); border-radius: var(--r-md); padding: 20px; text-align:center; box-shadow: var(--shadow-sm); }
.benefit .ic { font-size: 1.5rem; }
.benefit b { display:block; font-family: var(--h-display); margin: 8px 0 4px; }
.benefit small { color: var(--ink-faint); }

/* ---------- tabs ---------- */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; border-bottom: 1px solid var(--line); padding-bottom: 18px; margin-bottom: 30px; }
.tab { font-family: var(--h-display); font-weight: 700; font-size: .94rem; padding: 9px 16px; border-radius: var(--r-pill); color: var(--ink-soft); background: var(--surface-2); }
.tab.is-active { background: var(--ink); color: #fff; }

/* ---------- people grid (about) ---------- */
.people { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.person { text-align: center; }
.person__ph { aspect-ratio: 1; border-radius: var(--r-lg); background: var(--surface-2); position: relative; overflow: hidden; margin-bottom: 12px; }
.person__ph[data-t]{ } /* uses thumb gradients via class */
.person b { font-family: var(--h-display); font-size: 1.02rem; }
.person small { display: block; color: var(--ink-faint); }
.person__soc { display: flex; gap: 8px; justify-content: center; margin-top: 8px; }
.person__soc i { width: 28px; height: 28px; border-radius: 8px; background: var(--surface-2); display: grid; place-items: center; font-style: normal; font-size: .72rem; font-weight: 800; color: var(--ink-soft); }

.founders { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.founder { background:#fff; border:1px solid var(--line); border-radius: var(--r-lg); overflow:hidden; box-shadow: var(--shadow-sm); }
.founder .person__ph { border-radius: 0; aspect-ratio: 4/3; margin: 0; }
.founder__b { padding: 20px; }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gallery > div { aspect-ratio: 1; border-radius: var(--r-md); }

/* hub buttons (community) */
.hub { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.hub a { background:#fff; border:1px solid var(--line); border-radius: var(--r-lg); padding: 26px 22px; box-shadow: var(--shadow-sm); transition: transform .15s, box-shadow .15s, border-color .15s; }
.hub a:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--accent); }
.hub .ic { width: 46px; height: 46px; border-radius: 12px; background: var(--grad-soft); color: var(--accent); display: grid; place-items: center; font-size: 1.3rem; margin-bottom: 14px; }
.hub b { font-family: var(--h-display); font-size: 1.08rem; display: block; }
.hub small { color: var(--ink-faint); }

/* hall of fame */
.hof { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; background: linear-gradient(150deg,#1d1722,#3a0f2a); border-radius: var(--r-xl); padding: 48px; color:#fff; }
.hof h2 { color:#fff; }
.hof p { color: rgba(255,255,255,.82); }
.hof__badge { aspect-ratio: 1; border-radius: var(--r-lg); background: radial-gradient(circle at 50% 40%, rgba(255,0,110,.5), transparent 60%), #140f1a; display:grid; place-items:center; font-size: 4rem; }

/* event row */
.event { display: flex; gap: 18px; align-items: center; background:#fff; border:1px solid var(--line); border-radius: var(--r-md); padding: 14px; box-shadow: var(--shadow-sm); }
.event .thumb { flex: 0 0 150px; aspect-ratio: 16/10; }
.event__b { flex: 1; }
.event__b b { font-family: var(--h-display); font-size: 1.08rem; }
.event__b small { color: var(--ink-faint); }

/* ---------- footer ---------- */
.foot { background: #120f17; color: rgba(255,255,255,.7); padding: 64px 0 32px; }
.foot__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 40px; }
.foot h4 { color: #fff; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 16px; }
.foot a { display: block; color: rgba(255,255,255,.66); padding: 6px 0; font-size: .94rem; }
.foot a:hover { color: var(--accent); }
.foot .brand { color: #fff; margin-bottom: 14px; }
.foot__news input { width: 100%; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.06); color: #fff; border-radius: var(--r-pill); padding: 12px 18px; font: inherit; font-size: .9rem; margin: 12px 0; }
.foot__news input::placeholder { color: rgba(255,255,255,.4); }
.foot__soc { display: flex; gap: 10px; margin-top: 16px; }
.foot__soc i { width: 36px; height: 36px; border-radius: 10px; background: rgba(255,255,255,.08); display: grid; place-items: center; font-style: normal; font-weight: 800; font-size: .8rem; color: #fff; }
.foot__bar { border-top: 1px solid rgba(255,255,255,.1); margin-top: 44px; padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .82rem; color: rgba(255,255,255,.5); }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .nav__links { display: none; }
  .cards--4, .cards--3, .benefit-row, .people, .gallery, .hub { grid-template-columns: repeat(2,1fr); }
  .founders { grid-template-columns: 1fr; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
  .hof { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .cards--4, .cards--3, .cards--2, .benefit-row, .people, .hub { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
}
