/* ========================================
   Custom CSS Overrides — facility-cms
   Loaded after style.min.css
   ======================================== */

/* 1. Footer newsletter button text color
   Reference: .btn.btn-white should have color: #e0172f (primary red),
   but footer cascade sets color: #fff on links/buttons */
.footer .newsletter-btn .btn.btn-white {
    color: #e0172f !important;
}

/* 2. Homepage service carousel images — non-square aspect ratio
   The carousel cards show rectangular service images */
.servicos-home .servico-img {
    aspect-ratio: 1/1;
}
.servicos-home .servico-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 3. Homepage blog cards — non-square aspect ratio
   The home blog section shows rectangular blog images */
.home-blog .blog-p-img {
    aspect-ratio: 1/1;
}
.home-blog .blog-p-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 4. Services page cards — square aspect ratio */
.servicos-lista .servico-img {
    aspect-ratio: 1/1;
}
.servicos-lista .servico-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 5. Blog page cards — square aspect ratio */
.lista-posts .blog-p-img {
    aspect-ratio: 1/1;
}
.lista-posts .blog-p-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 6. Cookie/LGPD consent popup */
.popup-cookie {
    position: fixed;
    z-index: 99999;
    left: 20px;
    right: 20px;
    bottom: 20px;
    max-width: 960px;
    margin: 0 auto;
    padding: 20px;
    border-radius: 8px;
    background-color: #fff;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    display: flex;
    align-items: center;
    font-size: 16px;
    color: #333;
    visibility: hidden;
    transform: translateY(100%);
    transition: 0.3s ease-in-out;
}
.popup-cookie.active {
    visibility: visible;
    transform: translateY(0px);
}
.popup-cookie-texto {
    flex: 1;
    line-height: 1.4;
}
.popup-cookie-texto a {
    color: #e0172f;
    text-decoration: none;
}
.popup-cookie-btn-container {
    padding-left: 20px;
}
.popup-cookie-btn {
    padding: 16px 22px;
}
