/* Pages supplémentaires - Styles pour les nouvelles pages */

/* Menu mobile */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--white);
    border-radius: 3px;
    transition: all 0.3s;
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
    margin: 0;
    padding: 0;
}

/* Toolbar produits (recherche et filtres) */
.products-toolbar {
    background: var(--white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.search-filter-form {
    display: grid;
    gap: 1.5rem;
}

.search-box {
    display: flex;
    gap: 0.5rem;
}

.search-box input[type="search"] {
    flex: 1;
    padding: 1rem 1.5rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s;
}

.search-box input[type="search"]:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.search-btn {
    padding: 1rem 1.5rem;
    background: var(--gradient-accent);
    color: var(--white);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: var(--shadow);
}

.search-btn:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.filters-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.filter-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filter-item label {
    font-weight: 600;
    color: var(--text-color);
}

.filter-item select {
    padding: 0.75rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    background: var(--white);
    cursor: pointer;
    transition: all 0.3s;
}

.filter-item select:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.products-count {
    margin-bottom: 1rem;
    color: var(--text-light);
    font-weight: 600;
}

.no-products {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.no-products i {
    font-size: 4rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Pages légales */
.legal-page {
    padding: 3rem 0;
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    padding: 3rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.legal-content h1 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 2.5rem;
    font-weight: 800;
}

.last-update {
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

.legal-content article {
    margin-bottom: 3rem;
}

.legal-content article h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 700;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border-color);
}

.legal-content article h3 {
    color: var(--text-color);
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.legal-content address {
    font-style: normal;
    line-height: 1.8;
    margin: 1rem 0;
}

.legal-content ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.legal-content ul li {
    margin: 0.5rem 0;
}

.legal-content a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border-bottom: 1px solid transparent;
}

.legal-content a:hover {
    color: var(--accent-color);
    border-bottom-color: var(--accent-color);
}

/* Page À propos */
.about-page {
    padding: 3rem 0;
}

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

.about-content h1 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 3rem;
    font-weight: 800;
}

.lead {
    text-align: center;
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 3rem;
}

.about-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
    align-items: center;
}

.about-text h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.about-image img {
    width: 100%;
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.about-values,
.about-team,
.about-stats {
    margin-bottom: 4rem;
}

.about-values h2,
.about-team h2,
.about-stats h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 2.5rem;
    font-weight: 800;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.value-item {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

.value-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.value-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.value-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-light);
    font-weight: 600;
}

.about-contact-cta {
    text-align: center;
    padding: 3rem;
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.about-contact-cta h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

/* Page Contact */
.contact-page {
    padding: 3rem 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.contact-form-section {
    background: var(--white);
    padding: 3rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.contact-form {
    margin-top: 2rem;
}

.contact-info-section {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.contact-info-box {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.contact-info-box h2 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-weight: 700;
}

.contact-info-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.contact-info-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.contact-icon {
    font-size: 1.5rem;
    color: var(--white);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-accent);
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: var(--shadow);
}

.contact-info-item h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    font-weight: 700;
}

.contact-info-item p {
    margin: 0.25rem 0;
    color: var(--text-light);
}

.contact-info-item a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s;
    border-bottom: 1px solid transparent;
}

.contact-info-item a:hover {
    color: var(--accent-color);
    border-bottom-color: var(--accent-color);
}

.contact-hours {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Page FAQ */
.faq-page {
    padding: 3rem 0;
}

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

.faq-category {
    margin-bottom: 3rem;
}

.faq-category-title {
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 2rem;
    font-weight: 700;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--accent-color);
}

.faq-item {
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow);
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s;
}

.faq-question:hover {
    background: rgba(59, 130, 246, 0.05);
}

.faq-question[aria-expanded="true"] {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(37, 99, 235, 0.1) 100%);
    color: var(--primary-color);
}

.faq-question i {
    transition: transform 0.3s;
    flex-shrink: 0;
}

.faq-question[aria-expanded="true"] i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 1.5rem;
}

.faq-question[aria-expanded="true"] + .faq-answer {
    max-height: 500px;
    padding: 0 1.5rem 1.5rem;
}

.faq-answer p {
    color: var(--text-light);
    line-height: 1.8;
    margin: 1rem 0;
}

.faq-contact-cta {
    text-align: center;
    padding: 3rem;
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow);
    margin-top: 3rem;
}

.faq-contact-cta h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

/* Cookie Banner RGPD */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    z-index: 10000;
    display: none;
    animation: slideUp 0.4s ease-out;
}

.cookie-banner.active {
    display: block;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-banner-text {
    flex: 1;
    min-width: 300px;
}

.cookie-banner-text p {
    margin: 0;
    color: var(--text-color);
    line-height: 1.6;
}

.cookie-banner-text a {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.3s;
}

.cookie-banner-text a:hover {
    color: var(--accent-color);
}

.cookie-banner-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cookie-settings-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10001;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.cookie-settings-modal.active {
    display: flex;
}

.cookie-settings-content {
    background: var(--white);
    border-radius: 16px;
    padding: 3rem;
    max-width: 700px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
}

.cookie-settings-content h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.cookie-type {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--bg-color);
    border-radius: 12px;
}

.cookie-type h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.cookie-type p {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.3s;
    border-radius: 24px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

input:checked + .toggle-slider {
    background: var(--gradient-accent);
}

input:checked + .toggle-slider:before {
    transform: translateX(26px);
}

/* Footer legal links */
.footer-legal {
    margin-top: 1rem;
    font-size: 0.9rem;
    opacity: 0.9;
}

.footer-legal a {
    color: var(--white);
    text-decoration: none;
    transition: opacity 0.3s;
}

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

/* Responsive pour nouvelles pages */
@media (max-width: 968px) {
    .about-intro,
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .contact-info-section {
        position: static;
    }
    
    .cookie-banner-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-banner-actions {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 5rem 2rem 2rem;
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease-out;
        z-index: 1000;
        overflow-y: auto;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid var(--border-color);
        padding: 1rem 0;
    }
    
    .nav-menu a {
        color: var(--text-color);
        width: 100%;
        display: block;
        padding: 0.5rem 0;
    }
    
    .nav-menu .cart-link {
        background: none;
        padding: 0;
    }
    
    .legal-content,
    .contact-form-section,
    .contact-info-box {
        padding: 2rem;
    }
    
    .about-content h1 {
        font-size: 2rem;
    }
    
    .lead {
        font-size: 1.1rem;
    }
    
    .filters-group {
        grid-template-columns: 1fr;
    }
    
    .search-box {
        flex-direction: column;
    }
    
    .search-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .legal-content,
    .contact-form-section,
    .contact-info-box {
        padding: 1.5rem;
    }
    
    .cookie-banner {
        padding: 1.5rem;
    }
    
    .cookie-settings-content {
        padding: 2rem;
    }
    
    .values-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* Pagination */
.pagination {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
}

.pagination-list {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    align-items: center;
    padding: 0;
    margin: 0;
}

.pagination-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0.5rem 1rem;
    background: var(--white);
    color: #6b7280;
    text-decoration: none;
    border-radius: 8px;
    border: 1px solid transparent;
    transition: all 0.3s ease;
    font-weight: 500;
    text-decoration: underline;
    text-decoration-color: transparent;
    text-underline-offset: 4px;
}

.pagination-link:hover {
    color: var(--accent-color);
    text-decoration-color: var(--accent-color);
    background: rgba(59, 130, 246, 0.05);
    transform: translateY(-1px);
}

.pagination-link.active {
    color: var(--accent-color);
    text-decoration-color: var(--accent-color);
    background: rgba(59, 130, 246, 0.1);
    font-weight: 600;
    border-color: transparent;
}

.pagination-link i {
    font-size: 0.875rem;
}

.pagination-ellipsis {
    padding: 0.5rem;
    color: #6b7280;
    display: flex;
    align-items: center;
    user-select: none;
}

@media (max-width: 768px) {
    .pagination-list {
        flex-wrap: wrap;
        gap: 0.25rem;
    }
    
    .pagination-link {
        min-width: 36px;
        height: 36px;
        padding: 0.5rem;
        font-size: 0.9rem;
    }
}
