/* Overlay de blocage mobile */
#mobile-block-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(135deg, rgba(0, 69, 84, 0.95) 0%, rgba(0, 45, 55, 0.98) 100%);
    backdrop-filter: blur(10px);
    z-index: 80;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    overflow: hidden;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

/* Empêcher le scroll sur le body quand l'overlay est actif */
body.mobile-blocked {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
}

.mobile-logo {
    width: 90%;
    height: auto;
    margin-bottom: 30px;
    position: relative;
    z-index: 81;
}

.mobile-block-content {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 40px 30px;
    max-width: 400px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    text-align: center;
    animation: slideInUp 0.5s ease-out;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-block-header {
    margin-bottom: 30px;
}

.mobile-block-header h1 {
    font-size: 1.8rem;
    color: #004554;
    margin: 0;
    font-weight: 600;
    line-height: 1.2;
    text-shadow: none;
}

.mobile-block-message {
    margin-bottom: 30px;
    text-align: left;
}

.mobile-block-message p {
    font-size: 1rem;
    color: #333;
    margin: 0 0 15px 0;
    line-height: 1.5;
}

.mobile-block-message p:last-child {
    margin-bottom: 0;
    font-weight: 600;
    color: #004554;
}

.mobile-block-contact {
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    text-align: left;
    padding: 15px;
    background: rgba(0, 69, 84, 0.05);
    border-radius: 10px;
    border-left: 4px solid #e74c3c;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-item .material-symbols-outlined {
    color: #e74c3c;
    font-size: 24px;
    margin-right: 15px;
    margin-top: 2px;
    flex-shrink: 0;
}

.contact-item div {
    flex: 1;
}

.contact-item strong {
    display: block;
    color: #004554;
    font-size: 0.9rem;
    margin-bottom: 5px;
    font-weight: 600;
}

.contact-item a {
    color: #e74c3c;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    display: block;
    margin-bottom: 5px;
}

.contact-item a:hover {
    text-decoration: underline;
}

.contact-item a:last-child {
    margin-bottom: 0;
}

.contact-item p {
    color: #333;
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.4;
}

.mobile-block-footer {
    text-align: center;
}

.mobile-block-footer p {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
    font-style: italic;
}

/* Responsive pour petits écrans */
@media screen and (max-width: 480px) {
    .mobile-logo {
        margin-bottom: 20px;
    }
    
    .mobile-block-content {
        padding: 30px 20px;
        margin: 10px;
    }
    
    .mobile-block-header h1 {
        font-size: 1.5rem;
    }
    
    .contact-item {
        padding: 12px;
    }
    
    .contact-item .material-symbols-outlined {
        font-size: 20px;
        margin-right: 12px;
    }
}

/* Responsive pour écrans très petits */
@media screen and (max-height: 600px) {
    #mobile-block-overlay {
        padding: 10px;
    }
    
    .mobile-logo {
        margin-bottom: 15px;
    }
    
    .mobile-block-content {
        padding: 20px 15px;
        max-height: 60vh;
        overflow-y: auto;
    }
    
    .mobile-block-header {
        margin-bottom: 15px;
    }
    
    .mobile-block-header h1 {
        font-size: 1.3rem;
    }
    
    .mobile-block-message,
    .mobile-block-contact {
        margin-bottom: 15px;
    }
    
    .contact-item {
        padding: 10px;
        margin-bottom: 10px;
    }
} 