
/****************************/
.newsletter-section {
    position: relative;
    background: url(../images/6320287.jpg) center / cover no-repeat;
    padding: 40px 30px;
    border-radius: 20px;
    color: #fff;
    margin: 0 auto;
    width: 100%;
    max-width: 850px;
    overflow: hidden;
    top: 90px;
    z-index: 54;
}

.newsletter-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgb(117 81 71 / 89%);
    border-radius: 20px;
    z-index: 1;
}

.newsletter-section * {
    position: relative;
    z-index: 2;
}

.newsletter-form {
    display: flex;
    gap: 0;         
    width: 100%;
    max-width: 450px;  
}

/* Input */
.newsletter-form input[type="email"] {
    height: 45px;
    border: none;
    padding: 0 12px;
    
    border-radius: 6px 0 0 6px; 
    flex: 1;  
}

/* Button */
.newsletter-form button {
    height: 45px;
    padding: 0 25px;
    border: none;
    background-color: #F26822;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
    transition: 0.2s;

    border-radius: 0 6px 6px 0; 
}


.newsletter-section h2 {
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .newsletter-section {
        top: -40px;
        padding: 25px 20px;
        text-align: center;
    }

    .newsletter-section h2 {
        font-size: 26px;
    }

    .newsletter-section input[type="email"] {
        max-width: 100%;
        margin-bottom: 10px;
    }

    .newsletter-section button {
        width: 100%;
    }
}



/* ==========================================
   NEWSLETTER SECTION - FOOTER (RESPONSIVE FIXED)
   ========================================== */

.newsletter-section {
    position: relative;
    background: url(../images/6320287.jpg) center / cover no-repeat;
    padding: 50px 40px;
    border-radius: 20px;
    color: #fff;
    /*margin: 0 auto 60px;*/
    width: 90%;
    max-width: 850px;
    overflow: hidden;
    z-index: 54;
}

.newsletter-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgb(117 81 71 / 89%);
    border-radius: 20px;
    z-index: 1;
}

.newsletter-section * {
    position: relative;
    z-index: 2;
}

.newsletter-section h2 {
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 25px;
    line-height: 1.3;
}

.newsletter-section p {
    font-size: 16px;
    margin-bottom: 25px;
    opacity: 0.95;
}

.newsletter-form {
    display: flex;
    gap: 0;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input[type="email"] {
    height: 50px;
    border: none;
    padding: 0 20px;
    border-radius: 6px 0 0 6px;
    flex: 1;
    font-size: 15px;
}

.newsletter-form input[type="email"]:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(242, 104, 34, 0.3);
}

.newsletter-form button {
    height: 50px;
    padding: 0 30px;
    border: none;
    background-color: #F26822;
    color: #fff;
    font-weight: bold;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s;
    border-radius: 0 6px 6px 0;
    white-space: nowrap;
}

.newsletter-form button:hover {
    background-color: #d95a1a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(242, 104, 34, 0.4);
}

/* ==========================================
   RESPONSIVE STYLES
   ========================================== */

/* Tablettes (768px - 991px) */
@media (max-width: 991px) {
    .navbar-custom {
        padding: 0.5rem 1rem;
        background: linear-gradient(to bottom, rgb(0 0 0 / 93%), rgb(0 0 0)) !important;
        position: fixed !important;
        top: -5px;
        width: 100% !important;
        z-index: 1000;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }

    .navbar-brand {
        font-size: 1.2rem !important;
    }

    .navbar-brand img {
        max-height: 140px;
    }

    .navbar-nav {
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid rgba(255,255,255,0.1);
    }

    .navbar-nav .nav-link {
        padding: 0.75rem 0 !important;
        margin: 0;
        border-bottom: none;
        border-left: 3px solid transparent;
        padding-left: 1rem !important;
    }

    .navbar-nav .nav-link:hover,
    .navbar-nav .nav-link.active {
        /* border-left-color: var(--primary-color); */
        border-bottom: none;
        background: rgba(209, 135, 114, 0.1);
    }

    .navbar-icons {
        gap: 1rem !important;
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid rgba(255,255,255,0.1);
        justify-content: center;
    }

    .sub-menu-alt,
    .dropdown-submenu > .sub-menu-alt {
        position: static;
        box-shadow: none;
        margin-left: 1rem;
        border-left: 2px solid var(--primary-color);
    }

    .newsletter-section {
        width: 95%;
        padding: 40px 30px;
        margin-top: 30px;
        margin-bottom: 0px;
    }

    .newsletter-section h2 {
        font-size: 32px;
    }

    .newsletter-form {
        max-width: 100%;
    }

    .slider-nav {
        position: absolute;
        top: 75%;
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        z-index: 10;
        padding: 1.5rem 2rem;
        transform: translateY(-50%);
        background-color: rgb(0 0 0 / 21%);
    }

    .map-container svg{
        width: 350px !important;
    }

    .footer-custom .col-md-3 .col-md-4{
        margin-left: 0px !important;
    }
}

/* Mobile (768px et moins) */
@media (max-width: 768px) {
    .top-bar {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }

    .top-bar .container-fluid {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .top-bar-left,
    .top-bar-right {
        justify-content: center;
        width: 100%;
        gap: 0.5rem;
    }

    .navbar-custom {
        padding: 0.5rem 1rem;
        background: linear-gradient(to bottom, rgb(0 0 0 / 93%), rgb(0 0 0)) !important;
        position: fixed !important;
        top: 0;
        width: 100% !important;
        z-index: 1000;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }

    .navbar-brand {
        font-size: 1.1rem !important;
    }

    .navbar-brand img {
        max-height: 135px;
    }

    .navbar-nav .nav-link {
        font-size: 0.9rem;
        padding: 0.6rem 0 !important;
    }

    .newsletter-section {
        width: 95%;
        padding: 30px 20px;
        text-align: center;
        border-radius: 15px;
                margin-top: 30px;
        margin-bottom: 0px;
    }

    .newsletter-section h2 {
        font-size: 26px;
        margin-bottom: 15px;
    }

    .newsletter-section p {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .newsletter-form {
        flex-direction: column;
        gap: 10px;
        max-width: 100%;
    }

    .newsletter-form input[type="email"] {
        width: 100%;
        border-radius: 6px;
        height: 45px;
    }

    .newsletter-form button {
        width: 100%;
        border-radius: 6px;
        height: 45px;
    }

    .slider-nav {
        position: absolute;
        top: 75%;
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        z-index: 10;
        padding: 1.5rem 2rem;
        transform: translateY(-50%);
        background-color: rgb(0 0 0 / 21%);
    }

    .map-container svg{
        width: 350px !important;
    }

    .footer-custom .col-md-3:nth-child(2),
    .footer-custom .col-md-4 {
        padding-left: 1rem !important;
        margin-top: 0rem !important;
    }

    .footer-custom .col-md-3 .fw-bold,
    .footer-custom .col-md-4 .fw-bold{
        margin-top: 1rem !important;
    }

    .secteurs-section {
        padding: 8rem 0;
    }
}

/* Petits mobiles (480px et moins) */
@media (max-width: 480px) {
    .top-bar {
        padding: 0.4rem;
    }

    .top-bar-left,
    .top-bar-right {
        font-size: 0.75rem;
    }

    .top-bar-right a {
        width: 28px;
        height: 28px;
        font-size: 0.85rem;
    }

    .navbar-custom {
        padding: 0.4rem 0.5rem;
        background: linear-gradient(to bottom, rgb(0 0 0 / 93%), rgb(0 0 0)) !important;
        position: fixed !important;
        top: -5px;
        width: 100% !important;
        z-index: 1000;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }

    .navbar-brand {
        font-size: 1rem !important;
    }

    .navbar-brand img {
        max-height: 130px;
    }

    .navbar-nav .nav-link {
        font-size: 0.85rem;
    }

    .navbar-icons {
        flex-wrap: wrap;
        gap: 0.8rem !important;
    }

    .newsletter-section {
        width: 100%;
        padding: 25px 15px;
        border-radius: 10px;
        margin-top: 30px;
        margin-bottom: 0px;
    }

    .newsletter-section h2 {
        font-size: 22px;
        margin-bottom: 12px;
    }

    .newsletter-section p {
        font-size: 13px;
        margin-bottom: 15px;
    }

    .newsletter-form input[type="email"],
    .newsletter-form button {
        height: 42px;
        font-size: 14px;
        padding: 5px;
    }

    .newsletter-form button {
        padding: 0 20px;
    }

    .slider-nav {
        position: absolute;
        top: 75%;
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        z-index: 10;
        padding: 1.5rem 2rem;
        transform: translateY(-50%);
        background-color: rgb(0 0 0 / 21%);
    }

    .map-container svg{
        width: 350px !important;
    }

    .footer-custom .col-md-3:nth-child(2),
    .footer-custom .col-md-4 {
        padding-left: 1rem !important;
        margin-top: 0rem !important;
    }
    .footer-custom .col-md-3 .fw-bold,
    .footer-custom .col-md-4 .fw-bold{
        margin-top: 1rem !important;
    }

    .secteurs-section {
        padding: 8rem 0;
    }
}

/* Très petits écrans (360px et moins) */
@media (max-width: 360px) {
    .top-bar {
        font-size: 0.7rem;
    }

    .navbar-brand {
        font-size: 0.9rem !important;
    }

    .newsletter-section h2 {
        font-size: 20px;
    }

    .newsletter-section p {
        font-size: 12px;
    }

    .newsletter-form input[type="email"],
    .newsletter-form button {
        height: 40px;
        font-size: 13px;
        padding: 5px;
    }

    .slider-nav {
        position: absolute;
        top: 75%;
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        z-index: 10;
        padding: 1.5rem 2rem;
        transform: translateY(-50%);
        background-color: rgb(0 0 0 / 21%);
    }

    .map-container svg{
        width: 350px !important;
    }

    .footer-custom .col-md-3:nth-child(2),
    .footer-custom .col-md-4 {
        padding-left: 1rem !important;
        margin-top: 0rem !important;
    }

    .footer-custom .col-md-3 .fw-bold,
    .footer-custom .col-md-4 .fw-bold{
        margin-top: 1rem !important;
    }

    .secteurs-section {
        padding: 8rem 0;
    }
}