/* Troca os destaques laranja pelo azul configurado no próprio tema. */
:root {
    --color-orange: var(--color-blue2, #0f3567) !important;
    --color-orange2: var(--color-blue3, #274975) !important;
}
/* Grade apenas dos cartões de serviços, preservando os demais widgets. */
.elementor-widget-services .services.v1 > .container > .row {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: stretch !important;
    gap: 30px;
    margin-left: 0;
    margin-right: 0;
}
.elementor-widget-services .services.v1 > .container > .row > div {
    width: auto;
    max-width: none;
    min-width: 0;
    padding-left: 0;
    padding-right: 0;
}
.elementor-widget-services .services.v1 .services-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    margin-top: 0 !important;
}
.elementor-widget-services .services.v1 .services-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    padding: 30px 22px 80px;
}
.elementor-widget-services .services.v1 .services-text h4 {
    font-size: 24px;
    line-height: 1.2;
}
.elementor-widget-services .services.v1 .services-text p { margin-bottom: 0; }
.elementor-widget-services .services.v1 .services-text .my-icon {
    position: absolute;
    left: 50%;
    bottom: 0;
    top: auto;
    margin: 0 !important;
    transform: translate(-50%, 50%);
    width: 95px;
    height: 95px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    z-index: 1;
}
.elementor-widget-services .services.v1 .services-img img {
    display: block;
    width: 100%;
    aspect-ratio: 1.45;
    object-fit: cover;
}
@media (min-width: 768px) {
    .elementor-widget-services .services.v1 > .container > .row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1025px) {
    .elementor-widget-services .services.v1 > .container > .row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
/* Facture List: caixa dos contadores na seção de contato. */
.elementor-widget-home-2-get-in-touch .get-in-touch .card-items-list { display: none !important; }
.maionchi-faq-action { margin-top: 30px; }
.common-faqs .maionchi-contact-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    padding: 20px 30px;
    border: 0;
    border-radius: 5px;
    background: var(--color-blue2, #0f3567);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    transition: background .2s;
}
.common-faqs .maionchi-contact-button:hover { background: var(--color-blue3, #274975); color: #fff; }
.common-faqs .maionchi-contact-button:focus-visible { outline: 3px solid var(--color-blue2, #0f3567); outline-offset: 4px; }
@media (prefers-reduced-motion: reduce) { .common-faqs .maionchi-contact-button { transition: none; } }

/* 2.3.0: faixa superior preta e ícones azuis. */
body header .top-bar { background: #000 !important; }
body header .top-bar p,
body header .top-bar p a { color: #fff !important; }
body header .top-bar .my-icon,
body header .top-bar .social-link a,
body header .top-bar i,
body header .top-bar svg { color: #2787e8 !important; }
body header .top-bar svg { fill: currentColor; }

/* Botões de ação: WhatsApp, formulário, banner, cabeçalho e Elementor. */
body :is(.link-anime, .btn-anime, .maionchi-contact-button, .elementor-button,
    .wp-element-button, .wp-block-button__link, .wpcf7-submit,
    button[type="submit"], input[type="submit"], input[type="button"]) {
    --color-orange: #25d366 !important;
    --color-orange2: #25d366 !important;
    background: #25d366 !important;
    border-color: #25d366 !important;
    color: #fff !important;
}
body :is(.link-anime, .btn-anime)::before,
body :is(.link-anime, .btn-anime)::after { background: #25d366 !important; }
body :is(.link-anime, .btn-anime, .maionchi-contact-button, .elementor-button,
    .wp-element-button, .wp-block-button__link, .wpcf7-submit,
    button[type="submit"], input[type="submit"], input[type="button"]):hover {
    --color-orange: #128c7e !important;
    background: #128c7e !important;
    border-color: #128c7e !important;
    color: #fff !important;
}
body :is(.link-anime, .btn-anime):hover::before,
body :is(.link-anime, .btn-anime):hover::after { background: #128c7e !important; }

/* Ícones ancorados na mesma divisão entre texto e imagem. */
.elementor-widget-services .services.v1 .services-text .my-icon > i { line-height: 1; }
.elementor-widget-services .services.v1 .services-text .my-icon > svg { width: 48px; height: 48px; }
@media (max-width: 767px) {
    .elementor-widget-services .services.v1 .services-text .my-icon { width: 75px; height: 75px; }
    .elementor-widget-services .services.v1 .services-text { padding-bottom: 65px; }
}
