/* -------------------------------------------------------------------------- */
/*                                 COMPONENTS                                 */
/* -------------------------------------------------------------------------- */

/* BOUTONS */
.btn {
    display: inline-flex;
    align-items: center;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    border: 1px solid transparent;
}

.btn-blue {
    background: var(--accent-blue);
    color: white;
    box-shadow: 0 0 30px rgba(0, 153, 255, 0.35), 0 0 60px rgba(0, 153, 255, 0.15);
}

.btn-blue:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 40px rgba(0, 153, 255, 0.5);
}

.btn-green {
    background: var(--accent-green);
    color: white;
}

.btn-green:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(0, 194, 124, 0.35);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border-glass);
    color: var(--text-primary);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--text-primary);
}

.btn-large {
    padding: 20px 40px;
    font-size: 1.2rem;
}

/* CARDS GLASSMORPHISM */
.glass, .glass-card {
    background: rgba(15, 22, 41, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    padding: 30px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.glass:hover, .glass-card:hover {
    border-color: rgba(0, 153, 255, 0.4);
}

/* NAVBAR */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.4s ease;
}

.navbar-scrolled {
    background: rgba(15, 22, 41, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-glass);
    padding: 12px 0;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-logo {
    display: flex;
    align-items: center;
    font-family: var(--font-titles);
    font-size: 1.5rem;
    font-weight: 800;
}

.logo-w {
    color: var(--accent-blue);
    margin-right: 2px;
}

.nav-list {
    display: flex;
    gap: 30px;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.nav-link:hover, .nav-link.active {
    color: var(--text-primary);
}

.nav-cta-mobile { display: none; }
.mobile-nav-toggle { display: none !important; }

/* FOOTER */
.footer {
    padding: 100px 0 60px;
    background: var(--bg-sections-alt);
    border-top: 1px solid var(--border-glass);
    margin-top: 120px;
    margin-bottom: 40px; /* Ajout d'une marge sous le footer */
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 80px;
    margin-bottom: 60px;
}

.footer-brand .logo {
    margin-bottom: 20px;
}

.footer-brand .logo img {
    height: 40px;
}

.footer-list {
    margin-top: 15px;
}

.footer-title {
    font-size: 1.1rem;
    margin-bottom: 25px;
    color: var(--text-primary);
}

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

.footer-links a, .footer-legal a {
    color: var(--text-secondary);
}

.footer-links a:hover, .footer-legal a:hover {
    color: var(--accent-blue);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 0; /* Padding haut et bas pour plus de respiration */
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* BADGE DISPONIBLE */
.available-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    background: rgba(0, 153, 255, 0.08);
    border: 1px solid var(--border-glass);
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--text-primary);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent-green);
    border-radius: 50%;
    position: relative;
}

.pulse-dot::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: var(--accent-green);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(3); opacity: 0; }
}

/* RESPONSIVE NAVBAR */
@media (max-width: 992px) {
    .nav-list { display: none; }
    .navbar-actions { display: none; }
    .mobile-nav-toggle {
        display: block !important;
        background: none;
        border: none;
        cursor: pointer;
        z-index: 1200;
    }
    .burger span {
        display: block;
        width: 25px;
        height: 2px;
        background: var(--text-primary);
        margin: 6px 0;
        transition: 0.3s;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}
