/**
 * Platform Web - Styles spécifiques
 * Styles pour le site web public platform_web
 */

/* Import des styles spécifiques aux pages */
@import url('./pages/index.css');
@import url('./pages/features.css');
@import url('./pages/quote.css');
@import url('./pages/about.css');
@import url('./pages/contact.css');

/* ============================================
   BODY & MAIN CONTENT
   ============================================ */

.musto-body {
    font-family: var(--font-family-primary);
    color: var(--color-gray-900);
    background-color: var(--color-white);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.musto-main-content {
    flex: 1;
    padding-top: var(--header-height);
}

/* ============================================
   MESSAGES CONTAINER
   ============================================ */

.musto-messages-container {
    position: fixed;
    top: calc(var(--header-height) + var(--spacing-4));
    right: var(--spacing-4);
    z-index: var(--z-index-modal);
    max-width: 400px;
    width: 100%;
}

.musto-messages-container .musto-alert {
    margin-bottom: var(--spacing-2);
    box-shadow: var(--shadow-lg);
}

/* ============================================
   BACK TO TOP BUTTON
   ============================================ */

.musto-btn-back-to-top {
    position: fixed;
    bottom: var(--spacing-6);
    right: var(--spacing-6);
    width: 50px;
    height: 50px;
    background-color: var(--color-primary);
    color: var(--color-white);
    border: none;
    border-radius: var(--border-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-base) var(--ease-in-out);
    z-index: var(--z-index-fixed);
    box-shadow: var(--shadow-lg);
}

.musto-btn-back-to-top:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.musto-btn-back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.musto-btn-back-to-top i {
    font-size: var(--font-size-lg);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 767.98px) {
    .musto-messages-container {
        left: var(--spacing-4);
        right: var(--spacing-4);
        max-width: none;
    }
    
    .musto-btn-back-to-top {
        width: 45px;
        height: 45px;
        bottom: var(--spacing-4);
        right: var(--spacing-4);
    }
}

