/* ============================================ */
/* STYLES TEKNALAB.AI                          */
/* ============================================ */

/* Utilitaires Personnalisés */
.glass-nav {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
}

.glass-card-dark {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
}

/* Dégradé de Texte Héros */
.text-gradient {
    background: linear-gradient(to right, #2563eb, #0891b2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Arrière-plan Maillage */
.mesh-bg {
    background-color: #0f172a;
    background-image: 
        radial-gradient(at 0% 0%, hsla(222,67%,25%,1) 0, transparent 50%), 
        radial-gradient(at 100% 0%, hsla(243,50%,20%,1) 0, transparent 50%), 
        radial-gradient(at 100% 100%, hsla(199,50%,20%,1) 0, transparent 50%), 
        radial-gradient(at 0% 100%, hsla(222,60%,20%,1) 0, transparent 50%);
}
/* ============================================ */
/* STYLES PUBLICITAIRES (GOOGLE AD MANAGER)    */
/* ============================================ */

/* Conteneur principal de la publicité */
.gam-ad-container {
    background-color: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    margin: 0 auto;
    max-width: 100%;
    width: 100%;
    text-align: center;
    transition: all 0.3s ease;
    overflow: hidden;
}

/* Hover effect subtil */
.gam-ad-container:hover {
    transform: scale(1.005);
}

/* Label "Publicité" */
.gam-ad-label {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #94a3b8;
    margin-bottom: 0.75rem;
    padding: 0.25rem 0.75rem;
    background-color: #f1f5f9;
    border-radius: 0.375rem;
}

/* Espace publicitaire */
.gam-ad-slot {
    display: block;
    width: 100%;
    min-height: 200px;
    background-color: transparent;
}

/* Image placeholder par défaut */
.gam-placeholder-image {
    transition: all 0.4s ease;
    opacity: 1;
    cursor: pointer;
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.gam-placeholder-image:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* Message de chargement */
.gam-ad-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 90px;
    color: #cbd5e1;
    font-size: 0.875rem;
}

/* Animation de chargement */
.gam-ad-loading::after {
    content: '';
    display: inline-block;
    width: 1rem;
    height: 1rem;
    margin-left: 0.5rem;
    border: 2px solid #e2e8f0;
    border-top-color: #2563eb;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

/* Responsive - Mobile */
@media (max-width: 768px) {
    .gam-ad-container {
        max-width: 100%;
        padding: 0;
        margin: 0 auto;
    }
    
    .gam-ad-slot {
        min-height: 400px;
    }
}

/* Mode sombre (optionnel, pour futures extensions) */
@media (prefers-color-scheme: dark) {
    .gam-ad-container {
        background-color: rgba(15, 23, 42, 0.5);
        border-color: rgba(51, 65, 85, 0.5);
    }
    
    .gam-ad-label {
        background-color: rgba(15, 23, 42, 0.7);
        color: #64748b;
    }
}