/**
 * GUACAMOLI EMOJI - Styles page À propos
 * =======================================
 * 
 * Styles spécifiques pour about.php
 * @version 1.0.0
 */

/* ================================
   NAVIGATION
   ================================ */

.main-nav {
    background: linear-gradient(135deg, var(--guac-green), var(--lagoon-blue));
    box-shadow: var(--shadow-lg);
    position: sticky;
    top: 0;
    z-index: var(--z-sticky);
    margin-bottom: var(--space-8);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-5) 0;
}

.nav-logo {
    font-family: var(--font-family-heading);
    font-size: var(--font-size-2xl);
    color: var(--white);
    font-weight: var(--font-weight-bold);
    text-decoration: none;
    transition: transform var(--transition-base);
}

.nav-logo:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: var(--space-6);
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: var(--font-weight-medium);
    padding: var(--space-3) var(--space-5);
    border-radius: var(--border-radius-full);
    transition: all var(--transition-base);
    position: relative;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.nav-link--active {
    background: rgba(255, 255, 255, 0.3);
    font-weight: var(--font-weight-semibold);
}

/* ================================
   CONTENU ABOUT
   ================================ */

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-section {
    background: var(--white);
    border-radius: var(--border-radius-xl);
    padding: var(--space-8);
    margin-bottom: var(--space-8);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(74, 124, 74, 0.1);
}

.about-section--legal {
    border-left: 4px solid var(--sun-yellow);
    background: linear-gradient(135deg, var(--white), rgba(255, 215, 0, 0.05));
}

.section-title {
    font-family: var(--font-family-heading);
    color: var(--guac-green);
    font-size: var(--font-size-3xl);
    margin-bottom: var(--space-6);
    position: relative;
    padding-bottom: var(--space-3);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--lagoon-blue), var(--guac-lime));
    border-radius: 2px;
}

.section-content {
    color: var(--text-dark);
    line-height: var(--line-height-relaxed);
}

.section-content h3 {
    color: var(--lagoon-blue);
    font-size: var(--font-size-xl);
    margin-top: var(--space-6);
    margin-bottom: var(--space-4);
    font-weight: var(--font-weight-semibold);
}

.section-content p {
    margin-bottom: var(--space-5);
}

.section-content a {
    color: var(--lagoon-blue);
    text-decoration: underline;
    font-weight: var(--font-weight-medium);
    transition: color var(--transition-fast);
}

.section-content a:hover {
    color: var(--guac-green);
}

/* ================================
   LISTES
   ================================ */

.feature-list,
.tech-list,
.legal-list,
.credits-list {
    list-style: none;
    padding: 0;
    margin: var(--space-5) 0;
}

.feature-list li,
.tech-list li,
.legal-list li,
.credits-list li {
    padding: var(--space-3) 0;
    padding-left: var(--space-6);
    position: relative;
    line-height: var(--line-height-relaxed);
}

.feature-list li::before {
    position: absolute;
    left: 0;
    top: var(--space-3);
}

.tech-list li::before,
.credits-list li::before {
    content: '🥑';
    position: absolute;
    left: 0;
    top: var(--space-3);
}

.legal-list li {
    padding-left: var(--space-8);
}

/* ================================
   FAQ
   ================================ */

.faq-item {
    background: rgba(143, 188, 143, 0.05);
    border-left: 4px solid var(--guac-green);
    padding: var(--space-5);
    margin-bottom: var(--space-5);
    border-radius: var(--border-radius-md);
    transition: all var(--transition-base);
}

.faq-item:hover {
    background: rgba(143, 188, 143, 0.1);
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

.faq-item h3 {
    color: var(--guac-green) !important;
    font-size: var(--font-size-lg) !important;
    margin: 0 0 var(--space-3) 0 !important;
    font-weight: var(--font-weight-semibold);
}

.faq-item p {
    margin: 0;
    color: var(--text-dark);
}

/* ================================
   BOÎTE LICENCE
   ================================ */

.license-box {
    background: rgba(32, 178, 170, 0.05);
    border: 2px solid var(--lagoon-blue);
    border-radius: var(--border-radius-lg);
    padding: var(--space-5);
    margin: var(--space-5) 0;
    font-family: 'Courier New', monospace;
    font-size: var(--font-size-sm);
    line-height: var(--line-height-relaxed);
}

.license-box p {
    margin-bottom: var(--space-4);
}

.license-box p:last-child {
    margin-bottom: 0;
}

/* ================================
   FOOTER
   ================================ */

.footer {
    background: linear-gradient(135deg, var(--guac-green), var(--lagoon-blue));
    color: var(--white);
    padding: var(--space-10) 0;
    margin-top: var(--space-12);
    border-radius: var(--border-radius-xl) var(--border-radius-xl) 0 0;
    text-align: center;
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
}

.footer p {
    margin-bottom: var(--space-3);
    opacity: 0.95;
}

.footer a {
    color: var(--white);
    text-decoration: none;
    font-weight: var(--font-weight-medium);
    transition: opacity var(--transition-fast);
}

.footer a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.legal-date {
    margin-top: var(--space-8) !important;
    padding-top: var(--space-5);
    border-top: 1px solid rgba(255, 215, 0, 0.2);
    color: var(--text-light);
    font-style: italic;
}

/* ================================
   RESPONSIVE
   ================================ */

@media (max-width: 768px) {
    .nav-content {
        flex-direction: column;
        gap: var(--space-4);
        padding: var(--space-4) 0;
    }

    .nav-logo {
        font-size: var(--font-size-xl);
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: var(--space-3);
    }

    .nav-link {
        font-size: var(--font-size-sm);
        padding: var(--space-2) var(--space-4);
    }

    .about-section {
        padding: var(--space-5);
        margin-bottom: var(--space-5);
    }

    .section-title {
        font-size: var(--font-size-2xl);
    }

    .section-content h3 {
        font-size: var(--font-size-lg);
    }

    .feature-list li,
    .tech-list li,
    .legal-list li,
    .credits-list li {
        padding-left: var(--space-5);
        font-size: var(--font-size-sm);
    }

    .license-box {
        padding: var(--space-4);
        font-size: var(--font-size-xs);
    }

    .footer {
        padding: var(--space-6) var(--space-4);
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: var(--font-size-xl);
    }

    .faq-item {
        padding: var(--space-4);
    }

    .faq-item h3 {
        font-size: var(--font-size-base) !important;
    }
}

/* ================================
   ANIMATIONS
   ================================ */

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.about-section {
    animation: slideInFromLeft 0.5s ease-out;
}

.about-section:nth-child(odd) {
    animation-delay: 0.1s;
}

.about-section:nth-child(even) {
    animation-delay: 0.2s;
}

/* ================================
   IMPRESSION
   ================================ */

@media print {
    .main-nav,
    .footer {
        display: none;
    }

    .about-section {
        page-break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }

    .section-title {
        color: #000;
    }

    .section-content a {
        color: #000;
        text-decoration: underline;
    }
}