/* ========================================
   MATHSETMOI.FR - PAGE D'ACCUEIL
   Fichier : styles/homepage.css
   ======================================== */

/* Suppression anciens éléments */
.black-background,
.background,
header:not(.new-header) {
    display: none !important;
    visibility: hidden !important;
}

/* Fond page d'accueil */
body {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Masquage chatbot par défaut */
#moa-chat,
#chat,
.chat-widget {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Bouton flottant chat */
.chat-toggle-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #007BFF 0%, #0056b3 100%);
    border: none;
    box-shadow: 0 4px 20px rgba(0, 123, 255, 0.4);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    z-index: 99999;
    transition: all 0.3s ease;
}

.chat-toggle-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(0, 123, 255, 0.6);
}

.chat-toggle-btn.active {
    background: linear-gradient(135deg, #dc3545 0%, #a71d2a 100%);
}

/* Grille 3 colonnes */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

/* Cards guides spéciales */
.guide-card {
    border: 3px solid;
}

.guide-teacher {
    border-color: #667eea;
    background: linear-gradient(135deg, #f0f3ff 0%, #e6ebff 100%);
}