:root {
    --primary: #2b59c3;
    --primary-light: #4f83ff;
    --primary-dark: #1e4293;
    --secondary: #00d4ff;
    --dark: #0f172a;
    --light: #f8fafc;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.8);
    --container-max: 1100px;
    --shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 20px 40px -15px rgba(43, 89, 195, 0.2);
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-main);
    background: var(--white);
    overflow-x: hidden;
}

/* Animations de révélation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 8rem 0;
}

.bg-light { background: var(--light); }
.bg-dark { background: var(--dark); color: var(--white); }

/* Header & Nav */
header {
    background: var(--glass);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: 0 1px 0 rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--dark);
    letter-spacing: -1px;
    text-decoration: none;
}

.logo span {
    color: var(--primary);
    position: relative;
}

.logo span::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--secondary);
    border-radius: 50%;
    bottom: 5px;
    right: -8px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

nav ul li a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 0.5rem 0;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

nav ul li a:hover::after {
    width: 100%;
}

/* Hero Section Vivante */
.hero {
    position: relative;
    padding: 10rem 0;
    text-align: center;
    background: radial-gradient(circle at top right, #f0f7ff, #ffffff);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 40%;
    height: 100%;
    background: radial-gradient(circle, rgba(43, 89, 195, 0.05) 0%, transparent 70%);
    z-index: 0;
    animation: pulse 10s infinite alternate;
}

@keyframes pulse {
    0% { transform: translate(0, 0); }
    100% { transform: translate(5%, 10%); }
}

.hero .container {
    position: relative;
    z-index: 1;
}

h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
    background: linear-gradient(to right, var(--dark), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.3rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 3rem;
    font-weight: 400;
}

.cta-group {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(43, 89, 195, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(43, 89, 195, 0.4);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary);
    border: 1px solid rgba(43, 89, 195, 0.2);
}

.btn-secondary:hover {
    background: var(--light);
    transform: translateY(-3px);
}

/* Grid & Cards */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.card {
    background: var(--white);
    padding: 3rem 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.03);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.card:hover::before {
    transform: scaleX(1);
}

.card h3 {
    margin-bottom: 1.2rem;
    font-size: 1.5rem;
}

/* Featured Section */
.feature-list {
    max-width: 900px;
    margin: 0 auto;
}

.feature-item {
    padding: 2.5rem;
    border-radius: 15px;
    background: var(--white);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    transition: var(--transition);
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
}

.feature-item:hover {
    background: #fff;
    transform: translateX(10px);
    box-shadow: var(--shadow);
}

.feature-number {
    font-size: 2rem;
    font-weight: 800;
    color: rgba(43, 89, 195, 0.1);
}

/* Membership */
.membership-info {
    max-width: 100%;
    margin: 4rem auto 0;
    padding: 5rem;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border-radius: 40px;
    color: var(--white);
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 5rem;
    align-items: start;
}

.membership-text {
    position: sticky;
    top: 120px;
}

.membership-text h2 { color: var(--white); margin-bottom: 1.5rem; font-size: 2.5rem; }
.membership-text p { color: #94a3b8; font-size: 1.1rem; margin-bottom: 2.5rem; }

/* FAQ Intégrée */
.faq-integrated {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-question {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 500;
    font-size: 1rem;
    color: #e2e8f0;
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.05);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    padding: 0 1.5rem;
    color: #94a3b8;
    font-size: 0.95rem;
    line-height: 1.6;
}

.faq-item.active {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--primary-light);
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 1.5rem 1.5rem;
}

.faq-icon {
    width: 20px;
    height: 20px;
    opacity: 0.5;
}

.faq-icon::after {
    content: '↓';
    color: var(--white);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    opacity: 1;
}

@media (max-width: 992px) {
    .membership-info {
        grid-template-columns: 1fr;
        padding: 3rem 2rem;
        gap: 3rem;
    }
    .membership-text {
        position: static;
        text-align: center;
    }
}

/* Footer */
footer {
    padding: 4rem 0;
    background: #020617;
    color: #475569;
    text-align: center;
}

@media (max-width: 768px) {
    h1 { font-size: 2.8rem; }
    .hero { padding: 6rem 0; }
    nav ul { display: none; } /* On pourrait ajouter un menu burger pour un projet complet */
    .section { padding: 5rem 0; }
    .membership-info { padding: 2rem; }
}
