/* ═══════════════════════════════════════════
   WOLARO — STYLESHEET v3
   Font: Space Grotesk (modern, tech, lisible)
   Couleurs: Violet Wolaro #5B3FD4 → #7B5CF6
   ═══════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

:root {
  --primary:       #7B5CF6;
  --primary-light: #9B7FFF;
  --primary-dark:  #5B3FD4;
  --accent:        #A855F7;
  --discord:       #5865F2;

  --grad:      linear-gradient(135deg, #5B3FD4 0%, #7B5CF6 55%, #A855F7 100%);
  --grad-text: linear-gradient(140deg, #ffffff 0%, #C4B5FD 45%, #A855F7 100%);

  --dark:  #07071A;
  --dark2: #0B0B20;
  --dark3: #0F0F28;
  --card:  #141430;
  --card2: #181840;

  --border:  rgba(123,92,246,0.18);
  --border2: rgba(255,255,255,0.06);

  --text:   #EEEEFF;
  --muted:  #8888BB;
  --muted2: #5555A0;

  --green:  #22C55E;
  --yellow: #F59E0B;
  --red:    #EF4444;

  --font: 'Space Grotesk', -apple-system, sans-serif;
  --radius: 14px;
  --shadow: 0 20px 60px rgba(0,0,0,.6);
}

/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-size: 16px; font-weight: 400; line-height: 1.6;
  background: var(--dark); color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body::before {
  content: '';
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 80% 55% at 15% -5%, rgba(91,63,212,.18) 0%, transparent 65%),
    radial-gradient(ellipse 60% 45% at 90% 110%, rgba(168,85,247,.12) 0%, transparent 65%);
}

/* ─── STARS ─── */
.stars { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.star { position: absolute; width: 2px; height: 2px; background: white; border-radius: 50%; opacity: 0; animation: twinkle var(--dur,3s) var(--delay,0s) infinite; }
@keyframes twinkle { 0%,100%{opacity:0;transform:scale(.5)} 50%{opacity:var(--op,.4);transform:scale(1)} }

/* ─── NAVBAR ─── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 4rem;
  background: rgba(7,7,26,.82);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  transition: padding .3s, background .3s;
}
nav.scrolled { padding: .7rem 4rem; background: rgba(7,7,26,.97); }

.nav-logo {
  display: flex; align-items: center; gap: .6rem;
  text-decoration: none; color: var(--text);
  font-weight: 700; font-size: 1.25rem; letter-spacing: -.3px;
}
.nav-logo img { width: 32px; height: 32px; border-radius: 8px; }
.logo-fallback {
  width: 32px; height: 32px; border-radius: 8px;
  background: var(--grad);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: .9rem; color: white;
  box-shadow: 0 0 18px rgba(123,92,246,.5);
}

.nav-links { display: flex; list-style: none; gap: 2rem; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: .88rem; font-weight: 500; transition: color .2s; position: relative; }
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a.active::after { content:''; position:absolute; bottom:-4px; left:0; right:0; height:2px; background:var(--primary); border-radius:2px; }

.nav-cta { display: flex; gap: .6rem; align-items: center; }

.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: all .3s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .58rem 1.3rem; border-radius: 10px;
  font-family: var(--font); font-size: .88rem; font-weight: 600;
  text-decoration: none; cursor: pointer; border: none;
  white-space: nowrap; transition: all .2s;
  letter-spacing: -.1px;
}
.btn-primary { background: var(--grad); color: white; box-shadow: 0 4px 20px rgba(123,92,246,.35); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(123,92,246,.55); }
.btn-outline { background: transparent; color: var(--text); border: 1px solid var(--border2); }
.btn-outline:hover { background: rgba(123,92,246,.1); border-color: var(--primary); transform: translateY(-2px); }
.btn-discord { background: var(--discord); color: white; font-size: .975rem; padding: .82rem 2rem; border-radius: 13px; box-shadow: 0 6px 28px rgba(88,101,242,.4); }
.btn-discord:hover { transform: translateY(-3px); box-shadow: 0 12px 38px rgba(88,101,242,.6); }
.btn-ghost { background: rgba(255,255,255,.07); color: var(--text); border: 1px solid rgba(255,255,255,.1); font-size: .975rem; padding: .82rem 2rem; border-radius: 13px; }
.btn-ghost:hover { background: rgba(255,255,255,.12); transform: translateY(-3px); }
.btn-lg { font-size: .975rem; padding: .82rem 2rem; border-radius: 12px; }

/* ─── HERO ─── */
.hero { position: relative; z-index: 1; min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 7rem 2rem 4rem; }

.status-badge {
  display: inline-flex; align-items: center; gap: .45rem;
  background: rgba(34,197,94,.1); border: 1px solid rgba(34,197,94,.28);
  color: #4ade80; padding: .3rem .95rem; border-radius: 50px;
  font-size: .77rem; font-weight: 600; margin-bottom: 2rem; letter-spacing: .5px;
}
.status-badge.warn { background: rgba(245,158,11,.1); border-color: rgba(245,158,11,.3); color: #fbbf24; }
.status-badge.off  { background: rgba(239,68,68,.1);  border-color: rgba(239,68,68,.3);  color: #f87171; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #4ade80; animation: pulse 2s infinite; flex-shrink: 0; }
.status-dot.warn { background: #fbbf24; }
.status-dot.off  { background: #f87171; animation: none; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.5;transform:scale(.8)} }

/* Hero title — Space Grotesk, pas de déformation */
.hero h1 {
  font-family: var(--font);
  font-size: clamp(2.8rem, 7vw, 5.8rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 1.4rem;
  background: var(--grad-text);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  font-stretch: normal;
}
.hero p { font-size: 1.05rem; color: var(--muted); max-width: 520px; line-height: 1.75; margin-bottom: 2.4rem; font-weight: 400; }
.hero-cta { display: flex; gap: .9rem; flex-wrap: wrap; justify-content: center; margin-bottom: 4rem; }

/* Stats bar */
.hero-stats { display: flex; align-items: stretch; border: 1px solid var(--border); border-radius: 18px; overflow: hidden; background: rgba(20,20,48,.7); backdrop-filter: blur(12px); }
.stat { text-align: center; padding: 1.15rem 2.2rem; border-right: 1px solid var(--border); min-width: 120px; }
.stat:last-child { border-right: none; }
.stat-value { font-family: var(--font); font-size: 1.75rem; font-weight: 700; color: var(--text); display: block; letter-spacing: -1px; transition: opacity .3s; }
.stat-label { font-size: .68rem; color: var(--muted); text-transform: uppercase; letter-spacing: 1.5px; margin-top: .2rem; font-weight: 500; }

/* ─── SECTIONS ─── */
section { position: relative; z-index: 1; padding: 5.5rem 2rem; max-width: 1160px; margin: 0 auto; }
.section-label { font-size: .7rem; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--primary); margin-bottom: .65rem; }
.section-title { font-family: var(--font); font-size: clamp(1.8rem, 4vw, 2.9rem); font-weight: 700; letter-spacing: -1px; margin-bottom: .9rem; line-height: 1.1; }
.section-sub { color: var(--muted); font-size: .93rem; max-width: 480px; line-height: 1.7; }

/* ─── FEATURE CARDS ─── */
.features-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; margin-top: 2.5rem; }
.feature-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.6rem 1.5rem; transition: all .3s; overflow: hidden; position: relative; }
.feature-card::after { content:''; position:absolute; inset:0; background:linear-gradient(135deg,rgba(123,92,246,.07),transparent); opacity:0; transition:opacity .3s; }
.feature-card:hover { border-color: rgba(123,92,246,.5); transform: translateY(-4px); box-shadow: 0 16px 48px rgba(0,0,0,.4); }
.feature-card:hover::after { opacity: 1; }
.feature-icon { width: 46px; height: 46px; border-radius: 11px; margin-bottom: 1.1rem; background: rgba(123,92,246,.15); border: 1px solid rgba(123,92,246,.25); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; }
.feature-icon img { width: 26px; height: 26px; object-fit: contain; }
.feature-card h3 { font-family: var(--font); font-size: 1rem; font-weight: 600; margin-bottom: .45rem; }
.feature-card p { color: var(--muted); font-size: .855rem; line-height: 1.65; }

/* ─── DARK BAND ─── */
.dark-band { background: var(--dark2); position: relative; z-index: 1; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.dark-band > section { padding: 5rem 2rem; }

/* ─── COMMANDS ─── */
.commands-wrap { text-align: center; }
.commands-wrap .section-sub { margin: 0 auto .5rem; }
.commands-tabs { display: flex; gap: .5rem; flex-wrap: wrap; justify-content: center; margin-bottom: 2rem; margin-top: 1.75rem; }
.tab-btn { padding: .42rem 1rem; border-radius: 8px; background: var(--dark3); border: 1px solid var(--border); color: var(--muted); font-size: .82rem; font-weight: 600; cursor: pointer; transition: all .2s; font-family: var(--font); display: flex; align-items: center; gap: .4rem; }
.tab-btn:hover { color: var(--text); border-color: var(--primary); }
.tab-btn.active { background: rgba(123,92,246,.18); border-color: var(--primary); color: var(--text); }
.command-panel { display: none; }
.command-panel.active { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: .6rem; }
.command-item { background: var(--dark3); border: 1px solid var(--border); border-radius: 11px; padding: .85rem 1.1rem; display: flex; gap: .75rem; align-items: flex-start; transition: all .2s; text-align: left; }
.command-item:hover { border-color: rgba(123,92,246,.4); background: rgba(123,92,246,.06); }
.command-name { font-family: 'Courier New', monospace; font-size: .83rem; color: var(--primary); font-weight: 700; white-space: nowrap; }
.command-desc { font-size: .79rem; color: var(--muted); line-height: 1.5; }

/* ─── PANEL CTA ─── */
.panel-cta-section { position: relative; z-index: 1; padding: 0 2rem 5.5rem; max-width: 1160px; margin: 0 auto; }
.panel-cta { background: linear-gradient(135deg, var(--dark3), var(--card)); border: 1px solid var(--border); border-radius: 26px; padding: 4rem 2.5rem; text-align: center; position: relative; overflow: hidden; }
.panel-cta::before { content:''; position:absolute; top:-50%; left:50%; transform:translateX(-50%); width:600px; height:350px; background:radial-gradient(ellipse,rgba(123,92,246,.13) 0%,transparent 70%); }
.panel-cta h2 { font-family: var(--font); font-size: clamp(1.7rem, 4vw, 2.7rem); font-weight: 700; letter-spacing: -1px; margin-bottom: .9rem; position: relative; }
.panel-cta p { color: var(--muted); max-width: 480px; margin: 0 auto 1.9rem; line-height: 1.7; font-size: .95rem; }
.panel-cta-btns { display: flex; gap: .9rem; justify-content: center; flex-wrap: wrap; position: relative; }

/* ─── DOC ─── */
.doc-layout { display: grid; grid-template-columns: 240px 1fr; gap: 2.5rem; align-items: start; }
.doc-sidebar { position: sticky; top: 85px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.4rem; }
.doc-sidebar h3 { font-family: var(--font); font-size: .78rem; font-weight: 600; margin-bottom: .9rem; color: var(--muted2); letter-spacing: 1.5px; text-transform: uppercase; }
.doc-nav { list-style: none; display: flex; flex-direction: column; gap: .25rem; }
.doc-nav a { display: block; padding: .45rem .7rem; border-radius: 8px; text-decoration: none; color: var(--muted); font-size: .85rem; transition: all .2s; }
.doc-nav a:hover, .doc-nav a.active { background: rgba(123,92,246,.12); color: var(--text); }
.doc-content { display: flex; flex-direction: column; gap: 2rem; }
.doc-block { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.9rem; scroll-margin-top: 100px; }
.doc-block h2 { font-family: var(--font); font-size: 1.3rem; font-weight: 700; margin-bottom: .7rem; }
.doc-block p { color: var(--muted); line-height: 1.75; margin-bottom: 1.1rem; font-size: .9rem; }
.doc-steps { list-style: none; display: flex; flex-direction: column; gap: .5rem; }
.doc-steps li { display: flex; gap: .75rem; align-items: center; background: var(--dark3); border: 1px solid var(--border); border-radius: 9px; padding: .7rem .95rem; font-size: .87rem; }
.doc-step-num { width: 20px; height: 20px; border-radius: 50%; flex-shrink: 0; background: var(--grad); display: flex; align-items: center; justify-content: center; font-size: .68rem; font-weight: 700; color: white; }

/* ─── SUPPORT ─── */
.support-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 1.1rem; }
.support-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.9rem; transition: all .3s; text-decoration: none; color: var(--text); display: block; }
.support-card:hover { transform: translateY(-5px); border-color: var(--primary); box-shadow: var(--shadow); }
.support-card .s-icon { font-size: 2.2rem; margin-bottom: .9rem; }
.support-card h3 { font-family: var(--font); font-size: 1.05rem; font-weight: 700; margin-bottom: .45rem; }
.support-card p { color: var(--muted); font-size: .855rem; line-height: 1.65; }
.support-card .s-link { margin-top: 1.1rem; font-size: .82rem; font-weight: 600; color: var(--primary); }

/* ─── CONTACT FORM ─── */
.contact-box { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; }
.contact-box h3 { font-family: var(--font); font-size: 1.1rem; font-weight: 700; margin-bottom: .4rem; }
.contact-box p { color: var(--muted); font-size: .88rem; margin-bottom: 1.4rem; line-height: 1.6; }
.contact-mail {
  display: inline-flex; align-items: center; gap: .6rem;
  background: rgba(123,92,246,.12); border: 1px solid rgba(123,92,246,.3);
  color: var(--primary-light); padding: .7rem 1.2rem; border-radius: 10px;
  font-weight: 600; font-size: .9rem; text-decoration: none; transition: all .2s;
}
.contact-mail:hover { background: rgba(123,92,246,.22); transform: translateY(-2px); }

/* ─── STATUS PAGE ─── */
.status-overview { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; margin-bottom: 1.5rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.status-overview h2 { font-family: var(--font); font-size: 1.2rem; font-weight: 700; }
.service-list { display: flex; flex-direction: column; gap: .6rem; }
.service-item { display: flex; justify-content: space-between; align-items: center; padding: .9rem 1.2rem; background: var(--dark3); border: 1px solid var(--border); border-radius: 11px; font-size: .88rem; transition: border-color .3s; }
.service-item:hover { border-color: rgba(123,92,246,.3); }
.service-name { font-weight: 500; }
.service-status-label { display: flex; align-items: center; gap: .45rem; font-size: .78rem; color: var(--muted); }
.status-dot-sm { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.status-dot-sm.online { background: var(--green); box-shadow: 0 0 7px var(--green); animation: pulse 2s infinite; }
.status-dot-sm.warn   { background: var(--yellow); }
.status-dot-sm.off    { background: var(--red); }
.status-uptime { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem 2rem; margin-top: 1.5rem; display: flex; gap: 2rem; flex-wrap: wrap; }
.uptime-stat { text-align: center; }
.uptime-val { font-family: var(--font); font-size: 1.6rem; font-weight: 700; color: var(--text); display: block; letter-spacing: -.5px; }
.uptime-label { font-size: .7rem; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; }

/* ─── FAQ ─── */
.faq-list { margin-top: 1.75rem; display: flex; flex-direction: column; gap: .65rem; }
.faq-item { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.faq-q { width: 100%; background: none; border: none; color: var(--text); padding: 1.1rem 1.4rem; text-align: left; font-family: var(--font); font-size: .93rem; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq-q svg { transition: transform .3s; flex-shrink: 0; }
.faq-item.open .faq-q svg { transform: rotate(180deg); }
.faq-a { display: none; padding: 0 1.4rem 1.1rem; color: var(--muted); font-size: .87rem; line-height: 1.7; }
.faq-item.open .faq-a { display: block; }

/* ─── PAGE HERO ─── */
.page-hero { position: relative; z-index: 1; text-align: center; padding: 8.5rem 2rem 2.5rem; max-width: 760px; margin: 0 auto; }
.page-hero h1 { font-family: var(--font); font-size: clamp(1.9rem, 5vw, 3.8rem); font-weight: 700; letter-spacing: -1.5px; margin-bottom: .9rem; }
.page-hero p { color: var(--muted); font-size: 1.02rem; line-height: 1.7; }

/* ─── TEAM (footer section) ─── */
.dev-credits {
  text-align: center; padding: 1.4rem 0 1rem; 
  border-top: 1px solid var(--border2);
  font-size: .8rem; color: var(--muted);
}
.dev-credits strong { color: var(--primary-light); font-weight: 600; }

/* ─── FOOTER ─── */
footer { position: relative; z-index: 1; background: var(--dark2); border-top: 1px solid var(--border); padding: 3.5rem 2rem 0; }
.footer-inner { max-width: 1160px; margin: 0 auto 2.5rem; display: flex; gap: 3rem; flex-wrap: wrap; justify-content: space-between; }
.footer-brand { max-width: 230px; }
.footer-brand p { color: var(--muted); font-size: .84rem; margin-top: .7rem; line-height: 1.65; }
.footer-cols { display: flex; gap: 3rem; flex-wrap: wrap; }
.footer-col h4 { font-family: var(--font); font-size: .72rem; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted2); margin-bottom: .9rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: .45rem; }
.footer-col a { color: var(--muted); text-decoration: none; font-size: .84rem; transition: color .2s; }
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  max-width: 1160px; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center;
  padding: 1.4rem 0 1.8rem;
  border-top: 1px solid var(--border2);
  gap: .5rem;
}
.footer-bottom-row { width: 100%; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .75rem; font-size: .79rem; color: var(--muted); }
.footer-devs { font-size: .8rem; color: var(--muted); text-align: center; }
.footer-devs strong { color: var(--primary-light); font-weight: 600; }
.footer-status { display: flex; align-items: center; gap: .4rem; }

/* ─── ANIMATIONS ─── */
.fade-up { opacity: 0; transform: translateY(26px); animation: fadeUp .65s ease forwards; }
@keyframes fadeUp { to { opacity:1; transform:translateY(0); } }
.fade-up:nth-child(1){animation-delay:.05s} .fade-up:nth-child(2){animation-delay:.15s}
.fade-up:nth-child(3){animation-delay:.25s} .fade-up:nth-child(4){animation-delay:.35s}
.fade-up:nth-child(5){animation-delay:.45s}
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ─── 404 ─── */
.error-page { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 2rem; position: relative; z-index: 1; }
.error-page h1 { font-family: var(--font); font-size: 8rem; font-weight: 700; letter-spacing: -4px; background: var(--grad-text); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; line-height: 1; }
.error-page h2 { font-size: 1.7rem; margin: .9rem 0 .5rem; }
.error-page p { color: var(--muted); margin-bottom: 2rem; }

/* ─── DISCORD SVG ─── */
.discord-svg { fill: currentColor; }

/* ─── RESPONSIVE ─── */
@media (max-width: 960px) {
  nav { padding: 1rem 1.5rem; }
  .nav-links { display: none; position: fixed; top: 62px; left: 0; right: 0; background: rgba(7,7,26,.97); backdrop-filter: blur(20px); flex-direction: column; gap: 0; border-bottom: 1px solid var(--border); z-index: 999; }
  .nav-links.open { display: flex; }
  .nav-links li { border-bottom: 1px solid var(--border); }
  .nav-links a { display: block; padding: .95rem 1.5rem; }
  .nav-links a.active::after { display: none; }
  .hamburger { display: flex; }
  .nav-cta .btn-outline { display: none; }
  .hero-stats { flex-wrap: wrap; border-radius: 14px; }
  .stat { flex: 1; min-width: 100px; padding: 1rem 1.4rem; }
  .doc-layout { grid-template-columns: 1fr; }
  .doc-sidebar { position: static; }
  .dark-band > section > div { grid-template-columns: 1fr !important; }
  nav.scrolled { padding: .7rem 1.5rem; }
}
@media (max-width: 600px) {
  .panel-cta { padding: 2.2rem 1.4rem; }
  .hero h1 { letter-spacing: -1px; }
  .features-grid { grid-template-columns: 1fr 1fr; }
}
