/* Base : typo globale, logo, sticky-banner, utilitaires — chargé sur toutes les pages */

body {
	font-family: 'Montserrat', sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.5;
}
a, a:hover, a:active, a:focus {
	text-decoration: none;
	outline: 0;
}

/* Logo */
.logo img {
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3), 0 6px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease-in-out;
}

#Header .site-logo-wrap .logo img {
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3), 0 6px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease-in-out;
}

#Header.header-fixed .site-logo-wrap .logo img {
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3), 0 6px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease-in-out;
}

.page-content {
    margin-top: 80px;
}

/* Nav links inline display (override Bootstrap .nav-link display:block) */
.nav-links .nav-link {
	display: inline-block;
	padding: 5px 10px;
}

/* Sticky Banner (toutes pages) */
.sticky-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0.95);
    padding: 15px 0;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.5);
}

/* Sur l'index, la navbar garde un fond semi-opaque */
body[data-spy] .sticky-banner {
    background-color: rgba(0, 0, 0, 0.75);
}

.sticky-banner a {
    color: #fff;
    text-decoration: none;
    margin: 0 15px;
    font-weight: 500;
}

.sticky-banner .logo img {
    height: 40px;
    width: auto;
    transition: all 0.3s ease-in-out;
}

.sticky-banner .nav-link:hover {
    color: #3f8ec1;
    text-decoration: none;
}

.sticky-banner .nav-link.active {
    color: #3f8ec1 !important;
    font-weight: 700;
    border-bottom: 2px solid #3f8ec1;
}

/* Bouton back-to-top */
#btn-back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    display: none;
    z-index: 1001;
    background: linear-gradient(135deg, #606060, #808080);
    border: none;
    border-radius: 50px;
    width: 56px;
    height: 56px;
    box-shadow: 0 8px 25px rgba(128, 128, 128, 0.3);
    transition: all 0.3s ease;
}

#btn-back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(128, 128, 128, 0.4);
    background: linear-gradient(135deg, #505050, #606060);
}

/* Utilitaires (remplacent les styles inline) */
.hidden {
    display: none;
}

.flex-container {
    display: flex;
    gap: 12px;
    align-items: center;
}

.results-info-inline {
    margin: 0;
}

.price-tag-small {
    font-size: 0.7em;
    opacity: 0.9;
}

.iframe-centered {
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
}

.iframe-lightwidget {
    width: 100%;
    border: 0;
    overflow: hidden;
}

/* Responsive */
@media (max-width: 768px) {
    .page-content {
        margin-top: 0;
        padding-top: 80px;
    }

    /* Fond plein sur mobile : évite l'effet deux tons lorsque la navbar
       wrappée chevauche le voile bleu de .hero-content */
    .sticky-banner,
    body[data-spy] .sticky-banner {
        background-color: rgba(0, 0, 0, 0.95);
        padding: 8px 0;
    }
    .sticky-banner .row {
        flex-wrap: nowrap;
        align-items: center;
        margin: 0;
    }
    .sticky-banner .col-md-3 {
        flex: 0 0 auto;
        width: auto;
        padding: 0 8px 0 0;
    }
    .sticky-banner .col-md-9 {
        flex: 1 1 auto;
        width: auto;
        padding: 0;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-evenly;
        align-items: center;
        row-gap: 2px;
        text-align: center;
    }
    .sticky-banner .logo img {
        height: 28px;
    }
    .sticky-banner .text-right {
        text-align: center !important;
        margin-top: 0;
    }
    .sticky-banner .nav-link,
    .sticky-banner a:not(.logo) {
        margin: 0;
        padding: 3px 4px;
        font-size: 12px;
        white-space: nowrap;
    }
}
