:root {
    --primary: #0071E3;
    --secondary: #2997FF;
    --accent: #00cec9;
    --bg: #f5f7fa;
    --card: #ffffff;
    --text: #1d1d1f;
    --text-muted: #86868b;
    --border: #d2d2d7;
    --success: #00b894;
    --radius-lg: 20px;
    --radius-md: 12px;
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.12);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

/* Header */
header {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 0 40px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
}

.logo-wrapper {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.logo-wrapper img {
    width: 145%; /* Même technique de zoom que sur index */
    height: 145%;
    object-fit: cover;
}

.header-logo-text {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.02em;
}

.header-logo-sub {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}

.header-nav {
    display: flex;
    gap: 16px;
}

.header-nav a {
    color: var(--text);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 20px;
    transition: all 0.2s ease;
}

.header-nav a:hover {
    background: rgba(0, 113, 227, 0.1);
    color: var(--primary);
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 60px 20px;
}

.page-title {
    text-align: center;
    margin-bottom: 60px;
}

.page-title h1 {
    font-size: 3rem;
    font-weight: 900;
    letter-spacing: -0.04em;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 16px;
}

.page-title p {
    font-size: 1.25rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Steps */
.steps-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.step-card {
    background: var(--card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    display: flex;
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

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

.step-number {
    background: linear-gradient(180deg, var(--primary), var(--secondary));
    color: white;
    font-size: 2.5rem;
    font-weight: 900;
    min-width: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.step-body {
    padding: 32px 40px;
    flex: 1;
}

.step-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.step-icon {
    font-size: 2rem;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
}

.step-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.02em;
}

.step-desc {
    font-size: 1.1rem;
    color: #424245;
    line-height: 1.6;
    margin-bottom: 24px;
}

.step-tips {
    background: #fbfbfd;
    border: 1px solid #e5e5e7;
    padding: 20px 24px;
    border-radius: var(--radius-md);
}

.step-tips ul {
    list-style: none;
    margin-top: 12px;
}

.step-tips li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: #424245;
}

.step-tips li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Examples Section */
.examples-section {
    margin-top: 80px;
    background: white;
    border-radius: 30px;
    padding: 60px 40px;
    box-shadow: var(--shadow-md);
}

.examples-header {
    text-align: center;
    margin-bottom: 40px;
}

.examples-header h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.examples-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.example-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #f5f5f7;
    padding: 24px;
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.example-card:hover {
    background: white;
    border-color: var(--primary);
    transform: scale(1.02);
    box-shadow: var(--shadow-sm);
}

.example-icon {
    font-size: 2.5rem;
    background: white;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    box-shadow: var(--shadow-sm);
}

.example-title {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text);
    margin-bottom: 4px;
}

.example-level {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.05em;
}

/* Roles */
.roles-section {
    margin-top: 80px;
}

.roles-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
}

.roles-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.role-card {
    background: white;
    padding: 40px;
    border-radius: 24px;
    box-shadow: var(--shadow-sm);
}

.role-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.role-icon {
    font-size: 2.5rem;
    color: var(--primary);
}

.role-title {
    font-size: 1.5rem;
    font-weight: 800;
}

.role-card ul {
    list-style: none;
}

.role-card li {
    padding: 8px 0;
    color: #424245;
    border-bottom: 1px solid #f5f5f7;
}

/* VIDEO */
.video-section iframe {
    max-width: 100% !important;
    border-radius: 24px !important;
    box-shadow: var(--shadow-lg) !important;
}

/* FAQ */
.faq-section {
    margin-top: 80px;
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 40px;
}

.faq-item {
    background: white;
    border-radius: 16px;
    margin-bottom: 16px;
    box-shadow: var(--shadow-sm);
}

.faq-question {
    padding: 24px 30px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 30px;
    transition: all 0.4s ease;
    color: #424245;
}

.faq-answer.open {
    max-height: 500px;
    padding: 0 30px 24px 30px;
}

.faq-arrow { transition: transform 0.3s ease; color: var(--primary); }
.faq-question.open .faq-arrow { transform: rotate(180deg); }

/* CTA */
.cta-section {
    margin-top: 100px;
    background: linear-gradient(135deg, #0071E3, #000000);
    padding: 80px 40px;
    border-radius: 40px;
    text-align: center;
    color: white;
}

.cta-section h2 { font-size: 2.5rem; margin-bottom: 16px; }
.cta-section p { font-size: 1.25rem; opacity: 0.8; margin-bottom: 40px; }

.btn-cta {
    background: white;
    color: black;
    padding: 18px 48px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.btn-cta:hover { transform: scale(1.05); }

/* Footer */
footer {
    text-align: center;
    padding: 60px 20px;
    border-top: 1px solid var(--border);
    margin-top: 100px;
}

@media (max-width: 768px) {
    .roles-grid { grid-template-columns: 1fr; }
    .step-card { flex-direction: column; }
    .step-number { min-width: unset; height: 100px; width: 100%; }
    .page-title h1 { font-size: 2.2rem; }
    .header { padding: 0 20px; }
    .header-nav { display: none; }
}