/* ==========================================
   COMPONENTS.CSS - Galy-TV Theme
   ========================================== */

/* ==========================================
   HEADER - Mobile First
   ========================================== */
.welcome-bar {
    background: var(--gradient-primary);
    padding: 10px 0;
    color: white;
    font-size: 12px;
    text-align: center;
}

.welcome-bar-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.welcome-close {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 5px;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-img {
    height: 35px;
    width: auto;
}

.main-nav .nav-menu {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-menu a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
}

.nav-menu a:hover,
.nav-menu .active a {
    color: var(--accent-primary);
}

.desktop-nav,
.header-cta {
    display: none;
}

.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

/* ==========================================
   MOBILE NAV
   ========================================== */
.mobile-nav-panel {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    background: white;
    z-index: 2000;
    transition: right 0.3s ease;
    padding: 20px;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
}

.mobile-nav-panel.active {
    right: 0;
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.mobile-nav-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

.mobile-nav-menu li {
    margin-bottom: 15px;
}

.mobile-nav-menu a {
    display: block;
    padding: 12px 0;
    font-size: 16px;
    font-weight: 500;
    border-bottom: 1px solid var(--border-color);
}

.mobile-cta {
    margin-top: 30px;
    width: 100%;
    text-align: center;
}

.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ==========================================
   FOOTER - Mobile First
   ========================================== */
.site-footer {
    background: var(--bg-footer);
    color: rgba(255, 255, 255, 0.8);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 40px;
    text-align: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 15px;
}

.footer-logo .logo-text {
    color: white;
}

.footer-description {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--accent-primary);
    transform: translateY(-3px);
}

.footer-title {
    color: white;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-links a:hover {
    color: var(--accent-primary);
}

.footer-trust {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 25px;
}

.trust-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 12px;
}

.trust-item i {
    color: var(--accent-primary);
    font-size: 18px;
}

.footer-bottom {
    text-align: center;
}

.footer-bottom p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 5px;
}

.footer-disclaimer {
    font-size: 11px !important;
}

/* ==========================================
   WHATSAPP FLOAT & STICKY - Mobile First
   ========================================== */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 55px;
    height: 55px;
    background: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 998;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5);
}

.whatsapp-tooltip {
    display: none;
}

/* Mobile WhatsApp Bar */
.whatsapp-mobile-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #25d366;
    padding: 14px 20px;
    z-index: 999;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
}

.whatsapp-mobile-bar a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: white;
    font-weight: 600;
    font-size: 15px;
}

.whatsapp-mobile-bar i {
    font-size: 22px;
}

/* Padding bottom pour le contenu mobile */
body {
    padding-bottom: 65px;
}

/* Scroll to Top */
.scroll-to-top {
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: var(--accent-primary);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 997;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: var(--accent-hover);
    transform: translateY(-3px);
}

/* ==========================================
   RESPONSIVE - Tablet
   ========================================== */
@media (min-width: 768px) {
    .welcome-bar {
        font-size: 14px;
    }
    
    .header-inner {
        padding: 15px 0;
    }
    
    .logo-img {
        height: 40px;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        text-align: left;
    }
    
    .footer-logo,
    .footer-social {
        justify-content: flex-start;
    }
    
    .footer-trust {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .trust-item {
        font-size: 14px;
    }
    
    body {
        padding-bottom: 0;
    }
    
    .whatsapp-mobile-bar {
        display: none;
    }
    
    .whatsapp-float {
        display: flex;
        bottom: 30px;
        right: 30px;
        width: 60px;
        height: 60px;
        font-size: 30px;
    }
    
    .scroll-to-top {
        bottom: 100px;
        right: 30px;
        width: 45px;
        height: 45px;
    }
}

/* ==========================================
   RESPONSIVE - Desktop
   ========================================== */
@media (min-width: 992px) {
    .desktop-nav,
    .header-cta {
        display: flex;
    }
    
    .mobile-menu-toggle {
        display: none;
    }
    
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
        gap: 40px;
    }
    
    .site-footer {
        padding: 80px 0 30px;
    }
    
    /* WhatsApp tooltip desktop */
    .whatsapp-tooltip {
        display: block;
        position: absolute;
        right: 70px;
        background: white;
        color: var(--text-primary);
        padding: 8px 15px;
        border-radius: 8px;
        font-size: 13px;
        font-weight: 500;
        white-space: nowrap;
        box-shadow: var(--shadow-sm);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }
    
    .whatsapp-float:hover .whatsapp-tooltip {
        opacity: 1;
        visibility: visible;
    }
}

