/* Page Veille Technologique - Thème Bleu */

/* Section principale */
.veille-section {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.95) 0%, rgba(118, 75, 162, 0.95) 100%),
                url('https://images.unsplash.com/photo-1434030216411-0b793f4b4173?w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

/* S'assurer que le container est au-dessus des images */
.veille-section .container {
    position: relative;
    z-index: 5;
}

/* Ajouter des éléments décoratifs flottants - Images comme page principale */
.veille-section::before {
    content: '';
    position: absolute;
    top: 15%;
    right: 8%;
    width: 300px;
    height: 300px;
    background: url('https://images.unsplash.com/photo-1517694712202-14dd9538aa97?w=600&q=80');
    background-size: cover;
    border-radius: 40% 60% 60% 40% / 50% 40% 60% 50%;
    opacity: 0.25;
    z-index: 0;
    pointer-events: none;
}

.veille-section::after {
    content: '';
    position: absolute;
    bottom: 15%;
    left: 5%;
    width: 250px;
    height: 250px;
    background: url('https://images.unsplash.com/photo-1555066931-4365d14bab8c?w=600&q=80');
    background-size: cover;
    border-radius: 60% 40% 40% 60% / 60% 50% 50% 40%;
    opacity: 0.2;
    z-index: 0;
    pointer-events: none;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-30px) rotate(5deg);
    }
}

/* Images décoratives supplémentaires */
.veille-intro {
    position: relative;
    z-index: 10;
}

.veille-intro::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -15%;
    width: 280px;
    height: 280px;
    background: url('https://images.unsplash.com/photo-1498050108023-c5249f4df085?w=600&q=80');
    background-size: cover;
    border-radius: 50% 50% 40% 60% / 40% 60% 40% 60%;
    opacity: 0.15;
    z-index: -1;
    pointer-events: none;
}

.veille-domains {
    position: relative;
    z-index: 10;
}

.veille-domains::before {
    content: '';
    position: absolute;
    top: 30%;
    right: -15%;
    width: 320px;
    height: 320px;
    background: url('https://images.unsplash.com/photo-1461749280684-dccba630e2f6?w=600&q=80');
    background-size: cover;
    border-radius: 40% 60% 50% 50% / 60% 40% 60% 40%;
    opacity: 0.18;
    z-index: -1;
    pointer-events: none;
}

.veille-domains::after {
    content: '';
    position: absolute;
    bottom: 20%;
    left: -18%;
    width: 290px;
    height: 290px;
    background: url('https://images.unsplash.com/photo-1484417894907-623942c8ee29?w=600&q=80');
    background-size: cover;
    border-radius: 30% 70% 70% 30% / 70% 30% 30% 70%;
    opacity: 0.22;
    z-index: -1;
    pointer-events: none;
}

.veille-sources {
    position: relative;
    z-index: 10;
}

.veille-sources::before {
    content: '';
    position: absolute;
    top: -15%;
    right: -12%;
    width: 310px;
    height: 310px;
    background: url('https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?w=600&q=80');
    background-size: cover;
    border-radius: 60% 40% 60% 40% / 50% 50% 50% 50%;
    opacity: 0.16;
    z-index: -1;
    pointer-events: none;
}

.recent-discoveries {
    position: relative;
    z-index: 10;
}

.recent-discoveries::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -12%;
    width: 260px;
    height: 260px;
    background: url('https://images.unsplash.com/photo-1550751827-4bd374c3f58b?w=600&q=80');
    background-size: cover;
    border-radius: 70% 30% 30% 70% / 30% 70% 70% 30%;
    opacity: 0.2;
    z-index: -1;
    pointer-events: none;
}

/* En-tête */
.veille-header {
    text-align: center;
    margin-bottom: 60px;
    color: white;
    position: relative;
    z-index: 1;
}

.veille-header h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    color: white;
}

.veille-header p {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Introduction */
.veille-intro {
    margin-bottom: 80px;
}

.intro-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 25px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    text-align: center;
    border: 3px solid rgba(0, 153, 255, 0.3);
    position: relative;
    z-index: 15;
}

.intro-card h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 1.5rem;
}

.intro-card p {
    font-size: 1.1rem;
    color: #444;
    line-height: 1.8;
    margin: 0;
}

/* Domaines de veille */
.veille-domains {
    margin-bottom: 80px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    text-shadow: 0 3px 15px rgba(0, 0, 0, 0.3);
}

.domain-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid rgba(0, 153, 255, 0.2);
    height: 100%;
    position: relative;
    z-index: 15;
}

.domain-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(108, 92, 231, 0.3);
    border-color: #667eea;
}

.domain-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
    color: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.cybersecurity-icon { background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%); }
.ai-icon { background: linear-gradient(135deg, #a78bfa 0%, #8b5cf6 100%); }
.web-icon { background: linear-gradient(135deg, #10b981 0%, #059669 100%); }
.cloud-icon { background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%); }
.data-icon { background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%); }
.network-icon { background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%); }

.domain-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 1rem;
}

.domain-card p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.domain-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.domain-tags .tag {
    background: rgba(0, 153, 255, 0.1);
    color: #0099ff;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Sources de veille */
.veille-sources {
    margin-bottom: 80px;
}

.sources-category {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border: 2px solid rgba(0, 153, 255, 0.2);
    height: 100%;
    position: relative;
    z-index: 15;
}

.sources-category h3 {
    color: #0066cc;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.sources-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.source-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    background: rgba(0, 153, 255, 0.05);
    border-radius: 12px;
    color: #0066cc;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 153, 255, 0.1);
}

.source-link:hover {
    background: #0099ff;
    color: white;
    transform: translateX(5px);
}

/* Découvertes récentes */
.recent-discoveries {
    margin-bottom: 60px;
}

.discovery-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border: 2px solid rgba(0, 153, 255, 0.2);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    z-index: 15;
}

.discovery-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 153, 255, 0.25);
}

.discovery-date {
    background: linear-gradient(135deg, #0099ff 0%, #0066cc 100%);
    color: white;
    padding: 6px 15px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1rem;
}

.discovery-card h4 {
    color: #0066cc;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.discovery-card p {
    color: #555;
    line-height: 1.6;
    margin: 0;
}

/* Bouton retour */
.back-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: white;
    color: #0099ff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 1000;
    text-decoration: none;
    font-size: 1.5rem;
}

.back-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 40px rgba(0, 153, 255, 0.4);
    color: #0099ff;
}

/* Masquer les images de fond sur mobile */
@media (max-width: 991px) {
    .veille-section {
        background: linear-gradient(135deg, rgba(102, 126, 234, 0.95) 0%, rgba(118, 75, 162, 0.95) 100%) !important;
        background-attachment: scroll !important;
    }
    
    .veille-section::before,
    .veille-section::after,
    .veille-intro::before,
    .veille-domains::before,
    .veille-domains::after,
    .veille-sources::before,
    .recent-discoveries::before {
        display: none !important;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .veille-header h1 {
        font-size: 2rem;
    }
    
    .veille-header p {
        font-size: 1.1rem;
    }
    
    .intro-card {
        padding: 2rem;
    }
    
    .intro-card h2 {
        font-size: 1.5rem;
    }
    
    .domain-card {
        padding: 2rem 1.5rem;
    }
    
    .domain-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .sources-category {
        padding: 2rem 1.5rem;
    }
    
    .discovery-card {
        padding: 1.5rem;
    }
    
    .back-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        bottom: 20px;
        right: 20px;
    }
    
    /* Cacher toutes les images décoratives sur mobile */
    .veille-section::before,
    .veille-section::after,
    .veille-intro::before,
    .veille-domains::before,
    .veille-domains::after,
    .veille-sources::before,
    .recent-discoveries::before {
        display: none;
    }
}

/* S'assurer que le contenu est visible */
.reveal {
    opacity: 1 !important;
    transform: translateY(0) !important;
    visibility: visible !important;
}
