.footer-new {
    background: linear-gradient(180deg, #302D63 0%, #201E47 100%);
    color: white;
    position: relative;
    overflow: hidden;
    padding: 1.4rem 0 1.4rem 0;
}

.footer-bg-pattern {
    display: none;

    position: absolute;
    top: 0;
    right: 0;
    width: 500px;
    height: 500px;
    opacity: 0.1;
    pointer-events: none;
}

.footer-container {
    max-width: 1536px;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 10;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-logo {
    width: 100%;
    height: auto;
    filter: brightness(0) invert(1);

}

.footer-text {
    font-size: 1.2rem;
    color: #d1d5db;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-icon {
    width: 2rem;
    height: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: background 0.3s;
    text-decoration: none;
}

.social-icon:hover {
    background: #4c5ca4;
}

.footer-h3 {
    color: white;
    font-size: 1.125rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.footer-links-list {
    list-style: none;
    padding: 0;
    font-size: 1.2rem;
}

.footer-links-list li {
    margin-bottom: 0.75rem;
}

.footer-link-item {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-link-item:hover {
    color: white;
}

.btn-footer-account {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    background: #4c5ca4;
    border: 2px solid #4c5ca4;
    color: white;
    border-radius: 2rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-footer-account:hover {
    background: white;
    color: #343434;
}

.newsletter-section {

    text-align: center;
}
.branding-footer-text {
    color: #FFF;
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 300;
    font-size: 15px;
    margin-top: 5px;
    margin-bottom: 0;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.3px;
     margin-bottom: 1.5rem;
}
.newsletter-title {
    color: white;
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.newsletter-form {
    max-width: 500px;
    margin: 0 auto 1.5rem auto;
}

.newsletter-input {
    width: 100%;
    width:450px;
    /* La largeur fixe 450px debordait/coupait la bulle sous 450px de large :
       on la borne au conteneur pour qu'elle retrecisse sur mobile. */
    max-width: 100%;
    box-sizing: border-box;
    padding: 1rem 1.5rem;
    border-radius: 2rem;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    margin-bottom: 1rem;
    outline: none;
}

.btn-newsletter-submit {
    padding: 1rem 2rem;
    background: white;
    color: #302D63;
    border-radius: 2rem;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
}

.copyright-bar {
    font-size: 0.8rem;
    color: #d1d5db;
   
    z-index: 9999;
    position: relative;

}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: #d1d5db;
}

/* ========================================
   RESPONSIVE — Mobile (max-width: 768px)
   ======================================== */
@media (max-width: 768px) {
    .footer-new {
        padding: 3rem 0 1.5rem;
    }
    .footer-container {
        padding: 0 10px;
    }
    .footer-grid {
        display: none;
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
        margin-bottom: 2.5rem;
    }
    .social-links {
        justify-content: center;
    }
    .footer-text {
        font-size: 1rem;
    }
    .footer-links-list {
        font-size: 1rem;
    }
    .newsletter-section {
        padding-top: 2.5rem;
        padding-top: 0rem;
    }
    .newsletter-title {
        font-size: 1.5rem;
    }
    .newsletter-form {
        max-width: 100%;
        padding: 0 10px;
        box-sizing: border-box;
    }
    .newsletter-input {
        box-sizing: border-box;
    }
    .copyright-bar p {
        font-size: 0.7rem;
        line-height: 1.8;
    }
    .contact-item {
        justify-content: center;
    }
}
