
/* IntelInput.js  */
label[for="app_contactAgenceForm_telephone"] {
    position: relative !important;
    top: 0 !important;
    left: 0 !important;
}

.iti {
    display: block;
}
.iti input {
    position: relative !important;
    padding: 10px 10px 10px 50px !important;
}

/* Hero text contrast */
.glass-card h1 {
    text-shadow: 0 1px 8px rgb(0 0 0 / 61%);
}

/* Navbar scroll transitions */
#mainNavbar {
    transition: padding 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

#mainNavbar .navbar-brand-img {
    transition: max-height 0.2s ease-in-out;
}

/* ── Mobile: Public navbar ── */
@media (max-width: 991.98px) {
    /* Compact "S'inscrire" button in mobile header */
    .navbar-mobile-cta {
        font-size: 0.8rem;
        padding: 0.25rem 0.5rem;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    /* Branded text in offcanvas header */
    .navbar-mobile-brand {
        font-size: 0.95rem;
    }

    /* Offcanvas: compact header */
    #navbarOffcanvas .offcanvas-header {
        padding: 0.5rem 1rem;
        min-height: auto;
    }

    /* Offcanvas: nav items with better spacing & touch targets */
    #navbarOffcanvas .nav-link {
        padding: 0.75rem 0.5rem;
        font-size: 1rem;
        border-radius: 0.5rem;
    }

    /* Nav icon alignment */
    #navbarOffcanvas .nav-link i {
        width: 20px;
        text-align: center;
        flex-shrink: 0;
    }

    /* Touch feedback on nav items */
    #navbarOffcanvas .nav-link:active {
        background-color: rgba(0, 0, 0, 0.04);
    }

    /* Separator between nav items */
    #navbarOffcanvas .nav-item + .nav-item {
        border-top: 1px solid rgba(0, 0, 0, 0.05);
    }
}

@media (max-width: 767.98px) {
    /* Compact footer padding */
    .footer-section {
        padding-top: 2.5rem !important;
        padding-bottom: 2.5rem !important;
    }

    /* Touch feedback for footer links */
    .footer-section a:active {
        opacity: 0.7;
    }

    /* Ensure notification close button touch target */
    #message_alerte_public .btn,
    #message_nouveaute_public .btn {
        min-height: 44px;
        min-width: 44px;
    }
}
