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

* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --primary: #6C63FF;
  --primary-dark: #5A52D5;
  --secondary: #FF6584;
  --accent: #43E97B;
  --bg: #F4F6FF;
  --bg2: #ECEFFE;
  --card-bg: #ffffff;
  --text: #1e1b4b;
  --text-light: #6b7280;
  --gradient: linear-gradient(135deg, #6C63FF 0%, #9B59B6 50%, #FF6584 100%);
  --shadow: 0 20px 60px rgba(108,99,255,0.15);
  --shadow-sm: 0 8px 30px rgba(108,99,255,0.1);
}

body {
  font-family: 'Poppins', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

/* FOND DOUX */
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse at 5% 10%, rgba(108,99,255,0.08) 0%, transparent 45%),
    radial-gradient(ellipse at 95% 90%, rgba(255,101,132,0.07) 0%, transparent 45%),
    radial-gradient(ellipse at 50% 50%, rgba(67,233,123,0.04) 0%, transparent 55%);
  pointer-events: none;
  z-index: 0;
}

/* HEADER */
header {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  padding: 18px 0;
  border-bottom: 1px solid rgba(108,99,255,0.1);
  box-shadow: 0 4px 30px rgba(108,99,255,0.08);
  position: relative; z-index: 100;
}
.header-content {
  max-width: 1200px; margin: 0 auto; padding: 0 25px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 15px;
}
.header-left { display: flex; align-items: center; gap: 15px; }
.logo {
  width: 55px; height: 55px; border-radius: 14px;
  border: 2px solid rgba(108,99,255,0.2);
  box-shadow: 0 4px 20px rgba(108,99,255,0.2);
  transition: all 0.3s; object-fit: cover;
}
.logo:hover { transform: rotate(-8deg) scale(1.1); box-shadow: 0 8px 30px rgba(108,99,255,0.35); }
.header-text h1 {
  font-size: 20px; font-weight: 800; letter-spacing: -0.5px;
  background: linear-gradient(135deg, #6C63FF, #FF6584);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.header-text p {
  font-size: 11px; color: #9ca3af; font-weight: 500;
  letter-spacing: 1px; text-transform: uppercase;
}

.discord-header-btn {
  display: flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, #5865F2, #7289DA);
  color: white; padding: 10px 22px; text-decoration: none;
  border-radius: 50px; font-weight: 600; font-size: 14px;
  transition: all 0.3s; box-shadow: 0 4px 20px rgba(88,101,242,0.3);
}
.discord-header-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(88,101,242,0.5); }
.discord-icon { width: 20px; height: 20px; }

/* NAV */
nav {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(108,99,255,0.08);
  box-shadow: 0 2px 20px rgba(108,99,255,0.06);
  position: sticky; top: 0; z-index: 1000;
}
.nav-container {
  max-width: 1200px; margin: 0 auto;
  display: flex; justify-content: center; flex-wrap: wrap;
}
nav a {
  display: inline-block; color: #6b7280;
  padding: 16px 22px; text-decoration: none;
  font-weight: 600; font-size: 13px; letter-spacing: 0.4px;
  position: relative; transition: all 0.3s; text-transform: uppercase;
}
nav a::after {
  content: ''; position: absolute;
  bottom: 0; left: 50%; width: 0; height: 3px;
  background: linear-gradient(90deg, #6C63FF, #FF6584);
  transition: all 0.3s; transform: translateX(-50%);
  border-radius: 3px;
}
nav a:hover::after, nav a.active::after { width: 65%; }
nav a:hover { color: #6C63FF; }
nav a.active { color: #6C63FF; }

/* PAGE */
.page {
  min-height: calc(100vh - 130px);
  padding: 50px 20px;
  position: relative; z-index: 1;
  animation: fadeIn 0.6s ease-out;
}
@keyframes fadeIn { from { opacity: 0; transform: translateY(25px); } to { opacity: 1; transform: translateY(0); } }
.container { max-width: 1200px; margin: 0 auto; }

/* TITRES */
h2 {
  font-size: 36px; font-weight: 900; letter-spacing: -1px;
  background: linear-gradient(135deg, #6C63FF 0%, #FF6584 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  margin-bottom: 20px; text-align: center;
}
.section-intro {
  text-align: center; font-size: 15px; color: #6b7280;
  max-width: 700px; margin: 0 auto 45px; line-height: 1.8;
  background: white;
  border: 1px solid rgba(108,99,255,0.1);
  padding: 18px 28px; border-radius: 16px;
  box-shadow: 0 4px 20px rgba(108,99,255,0.06);
}

/* HERO */
.hero {
  background: linear-gradient(135deg, rgba(108,99,255,0.07), rgba(255,101,132,0.05));
  border: 1px solid rgba(108,99,255,0.12);
  backdrop-filter: blur(20px);
  padding: 70px 30px; border-radius: 28px; text-align: center;
  margin-bottom: 35px;
  box-shadow: 0 20px 60px rgba(108,99,255,0.1);
  position: relative; overflow: hidden; background-color: white;
}
.hero::before {
  content: '';
  position: absolute; top: -100px; right: -100px;
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(108,99,255,0.08), transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute; bottom: -80px; left: -80px;
  width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,101,132,0.07), transparent 70%);
  pointer-events: none;
}
.hero-logo {
  width: 100px; height: 100px; margin: 0 auto 25px;
  border-radius: 22px;
  border: 3px solid rgba(108,99,255,0.2);
  box-shadow: 0 10px 40px rgba(108,99,255,0.2);
  object-fit: cover; display: block; position: relative; z-index: 1;
}
.hero h2 { font-size: 44px; margin-bottom: 15px; position: relative; z-index: 1; }
.hero p { font-size: 18px; margin-bottom: 35px; color: #6b7280; font-weight: 400; position: relative; z-index: 1; }
.cta-button {
  display: inline-block; background: var(--gradient);
  color: white; padding: 16px 40px; text-decoration: none;
  border-radius: 50px; font-weight: 700; font-size: 15px;
  transition: all 0.3s; box-shadow: 0 10px 30px rgba(108,99,255,0.35);
  position: relative; z-index: 1; letter-spacing: 0.5px;
}
.cta-button:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 18px 45px rgba(108,99,255,0.5); }

/* WELCOME */
.welcome-text {
  background: white;
  border: 1px solid rgba(108,99,255,0.1);
  padding: 40px; border-radius: 24px;
  box-shadow: 0 10px 40px rgba(108,99,255,0.08);
}
.welcome-text h3 {
  font-size: 26px; margin-bottom: 20px; font-weight: 800;
  background: linear-gradient(135deg, #6C63FF, #FF6584);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.welcome-text p { margin-bottom: 16px; color: #4b5563; font-size: 15px; line-height: 1.9; }

/* ATOUTS */
.atouts-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 25px; margin-top: 0; }
.atout-card {
  background: white;
  border: 1px solid rgba(108,99,255,0.08);
  border-radius: 22px; overflow: hidden;
  box-shadow: 0 8px 30px rgba(108,99,255,0.08);
  transition: all 0.4s cubic-bezier(0.175,0.885,0.32,1.275);
  position: relative;
}
.atout-card::before { display: none; }
.atout-card:hover {
  transform: translateY(-10px);
  border-color: rgba(108,99,255,0.25);
  box-shadow: 0 25px 60px rgba(108,99,255,0.18);
}
.atout-card-img-wrap { overflow: hidden; position: relative; }
.atout-card-img {
  width: 100%; height: 190px; object-fit: cover;
  display: block; transition: transform 0.5s;
}
.atout-card:hover .atout-card-img { transform: scale(1.08); }
.atout-card-img-wrap::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 60px;
  background: linear-gradient(transparent, white);
}
.atout-card-body { padding: 22px 25px 28px; }
.atout-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 14px; border-radius: 50px;
  font-size: 12px; font-weight: 700; margin-bottom: 14px; letter-spacing: 0.3px;
}
.badge-blue   { background: linear-gradient(135deg,#6C63FF,#9B59B6); color: white; }
.badge-green  { background: linear-gradient(135deg,#11998e,#38ef7d); color: white; }
.badge-orange { background: linear-gradient(135deg,#f7971e,#ffd200); color: #7a4f00; }
.badge-pink   { background: linear-gradient(135deg,#f093fb,#f5576c); color: white; }
.badge-teal   { background: linear-gradient(135deg,#4facfe,#00f2fe); color: #00536e; }
.badge-purple { background: linear-gradient(135deg,#a18cd1,#fbc2eb); color: #5b2d8e; }
.atout-card h3 { color: #1e1b4b; font-size: 18px; margin-bottom: 10px; font-weight: 700; }
.atout-card p  { color: #6b7280; line-height: 1.8; font-size: 14px; }

/* STATS */
.stats-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px; margin: 0 0 50px;
}
.stat-card {
  background: white;
  border: 1px solid rgba(108,99,255,0.1);
  border-radius: 20px; padding: 30px 20px; text-align: center;
  box-shadow: 0 8px 25px rgba(108,99,255,0.07);
  transition: all 0.3s;
}
.stat-card:hover { transform: translateY(-5px); border-color: rgba(108,99,255,0.3); box-shadow: 0 15px 40px rgba(108,99,255,0.15); }
.stat-number {
  font-size: 50px; font-weight: 900; line-height: 1;
  background: linear-gradient(135deg, #6C63FF, #FF6584);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  margin-bottom: 8px;
}
.stat-label { font-size: 13px; color: #9ca3af; font-weight: 600; }

/* RAISONS */
.raisons-list { max-width: 1000px; margin: 0 auto; }
.raison-item {
  background: white;
  border: 1px solid rgba(108,99,255,0.08);
  padding: 28px 30px; margin-bottom: 22px; border-radius: 20px;
  box-shadow: 0 8px 30px rgba(108,99,255,0.07);
  transition: all 0.3s; position: relative; overflow: hidden;
  display: flex; align-items: center; gap: 25px;
}
.raison-item::before {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: linear-gradient(180deg, #6C63FF, #FF6584);
  border-radius: 4px 0 0 4px;
}
.raison-item:hover {
  transform: translateX(6px);
  border-color: rgba(108,99,255,0.2);
  box-shadow: 0 15px 45px rgba(108,99,255,0.12);
}
.raison-item img {
  width: 160px; height: 120px; object-fit: cover;
  border-radius: 14px; flex-shrink: 0;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s;
  border: 1px solid rgba(108,99,255,0.1);
}
.raison-item:hover img { transform: scale(1.04); }
.raison-content { flex: 1; }
.raison-item h3 { color: #1e1b4b; font-size: 18px; margin-bottom: 10px; font-weight: 700; }
.raison-item p  { color: #6b7280; line-height: 1.8; font-size: 14px; }

/* CONTACT */
.contact-grid { display: grid; gap: 25px; margin-top: 0; }
.contact-box {
  background: white;
  border: 1px solid rgba(108,99,255,0.1);
  padding: 35px; border-radius: 24px;
  box-shadow: 0 10px 40px rgba(108,99,255,0.08);
}
.contact-box h3 { color: #1e1b4b; margin-bottom: 25px; font-size: 22px; font-weight: 800; }
.contact-item {
  margin-bottom: 15px; padding: 18px 20px;
  background: #f8f7ff;
  border: 1px solid rgba(108,99,255,0.1);
  border-left: 4px solid #6C63FF;
  border-radius: 14px; transition: all 0.3s; line-height: 1.7;
  color: #4b5563;
}
.contact-item:hover {
  background: #f0eeff;
  border-color: rgba(108,99,255,0.25);
  transform: translateX(5px);
}
.contact-item strong { color: #1e1b4b; display: block; margin-bottom: 6px; font-size: 14px; font-weight: 700; }
.contact-item a { color: #6C63FF; text-decoration: none; font-weight: 600; }
.contact-item a:hover { color: #FF6584; }

.discord-box {
  background: linear-gradient(135deg, #5865F2 0%, #7289DA 100%);
  border: none;
  padding: 40px; border-radius: 24px; text-align: center;
  box-shadow: 0 20px 50px rgba(88,101,242,0.3);
  position: relative; overflow: hidden;
}
.discord-box::before {
  content: '';
  position: absolute; top: -60px; right: -60px;
  width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.1), transparent);
  pointer-events: none;
}
.discord-box h3 { color: white; margin-bottom: 15px; font-size: 24px; font-weight: 800; position: relative; }
.discord-box p  { margin-bottom: 28px; font-size: 15px; color: rgba(255,255,255,0.85); position: relative; }
.discord-button {
  display: inline-block;
  background: white; color: #5865F2;
  padding: 15px 38px; text-decoration: none;
  border-radius: 50px; font-weight: 800; font-size: 15px;
  transition: all 0.3s; box-shadow: 0 8px 25px rgba(0,0,0,0.15);
  position: relative;
}
.discord-button:hover { transform: translateY(-3px); box-shadow: 0 15px 35px rgba(0,0,0,0.25); }

/* CONTACT PHOTO */
.contact-photo {
  width: 100%; height: 200px; object-fit: cover;
  border-radius: 16px; margin-top: 22px;
  border: 1px solid rgba(108,99,255,0.1);
  box-shadow: 0 8px 25px rgba(108,99,255,0.08);
}

/* PAGE HERO */
.page-hero {
  background: linear-gradient(135deg, #6C63FF 0%, #9B59B6 60%, #FF6584 100%);
  border-radius: 28px; padding: 65px 30px; text-align: center;
  margin-bottom: 45px;
  box-shadow: 0 25px 70px rgba(108,99,255,0.3);
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; top: -80px; right: -80px;
  width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.1), transparent 70%);
}
.page-hero::after {
  content: '';
  position: absolute; bottom: -60px; left: -60px;
  width: 250px; height: 250px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.08), transparent 70%);
}
.page-hero h2 {
  color: white !important;
  background: none !important;
  -webkit-text-fill-color: white !important;
  font-size: 40px; margin-bottom: 12px; position: relative; z-index: 1;
}
.page-hero p {
  color: rgba(255,255,255,0.88); font-size: 16px;
  max-width: 580px; margin: 0 auto; position: relative; z-index: 1; line-height: 1.7;
}
.page-hero-icon { font-size: 55px; margin-bottom: 18px; display: block; position: relative; z-index: 1; }

/* MENTIONS LÉGALES */
.legal-content {
  background: white;
  border: 1px solid rgba(108,99,255,0.1);
  padding: 40px 35px; border-radius: 24px;
  box-shadow: 0 10px 40px rgba(108,99,255,0.08); max-width: 1100px; margin: 0 auto;
}
.legal-section { margin-bottom: 32px; padding-bottom: 28px; border-bottom: 1px solid #f0eeff; }
.legal-section:last-child { border-bottom: none; }
.legal-section h3 {
  background: linear-gradient(135deg, #6C63FF, #FF6584);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  font-size: 18px; margin-bottom: 14px; font-weight: 700;
}
.legal-section p  { color: #4b5563; line-height: 1.9; margin-bottom: 12px; font-size: 14px; }
.legal-section ul { margin-left: 22px; margin-bottom: 12px; }
.legal-section li { color: #4b5563; line-height: 1.9; margin-bottom: 6px; font-size: 14px; }
.legal-section strong { color: #1e1b4b; font-weight: 700; }

/* FOOTER */
footer {
  background: #1e1b4b;
  border-top: 3px solid transparent;
  border-image: linear-gradient(90deg, #6C63FF, #FF6584) 1;
  color: white; padding: 35px 20px 20px; margin-top: 70px;
  position: relative; z-index: 1;
}
.footer-content { max-width: 1200px; margin: 0 auto; text-align: center; }
.footer-logo {
  width: 48px; height: 48px; margin: 0 auto 15px;
  border-radius: 12px; object-fit: cover; display: block;
  border: 2px solid rgba(255,255,255,0.2);
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}
.footer-links { margin-bottom: 20px; }
.footer-links a {
  color: #a78bfa; text-decoration: none; font-size: 13px;
  padding: 7px 16px; font-weight: 600; transition: all 0.3s;
  border-radius: 8px; display: inline-block;
}
.footer-links a:hover { background: rgba(167,139,250,0.15); color: #f472b6; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 15px; color: rgba(255,255,255,0.4); font-size: 12px; letter-spacing: 0.3px; }
.footer-bottom p { margin-bottom: 5px; }

/* GRID PHOTOS ACCUEIL */
.img-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-top: 30px; }
.img-grid img {
  width: 100%; height: 180px; object-fit: cover;
  border-radius: 16px;
  border: 1px solid rgba(108,99,255,0.1);
  box-shadow: 0 6px 20px rgba(108,99,255,0.08);
  transition: transform 0.3s;
}
.img-grid img:hover { transform: scale(1.02); }

/* RESPONSIVE */
@media (max-width: 768px) {
  .header-content { flex-direction: column; text-align: center; }
  .header-left { flex-direction: column; text-align: center; }
  .discord-header-btn { width: 100%; justify-content: center; }
  nav a { padding: 13px 14px; font-size: 11px; flex: 1; text-align: center; }
  h2 { font-size: 28px; }
  .hero { padding: 50px 20px; }
  .hero h2 { font-size: 30px; }
  .hero-logo { width: 80px; height: 80px; }
  .atouts-grid { grid-template-columns: 1fr; }
  .raison-item { flex-direction: column; }
  .raison-item img { width: 100%; height: 160px; }
  .img-grid { grid-template-columns: 1fr; }
  .welcome-text, .contact-box { padding: 25px; }
  .legal-content { padding: 25px 20px; }
  .page-hero { padding: 50px 20px; }
  .page-hero h2 { font-size: 28px; }
}
@media (max-width: 480px) {
  .header-text h1 { font-size: 18px; }
  h2 { font-size: 24px; }
  nav a { font-size: 10px; padding: 12px 10px; }
  .atout-card-body { padding: 18px; }
  .discord-box { padding: 28px 20px; }
  .stats-section { grid-template-columns: 1fr 1fr; }
}