.home-page {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.home-hero,
.home-section {
    max-width: 100%;
    overflow-x: hidden;
}

.home-hero {
    position: relative;
    padding: 74px 24px 82px !important;
    background: var(--baseBack);
}

.home-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(300px, .9fr);
    align-items: center;
    gap: 42px;
    width: min(1120px, 100%);
    min-height: 390px;
    margin: 0 auto;
}

.home-hero-watermark {
    z-index: 2;
    width: min(330px, 72%);
    height: auto;
    pointer-events: none;
    filter: drop-shadow(0 18px 24px rgba(45, 91, 61, .14));
}

.home-hero-content {
    position: relative;
    z-index: 3;
    max-width: 600px;
}

.home-hero-content h1,
.home-hero-content p {
    overflow-wrap: anywhere;
}

.hero-kicker { display: inline-block; margin-bottom: 14px; color: #4f795c; font-size: .76rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.home-hero-content h1 { margin: 0 0 20px; color: #1f4934; font-size: clamp(2.45rem, 5vw, 4.4rem); line-height: 1.04; letter-spacing: -.055em; }
.home-hero-content h1 strong { color: #3f714c; }
.home-hero-content p { max-width: 520px; margin: 0 0 30px; color: #536a5b; font-size: clamp(1.05rem, 1.8vw, 1.22rem); line-height: 1.65; }
.hero-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.hero-actions .btn { padding: 12px 24px; border: 0; border-radius: 10px; background: linear-gradient(120deg, #3d6e4c, #5b8964); color: #fff; box-shadow: 0 9px 18px rgba(61, 110, 76, .22); transition: transform .25s ease, box-shadow .25s ease, background .25s ease; }
.hero-actions .btn:hover { background: linear-gradient(120deg, #365f43, #527e5a); color: #fff; transform: translateY(-3px); box-shadow: 0 13px 24px rgba(54, 95, 67, .3); }
.hero-actions .btn:active { transform: translateY(-1px); }
.hero-note { color: #6b7c70; font-size: .88rem; }
.home-hero-visual { position: relative; display: grid; place-items: center; min-height: 360px; }
.hero-visual-ring { position: absolute; width: min(360px, 90%); aspect-ratio: 1; border: 1px solid rgba(255, 255, 255, .3); border-radius: 50%; background: linear-gradient(145deg, #315d4d, #6f956e); box-shadow: 0 20px 45px rgba(48, 79, 58, .2); }

.home-section .row,
.home-section .carousel {
    max-width: 100%;
}

.home-section .row {
    margin-right: 0;
    margin-left: 0;
}

.about-section {
    padding-top: 78px !important;
    padding-bottom: 78px !important;
    background: linear-gradient(180deg, rgba(255, 255, 255, .16), rgba(226, 237, 228, .3));
}

.about-heading {
    max-width: 700px;
    margin: 0 auto 28px;
}

.about-heading h2 {
    margin: 0;
    color: #203b2d;
    font-size: clamp(1.8rem, 3vw, 2.25rem);
    letter-spacing: -.035em;
}

.about-copy {
    max-width: 760px;
    margin: 0 auto;
    color: #355244;
    font-size: clamp(1.05rem, 1.8vw, 1.2rem);
    line-height: 1.75;
}

.services-section {
    position: relative;
    padding-top: 76px !important;
    padding-bottom: 76px !important;
}

.services-heading {
    max-width: 620px;
    margin: 0 auto 38px;
}

.section-kicker {
    display: inline-block;
    margin-bottom: 9px;
    color: #4f795c;
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.services-heading h2 {
    color: #294a38;
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    letter-spacing: -.035em;
}

.services-heading p {
    margin: 0;
    color: #6b7c70;
    font-size: .98rem;
    line-height: 1.55;
}

.services-grid { align-items: stretch; }

.services-grid > [class*="col-"] { display: flex; }

.service-card {
    position: relative;
    width: 100%;
    min-height: 190px;
    overflow: hidden;
    border: 1px solid #dce7dc;
    border-radius: 18px;
    background: rgba(255, 255, 255, .82);
    box-shadow: 0 9px 22px rgba(48, 79, 58, .07);
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.service-card::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #4f795c, #a2c28d);
    content: "";
}

.service-card:hover {
    border-color: #a9c6aa;
    box-shadow: 0 16px 30px rgba(48, 79, 58, .13);
    transform: translateY(-5px);
}

.service-card-body {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 27px 25px 24px;
}

.service-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin-bottom: 20px;
    border-radius: 10px;
    background: #edf5eb;
    color: #4f795c;
    font-size: .75rem;
    font-weight: 700;
}

.service-card h5 {
    margin: 0 0 9px;
    color: #294a38;
    font-size: 1.1rem;
    font-weight: 700;
}

.service-card p {
    margin: 0;
    color: #6b7c70;
    font-size: .92rem;
    line-height: 1.55;
}

.testimonials-section {
    padding-top: 76px !important;
    padding-bottom: 76px !important;
}

.testimonials-heading {
    max-width: 620px;
    margin: 0 auto 38px;
}

.testimonials-heading h2 {
    color: #294a38;
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    letter-spacing: -.035em;
}

.testimonials-heading p {
    margin: 0;
    color: #6b7c70;
    font-size: .98rem;
    line-height: 1.55;
}

.home-section .testimonials-carousel {
    width: calc(100% - 24px);
    max-width: 500px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 18px;
    box-shadow: 0 14px 30px rgba(48, 79, 58, .1);
}

.testimonials-inner {
    height: 500px !important;
    border: 1px solid #dce7dc;
    border-radius: 18px !important;
    background: rgba(255, 255, 255, .86) !important;
    overflow: hidden !important;
    isolation: isolate;
}

.testimonials-item {
    height: 500px !important;
    overflow: hidden;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform: translateZ(0);
}

.testimonials-item > div {
    gap: 8px;
}

.testimonial-media-wrap { position: relative; overflow: hidden; border-radius: 12px; }
.testimonial-media-wrap img { display: block; }
.testimonial-media-overlay { position: absolute; inset: auto 0 0; display: flex; flex-direction: column; gap: 3px; padding: 28px 14px 12px; background: linear-gradient(transparent, rgba(20, 38, 27, .88)); color: #fff; text-align: left; opacity: 0; transform: translateY(8px); transition: opacity .25s ease, transform .25s ease; }
.testimonial-media-wrap:hover .testimonial-media-overlay, .testimonial-media-wrap:focus-within .testimonial-media-overlay { opacity: 1; transform: translateY(0); }
.testimonial-media-overlay strong { font-size: .9rem; }
.testimonial-media-overlay span { font-size: .82rem; line-height: 1.35; }
@media (hover: none) { .testimonial-media-overlay { opacity: 1; transform: translateY(0); } }

.testimonials-item img,
.testimonials-item video {
    width: auto;
    max-width: min(88%, 760px);
    max-height: 450px !important;
    border-radius: 12px;
    object-fit: contain;
}

.testimonials-item .dsDepoimento {
    max-width: 650px;
    color: #557060;
    font-size: 1rem;
    line-height: 1.6;
}

.testimonials-carousel .carousel-control-prev,
.testimonials-carousel .carousel-control-next {
    width: 10%;
    opacity: .9;
}

.testimonials-carousel .carousel-control-prev-icon,
.testimonials-carousel .carousel-control-next-icon {
    width: 38px;
    height: 38px;
    padding: 9px !important;
    border-radius: 50%;
    background-color: #477252 !important;
    background-size: 52%;
    box-shadow: 0 5px 12px rgba(39, 75, 51, .2);
}

.testimonials-carousel .carousel-indicators {
    bottom: 10px;
    margin-bottom: 0;
}

.testimonials-carousel .carousel-indicators [data-bs-target] {
    width: 7px;
    height: 7px;
    margin: 0 4px;
    border: 0;
    border-radius: 50%;
    background-color: #9ebba0;
    opacity: 1;
}

.testimonials-carousel .carousel-indicators .active {
    width: 22px;
    border-radius: 5px;
    background-color: #4f795c;
}

@media (max-width: 575.98px) {
    .home-hero { padding: 34px 0 !important; }

    .home-hero-inner {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 18px;
        min-height: 0;
        text-align: center;
    }

    .home-hero-watermark {
        width: 330px;
        max-width: 88vw;
    }

    .home-hero-content {
        padding: 0 12px;
    }

    .home-hero-content h1 {
        font-size: clamp(2rem, 10vw, 2.7rem);
        line-height: 1.1;
    }

    .home-hero-content p {
        font-size: 1rem;
        line-height: 1.5;
        margin-right: auto;
        margin-left: auto;
    }

    .home-hero-content p br { display: none; }
    .hero-actions { justify-content: center; }
    .home-hero-visual {
        order: -1;
        min-height: 136px;
        width: 100%;
        margin-bottom: 2px;
    }
    .hero-visual-ring { width: 132px; }
    .home-hero-watermark { width: 115px; }
    .home-section { padding-right: 12px !important; padding-left: 12px !important; }

    .services-section {
        padding-top: 54px !important;
        padding-bottom: 54px !important;
    }

    .about-section {
        padding-top: 54px !important;
        padding-bottom: 54px !important;
    }

    .about-heading { margin-bottom: 22px; }
    .about-copy { line-height: 1.6; }

    .services-heading { margin-bottom: 28px; }
    .service-card { min-height: 0; }

    .testimonials-section {
        padding-top: 54px !important;
        padding-bottom: 54px !important;
    }

    .testimonials-heading { margin-bottom: 28px; }
    .home-section .testimonials-carousel {
        width: 100%;
    }
    .testimonials-inner,
    .testimonials-item { height: 330px !important; }
    .testimonials-item img,
    .testimonials-item video {
        max-width: 86%;
        max-height: 250px !important;
    }
    .testimonials-item .dsDepoimento { font-size: .9rem; }
}
