/* Aide Page Styles - Guide d'Utilisation */

:root {
    --primary: #8B1A1A;
    --accent-gold: #D4AF37;
    --accent-champagne: #E8DCC8;
    --dark-bg: #1a1a1a;
    --light-bg: #ffffff;
    --text-dark: #333333;
    --text-light: #f0f0f0;
    --border-color: #cccccc;
}

[data-theme="dark"] {
    --light-bg: #1a1a1a;
    --dark-bg: #ffffff;
    --text-dark: #f0f0f0;
    --text-light: #333333;
    --border-color: #444444;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--light-bg);
    color: var(--text-dark);
    line-height: 1.6;
    transition: all 0.3s ease;
}

/* Navigation */
.aide-nav {
    background: linear-gradient(135deg, var(--primary), #6b1313);
    padding: 1rem 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.aide-nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.aide-logo {
    font-size: 1.4rem;
    font-weight: bold;
    color: var(--accent-gold);
    text-decoration: none;
    transition: color 0.3s ease;
}

.aide-logo:hover {
    color: var(--accent-champagne);
}

.aide-nav-links {
    display: flex;
    gap: 2rem;
}

.aide-nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.aide-nav-link:hover {
    color: var(--accent-gold);
}

/* Hero Section */
.aide-hero {
    background: linear-gradient(135deg, var(--primary), #6b1313);
    color: white;
    padding: 4rem 2rem;
    text-align: center;
    margin-bottom: 3rem;
}

.aide-hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    animation: slideDown 0.6s ease-out;
}

.aide-hero-content p {
    font-size: 1.2rem;
    opacity: 0.9;
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

/* Main Container */
.aide-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
}

.aide-main {
    min-height: calc(100vh - 300px);
}

/* Guide Section */
.aide-guide-section {
    margin-bottom: 4rem;
}

.aide-guide-section h2 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1rem;
    border-bottom: 3px solid var(--accent-gold);
    padding-bottom: 0.5rem;
}

.aide-intro {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
    font-style: italic;
}

/* Accordion Styles */
.aide-accordion {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.aide-accordion-item {
    border: 2px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    background: var(--light-bg);
    transition: all 0.3s ease;
}

.aide-accordion-item:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(139, 26, 26, 0.15);
}

.aide-accordion-header {
    width: 100%;
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--primary), #6b1313);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.aide-accordion-header:hover {
    background: linear-gradient(135deg, #6b1313, var(--primary));
    padding-left: 2rem;
}

.aide-accordion-icon {
    font-size: 1.5rem;
}

.aide-accordion-title {
    flex: 1;
    text-align: left;
}

.aide-accordion-toggle {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.aide-accordion-item.active .aide-accordion-toggle {
    transform: rotate(45deg);
}

.aide-accordion-content {
    display: none;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.4s ease-out;
}

.aide-accordion-item.active .aide-accordion-content {
    display: block;
    max-height: 2000px;
    opacity: 1;
    animation: slideDown 0.4s ease-out;
}

.aide-section-content {
    padding: 2rem;
    background: var(--light-bg);
}

.aide-section-content h3 {
    color: var(--primary);
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.aide-section-content h3:first-child {
    margin-top: 0;
}

.aide-section-content p {
    margin-bottom: 1rem;
    color: #555;
    line-height: 1.8;
}

.aide-steps {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.aide-steps li {
    margin-bottom: 0.5rem;
    color: #555;
}

.aide-steps li:before {
    content: '▸ ';
    color: var(--accent-gold);
    font-weight: bold;
    margin-right: 0.5rem;
}

.aide-list {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
    list-style: none;
}

.aide-list li {
    margin-bottom: 0.5rem;
    color: #555;
    padding-left: 1.5rem;
    position: relative;
}

.aide-list li:before {
    content: '✓';
    color: var(--accent-gold);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* FAQ Styles */
.aide-faq-item {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.aide-faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.aide-faq-item h4 {
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-size: 1.05rem;
}

.aide-faq-item p {
    color: #666;
    line-height: 1.8;
}

/* Form Section */
.aide-form-section {
    background: linear-gradient(135deg, rgba(139, 26, 26, 0.05), rgba(212, 175, 55, 0.05));
    padding: 3rem 2rem;
    border-radius: 8px;
    margin-bottom: 3rem;
    border: 2px solid var(--accent-gold);
}

.aide-form-section h2 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.aide-form-section > p {
    color: #666;
    margin-bottom: 2rem;
}

.aide-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 600px;
}

.aide-form-group {
    display: flex;
    flex-direction: column;
}

.aide-form-group label {
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.aide-form-group input,
.aide-form-group textarea {
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    background: var(--light-bg);
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.aide-form-group input:focus,
.aide-form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(139, 26, 26, 0.1);
}

.aide-btn-submit {
    padding: 0.75rem 2rem;
    background: linear-gradient(135deg, var(--primary), #6b1313);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.aide-btn-submit:hover {
    background: linear-gradient(135deg, #6b1313, var(--primary));
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 26, 26, 0.3);
}

.aide-form-message {
    padding: 1rem;
    border-radius: 4px;
    text-align: center;
    font-weight: 600;
    display: none;
}

.aide-form-message.success {
    display: block;
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.aide-form-message.error {
    display: block;
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* CTA Section */
.aide-cta-section {
    text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, var(--primary), #6b1313);
    color: white;
    border-radius: 8px;
    margin-bottom: 3rem;
}

.aide-cta-section h2 {
    color: white;
    border-bottom: 3px solid var(--accent-gold);
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

.aide-cta-section p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.aide-cta-btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--accent-gold);
    color: var(--primary);
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid var(--accent-gold);
}

.aide-cta-btn:hover {
    background: transparent;
    color: var(--accent-gold);
    transform: translateY(-2px);
}

/* Footer */
.aide-footer {
    background: linear-gradient(135deg, var(--primary), #6b1313);
    color: white;
    padding: 2rem;
    text-align: center;
    margin-top: 3rem;
}

.aide-footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.aide-footer-content p {
    margin-bottom: 1rem;
}

.aide-footer-content a {
    color: var(--accent-gold);
    text-decoration: none;
    transition: color 0.3s ease;
}

.aide-footer-content a:hover {
    color: var(--accent-champagne);
}

/* Animations */
@keyframes slideDown {
    from {
        max-height: 0;
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        max-height: 2000px;
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .aide-nav-container {
        flex-direction: column;
        gap: 1rem;
    }

    .aide-nav-links {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .aide-hero-content h1 {
        font-size: 1.8rem;
    }

    .aide-hero-content p {
        font-size: 1rem;
    }

    .aide-guide-section h2 {
        font-size: 1.5rem;
    }

    .aide-accordion-header {
        padding: 1rem;
        font-size: 1rem;
    }

    .aide-accordion-header:hover {
        padding-left: 1.5rem;
    }

    .aide-section-content {
        padding: 1.5rem;
    }

    .aide-form-section {
        padding: 2rem 1.5rem;
    }

    .aide-cta-section {
        padding: 2rem 1.5rem;
    }

    .aide-cta-btn {
        padding: 0.75rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .aide-container {
        padding: 0 1rem;
    }

    .aide-hero {
        padding: 2rem 1rem;
    }

    .aide-hero-content h1 {
        font-size: 1.5rem;
    }

    .aide-hero-content p {
        font-size: 0.9rem;
    }

    .aide-guide-section h2 {
        font-size: 1.3rem;
    }

    .aide-accordion-header {
        gap: 0.5rem;
    }

    .aide-accordion-icon {
        font-size: 1.2rem;
    }

    .aide-intro {
        font-size: 0.95rem;
    }

    .aide-section-content h3 {
        font-size: 1.05rem;
    }

    .aide-form-group input,
    .aide-form-group textarea {
        padding: 0.6rem;
        font-size: 0.95rem;
    }

    .aide-btn-submit {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }
}
