/* ===================================
   VEILLE WIFI - STYLES PERSONNALISÉS
   =================================== */

/* Breadcrumb */
.breadcrumb {
    background: var(--bg-secondary);
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

.breadcrumb .container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--primary-color);
}

.breadcrumb span {
    color: var(--text-primary);
}

.breadcrumb i {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* Hero de la veille */
.veille-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, #667eea 100%);
    padding: 4rem 0 3rem;
    color: white;
    text-align: center;
}

.veille-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.veille-hero-title {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 1rem;
    font-weight: 700;
}

.veille-hero-subtitle {
    font-size: clamp(1rem, 3vw, 1.2rem);
    max-width: 800px;
    margin: 0 auto 2rem;
    opacity: 0.95;
    line-height: 1.6;
}

.veille-hero-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    font-size: 0.95rem;
    opacity: 0.9;
}

.veille-hero-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Table des matières */
.toc-section {
    padding: 2rem 0;
    background: var(--bg-primary);
}

.toc-card {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid var(--border-color);
}

.toc-card h3 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    font-size: 1.3rem;
}

.toc-card h3 i {
    color: var(--primary-color);
}

.toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.toc-list li {
    margin-bottom: 0.75rem;
}

.toc-list a {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    background: var(--bg-primary);
    border-radius: 8px;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.toc-list a:hover {
    border-color: var(--primary-color);
    transform: translateX(8px);
    background: var(--bg-secondary);
}

/* Contenu principal */
.veille-content {
    padding: 3rem 0;
    background: var(--bg-primary);
}

.content-section {
    margin-bottom: 4rem;
}

.content-section h2 {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--text-primary);
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--primary-color);
}

.content-section h2 i {
    color: var(--primary-color);
}

.section-intro {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.content-box {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid var(--border-color);
    line-height: 1.8;
}

.content-box p {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

/* Highlight box */
.highlight-box {
    display: flex;
    gap: 1rem;
    background: rgba(114, 137, 218, 0.1);
    border-left: 4px solid var(--primary-color);
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 1.5rem;
}

.highlight-box i {
    color: var(--primary-color);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.highlight-box p {
    margin: 0;
    color: var(--text-primary);
}

/* Versions Wi-Fi Grid */
.wifi-versions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.wifi-version-card {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 2rem;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
}

.wifi-version-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.wifi-version-card.featured {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(114, 137, 218, 0.1) 0%, rgba(102, 126, 234, 0.05) 100%);
}

.wifi-version-card.upcoming {
    opacity: 0.8;
    border-style: dashed;
}

.version-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--primary-color);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.version-badge.upcoming-badge {
    background: #667eea;
}

.version-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.version-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
}

.version-icon.wifi6e {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.version-icon.wifi7 {
    background: linear-gradient(135deg, #7289da 0%, #5865f2 100%);
    color: white;
}

.version-icon.wifi8 {
    background: linear-gradient(135deg, #a8b9ff 0%, #667eea 100%);
    color: white;
}

.version-header h3 {
    font-size: 1.5rem;
    margin: 0;
    color: var(--text-primary);
}

.version-year {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.version-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.version-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    color: var(--text-primary);
}

.version-features i {
    color: #43b581;
    font-size: 1.1rem;
}

.version-highlight {
    display: flex;
    gap: 1rem;
    background: rgba(114, 137, 218, 0.15);
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1.5rem;
    border-left: 3px solid var(--primary-color);
}

.version-highlight i {
    color: var(--primary-color);
    font-size: 1.3rem;
    flex-shrink: 0;
}

.version-highlight p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-primary);
}

/* Alert box */
.alert-box {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    border: 1px solid;
}

.alert-box.warning {
    background: rgba(250, 166, 26, 0.1);
    border-color: rgba(250, 166, 26, 0.3);
}

.alert-box i {
    font-size: 1.5rem;
    flex-shrink: 0;
    color: #faa61a;
}

.alert-box p {
    margin: 0;
    color: var(--text-primary);
    line-height: 1.6;
}

/* Threats Grid */
.threats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.threat-card {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: all 0.3s ease;
}

.threat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-color: #f04747;
}

.threat-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

.threat-icon.evil-twin {
    background: linear-gradient(135deg, #f04747 0%, #d84040 100%);
}

.threat-icon.sniffing {
    background: linear-gradient(135deg, #faa61a 0%, #f57c00 100%);
}

.threat-icon.mitm {
    background: linear-gradient(135deg, #9b59b6 0%, #8e44ad 100%);
}

.threat-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.threat-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.threat-impact {
    margin-top: 1rem;
}

.impact-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.impact-badge.critical {
    background: rgba(240, 71, 71, 0.2);
    color: #f04747;
}

.impact-badge.high {
    background: rgba(250, 166, 26, 0.2);
    color: #faa61a;
}

/* Best Practices Grid */
.best-practices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.practice-card {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 2rem;
    border: 2px solid var(--border-color);
    display: flex;
    gap: 1.5rem;
    transition: all 0.3s ease;
}

.practice-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-3px);
}

.practice-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #667eea 100%);
    color: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.practice-content h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.practice-content h3 i {
    color: var(--primary-color);
}

.practice-content p {
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Security Checklist */
.security-checklist {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid var(--border-color);
}

.security-checklist h3 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.security-checklist h3 i {
    color: var(--primary-color);
}

.security-checklist ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.security-checklist li {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    margin-bottom: 0.5rem;
    background: var(--bg-primary);
    border-radius: 8px;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.security-checklist li:hover {
    background: rgba(114, 137, 218, 0.1);
    transform: translateX(8px);
}

.security-checklist li i {
    color: #43b581;
    font-size: 1.2rem;
}

/* Sources Grid */
.sources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.source-card {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid var(--border-color);
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.source-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-color: var(--primary-color);
}

.source-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--primary-color) 0%, #667eea 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

.source-card h3 {
    font-size: 1.2rem;
    margin: 0;
    color: var(--text-primary);
}

.source-card p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
}

.source-link {
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* News Grid */
.news-grid {
    display: grid;
    gap: 2rem;
}

.news-card {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid var(--border-color);
    display: flex;
    gap: 2rem;
    transition: all 0.3s ease;
}

.news-card:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.news-date {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #667eea 100%);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
}

.news-date .day {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.news-date .month {
    font-size: 0.9rem;
    opacity: 0.9;
}

.news-content {
    flex: 1;
}

.news-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    line-height: 1.4;
}

.news-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.news-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.news-tags span {
    padding: 0.3rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.tag-security {
    background: rgba(114, 137, 218, 0.2);
    color: var(--primary-color);
}

.tag-data {
    background: rgba(67, 181, 129, 0.2);
    color: #43b581;
}

.tag-critical {
    background: rgba(240, 71, 71, 0.2);
    color: #f04747;
}

.tag-vuln {
    background: rgba(250, 166, 26, 0.2);
    color: #faa61a;
}

.tag-exploit {
    background: rgba(155, 89, 182, 0.2);
    color: #9b59b6;
}

.tag-exposure {
    background: rgba(230, 126, 34, 0.2);
    color: #e67e22;
}

.tag-ai {
    background: rgba(52, 152, 219, 0.2);
    color: #3498db;
}

.tag-bulletin {
    background: rgba(149, 165, 166, 0.2);
    color: #95a5a6;
}

.tag-ot {
    background: rgba(241, 196, 15, 0.2);
    color: #f1c40f;
}

.tag-infrastructure {
    background: rgba(46, 204, 113, 0.2);
    color: #2ecc71;
}

/* Conclusion */
.conclusion-section {
    margin-top: 4rem;
}

.conclusion-box {
    background: linear-gradient(135deg, rgba(114, 137, 218, 0.1) 0%, rgba(102, 126, 234, 0.05) 100%);
    border-radius: 12px;
    padding: 2.5rem;
    border: 2px solid var(--primary-color);
    text-align: center;
}

.conclusion-box i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.conclusion-box h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.conclusion-box p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.conclusion-box p:last-child {
    margin-bottom: 0;
}

/* Footer adjustments */
.footer-back {
    text-align: center;
    margin-bottom: 2rem;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-back:hover {
    transform: translateX(-5px);
    box-shadow: 0 5px 15px rgba(114, 137, 218, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
    .veille-hero {
        padding: 3rem 0 2rem;
    }

    .veille-hero-meta {
        gap: 1rem;
        font-size: 0.85rem;
    }

    .wifi-versions-grid,
    .threats-grid,
    .best-practices-grid,
    .sources-grid {
        grid-template-columns: 1fr;
    }

    .news-card {
        flex-direction: column;
        gap: 1rem;
    }

    .news-date {
        width: 100%;
        height: 60px;
        flex-direction: row;
        justify-content: center;
        gap: 0.5rem;
    }

    .news-date .day {
        font-size: 1.5rem;
    }

    .practice-card {
        flex-direction: column;
        text-align: center;
    }

    .practice-number {
        margin: 0 auto;
    }

    .practice-content h3 {
        justify-content: center;
    }

    .toc-card {
        padding: 1.5rem;
    }

    .content-section h2 {
        font-size: 1.5rem;
    }
}
