﻿/* Bannière newsletter + services — pied de page ESSENTIANA (compact) */

.footer-newsletter-banner {
    padding: 4rem 0;
    background: #fff;
}

.footer-newsletter-grid {
    display: grid;
    grid-template-columns: minmax(120px, 20%) minmax(120px, 20%) minmax(0, 60%);
    align-items: stretch;
    min-height: 168px;
    height: auto;
    overflow: visible;
    background: #ececec;
}

.footer-newsletter-promo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    align-self: stretch;
    min-height: 100%;
    padding: 0.75rem 0.65rem;
    background: #000;
    color: #fff;
    text-align: center;
}

.footer-newsletter-promo .footer-newsletter-percent,
.footer-newsletter-promo .footer-newsletter-promo-text {
    color: #fff;
}

.footer-newsletter-percent {
    margin: 0;
    font-size: 3.35rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.02em;
}

.footer-newsletter-promo-text {
    margin: 0.35rem 0 0;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.35;
    max-width: 9rem;
}

.footer-newsletter-visual {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #f0f0f0;
    align-self: center;
    justify-self: center;
}

.footer-newsletter-visual img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.footer-newsletter-form-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 0.75rem 0.5rem;
    background: #ececec;
    color: #1a1a1a;
    min-width: 0;
    text-align: center;
}

.footer-newsletter-heading {
    margin: 0;
    font-size: 26px;
    font-weight: 600;
    line-height: 1.2;
}

.footer-newsletter-lead {
    margin: 0.2rem 0 0.55rem;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.45;
}

.footer-newsletter-form {
    display: flex;
    align-items: stretch;
    width: 100%;
    max-width: 36rem;
    margin: 0 auto;
}

.footer-newsletter-input {
    flex: 1 1 auto;
    min-width: 0;
    height: 38px;
    padding: 0 0.65rem;
    border: 1px solid #1a1a1a;
    border-right: none;
    background: #fff;
    font-family: inherit;
    font-size: 14px;
    color: #1a1a1a;
}

.footer-newsletter-input:focus {
    outline: 2px solid #F77F77;
    outline-offset: -1px;
}

.footer-newsletter-input[readonly] {
    background: #f7f7f7;
    color: #555;
}

.footer-newsletter-submit {
    flex: 0 0 auto;
    height: 38px;
    padding: 0 0.85rem;
    border: 1px solid #1a1a1a;
    background: #1a1a1a;
    color: #fff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s ease;
    white-space: nowrap;
}

.footer-newsletter-submit:hover:not(:disabled) {
    background: #333;
}

.footer-newsletter-submit:disabled {
    opacity: 0.65;
    cursor: wait;
}

.footer-newsletter-feedback {
    margin: 0.35rem 0 0;
    font-size: 14px;
    line-height: 1.45;
}

.footer-newsletter-feedback--error {
    color: #c0392b;
}

.footer-newsletter-feedback--success {
    color: #1a1a1a;
}

.footer-newsletter-feedback--success strong {
    letter-spacing: 0.04em;
}

.footer-newsletter-legal {
    margin: 0.45rem auto 0;
    max-width: 36rem;
    font-size: 12px;
    line-height: 1.45;
    color: #666;
}

.footer-newsletter-legal a {
    color: #F77F77;
    text-decoration: none;
    font-weight: 600;
}

.footer-newsletter-legal a:hover {
    text-decoration: underline;
}

/* Section services */

.footer-services-section {
    padding: 4rem 0;
    background: #ececec;
}

.footer-services-section .row {
    --bs-gutter-x: 0.75rem;
    justify-content: center;
}

.footer-services-section .col-md-4 {
    flex: 0 1 22rem;
    max-width: 22rem;
}

.footer-service-item {
    max-width: 100%;
    margin: 0 auto;
    padding: 0.25rem 0.35rem;
    text-align: center;
}

.footer-service-icon {
    width: 44px;
    height: 44px;
    margin: 0 auto 0.65rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #F77F77;
    color: #fff;
}

.footer-service-icon i {
    font-size: 1.05rem;
}

.footer-service-img,
.footer-service-item--whatsapp .footer-whatsapp-icon {
    display: block;
    width: 80px;
    height: 80px;
    margin: 0 auto 0.75rem;
    object-fit: contain;
}

.footer-whatsapp-label {
    color: #39BB2F;
    font-weight: 700;
}

.footer-service-highlight--whatsapp,
.footer-service-text--whatsapp {
    color: #333;
}

.footer-service-highlight--whatsapp .footer-whatsapp-link {
    color: #39BB2F;
    text-decoration: none;
    font-weight: 700;
    font-size: 20px;
}

.footer-service-highlight--whatsapp .footer-whatsapp-link:hover {
    color: #2e9a26;
    text-decoration: underline;
}

.footer-service-text--whatsapp .footer-whatsapp-label {
    color: #39BB2F;
    font-weight: 700;
}

.footer-service-title {
    margin: 0 0 0.45rem;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #1a1a1a;
}

.footer-service-text {
    margin: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    color: #333;
}

.footer-service-highlight {
    color: #F77F77;
    font-weight: 700;
}

p.footer-service-highlight {
    margin: 0 0 0.2rem;
    font-size: 14px;
    font-weight: 700;
}

@media (max-width: 991px) {
    .footer-newsletter-grid {
        grid-template-columns: minmax(110px, 20%) minmax(110px, 20%) minmax(0, 60%);
        height: auto;
        min-height: 150px;
    }

    .footer-newsletter-form-col {
        padding: 0.55rem 0.65rem 0.5rem;
    }

    .footer-newsletter-form {
        max-width: none;
    }
}

@media (max-width: 767px) {
    .footer-newsletter-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
    }

    .footer-newsletter-promo {
        grid-column: 1 / 2;
        min-height: 120px;
    }

    .footer-newsletter-visual {
        grid-column: 2 / 3;
        min-height: 0;
        max-height: none;
    }

    .footer-newsletter-form-col {
        grid-column: 1 / -1;
        padding: 0.75rem 0.65rem;
    }
}

@media (max-width: 767px) {
    .footer-services-section .col-md-4 {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 2.5rem;
    }

    .footer-services-section .col-md-4:last-child {
        margin-bottom: 0;
    }
}

@media (max-width: 480px) {
    .footer-newsletter-grid {
        grid-template-columns: 1fr;
    }

    .footer-newsletter-promo,
    .footer-newsletter-visual {
        grid-column: auto;
        min-height: 0;
    }

    .footer-newsletter-promo {
        flex-direction: row;
        gap: 0.75rem;
        padding: 0.85rem 1rem;
    }

    .footer-newsletter-promo-text {
        max-width: none;
        margin: 0;
        text-align: left;
        font-size: 16px;
    }

    .footer-newsletter-form {
        flex-direction: column;
    }

    .footer-newsletter-input {
        border-right: 1px solid #1a1a1a;
    }

    .footer-newsletter-submit {
        width: 100%;
    }
}
