/* ====================================================== */
/* ====================================================== */
/* ====================================================== */
/* ====================================================== */
/* ============== SERVICE DETAIL PAGES ================== */
/* ====================================================== */
/* ====================================================== */
/* ====================================================== */
/* ====================================================== */

/* ================================= */
/* ====== Informational Cards ====== */
/* ================================= */
.info-cards-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 40px 0;
    width: 100%;
}

@media (max-width: 1240px) {
    .info-cards-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    /* Quando quebra para 2 colunas, o 3º item (último) ocupa toda a largura */
    .info-card:nth-child(3) {
        grid-column: span 2;
    }
}

.info-card {
    background: linear-gradient(135deg, rgba(0, 64, 143, 0.15) 0%, rgba(0, 64, 143, 0.25) 100%);
    border-radius: 20px;
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 64, 143, 0.05);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.info-card:hover {
    transform: translateY(-0.5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
}

.info-card-icon {
    width: 64px;
    height: 64px;
    background: var(--color-2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    flex-shrink: 0;
    box-shadow: 0 8px 16px rgba(15, 53, 99, 0.1);
}

.info-card-icon svg {
    width: 32px;
    height: 32px;
    fill: var(--color-1);
}

.info-card-text {
    flex: 1;
}

.info-card-text h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-2);
    margin-bottom: 12px;
    line-height: 1.2;
}

.info-card-text p {
    font-size: 16px !important;
    color: var(--middle-dark);
    margin: 0 !important;
    line-height: 1.4 !important;
    font-weight: 400 !important;
}

@media (max-width: 980px) {
    .info-cards-container {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .info-card:nth-child(3) {
        grid-column: span 1;
    }

    .info-card {
        flex-direction: row;
        align-items: center;
        padding: 24px 20px;
    }

    .info-card-icon {
        width: 56px;
        height: 56px;
        margin-right: 16px;
        margin-bottom: 0;
    }

    .info-card-icon svg {
        width: 28px;
        height: 28px;
    }

    .info-card-text h3 {
        font-size: 18px;
        margin-bottom: 6px;
    }
}

/* ================================= */
/* ====== Services Swiper ====== */
/* ================================= */
.services-slider {
    margin: 60px 0;
}

.services-swiper {
    width: 100%;
    padding: 0 !important;
    padding-bottom: 0 !important;
    margin: 20px 0 0 0 !important;
}

.services-swiper .swiper-wrapper {
    align-items: stretch !important;
}

.service-card {
    background: #fff;
    border-radius: 24px;
    padding: 24px;
    padding-bottom: 96px;
    /* Guaranteed space for absolute button */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: auto !important;
    border: 1px solid rgba(0, 0, 0, 0.08);
    text-decoration: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
    position: relative;
    /* For absolute button */
    cursor: grab;
}

.service-card:active {
    cursor: grabbing;
}

.service-card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transform: translateY(-0.5px);
}

.service-card .icon-box {
    width: 60px;
    height: 60px;
    background: var(--color-2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    flex-shrink: 0;
    transition: background 0.3s ease;
}

.service-card .icon-box svg {
    width: 32px;
    height: 32px;
    fill: #e85d1a !important;
    color: #e85d1a !important;
    transition: fill 0.3s ease;
}

.service-card:hover .icon-box {
    background: #e85d1a;
}

.service-card:hover .icon-box svg {
    fill: #fff !important;
    color: #fff !important;
}

.service-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1a2e5a;
    margin: 0 0 10px;
    line-height: 1.2;
}

.service-card p {
    font-size: 16px;
    color: #1a2e5a;
    line-height: 1.5;
    margin: 0;
    font-weight: 400;
}

.service-card .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--color-1);
    color: #fff;
    padding: 14px 24px;
    border-radius: 16px;
    font-size: 16px;
    font-weight: 700;
    border: none;
    width: calc(100% - 48px);
    /* 100% minus padding left/right */
    position: absolute;
    bottom: 24px;
    left: 24px;
    box-sizing: border-box;
    cursor: pointer;
    transition: background 0.3s;
    flex-shrink: 0;
    text-decoration: none;
    transition: all 0.3s ease;
}

.service-card .btn svg {
    transition: transform 0.3s ease;
}

.service-card .btn:hover svg {
    transform: translateX(4px);
}

.swiper-controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: 16px;
}

.services-swiper .swiper-pagination {
    position: static;
    transform: none;
    margin: 0;
    width: auto;
}

.swiper-nav-wrapper {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.services-swiper .swiper-button-next,
.services-swiper .swiper-button-prev {
    position: static !important;
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    min-height: 48px !important;
    max-width: 48px !important;
    max-height: 48px !important;
    flex-shrink: 0 !important;
    border-radius: 50% !important;
    background: var(--light) !important;
    margin: 0 !important;
    padding: 0 !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
    border: 1px solid rgba(0, 0, 0, 0.09) !important;
}

.services-swiper .swiper-button-next svg,
.services-swiper .swiper-button-prev svg {
    fill: #e85d1a;
    transition: all 0.3s ease;
    width: 28px !important;
    height: 28px !important;
    color: var(--color-1);
}

.services-swiper .swiper-button-next::after,
.services-swiper .swiper-button-prev::after {
    display: none;
}

.services-swiper .swiper-button-next:hover,
.services-swiper .swiper-button-prev:hover {
    background: #e85d1a !important;
}

.services-swiper .swiper-button-next:hover svg,
.services-swiper .swiper-button-prev:hover svg {
    fill: var(--light) !important;
}

.services-swiper .swiper-pagination-bullet {
    background-color: #e85d1a !important;
    opacity: 0.5 !important;
    width: 10px !important;
    height: 10px !important;
    min-width: 10px !important;
    min-height: 10px !important;
    flex-shrink: 0 !important;
    border-radius: 50% !important;
}

.services-swiper .swiper-pagination-bullet-active {
    opacity: 1 !important;
    background-color: #e85d1a !important;
    width: 10px !important;
    height: 10px !important;
    border-radius: 50% !important;
}

/* ========================== */
/* ====== Service Intro ====== */
/* ========================== */
.service-content {
    margin: 40px 0 80px 0;
}

.acima-content {
    margin: 40px 0 28px 0;
}

.sec-content {
    margin: 4px 0 80px 0;
}

.service-content h2,
.sec-content h2 {
    margin-bottom: 16px;
}

.sec-content h2 {
    padding-top: 12px;
}

.service-content p,
.sec-content p {
    font-size: 18.5px;
    font-weight: 300 !important;
    line-height: 1.8;
    color: var(--middle-dark);
    margin-bottom: 20px;
}

.service-content p:last-child {
    margin-bottom: 0;
}

@media (min-width: 780px) {
    .service-content {
        margin: 60px 0 80px;
    }

    .acima-content {
        margin: 40px 0 32px 0;
    }
}

/* ======================= */
/* ====== FAQ ====== */
/* ======================= */
.faq-service-section {
    margin: 40px 0 80px !important;

    border-radius: 40px;
}

.faq-service-section .container {
    max-width: 900px;
    margin: 0 auto;
}

.title-faq {
    text-align: center;
    margin-bottom: 40px;
}

.title-faq .section-title {
    color: var(--color-2);
}

.faq-service-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 28px;
}

.faq-service-section .faq-item {
    background: var(--light);
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    border: none;
    margin-bottom: 12px;
    overflow: hidden;
    padding: 0 24px;
}

.faq-service-section .faq-question {
    padding: 18px 0;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s ease;
    font-family: "Jost", sans-serif;
    width: 100%;
    background: none;
    border: none;
    text-align: left;
}

.faq-service-section .faq-question h3 {
    font-size: 18.5px;
    color: var(--color-2);
    font-weight: 600 !important;
}

.faq-service-section .faq-question:hover,
.faq-service-section .faq-question:focus {
    outline: none;
}

.faq-service-section .faq-question svg {
    flex-shrink: 0;
    margin-left: 12px;
    transition: transform 0.3s ease;
}

.faq-service-section .faq-question svg.rotated {
    transform: rotate(45deg);
}

.faq-service-section .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition:
        max-height 0.3s ease,
        padding 0.3s ease;
}

.faq-service-section .faq-answer.open {
    max-height: 280px;
    padding-bottom: 20px;
}

.faq-service-section .faq-answer p {
    color: var(--middle-dark);
    line-height: 1.6;
    font-size: 18.5px !important;
    font-weight: 300 !important;
}

/* ================================= */
/* ====== Neighborhoods Section ====== */
/* ================================= */
.neighborhoods-section {
    margin: 80px 0;
}

.neighborhoods-grid,
.bairros-ref-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 30px;
}

.neighborhood-widget {
    flex: 1 1 calc(25% - 16px);
    height: 54px;
    background-color: var(--light);
    padding: 0 16px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.neighborhood-widget:hover {
    transform: translateY(-3px);
}

.neighborhood-widget svg {
    width: 14px;
    height: 14px;
    fill: var(--color-1);
    flex-shrink: 0;
}

.neighborhood-widget span {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-2);
}

@media (max-width: 980px) {
    .neighborhoods-grid,
    .bairros-ref-grid {
        gap: 10px;
    }

    .neighborhood-widget {
        flex: 1 1 calc(50% - 10px);
        height: 52px;
        padding: 0 12px;
    }

    .neighborhood-widget span {
        font-size: 14px;
        font-weight: 500;
        line-height: 1.2;
    }

    .faq-service-section {
        border-radius: 16px;
    }

    .faq-service-section .faq-item {
        padding: 0 16px;
    }
}

/* ========================== */
/* ====== Service List ====== */
/* ========================== */
.service-list-section {
    margin: 88px 0;
}

.service-list-container {
    background: linear-gradient(135deg, rgba(0, 64, 143, 0.15) 0%, rgba(0, 64, 143, 0.25) 100%);
    border-top-left-radius: 36px;
    border-bottom-right-radius: 36px;
    box-shadow: 2px 6px 30px rgba(0, 0, 0, 0.15);
    padding: 40px 24px;
}

@media (min-width: 768px) {
    .service-list-section {
        margin: 88px 0;
    }

    .service-list-container {
        padding: 40px 32px;
        border-top-left-radius: 36px;
        border-bottom-right-radius: 36px;
        margin-top: 60px !important;
    }
}

.service-list-title {
    font-size: 28px;
    color: var(--color-2);
    margin-bottom: 24px;
    font-weight: 800;
}

@media (min-width: 960px) {
    .service-list-title {
        font-size: 36px;
    }
}

.service-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
}

@media (min-width: 960px) {
    .service-list {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

.service-list li {
    position: relative;
    padding-left: 36px;
    font-size: 19px;
    color: var(--middle-dark);
    display: flex;
    align-items: center;
    font-weight: 500;
    min-width: 200px;
}

.service-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    width: 24px;
    height: 24px;
    background-color: var(--color-1);
    color: white;
    font-weight: bold;
    font-size: 14px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-link-page {
    text-decoration: underline;
    text-underline-offset: 4px;
    line-height: 1.2;
    cursor: pointer;
    transition: all 0.3s ease;
}

.service-link-page:hover {
    color: var(--color-1);
    text-underline-offset: 6px;
}

/* ======================================= */
/* ====== Two-Column Layout (Desktop) ====== */
/* ======================================= */
.service-page-layout {
    display: flex;
    flex-direction: column;
}

.service-main-content {
    flex: 1;
    min-width: 0;
    order: 1;
}

.service-sidebar {
    display: flex;
    flex-direction: column;
    order: 2;
    padding: 0;
    margin-top: 0px;
}

@media (min-width: 780px) {
    .service-page-layout {
        flex-direction: row;
        align-items: flex-start;
        gap: 8px;
    }

    .service-main-content {
        order: initial;
    }

    .service-sidebar {
        width: 340px;
        flex-shrink: 0;
        position: sticky;
        top: 76px;
        margin-top: 32px;
        padding: 0;
        order: initial;
    }
}

@media (min-width: 880px) {
    .service-page-layout {
        gap: 16px;
    }
}

@media (min-width: 1024px) {
    .service-page-layout {
        gap: 28px;
    }
}

/* ========================== */
/* ====== Sticky Card ====== */
/* ========================== */
.sticky-card {
    background-color: var(--color-2);
    border-radius: 20px;
    padding: 16px 12px 28px;
    color: var(--light);
    box-shadow: 0 10px 30px rgba(0, 64, 143, 0.2);
    margin: 0px 0 88px 0;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.sticky-card-header,
.sticky-card-benefits,
.sticky-card-btn {
    position: relative;
    z-index: 1;
}

@media (min-width: 780px) {
    .sticky-card {
        margin: 8px 0 88px 0;
        padding: 16px 12px 24px;
    }
}

.sticky-card-header {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 8px;
    padding: 12px 12px 8px;
    border-radius: 20px;
}

.sticky-card-header-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: -4px;
}

.sticky-card-header svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
    flex-shrink: 0;
}

.sticky-card-title {
    font-size: 28px;
    font-weight: 700;
    margin: 0;
    color: #ffffff;
}

@media (min-width: 780px) {
    .sticky-card-title {
        font-size: 24px;
    }
}

.sticky-card-desc {
    font-size: 17px;
    line-height: 1.5;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400 !important;
}

.sticky-card-benefits {
    list-style: none;
    padding: 0 12px;
    margin: 0 0 20px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sticky-card-benefits li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    font-weight: 500;
}

.sticky-card-benefits li .check-icon {
    width: 20px;
    height: 20px;
    fill: var(--color-1);
    flex-shrink: 0;
}

.sticky-card-cta-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.sticky-card-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: var(--color-1);
    color: var(--light);
    padding: 18px 20px;
    border-radius: 20px;
    font-size: 18.5px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 3px solid var(--color-1);
    flex-shrink: 0;
    white-space: nowrap;
    width: 280px;
    max-width: 100%;
    height: 52px !important;
    margin: 0 auto;
}

.sticky-card-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: var(--light);
    padding: 18px 10px;
    border-radius: 20px;
    font-size: 18.5px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.01);
    width: 280px;
    max-width: 100%;
    height: 52px !important;
    margin: 0 auto;
}

.sticky-card-btn:hover {
    background-color: transparent;
    color: var(--color-1);
    transform: translateY(-2px);
    border-color: var(--color-1);
}

.sticky-card-btn-secondary:hover {
    background-color: var(--light);
    color: var(--color-2);
    transform: translateY(-2px);
}

.sticky-card-btn svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

/* ============================== */
/* ====== Sidebar Watermark ====== */
/* ============================== */

.service-sidebar .watermark {
    position: absolute;
    right: -92px;
    top: 50%;
    transform: translateY(-50%);
    width: 380px;
    height: 380px;
    opacity: 0.05;
    color: #ffffff;
    z-index: 1;
    pointer-events: none;
}

/* Mobile Only: Oclultar em telas maiores que 980px */
@media (min-width: 981px) {
    .orange-cta {
        display: none !important;
    }
}

.orange-cta {
    background-color: var(--color-1);
    border-radius: 20px;
    padding: 20px 24px;
    margin: 40px 0;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 20px;
    box-shadow: 0 15px 35px rgba(242, 94, 25, 0.2);
}

.orange-cta-content {
    position: relative;
    z-index: 2;
    flex: 1;
}

.orange-cta h2 {
    color: #ffffff !important;
    /* Alterado para branco conforme pedido */
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 12px;
    line-height: 1.2;
}

.orange-cta p {
    color: #ffffff !important;
    font-size: 17px;
    line-height: 1.5;
    margin: 0;
    opacity: 0.95;
    font-weight: 400 !important;
}

.orange-cta-cta-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.orange-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background-color: var(--color-2);
    color: #ffffff !important;
    padding: 16px 12px;
    border-radius: 20px;
    font-size: 18.5px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 3px solid var(--color-2);
    position: relative;
    white-space: nowrap;
    width: 100%;
    height: 52px;
    max-width: 280px;
    margin: 0 auto;
}

.orange-cta-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: #ffffff !important;
    padding: 18px 32px;
    border-radius: 20px;
    font-size: 18.5px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.03);
    position: relative;
    white-space: nowrap;
    width: 100%;
    max-width: 280px;
    height: 52px;
    margin: 0 auto;
}

.orange-cta-btn:hover {
    background-color: transparent;
    color: var(--color-2) !important;
    transform: translateY(-2px);
    border-color: var(--color-2);
}

.orange-cta-btn-secondary:hover {
    background-color: #ffffff;
    color: var(--color-1) !important;
    transform: translateY(-2px);
}

.orange-cta-btn svg {
    width: 24px;
    height: 24px;
    fill: #ffffff;
    transition: fill 0.3s ease;
}

.orange-cta-btn:hover svg {
    fill: var(--color-2);
}

.orange-cta .watermark {
    position: absolute;
    right: -48px;
    top: 50%;
    /* Centralização vertical */
    transform: translateY(-50%);
    width: 320px;
    height: 360px;
    opacity: 0.18;
    color: #ffffff;
    z-index: 1;
    pointer-events: none;
}
