/* Footer personnalisé pour Ahome - version épurée */

.footer-area {
    background: transparent !important;
    color: #222;
    position: relative;
}

.footer-area .single-footer-widget h4 {
    color: #222;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 8px;
}

.footer-area .single-footer-widget h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: #222;
    border-radius: 2px;
}

.footer-area .single-footer-widget p {
    color: #444;
    line-height: 1.6;
}

.footer-area .single-footer-widget ul li a {
    color: #444;
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
    padding: 5px 0;
}

.footer-area .single-footer-widget ul li a:hover {
    color: #0051d2;
    transform: translateX(5px);
}

.footer-area .footer-social {
    margin-top: 20px;
}

.footer-area .footer-social a {
    display: inline-block;
    width: 36px;
    height: 36px;
    background: #f3f3f3;
    color: #222;
    text-align: center;
    line-height: 36px;
    border-radius: 50%;
    margin-right: 8px;
    transition: all 0.3s;
    text-decoration: none;
    font-size: 16px;
}

.footer-area .footer-social a:hover {
    background: #0051d2;
    color: #fff;
    transform: translateY(-2px);
}

/* Bloc newsletter moderne */
.footer-area .newsletter-form {
    display: flex;
    align-items: center;
    gap: 0;
    margin-top: 18px;
}

.footer-area .newsletter-form input[type="email"] {
    border: 1px solid #ddd;
    border-radius: 25px 0 0 25px;
    padding: 12px 18px;
    font-size: 15px;
    color: #222;
    background: #fff;
    outline: none;
    width: 100%;
    min-width: 0;
    box-shadow: none;
    transition: border 0.2s, box-shadow 0.2s;
}

.footer-area .newsletter-form input[type="email"]::placeholder {
    color: #aaa;
    opacity: 1;
}

.footer-area .newsletter-form input[type="email"]:focus {
    border-color: #0051d2;
    box-shadow: 0 0 0 2px #e3eaff;
}

.footer-area .newsletter-form .click-btn {
    border-radius: 0 25px 25px 0;
    background: #fff;
    color: #0051d2;
    border: 1px solid #ddd;
    border-left: none;
    padding: 0 22px;
    height: 44px;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
    box-shadow: none;
}

.footer-area .newsletter-form .click-btn:hover {
    background: #0051d2;
    color: #fff;
}

.footer-area .footer-bottom {
    border-top: 1px solid #eee;
    padding: 24px 0 12px;
    margin-top: 40px;
    color: #888;
    background: transparent;
}

.footer-area .footer-bottom p {
    color: #888;
    margin: 0;
}

.footer-area .footer-bottom .btn-outline-primary {
    border-color: #0051d2;
    color: #0051d2;
    border-radius: 25px;
    padding: 8px 20px;
    background: #fff;
    transition: all 0.3s;
}

.footer-area .footer-bottom .btn-outline-primary:hover {
    background: #0051d2;
    color: #fff;
    border-color: #0051d2;
}

@media (max-width: 768px) {
    .footer-area .single-footer-widget {
        text-align: center;
        margin-bottom: 30px;
    }

    .footer-area .single-footer-widget h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-area .footer-bottom {
        text-align: center;
    }

    .footer-area .footer-bottom .footer-social {
        margin-top: 15px;
    }

    .footer-area .newsletter-form {
        flex-direction: column;
        gap: 10px;
    }

    .footer-area .newsletter-form input[type="email"],
    .footer-area .newsletter-form .click-btn {
        border-radius: 25px !important;
        width: 100%;
    }

    .footer-area .newsletter-form .click-btn {
        margin-left: 0;
    }
}
