/* ======================================================================================== */
/* ======================================================================================== */
/* ======================================================================================== */
/* ======================================================================================== */
/* ========================================== HOME ======================================== */
/* ======================================================================================== */
/* ======================================================================================== */
/* ======================================================================================== */
/* =========================================================================== */
/* =========================================================================== */
/* ================================== SERVIÇOS =============================== */
/* =========================================================================== */
/* =========================================================================== */
.servicos-section {
    padding: 60px 0 80px;
}

.servicos-wrapper {
    display: flex;
    flex-direction: column;
    gap: 28px;
    justify-content: center;
}

.servicos-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 16px;
}

.servicos-card {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.servicos-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1);
}

@media (min-width: 900px) {
    .servicos-card {
        display: grid;
        grid-template-columns: 400px 1fr;
        grid-template-rows: 1fr auto;
        grid-template-areas: "image content" "image bottom";
        min-height: 348px;
    }

    .servicos-card:nth-child(even) {
        grid-template-columns: 1fr 400px;
        grid-template-areas: "content image" "bottom image";
    }

    .servicos-image {
        grid-area: image;
        width: 100%;
        height: 100%;
        min-height: 100%;
    }

    .servicos-content {
        grid-area: content;
        align-items: flex-start !important;
        text-align: left !important;
        padding: 40px 40px 0 40px !important;
        justify-content: center;
        margin-bottom: 0 !important;
    }

    .servicos-card p {
        max-width: 100% !important;
        text-align: left;
    }

    .servicos-bottom {
        grid-area: bottom;
        width: auto !important;
        padding: 0 40px 40px 40px;
        margin-top: 0;
        justify-self: start;
    }

    .servicos-botao {
        width: 280px;
        height: 52px;
    }

    /* Flip watermark for even cards where content is on the left */
    .servicos-card:nth-child(even) .card-watermark {
        right: auto !important;
        left: 30% !important; /* Move it more towards the empty space in the middle */
    }
}

@media (min-width: 1200px) {
    .servicos-card {
        grid-template-columns: 450px 1fr;
    }

    .servicos-card:nth-child(even) {
        grid-template-columns: 1fr 450px;
    }
}

.servicos-card-azul {
    background-color: var(--color-2);
    color: var(--light);
}

.servicos-card-branco {
    background-color: #f4f6f9;
    color: var(--color-2);
}

.servicos-image {
    display: block;
    width: 100%;
    min-height: 250px;
    background-color: rgba(0, 0, 0, 0.05);
    position: relative;
}

.servicos-card-azul .servicos-image {
    background-color: rgba(255, 255, 255, 0.05);
}

.servicos-card:nth-child(1) .servicos-image {
    background:
        linear-gradient(135deg, rgba(0, 12, 26, 0.8) 0%, rgba(23, 64, 114, 0.7) 100%),
        url("../images/elet-curitiba-small.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.servicos-card:nth-child(2) .servicos-image {
    background:
        linear-gradient(135deg, rgba(0, 12, 26, 0.8) 0%, rgba(23, 64, 114, 0.7) 100%),
        url("../images/encanador-curitiba-small.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.servicos-card:nth-child(3) .servicos-image {
    background:
        linear-gradient(135deg, rgba(0, 12, 26, 0.8) 0%, rgba(23, 64, 114, 0.7) 100%),
        url("../images/reformas-e-reparos-domesticos-em-curitba-small.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.servicos-card:nth-child(4) .servicos-image {
    background:
        linear-gradient(135deg, rgba(0, 12, 26, 0.8) 0%, rgba(23, 64, 114, 0.7) 100%),
        url("../images/seguranca-eletronica-curitiba-small.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.servicos-icone {
    display: block;
    position: absolute;
    top: 0px;

    width: 136px;
    height: 100px;
    padding: 18px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.servicos-card:nth-child(odd) .servicos-icone {
    left: 0px;
    border-radius: 20px 0 20px 0;
}

.servicos-card:nth-child(even) .servicos-icone {
    right: 0px;
    border-radius: 0 20px 0 20px;
}

.servicos-card-azul .servicos-icone {
    background-color: var(--color-1);
    color: var(--light);
}

.servicos-card-branco .servicos-icone {
    background-color: var(--color-1);
    color: var(--light);
}

.servicos-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* Alinhado à esquerda no mobile */
    justify-content: center;
    gap: 16px;
    flex-grow: 1;
    padding: 32px 24px;
    text-align: left;
    /* Alinhado à esquerda no mobile */
}

.servicos-content p {
    text-align: left;
}

.servicos-card h3 {
    font-size: 28px;
    font-weight: 800;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.servicos-card-azul h3 {
    color: var(--light);
}

.servicos-card-branco h3 {
    color: var(--color-2);
}

.servicos-tag {
    display: inline-block;
    padding: 6px 16px;
    border: 1px solid;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    background-color: transparent;
}

.servicos-card-azul .servicos-tag {
    border-color: var(--light);
    color: var(--light);
}

.servicos-card-branco .servicos-tag {
    border-color: var(--color-2);
    color: var(--color-2);
}

.servicos-card p {
    font-size: 18px;
    line-height: 1.6;
    font-weight: 400;
    margin: 0;
    max-width: 90%;
    text-align: left;
}

.servicos-card-azul p {
    color: var(--light);
    opacity: 0.9;
}

.servicos-card-branco p {
    color: var(--color-2);
}

.servicos-bottom {
    width: 100%;
    padding: 0 24px 32px 24px;
    display: flex;
    justify-content: center;
}

.servicos-botao {
    width: 280px;
    max-width: 100%;
    height: 52px;
    border-radius: 20px;
    background-color: var(--color-1);
    color: var(--light);
    font-size: 18px;
    font-weight: 700;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(242, 94, 25, 0.3);
    box-sizing: border-box;
}

.servicos-botao:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(242, 94, 25, 0.1);
}

.servicos-botao span {
    color: inherit;
}

.servicos-botao svg {
    width: 24px;
    height: 24px;
    color: inherit;
    transition: transform 0.3s ease;
}

.servicos-botao:hover svg {
    transform: translateX(4px);
}

.servicos-final {
    width: fit-content;
    margin: 24px auto;
    padding: 32px 8px 12px 8px;
    text-align: center;
    border-radius: 36px;
    border-bottom: 4px solid var(--color-1);
}

.servicos-final p {
    color: var(--color-2);
    font-size: 16px;
    font-weight: 600;
}

@media (min-width: 365px) {
    .servicos-final p {
        font-size: 18px;
    }
}

@media (min-width: 780px) {
    .servicos-final p {
        font-size: 24px;
    }
}

/* ======================================================================================== */
/* ========================================== CTA ========================================= */
/* ======================================================================================== */
/* ======================================================================================== */

.cta-band {
    padding: 0 0;
    width: 100%;
}

.cta-band-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    text-align: center;
    background-color: var(--color-1);
    border-radius: 20px;
    padding: 32px;
    position: relative;
    overflow: hidden;
}

.card-watermark {
    position: absolute !important;
    bottom: -30px !important;
    right: -30px !important;
    color: rgba(255, 255, 255, 0.04) !important;
    pointer-events: none !important;
    z-index: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.card-watermark-blue {
    color: rgba(18, 65, 122, 0.08) !important;
}

/* Mobile First: default sizes */
.card-watermark svg,
.card-watermark.small svg {
    width: 292px !important;
    height: 292px !important;
}

/* Desktop: larger sizes and offsets */
@media (min-width: 769px) {
    .card-watermark {
        bottom: -40px !important;
        right: -40px !important;
    }

    .card-watermark svg {
        width: 420px !important;
        height: 420px !important;
    }

    .card-watermark.small svg {
        width: 380px !important;
        height: 380px !important;
    }
}

.cta-band-text h2 {
    color: var(--light);
    font-size: 28px;
    margin-bottom: 16px;
    text-align: left;
}

.cta-band-text p {
    color: var(--light);
    font-size: 18px;
    font-weight: 300;
    text-align: left;
}
.cta-band-buttons-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.cta-band-button {
    background-color: var(--color-2);
    color: var(--light);
    border-radius: 20px;
    font-size: 17px;
    font-weight: 600;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    text-decoration: none;
    white-space: nowrap;
    border: 3px solid var(--color-1);
    height: 52px !important;
    width: 280px !important;
}

.cta-band-button:hover {
    transform: translateY(-1px);
    background-color: transparent;
    color: var(--color-2);
    border: 3px solid var(--color-2);
}

.cta-band-button svg {
    width: 24px;
    height: 24px;
    fill: var(--light);
    transition: all 0.3s ease;
}

.cta-band-button:hover svg {
    fill: var(--color-2);
}

@media (min-width: 780px) {
    .cta-band-text h2 {
        font-size: 36px;
        text-align: center;
    }
    .cta-band-text p {
        text-align: center;
    }
    .cta-band-buttons-wrapper {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 8px;
    }
}

/* ============================================================================*/
/* ============================================================================*/
/* ============================================================================*/
/* ================================== SOBRE ================================== */
/* ============================================================================*/
/* ============================================================================*/
/* ============================================================================*/
#sobre {
    width: 100%;
    background: none;
    position: relative;
    display: flex;
    justify-content: center;
    padding: 72px 0 80px;
}

.sobre-mobile-title {
    display: block !important;
    text-align: left;
    margin-bottom: 20px;
    padding-top: 12px !important;
}

.sobre-desktop-title {
    padding: 0 !important;
}

.sobre-wrapper {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

#sobre .servicos-botao {
    align-self: center;
    width: 280px;
}

@media (min-width: 780px) {
    #sobre .servicos-botao {
        align-self: flex-start;
        max-width: 100%;
    }
}

@media (min-width: 780px) {
    #sobre {
        padding: 80px 0 80px;
    }

    .sobre-mobile-title {
        display: none !important;
    }

    .sobre-wrapper {
        flex-direction: row;
        gap: 20px;
        align-items: center;
    }

    .sobre-left,
    .sobre-right {
        align-self: center;
    }
}

.sobre-left {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sobre-image-placeholder {
    width: 100%;
    aspect-ratio: 1;
    background: linear-gradient(135deg, rgba(0, 64, 143, 0.1) 0%, rgba(242, 94, 25, 0.1) 100%);
    border: 2px dashed var(--color-2);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.sobre-image-placeholder::after {
    content: "Imagem em breve";
    color: var(--color-2);
    font-size: 18px;
    font-weight: 500;
    opacity: 0.5;
}

.sobre-image-wrapper {
    border-radius: 20px;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.sobre-image-wrapper .sobre-imagem-icone {
    top: auto;
    bottom: 0px;
    right: 0px;
    background-color: var(--color-1);
    border-radius: 20px 0 20px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 12px;
    gap: 4px;
    width: 200px;
    height: 112px;
}

.sobre-image-wrapper .sobre-imagem-icone h3 {
    color: var(--light);
    font-size: 40px;
    font-weight: 700;
    margin: 0;
    line-height: 1;
}

.sobre-image-wrapper .sobre-imagem-icone p {
    color: var(--light);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.3;
    margin: 0;
    text-align: center;
}

.sobre-image-wrapper img {
    border-radius: 20px;
    width: 100%;
    display: block;
}

.sobre-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
}

.sobre-right .section-title {
    display: none;
    text-align: left;
    margin-bottom: 0;
    font-weight: 800;
}

@media (min-width: 780px) {
    .sobre-right .section-title {
        display: block;
    }
}

.sobre-wrapper strong {
    color: var(--color-2);
}

.sobre-desc p {
    text-align: left;
    padding: 0;
    color: var(--middle-dark);
    font-weight: 400;
    font-size: 18px;
    line-height: 1.6;
}

@media (min-width: 780px) {
    .sobre-desc p {
        font-size: 19px;
    }

    .sobre-image-wrapper .sobre-imagem-icone {
        width: 220px;
    }
}

.sobre-icons-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 4px 0 16px;
}

.sobre-icon-card {
    background: linear-gradient(135deg, rgba(0, 64, 143, 0.15) 0%, rgba(0, 64, 143, 0.25) 100%);
    border-radius: 20px;
    padding: 16px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.sobre-icon-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 64, 143, 0.1);
}

.sobre-icon-card span {
    color: var(--color-2);
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    line-height: 1.2;
    word-break: break-word;
}

@media (min-width: 600px) {
    .sobre-icons-wrapper {
        gap: 16px;
    }

    .sobre-icon-card span {
        font-size: 15px;
    }
}

.sobre-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 28px;
    background-color: var(--color-1);
    color: var(--light);
    font-weight: 600;
    font-size: 18px;
    border-radius: 36px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(242, 94, 25, 0.3);
    width: fit-content;
}

.sobre-cta-button:hover {
    background-color: #d94d0f;
    box-shadow: 0 6px 16px rgba(242, 94, 25, 0.4);
    transform: translateY(-2px);
}

.sobre-cta-button svg {
    color: var(--light);
    transition: transform 0.3s ease;
}

.sobre-cta-button:hover svg {
    transform: translateX(4px);
}

/* ====================================================== */
/* ====================================================== */
/* ==================== REVIEWS SECTION ================= */
/* ====================================================== */
/* ====================================================== */
.reviews-section {
    padding: 80px 0;
    background:
        linear-gradient(135deg, rgba(0, 12, 26, 0.8) 0%, rgba(23, 64, 114, 0.7) 100%),
        url("../images/elet-curitiba-small.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll;
}

@media (min-width: 768px) {
    .reviews-section {
        background-image:
            linear-gradient(135deg, rgba(0, 12, 26, 0.8) 0%, rgba(23, 64, 114, 0.7) 100%),
            url("../images/elet-curitiba-medium.webp");
    }
}

@media (min-width: 992px) {
    .reviews-section {
        background-image:
            linear-gradient(135deg, rgba(0, 12, 26, 0.8) 0%, rgba(23, 64, 114, 0.7) 100%),
            url("../images/elet-curitiba.webp");
    }
}

@media (min-width: 1080px) {
    .reviews-section {
        background-attachment: fixed;
    }
}

.reviews-section .section-title {
    color: var(--light) !important;
}

.reviews-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    flex-wrap: wrap;
    gap: 16px;
}

/* Swiper Container Padding */
.mySwiper {
    padding-bottom: 50px !important;
}

/* Swiper Navigation */
.swiper-navigation-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
}

.swiper-button-prev,
.swiper-button-next {
    position: static !important;
    width: 50px !important;
    height: 50px !important;
    margin: 0 !important;
    background-color: var(--background);
    border-radius: 50% !important;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.swiper-button-prev svg,
.swiper-button-next svg {
    width: 28px !important;
    height: 28px !important;
    color: var(--color-1);
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
    background-color: var(--color-1);
}

.swiper-button-prev:hover svg,
.swiper-button-next:hover svg {
    color: var(--light);
}

.swiper-button-prev.swiper-button-disabled,
.swiper-button-next.swiper-button-disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* Review Cards */
.review-card {
    background: var(--background);
    border-radius: 20px;
    padding: 32px;
    height: 100%;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: transform 0.3s ease;
}

.review-header {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.review-stars {
    color: #ffd700;
    font-size: 20px;
    letter-spacing: 2px;
}

.review-author {
    color: var(--color-2);
    font-size: 20px;
    font-weight: 600;
}

.review-text {
    color: var(--middle-dark);
    font-size: 18px;
    font-weight: 300;
    line-height: 1.6;
    font-style: italic;
}

/* Swiper Pagination */
.swiper-pagination {
    bottom: 0 !important;
}

.swiper-pagination-bullet {
    background: var(--color-1) !important;
    opacity: 0.5;
    width: 10px;
    height: 10px;
    border-radius: 50% !important;
}

.swiper-pagination-bullet-active {
    opacity: 1 !important;
}

/* ======================================================================================== */
/* CTA BLUE (ABAIXO DO REVIEWS) */
/* ======================================================================================== */

.cta-blue {
    padding: 80px 0 80px;
    width: 100%;
}

.cta-blue-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    text-align: center;
    background-color: var(--color-2);
    border-radius: 20px;
    padding: 32px;
    position: relative;
    overflow: hidden;
}

.cta-blue-text h2 {
    color: var(--light);
    font-size: 28px;
    margin-bottom: 16px;
    text-align: left;
}

.cta-blue-text p {
    color: var(--light);
    font-size: 18px;
    font-weight: 300;
    text-align: left;
}

.cta-blue-buttons-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.cta-blue-button {
    background-color: var(--color-1);
    color: var(--light);
    border-radius: 20px;
    font-size: 17px;
    font-weight: 600;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    text-decoration: none;
    white-space: nowrap;
    border: 3px solid var(--color-2);
    height: 52px !important;
    width: 280px !important;
}

.cta-blue-button:hover {
    background-color: transparent;
    color: var(--color-1);
    border: 3px solid var(--color-1);
}

.cta-blue-button svg {
    width: 24px;
    height: 24px;
    fill: var(--light);
    transition: all 0.3s ease;
}

.cta-blue-button:hover svg {
    fill: var(--color-1);
}

.cta-blue .secundary-cta-button {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    font-size: 20.5px;
    font-weight: 600;
    color: var(--light);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    text-decoration: none;
    white-space: nowrap;
    height: 52px !important;
    width: 280px !important;
}

.cta-blue .secundary-cta-button:hover {
    background-color: var(--light);
    color: var(--color-2);
}

.cta-blue .secundary-cta-button svg {
    fill: var(--light);
}

.cta-blue .secundary-cta-button:hover svg {
    fill: var(--color-2);
}

@media (min-width: 780px) {
    .cta-blue-wrapper {
        justify-content: space-between;
        text-align: left;
    }

    .cta-blue-text h2 {
        text-align: center;
        font-size: 36px;
    }

    .cta-blue-text p {
        padding: 0 112px;
    }

    .cta-blue-buttons-wrapper {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 8px;
    }
}
