/* ==========================================================================
   Mon Expert Immobilier — Footer
   ========================================================================== */

.me-site-footer {
    background-color: #131c2e;
    padding: 64px 24px 0;
}

.me-footer-container {
    max-width: 1280px;
    margin: 0 auto;
}

.me-footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 48px;
}

.me-footer-heading {
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 20px;
}

/* Brand column */
.me-footer-logo-img {
    height: 46px;
    width: auto;
    display: block;
    margin-bottom: 18px;
}

.me-footer-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.6;
    margin: 0 0 20px;
    max-width: 280px;
}

.me-footer-social {
    display: flex;
    align-items: center;
    gap: 10px;
}

.me-footer-social-link {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    color: #ffffff;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.me-footer-social-link svg {
    width: 15px;
    height: 15px;
}

.me-footer-social-link:hover,
.me-footer-social-link:focus-visible {
    background-color: #d8a94f;
    color: #16233b;
    transform: translateY(-2px);
}

/* Quick Links column */
.me-footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.me-footer-links li {
    margin-bottom: 14px;
}

.me-footer-links a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s ease;
}

.me-footer-links a:hover,
.me-footer-links a:focus-visible {
    color: #d8a94f;
}

/* Contact column */
.me-footer-contact {
    list-style: none;
    margin: 0;
    padding: 0;
}

.me-footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 16px;
}

.me-footer-contact-icon {
    width: 16px;
    height: 16px;
    color: #d8a94f;
    flex-shrink: 0;
    margin-top: 2px;
}

.me-footer-contact-icon svg {
    width: 100%;
    height: 100%;
}

.me-footer-contact a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s ease;
}

.me-footer-contact a:hover,
.me-footer-contact a:focus-visible {
    color: #d8a94f;
}

.me-footer-address {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}

/* Newsletter column */
.me-footer-newsletter-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.6;
    margin: 0 0 18px;
}

.me-footer-newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.me-footer-newsletter-input {
    background-color: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    padding: 12px 14px;
    font-size: 14px;
    color: #ffffff;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.me-footer-newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

.me-footer-newsletter-input:focus {
    outline: none;
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #d8a94f;
}

.me-footer-newsletter-btn {
    background-color: #d8a94f;
    color: #16233b;
    border: none;
    border-radius: 8px;
    padding: 12px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.me-footer-newsletter-btn:hover,
.me-footer-newsletter-btn:focus-visible {
    background-color: #c79939;
    transform: translateY(-1px);
}

.me-footer-newsletter-btn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
}

.me-footer-newsletter-msg {
    font-size: 13px;
    margin: 0;
    min-height: 16px;
}

.me-footer-newsletter-msg.me-msg-success {
    color: #6ee7a8;
}

.me-footer-newsletter-msg.me-msg-error {
    color: #f5a3a3;
}

/* Bottom bar */
.me-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 22px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.me-footer-copyright {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

.me-footer-legal {
    display: flex;
    gap: 24px;
}

.me-footer-legal a {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 0.2s ease;
}

.me-footer-legal a:hover,
.me-footer-legal a:focus-visible {
    color: #d8a94f;
}

/* ==========================================================================
   Tablet (≤1024px) — 2 columns
   ========================================================================== */
@media (max-width: 1024px) {
    .me-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 36px 24px;
    }

    .me-footer-brand {
        grid-column: 1 / -1;
    }

    .me-footer-desc {
        max-width: 100%;
    }
}

/* ==========================================================================
   Mobile (≤600px) — single column
   ========================================================================== */
@media (max-width: 600px) {
    .me-site-footer {
        padding: 48px 20px 0;
    }

    .me-footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        padding-bottom: 36px;
    }

    .me-footer-brand {
        grid-column: auto;
    }

    .me-footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .me-footer-legal {
        gap: 18px;
    }
}