/* Header et Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--color-white);
    box-shadow: var(--shadow-md);
    z-index: 1000;
    height: var(--header-height);
}

.nav {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.nav-brand .logo {
    display: flex;
    align-items: center;
    transition: opacity var(--transition-fast);
}

.nav-brand .logo:hover {
    opacity: 0.8;
}

.nav-brand .logo-image {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-lg);
    align-items: center;
}

.nav-link {
    font-weight: 500;
    color: var(--color-gray-dark);
    padding: var(--spacing-xs) 0;
    position: relative;
    transition: color var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: currentColor;
    transition: width var(--transition-normal);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    color: var(--color-black);
    font-weight: 600;
}

.nav-search {
    position: relative;
    display: flex;
    align-items: center;
}

.search-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-xs);
    color: var(--color-gray-dark);
    transition: all var(--transition-elegant);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}

.search-toggle:hover {
    color: var(--color-black);
    background: rgba(0, 0, 0, 0.05);
    transform: scale(1.1);
}

.search-toggle:active {
    transform: scale(0.95);
}

.search-toggle svg {
    transition: transform var(--transition-elegant);
    flex-shrink: 0;
}

.search-toggle.active svg {
    transform: rotate(90deg);
}

/* Overlay pour la recherche - sans flou */
.search-overlay {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.15);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.search-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.search-bar {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%) scaleX(0);
    transform-origin: right center;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    background: var(--color-white);
    border: 1px solid var(--color-gray-light);
    border-radius: 24px;
    padding: 6px 8px 6px 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    width: 40px;
    min-height: 40px;
    overflow: hidden;
    white-space: nowrap;
}

.search-bar.active {
    transform: translateY(-50%) scaleX(1);
    opacity: 1;
    pointer-events: auto;
    width: 300px;
    max-width: calc(100vw - 250px);
    border-radius: 12px;
    overflow: visible;
    z-index: 1001;
}

.search-bar-input-wrapper {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 28px;
}

.search-bar input {
    flex: 1;
    border: none;
    outline: none;
    padding: 0 var(--spacing-sm);
    font-size: 0.9375rem;
    color: var(--color-black);
    background: transparent;
    transition: all var(--transition-elegant);
    min-width: 0;
    opacity: 0;
    width: 0;
    height: 28px;
}

.search-bar.active .search-bar-input-wrapper {
    min-height: 28px;
}

.search-bar.active input {
    opacity: 1;
    width: auto;
    transition-delay: 0.15s;
}

.search-bar input:focus {
    outline: none;
}

.search-bar input::placeholder {
    color: var(--color-gray);
    font-weight: 400;
}

/* Dropdown de suggestions */
.search-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 8px;
    background: var(--color-white);
    border: 1px solid var(--color-gray-light);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    max-height: 400px;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1002;
    pointer-events: none;
}

.search-bar.active .search-dropdown.has-results {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.search-dropdown-section {
    padding: var(--spacing-sm) 0;
}

.search-dropdown-section-title {
    padding: var(--spacing-xs) var(--spacing-md);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid var(--color-gray-light);
    margin-bottom: var(--spacing-xs);
}

.search-dropdown-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) var(--spacing-md);
    cursor: pointer;
    transition: all var(--transition-fast);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    pointer-events: auto !important;
    position: relative;
    z-index: 1003;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.search-dropdown-item:last-child {
    border-bottom: none;
}

.search-dropdown-item:hover {
    background: rgba(0, 0, 0, 0.05);
}

.search-dropdown-item:active {
    background: rgba(0, 0, 0, 0.08);
}

.search-dropdown-item-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--color-gray-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gray);
}

.search-dropdown-item-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.search-dropdown-item-content {
    flex: 1;
    min-width: 0;
}

.search-dropdown-item-title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-black);
    margin-bottom: 2px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.search-dropdown-item-meta {
    font-size: 0.8125rem;
    color: var(--color-gray);
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.search-dropdown-empty {
    padding: var(--spacing-lg);
    text-align: center;
    color: var(--color-gray);
    font-size: 0.9375rem;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-xs);
    gap: 4px;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background-color: var(--color-black);
    transition: all var(--transition-fast);
}

/* Footer */
.footer {
    background: linear-gradient(180deg, 
        #1a1a1a 0%, 
        #2d2d2d 50%, 
        #1a1a1a 100%
    );
    color: var(--color-white);
    margin-top: var(--spacing-xxl);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%,
        rgba(212, 175, 55, 0.3) 20%,
        rgba(212, 175, 55, 0.5) 50%,
        rgba(212, 175, 55, 0.3) 80%,
        transparent 100%
    );
}

.footer-top {
    padding: calc(var(--spacing-xxl) * 1.5) var(--spacing-md) var(--spacing-xl);
    position: relative;
    z-index: 1;
}

.footer-content {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: calc(var(--spacing-xl) * 1.5);
    align-items: start;
}

/* Section Marque */
.footer-brand {
    max-width: 100%;
}

.footer-logo {
    margin-bottom: var(--spacing-md);
    display: flex;
    align-items: center;
}

.footer-logo-image {
    height: clamp(2rem, 4vw, 2.5rem);
    width: auto;
    object-fit: contain;
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: var(--font-size-base);
    line-height: 1.7;
    margin-bottom: var(--spacing-lg);
    max-width: 90%;
}

.footer-social-title {
    font-size: var(--font-size-base);
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    color: rgba(255, 255, 255, 0.95);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.875rem;
}

.social-links {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.social-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.7);
    transition: all var(--transition-elegant);
    backdrop-filter: blur(10px);
}

.social-link:hover {
    background: rgba(212, 175, 55, 0.2);
    border-color: rgba(212, 175, 55, 0.5);
    color: #D4AF37;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

/* Sections Navigation et Liens */
.footer-section {
    display: flex;
    flex-direction: column;
}

.footer-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    color: rgba(255, 255, 255, 0.95);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: var(--spacing-xs);
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #D4AF37 0%, transparent 100%);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9375rem;
    transition: all var(--transition-fast);
    padding: var(--spacing-xs) 0;
    position: relative;
    display: inline-block;
    width: fit-content;
}

.footer-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: #D4AF37;
    transition: width var(--transition-fast);
}

.footer-link:hover {
    color: #D4AF37;
    padding-left: var(--spacing-xs);
}

.footer-link:hover::before {
    width: 20px;
}

/* Section Newsletter */
.footer-newsletter {
    max-width: 100%;
}

.footer-newsletter-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
}

.footer-newsletter-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.newsletter-input-group {
    display: flex;
    gap: var(--spacing-xs);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 4px;
    backdrop-filter: blur(10px);
    transition: all var(--transition-elegant);
}

.newsletter-input-group:focus-within {
    border-color: rgba(212, 175, 55, 0.5);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.newsletter-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    padding: var(--spacing-sm) var(--spacing-md);
    color: var(--color-white);
    font-size: 0.9375rem;
    font-family: var(--font-primary);
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-button {
    background: linear-gradient(135deg, #D4AF37 0%, #B8941E 100%);
    border: none;
    border-radius: 6px;
    padding: var(--spacing-sm) var(--spacing-md);
    color: var(--color-black);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-elegant);
    font-weight: 600;
}

.newsletter-button:hover {
    background: linear-gradient(135deg, #F5D76E 0%, #D4AF37 100%);
    transform: translateX(-2px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4);
}

.newsletter-button:active {
    transform: translateX(0);
}

.newsletter-disclaimer {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.5;
    margin: 0;
}

.newsletter-unsubscribe {
    margin-top: var(--spacing-xs);
    text-align: center;
}

.newsletter-unsubscribe-link {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: underline;
    transition: color var(--transition-fast);
    cursor: pointer;
}

.newsletter-unsubscribe-link:hover {
    color: rgba(255, 255, 255, 0.9);
}

/* Footer Bottom */
.footer-bottom {
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: var(--spacing-lg) var(--spacing-md);
    position: relative;
    z-index: 1;
}

.footer-bottom-content {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    margin: 0;
}

.footer-legal-links {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.footer-legal-link {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color var(--transition-fast);
}

.footer-legal-link:hover {
    color: #D4AF37;
}

.footer-separator {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.875rem;
}

/* Responsive Footer */
@media (max-width: 968px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: var(--spacing-xl);
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-newsletter {
        grid-column: 1 / -1;
    }
}

@media (max-width: 640px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-legal-links {
        justify-content: center;
    }

    .social-links {
        justify-content: flex-start;
    }
}

/* Styles spécifiques par catégorie pour le footer */

/* Histoire - Or/Doré */

.page-histoire .footer::before {
    background: linear-gradient(90deg, 
        transparent 0%,
        rgba(212, 175, 55, 0.3) 20%,
        rgba(212, 175, 55, 0.5) 50%,
        rgba(212, 175, 55, 0.3) 80%,
        transparent 100%
    );
}

.page-histoire .social-link:hover {
    background: rgba(212, 175, 55, 0.2);
    border-color: rgba(212, 175, 55, 0.5);
    color: #D4AF37;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.page-histoire .footer-title::after {
    background: linear-gradient(90deg, #D4AF37 0%, transparent 100%);
}

.page-histoire .footer-link::before {
    background: #D4AF37;
}

.page-histoire .footer-link:hover {
    color: #D4AF37;
}

.page-histoire .newsletter-input-group:focus-within {
    border-color: rgba(212, 175, 55, 0.5);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.page-histoire .newsletter-button {
    background: linear-gradient(135deg, #D4AF37 0%, #B8941E 100%);
}

.page-histoire .newsletter-button:hover {
    background: linear-gradient(135deg, #F5D76E 0%, #D4AF37 100%);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4);
}

.page-histoire .footer-legal-link:hover {
    color: #D4AF37;
}

/* Science - Bleu */

.page-science .footer::before {
    background: linear-gradient(90deg, 
        transparent 0%,
        rgba(96, 165, 250, 0.3) 20%,
        rgba(96, 165, 250, 0.5) 50%,
        rgba(96, 165, 250, 0.3) 80%,
        transparent 100%
    );
}

.page-science .social-link:hover {
    background: rgba(96, 165, 250, 0.2);
    border-color: rgba(96, 165, 250, 0.5);
    color: #60A5FA;
    box-shadow: 0 4px 12px rgba(96, 165, 250, 0.3);
}

.page-science .footer-title::after {
    background: linear-gradient(90deg, #60A5FA 0%, transparent 100%);
}

.page-science .footer-link::before {
    background: #60A5FA;
}

.page-science .footer-link:hover {
    color: #60A5FA;
}

.page-science .newsletter-input-group:focus-within {
    border-color: rgba(96, 165, 250, 0.5);
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.1);
}

.page-science .newsletter-button {
    background: linear-gradient(135deg, #60A5FA 0%, #3B82F6 100%);
}

.page-science .newsletter-button:hover {
    background: linear-gradient(135deg, #93C5FD 0%, #60A5FA 100%);
    box-shadow: 0 4px 12px rgba(96, 165, 250, 0.4);
}

.page-science .footer-legal-link:hover {
    color: #60A5FA;
}

/* Cinéma - Rouge */

.page-cinema .footer::before {
    background: linear-gradient(90deg, 
        transparent 0%,
        rgba(239, 68, 68, 0.3) 20%,
        rgba(239, 68, 68, 0.5) 50%,
        rgba(239, 68, 68, 0.3) 80%,
        transparent 100%
    );
}

.page-cinema .social-link:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.5);
    color: #EF4444;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.page-cinema .footer-title::after {
    background: linear-gradient(90deg, #EF4444 0%, transparent 100%);
}

.page-cinema .footer-link::before {
    background: #EF4444;
}

.page-cinema .footer-link:hover {
    color: #EF4444;
}

.page-cinema .newsletter-input-group:focus-within {
    border-color: rgba(239, 68, 68, 0.5);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.page-cinema .newsletter-button {
    background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
}

.page-cinema .newsletter-button:hover {
    background: linear-gradient(135deg, #F87171 0%, #EF4444 100%);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
}

.page-cinema .footer-legal-link:hover {
    color: #EF4444;
}

/* Hors-Série - Rose */

.page-hors-serie .footer::before {
    background: linear-gradient(90deg, 
        transparent 0%,
        rgba(236, 72, 153, 0.3) 20%,
        rgba(236, 72, 153, 0.5) 50%,
        rgba(236, 72, 153, 0.3) 80%,
        transparent 100%
    );
}

.page-hors-serie .social-link:hover {
    background: rgba(236, 72, 153, 0.2);
    border-color: rgba(236, 72, 153, 0.5);
    color: #EC4899;
    box-shadow: 0 4px 12px rgba(236, 72, 153, 0.3);
}

.page-hors-serie .footer-title::after {
    background: linear-gradient(90deg, #EC4899 0%, transparent 100%);
}

.page-hors-serie .footer-link::before {
    background: #EC4899;
}

.page-hors-serie .footer-link:hover {
    color: #EC4899;
}

.page-hors-serie .newsletter-input-group:focus-within {
    border-color: rgba(236, 72, 153, 0.5);
    box-shadow: 0 0 0 3px rgba(236, 72, 153, 0.1);
}

.page-hors-serie .newsletter-button {
    background: linear-gradient(135deg, #EC4899 0%, #DB2777 100%);
}

.page-hors-serie .newsletter-button:hover {
    background: linear-gradient(135deg, #F472B6 0%, #EC4899 100%);
    box-shadow: 0 4px 12px rgba(236, 72, 153, 0.4);
}

.page-hors-serie .footer-legal-link:hover {
    color: #EC4899;
}

/* Contact - Violet foncé professionnel */

.page-contact .footer::before {
    background: linear-gradient(90deg, 
        transparent 0%,
        rgba(107, 33, 168, 0.3) 20%,
        rgba(107, 33, 168, 0.5) 50%,
        rgba(107, 33, 168, 0.3) 80%,
        transparent 100%
    );
}

.page-contact .social-link:hover {
    background: rgba(107, 33, 168, 0.2);
    border-color: rgba(107, 33, 168, 0.5);
    color: #6B21A8;
    box-shadow: 0 4px 12px rgba(107, 33, 168, 0.3);
}

.page-contact .footer-title::after {
    background: linear-gradient(90deg, #6B21A8 0%, transparent 100%);
}

.page-contact .footer-link::before {
    background: #6B21A8;
}

.page-contact .footer-link:hover {
    color: #6B21A8;
}

.page-contact .newsletter-input-group:focus-within {
    border-color: rgba(107, 33, 168, 0.5);
    box-shadow: 0 0 0 3px rgba(107, 33, 168, 0.1);
}

.page-contact .newsletter-button {
    background: linear-gradient(135deg, #6B21A8 0%, #5B21B6 100%);
}

.page-contact .newsletter-button:hover {
    background: linear-gradient(135deg, #7C3AED 0%, #6B21A8 100%);
    box-shadow: 0 4px 12px rgba(107, 33, 168, 0.4);
}

.page-contact .footer-legal-link:hover {
    color: #6B21A8;
}

/* Cards d'articles */
.article-card {
    background: var(--color-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 2px solid rgba(0, 0, 0, 0.12);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
    cursor: pointer;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.article-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-color, #640053);
}

.article-card-image {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 */
    background-color: var(--color-gray-light);
    overflow: hidden;
}

.article-card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-card-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.article-card:hover .article-card-image::after {
    opacity: 1;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-normal), transform var(--transition-normal);
    z-index: 1;
}

.article-card:hover .play-button {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

.play-button svg {
    width: 24px;
    height: 24px;
    margin-left: 4px;
}

.article-card-content {
    padding: var(--spacing-md);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.article-card-no-image .article-card-content {
    border-top: 3px solid var(--accent-color, #640053);
}

.article-card:hover .article-card-content {
    border-top-color: var(--accent-color, #640053);
}

.article-card-category {
    font-size: var(--font-size-small);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: var(--spacing-xs);
}

.article-card-title {
    font-size: var(--font-size-h4);
    margin-bottom: var(--spacing-xs);
    line-height: 1.3;
}

.article-card-date {
    font-size: var(--font-size-small);
    color: var(--color-gray);
    margin-top: auto;
}

/* Grille d'articles */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

/* Modal vidéo */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-md);
}

.modal.active {
    display: flex;
}

.modal-content {
    position: relative;
    width: 100%;
    max-width: 900px;
    background: var(--color-black);
    border-radius: 8px;
    overflow: hidden;
}

.modal-close {
    position: absolute;
    top: var(--spacing-sm);
    right: var(--spacing-sm);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: var(--color-white);
    font-size: 2rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition-fast);
    z-index: 1;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Formulaires */
.form-group {
    margin-bottom: var(--spacing-md);
}

.form-label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-weight: 500;
    color: var(--color-gray-dark);
}

.form-input,
.form-textarea {
    width: 100%;
    padding: var(--spacing-sm);
    border: 1px solid var(--color-gray-light);
    border-radius: 4px;
    font-size: var(--font-size-base);
    font-family: var(--font-primary);
    transition: border-color var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: currentColor;
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.btn {
    display: inline-block;
    padding: var(--spacing-sm) var(--spacing-lg);
    border: none;
    border-radius: 4px;
    font-size: var(--font-size-base);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
    text-align: center;
}

.btn-primary {
    background-color: currentColor;
    color: var(--color-white);
}

.btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Loading */
.loading {
    text-align: center;
    padding: var(--spacing-xxl);
    color: var(--color-gray);
}

.spinner {
    border: 3px solid var(--color-gray-light);
    border-top-color: currentColor;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto var(--spacing-md);
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Message d'erreur/vide */
.empty-state {
    text-align: center;
    padding: var(--spacing-xxl);
    color: var(--color-gray);
}

.empty-state h3 {
    margin-bottom: var(--spacing-sm);
}

/* Responsive */
@media (max-width: 768px) {
    .search-bar.active {
        width: calc(100vw - 80px);
        max-width: 240px;
    }
    
    .search-bar input {
        font-size: 0.875rem;
        padding: 0 var(--spacing-xs);
    }
    
    .search-dropdown {
        max-height: 300px;
    }
    
    .nav-menu {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        background: var(--color-white);
        flex-direction: column;
        padding: var(--spacing-md);
        box-shadow: var(--shadow-md);
        transform: translateX(-100%);
        transition: transform var(--transition-normal);
        height: calc(100vh - var(--header-height));
        overflow-y: auto;
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    .nav-toggle {
        display: flex;
    }


    .articles-grid {
        grid-template-columns: 1fr;
    }

    .modal-content {
        margin: var(--spacing-md);
    }
}

