:root {
    --primary: #0d6efd;
    --secondary: #6c757d;
    --bg-light-custom: #f8f9fa;
}

/* Header */
header.header {
    background: #fff;
    padding: 15px 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.logo img {
    height: 80px;
    object-fit: contain;
}

header .text-center h2 {
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 0.25rem;
    font-size: 1.6rem;
}

header .text-center p {
    font-style: italic;
    font-size: 1rem;
    margin: 0;
    color: var(--secondary);
}

/* Navbar */
.navbar-custom {
    background-color: var(--primary);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    border-radius: 0 0 12px 12px;
    margin-bottom: 1rem;
}

.navbar-custom .navbar-nav .btn {
    background-color: transparent;
    color: white;
    border: 1px solid white;
    border-radius: 6px;
    padding: 6px 14px;
    margin: 4px 6px;
    font-weight: 600;
    transition: background-color 0.25s ease, box-shadow 0.25s ease;
}

.navbar-custom .navbar-nav .btn:hover {
    background-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.navbar-toggler {
    border: none;
}

.navbar-toggler-icon {
    display: inline-block;
    width: 24px;
    height: 2px;
    background-color: white;
    position: relative;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: white;
    left: 0;
}

.navbar-toggler-icon::before {
    top: -7px;
}

.navbar-toggler-icon::after {
    top: 7px;
}

/* Bandeau publicitaire */
#publicity-banner {
    background: linear-gradient(90deg, rgba(255, 204, 0, 0.9), rgba(255, 153, 0, 0.9));
    color: white;
    font-weight: 600;
    font-size: 1rem;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.4);
    padding: 12px 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 0 1rem 1rem 1rem;
    flex-wrap: wrap;
}

#publicity-banner img {
    width: 45px;
    height: 45px;
    object-fit: contain;
}

.scrolling-text {
    overflow: hidden;
    white-space: nowrap;
    flex: 1;
}

.scrolling-text span {
    display: inline-block;
    padding-left: 100%;
    animation: scroll-left 15s linear infinite;
}

@keyframes scroll-left {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-100%);
    }
}

/* Responsive */
@media (max-width: 768px) {
    header.header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    header .text-center {
        order: 2;
    }

    header .d-flex.gap-2 {
        justify-content: center;
        order: 3;
        margin-top: 10px;
    }

    #publicity-banner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .scrolling-text span {
        animation-duration: 10s;
        font-size: 0.95rem;
    }
}
