/********** Template CSS **********/
:root {
    --primary: #348E38;
    --secondary: #525368;
    --light: #E8F5E9;
    --dark: #0F4229;
}

/* Evita quebra de layout por imagens grandes */
html {
    overflow-x: clip;
}

body {
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

.row > [class*="col"] {
    min-width: 0;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

h1,
.h1,
h2,
.h2,
.fw-bold {
    font-weight: 700 !important;
}

h3,
.h3,
h4,
.h4,
.fw-medium {
    font-weight: 600 !important;
}

h5,
.h5,
h6,
.h6,
.fw-semi-bold {
    font-weight: 500 !important;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    transition: .5s;
    font-weight: 500;
}

.btn-primary,
.btn-outline-primary:hover {
    color: var(--light);
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}


/*** Navbar ***/
.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

.navbar .navbar-brand,
.navbar a.btn {
    height: 120px
}

.navbar .navbar-nav .nav-link {
    margin-right: 35px;
    padding: 25px 0;
    color: var(--dark);
    font-size: 18px;
    font-weight: 500;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: rgba(15, 66, 41, .6);
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 15%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 3rem;
    background-color: var(--primary);
    border: 10px solid var(--primary);
}

.header-banner,
#header-banner.header-banner {
    position: relative;
    background: var(--dark);
    line-height: 0;
}

.header-banner img,
#header-banner.header-banner img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
}

/* Home – formulário de orçamento */
.home-quote {
    background: linear-gradient(180deg, #f8fbf8 0%, #ffffff 100%);
    overflow-x: hidden;
}

.home-quote-card {
    padding: 2.5rem 2rem 2.25rem;
    background: #fff;
    border: 1px solid rgba(52, 142, 56, 0.15);
    box-shadow: 0 20px 56px rgba(15, 66, 41, 0.08);
}

.home-quote-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.35rem;
}

.home-quote-lead {
    font-size: 0.9rem;
    color: var(--secondary);
    margin-bottom: 1.25rem;
    line-height: 1.5;
}

.home-quote-submit {
    border-radius: 0;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.home-quote-input {
    border-radius: 0 !important;
    border: 1px solid rgba(52, 142, 56, 0.12) !important;
}

.home-quote-input:focus {
    box-shadow: 0 0 0 0.2rem rgba(52, 142, 56, 0.15);
}

.home-brand-quote__form .home-quote-input {
    background: #fff !important;
}

/* Home – banner portfólio de serviços */
.home-services-banner {
    background: linear-gradient(180deg, #ffffff 0%, #f0f7f0 50%, #f8fbf8 100%);
    overflow-x: hidden;
}

.home-services-banner-link {
    text-decoration: none;
    color: inherit;
}

.home-services-banner-frame {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    padding: 0.5rem;
    background: #fff;
    border-radius: 18px;
    border: 1px solid rgba(52, 142, 56, 0.15);
    box-shadow: 0 20px 56px rgba(15, 66, 41, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.home-services-banner-frame::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), #2a7530, var(--primary));
    z-index: 2;
}

.home-services-banner-link:hover .home-services-banner-frame {
    transform: translateY(-4px);
    box-shadow: 0 28px 64px rgba(15, 66, 41, 0.16);
}

.home-services-banner-frame img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 14px;
    transition: transform 0.4s ease;
}

.home-services-banner-link:hover .home-services-banner-frame img {
    transform: scale(1.02);
}

@media (max-width: 575.98px) {
    .home-services-banner .btn {
        width: 100%;
    }
}

.page-header {
    background: linear-gradient(rgba(15, 66, 41, .6), rgba(15, 66, 41, .6)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--light);
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    font-size: 18px;
    color: var(--light);
}


/*** Top Feature ***/
@media (min-width: 991.98px) {
    .top-feature {
        position: relative;
        margin-top: -80px;
        z-index: 1;
    }
}


/*** Facts & Quote ***/
.facts,
.quote {
    background: rgba(15, 66, 41, .6);
}


/*** Service ***/
.service-item {
    position: relative;
    text-align: center;
}

.service-item .service-img {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: -1;
}

.service-item .service-img img {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    object-fit: cover;
    transform: scale(1.2);
    transition: .3s;
    z-index: -1;
}

.service-item:hover .service-img img {
    transform: scale(1);
}

.service-item .service-text {
    background: #FFFFFF;
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    transition: .3s;
}

.service-item:hover .service-text {
    background: rgba(15, 66, 41, .6);
}

.service-item .service-text h4,
.service-item .service-text p {
    transition: .3;
}

.service-item:hover .service-text h4 {
    color: #FFFFFF;
}

.service-item:hover .service-text p {
    color: var(--light);
}

.service-item .service-text .btn-square {
    width: 100px;
    height: 100px;
    background: transparent;
    transition: .5s;
}

.service-item:hover .service-text .btn-square {
    background: var(--light);
}

.service-item .service-text .btn {
    width: 31px;
    height: 31px;
    display: inline-flex;
    align-items: center;
    color: var(--dark);
    background: var(--light);
    white-space: nowrap;
    overflow: hidden;
    transition: .3s;
}

.service-item:hover .service-text .btn {
    width: 112px;
}


/*** Project Portfolio ***/
#portfolio-flters {
    display: inline-block;
    background: var(--light);
    padding: 10px 15px;
}

#portfolio-flters li {
    display: inline-block;
    font-weight: 500;
    color: var(--primary);
    cursor: pointer;
    transition: .5s;
    border-bottom: 2px solid transparent;
}

#portfolio-flters li:hover,
#portfolio-flters li.active {
    color: var(--dark);
    border-color: var(--dark);
}

.portfolio-inner {
    position: relative;
    overflow: hidden;
    max-width: 100%;
}

.portfolio-inner img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 4 / 3;
}

.portfolio-inner::before,
.portfolio-inner::after {
    position: absolute;
    content: "";
    width: 0;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(15, 66, 41, .6);
    transition: .5s;
}

.portfolio-inner::after {
    left: auto;
    right: 0;
}

.portfolio-inner:hover::before,
.portfolio-inner:hover::after {
    width: 50%;
}

.portfolio-inner .portfolio-text {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: .5s;
    z-index: 3;
    opacity: 0;
}

.portfolio-inner:hover .portfolio-text {
    transition-delay: .3s;
    opacity: 1;
}

.portfolio-inner .portfolio-text .btn {
    background: var(--light);
    color: var(--primary);
}

.portfolio-inner .portfolio-text .btn:hover {
    background: var(--primary);
    color: var(--light);
}


/*** Team ***/
.team-item {
    position: relative;
    overflow: hidden;
}

.team-item .team-text {
    position: absolute;
    width: calc(100% - 45px);
    left: -100%;
    bottom: 45px;
    padding: 1.5rem;
    background: #FFFFFF;
    border-radius: 0 4px 4px 0;
    opacity: 0;
    transition: .5s;
}

.team-item:hover .team-text {
    left: 0;
    opacity: 1;
}

.team-item .team-social .btn {
    background: var(--light);
    color: var(--primary);
}

.team-item .team-social .btn:hover {
    background: var(--primary);
    color: var(--light);
}

.team-item .team-img .team-social {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .5s;
    z-index: 3;
    opacity: 0;
}

.team-item:hover .team-img .team-social {
    transition-delay: .3s;
    opacity: 1;
}


/*** Testimonial ***/

.testimonial-carousel .owl-item img {
    width: 100px;
    height: 100px;
}

.testimonial-carousel .owl-nav {
    margin-top: 30px;
    display: flex;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin-right: 15px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    background: var(--light);
    border-radius: 4px;
    font-size: 22px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    color: var(--light);
}


/*** Footer ***/
.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: var(--light);
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--primary);
    letter-spacing: 1px;
    box-shadow: none;
}

.copyright {
    color: var(--light);
    background: #072A19;
}

.copyright a {
    color: #FFFFFF;
}

.copyright a:hover {
    color: var(--primary);
}

.titulo-pagina {
    font-family: "Jost",sans-serif;
    font-size: 20px;
    color: #0f4229;
    font-weight: 600;
}

.titulo-pagina-sub {
    font-family: "Jost",sans-serif;
    font-size: 25px;
    color: #0f4229;
    font-weight: 600;
}

/* Páginas de serviço – layout moderno */
.service-page-section {
    background: linear-gradient(135deg, #f8fbf8 0%, #ffffff 55%, #eef6ee 100%);
    overflow-x: hidden;
}

.service-page-eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary);
    background: var(--light);
    padding: 0.45rem 1rem;
    border-radius: 50px;
    margin-bottom: 1rem;
}

.service-page-title {
    color: var(--dark);
    line-height: 1.2;
}

.service-page-lead {
    color: var(--secondary);
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 520px;
}

.service-page-services {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.service-page-service-card.flex-column {
    flex-direction: column;
    align-items: stretch;
}

.service-page-service-card {
    display: flex;
    gap: 1.15rem;
    padding: 1.35rem 1.4rem;
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid rgba(52, 142, 56, 0.12);
    box-shadow: 0 12px 40px rgba(15, 66, 41, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-page-service-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 48px rgba(15, 66, 41, 0.1);
}

.service-page-service-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary) 0%, #2a7530 100%);
    color: #fff;
    font-size: 1.25rem;
}

.service-page-service-body h3 {
    font-size: 1.1rem;
    color: var(--dark);
    margin-bottom: 0.65rem;
}

.service-page-service-body ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-page-service-body ul li {
    position: relative;
    padding-left: 1.1rem;
    margin-bottom: 0.35rem;
    color: var(--secondary);
    font-size: 0.95rem;
    line-height: 1.5;
}

.service-page-service-body ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary);
}

.service-page-service-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.95rem 1.25rem;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 12px;
    border: 1px solid rgba(52, 142, 56, 0.08);
    font-weight: 500;
    color: var(--dark);
    transition: background 0.2s ease, border-color 0.2s ease;
}

.service-page-service-item:hover {
    background: #fff;
    border-color: rgba(52, 142, 56, 0.2);
}

.service-page-service-icon-sm {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--light);
    color: var(--primary);
    font-size: 0.95rem;
}

.service-page-media {
    position: relative;
    max-width: 100%;
    overflow: hidden;
}

.service-page-media::before {
    content: "";
    position: absolute;
    inset: 10px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
    border-radius: 20px;
    opacity: 0.08;
    z-index: 0;
    pointer-events: none;
}

.service-page-media-frame {
    position: relative;
    z-index: 1;
    max-width: 100%;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(15, 66, 41, 0.12);
    background: #fff;
}

.service-page-media-frame img {
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 480px;
    display: block;
    object-fit: cover;
    object-position: center;
}

.service-page-service-card .service-page-media-frame {
    max-height: 220px;
}

.service-page-service-card .service-page-media-frame img {
    width: 100%;
    height: 220px;
    max-height: 220px;
    object-fit: cover;
}

@media (max-width: 991.98px) {
    .service-page-media {
        margin-top: 1rem;
    }

    .service-page-media::before {
        inset: 8px -8px -8px 8px;
    }
}

.service-page-gallery {
    background: #fff;
}

/* Página Nossos Serviços (servicos.html) */
.servicos-page {
    background: linear-gradient(180deg, #f8fbf8 0%, #ffffff 45%, #f0f7f0 100%);
    overflow-x: hidden;
}

.servicos-page-intro {
    max-width: 640px;
}

.servicos-page-lead {
    color: var(--secondary);
    font-size: 1.08rem;
    line-height: 1.7;
    margin-bottom: 0;
}

.servicos-page-card-link {
    display: block;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.servicos-page-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border: 1px solid rgba(52, 142, 56, 0.12);
    box-shadow: 0 12px 36px rgba(15, 66, 41, 0.07);
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.servicos-page-card-link:hover .servicos-page-card {
    transform: translateY(-5px);
    box-shadow: 0 18px 44px rgba(15, 66, 41, 0.12);
}

.servicos-page-card-img {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #e8efe9;
}

.servicos-page-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.servicos-page-card-link:hover .servicos-page-card-img img {
    transform: scale(1.05);
}

.servicos-page-card-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 66, 41, 0.55);
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.servicos-page-card-link:hover .servicos-page-card-overlay {
    opacity: 1;
}

.servicos-page-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 1.35rem 1.4rem 1.4rem;
}

.servicos-page-card-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.85rem;
    background: linear-gradient(135deg, var(--primary) 0%, #2a7530 100%);
    color: #fff;
    font-size: 1.1rem;
}

.servicos-page-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.servicos-page-card-desc {
    font-size: 0.92rem;
    line-height: 1.55;
    color: var(--secondary);
    margin-bottom: 1rem;
    flex: 1;
}

.servicos-page-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--primary);
    transition: gap 0.2s ease, color 0.2s ease;
}

.servicos-page-card-link:hover .servicos-page-card-cta {
    gap: 0.65rem;
    color: var(--dark);
}

.servicos-page-footer-cta .btn {
    border-radius: 0;
}

.service-page-gallery-item {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(15, 66, 41, 0.08);
    aspect-ratio: 4 / 3;
    max-width: 100%;
}

.service-page-gallery-item img {
    width: 100%;
    max-width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.service-page-gallery-item:hover img {
    transform: scale(1.05);
}

/* Home – últimos destaques Instagram */
.home-destaques {
    background: linear-gradient(180deg, #f8fbf8 0%, #ffffff 50%, #f0f7f0 100%);
    overflow-x: hidden;
}

.home-destaques-title {
    color: var(--dark);
    line-height: 1.2;
}

.home-destaques-lead {
    color: var(--secondary);
    font-size: 1.05rem;
    line-height: 1.65;
}

.home-destaques-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
}

.home-destaques-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid rgba(52, 142, 56, 0.12);
    box-shadow: 0 10px 32px rgba(15, 66, 41, 0.07);
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.home-destaques-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 40px rgba(15, 66, 41, 0.11);
}

.home-destaques-media {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #e8efe9;
}

.home-destaques-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.home-destaques-card:hover .home-destaques-media img {
    transform: scale(1.05);
}

.home-destaques-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    background: rgba(15, 66, 41, 0.55);
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.home-destaques-card:hover .home-destaques-overlay {
    opacity: 1;
}

.home-destaques-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 1.2rem 1.4rem 1.4rem;
}

.home-destaques-badge {
    display: inline-block;
    align-self: flex-start;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--primary);
    background: rgba(52, 142, 56, 0.1);
    padding: 0.35rem 0.75rem;
    margin-bottom: 0.65rem;
}

.home-destaques-excerpt {
    margin: 0 0 0.9rem;
    font-size: 0.92rem;
    line-height: 1.55;
    color: var(--secondary);
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.home-destaques-btn {
    padding: 0.8rem 1.1rem;
    font-size: 0.88rem;
}

.home-destaques-btn .instagram-post-btn-icon {
    width: 32px;
    height: 32px;
    font-size: 1rem;
}

.home-destaques-cta {
    border-radius: 0;
}

.home-destaques-cta-outline {
    border-radius: 0;
}

@media (max-width: 991.98px) {
    .home-destaques-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.35rem;
    }
}

@media (max-width: 575.98px) {
    .home-destaques-grid {
        grid-template-columns: 1fr;
    }

    .home-destaques-cta-outline {
        display: block;
        width: 100%;
        max-width: 320px;
        margin-left: auto !important;
        margin-right: auto;
    }
}

/* Página Destaques – feed Instagram */
.instagram-feed-section {
    background: linear-gradient(180deg, #f8fbf8 0%, #ffffff 45%, #f0f7f0 100%);
    overflow-x: hidden;
}

.instagram-feed-title {
    color: var(--dark);
    line-height: 1.2;
}

.instagram-feed-lead {
    color: var(--secondary);
    font-size: 1.05rem;
    line-height: 1.65;
}

.instagram-profile-bar {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.instagram-profile-bar-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: #fff;
    border-radius: 14px;
    border: 1px solid rgba(52, 142, 56, 0.12);
    box-shadow: 0 8px 28px rgba(15, 66, 41, 0.06);
}

.instagram-post-card,
.instagram-embed-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid rgba(52, 142, 56, 0.12);
    box-shadow: 0 12px 36px rgba(15, 66, 41, 0.08);
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.instagram-post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 44px rgba(15, 66, 41, 0.12);
}

.instagram-post-card-media {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background: #e8efe9;
}

.instagram-post-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.instagram-post-card:hover .instagram-post-card-media img {
    transform: scale(1.04);
}

.instagram-post-card-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: rgba(15, 66, 41, 0.55);
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.instagram-post-card:hover .instagram-post-card-overlay {
    opacity: 1;
}

.instagram-post-card-body {
    padding: 1.15rem 1.35rem 1.35rem;
}

.instagram-post-excerpt {
    margin: 0 0 0.85rem;
    font-size: 0.92rem;
    line-height: 1.55;
    color: var(--secondary);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.instagram-post-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    width: 100%;
    padding: 0.85rem 1.35rem;
    border-radius: 0;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.02em;
    text-decoration: none;
    color: #fff;
    background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 50%, #2d8a32 100%);
    box-shadow: 0 8px 22px rgba(15, 66, 41, 0.2);
    transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
}

.instagram-post-btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 0;
    background: rgba(255, 255, 255, 0.18);
    font-size: 1.05rem;
}

.instagram-post-btn-text {
    flex: 1;
    text-align: center;
}

.instagram-post-btn-arrow {
    flex-shrink: 0;
    font-size: 0.8rem;
    opacity: 0.9;
    transition: transform 0.22s ease;
}

.instagram-post-btn:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(15, 66, 41, 0.28);
    filter: brightness(1.06);
}

.instagram-post-btn:hover .instagram-post-btn-arrow {
    transform: translateX(4px);
}

.instagram-embed-card {
    padding: 1rem 1rem 1.15rem;
}

.instagram-embed-wrap {
    overflow: hidden;
    border-radius: 12px;
    min-height: 320px;
}

.instagram-embed-wrap .instagram-media {
    margin: 0 auto !important;
    min-width: 0 !important;
    width: 100% !important;
}

.instagram-post-preview {
    position: relative;
    display: block;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 0.75rem;
    aspect-ratio: 1 / 1;
}

.instagram-post-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.instagram-post-card:hover .instagram-post-preview img {
    transform: scale(1.03);
}

.instagram-post-card-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: rgba(15, 66, 41, 0.55);
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.instagram-post-card:hover .instagram-post-card-overlay {
    opacity: 1;
}

.instagram-post-card .instagram-embed-card-meta {
    padding: 1.15rem 1.35rem 0.65rem;
    margin-bottom: 0;
}

.instagram-embed-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    padding: 0 1.35rem;
}

.instagram-embed-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--primary);
    background: rgba(52, 142, 56, 0.1);
    padding: 0.3rem 0.75rem;
    border-radius: 50px;
}

.instagram-embed-service-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--dark);
    text-decoration: none;
}

.instagram-embed-service-link:hover {
    color: var(--primary);
}

.instagram-embed-card .instagram-media {
    margin: 0 auto !important;
    min-width: 0 !important;
    width: 100% !important;
}

@media (max-width: 575.98px) {
    .instagram-profile-bar-inner {
        flex-direction: column;
        text-align: center;
    }

    .instagram-profile-bar-inner .btn {
        width: 100%;
    }
}

/* Página de contato */
.contact-page {
    background: linear-gradient(180deg, #f8fbf8 0%, #ffffff 35%, #f0f7f0 100%);
    overflow-x: hidden;
}

.contact-page-title {
    color: var(--dark);
    line-height: 1.2;
}

.contact-page-lead {
    color: var(--secondary);
    font-size: 1.05rem;
    line-height: 1.65;
}

.contact-page-info-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 1.35rem 1.25rem;
    background: #fff;
    border-radius: 14px;
    border: 1px solid rgba(52, 142, 56, 0.12);
    box-shadow: 0 8px 28px rgba(15, 66, 41, 0.06);
    color: var(--dark);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

a.contact-page-info-card:hover {
    border-color: var(--primary);
    box-shadow: 0 12px 32px rgba(15, 66, 41, 0.1);
    transform: translateY(-2px);
    color: var(--dark);
}

.contact-page-info-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-bottom: 0.85rem;
    background: var(--light);
    color: var(--primary);
    border-radius: 12px;
    font-size: 1.1rem;
}

.contact-page-info-card h3 {
    color: var(--dark);
    font-weight: 600;
}

.contact-page-info-card p {
    color: var(--secondary);
    line-height: 1.5;
}

.contact-page-form-card,
.contact-page-map-card {
    padding: 2rem 1.75rem;
    background: #fff;
    border-radius: 18px;
    border: 1px solid rgba(52, 142, 56, 0.15);
    box-shadow: 0 20px 56px rgba(15, 66, 41, 0.08);
}

.contact-page-input {
    border: 1px solid rgba(52, 142, 56, 0.15);
    border-radius: 10px;
}

.contact-page-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(52, 142, 56, 0.15);
}

.contact-page-map-frame {
    border-radius: 14px;
    overflow: hidden;
    min-height: 420px;
    height: calc(100% - 2.5rem);
    border: 1px solid rgba(52, 142, 56, 0.1);
}

.contact-page-map {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 420px;
    border: 0;
}

@media (max-width: 991.98px) {
    .contact-page-form-card,
    .contact-page-map-card {
        padding: 1.5rem 1.25rem;
    }

    .contact-page-map-frame,
    .contact-page-map {
        min-height: 360px;
    }
}

/* Home – slogan da marca + orçamento */
.home-slogan {
    background: linear-gradient(180deg, #f0f7f0 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.home-slogan + .footer.mt-5 {
    margin-top: 0 !important;
}

.home-brand-quote {
    display: grid;
    grid-template-columns: 1fr;
    background: #fff;
    border: 1px solid rgba(52, 142, 56, 0.14);
    box-shadow: 0 18px 52px rgba(15, 66, 41, 0.1);
    overflow: hidden;
}

.home-brand-quote__brand {
    display: flex;
    align-items: stretch;
    padding: 0;
    overflow: hidden;
}

.home-brand-quote__media {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 0;
    width: 100%;
    min-width: 0;
    min-height: 100%;
}

.home-brand-quote__visual {
    flex: 0 0 52%;
    max-width: 52%;
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: stretch;
    height: 100%;
    min-height: 100%;
    overflow: hidden;
    background: #fff;
}

.home-brand-quote__visual img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center center;
}

.home-brand-quote__contact {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.85rem;
    min-width: 0;
    padding: 1.5rem 1.35rem 1.35rem 1.5rem;
    border-left: 1px solid rgba(52, 142, 56, 0.12);
}

.home-brand-quote__actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.home-brand-quote__form {
    padding: 1.65rem 1.5rem 1.5rem;
    background: linear-gradient(180deg, #f4faf4 0%, #eef6ee 100%);
    border-top: 1px solid rgba(52, 142, 56, 0.12);
}

@media (min-width: 992px) {
    .home-brand-quote {
        grid-template-columns: 1.15fr 0.85fr;
        align-items: stretch;
    }

    .home-brand-quote__brand {
        min-height: 100%;
    }

    .home-brand-quote__visual {
        flex: 0 0 54%;
        max-width: 54%;
    }

    .home-brand-quote__contact {
        padding: 1.75rem 1.65rem 1.65rem 2rem;
    }

    .home-brand-quote__form {
        padding: 2rem 1.85rem 1.85rem;
        border-top: none;
        border-left: 1px solid rgba(52, 142, 56, 0.12);
    }
}

@media (min-width: 1200px) {
    .home-brand-quote {
        grid-template-columns: 1.2fr 0.8fr;
    }

    .home-brand-quote__contact {
        padding: 2rem 2.25rem 2rem 2.25rem;
    }

    .home-brand-quote__form {
        padding: 2.15rem 2rem 2rem;
    }
}

.home-slogan-tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.home-slogan-lead {
    font-size: 1rem;
    line-height: 1.55;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.home-slogan-lead strong {
    color: var(--dark);
    font-weight: 700;
}

.home-slogan-lead em {
    font-style: normal;
    color: var(--primary);
    font-weight: 600;
}

.home-slogan-cta-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--dark);
}

.home-slogan-btn {
    width: 100%;
    padding: 0.6rem 0.65rem;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 0;
    white-space: nowrap;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.home-slogan-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(15, 66, 41, 0.15);
}

.home-slogan-contact {
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--secondary);
    line-height: 1.5;
}

.home-slogan-contact a {
    color: var(--dark);
    text-decoration: none;
}

.home-slogan-contact a:hover {
    color: var(--primary);
}

.home-slogan-contact span {
    margin: 0 0.35rem;
    opacity: 0.5;
}

@media (max-width: 767.98px) {
    .home-brand-quote__media {
        flex-direction: column;
        text-align: center;
    }

    .home-brand-quote__visual {
        flex: 0 0 auto;
        max-width: 100%;
        width: 100%;
        min-height: 380px;
    }

    .home-brand-quote__visual img {
        object-fit: contain;
    }

    .home-brand-quote__contact {
        width: 100%;
        padding: 1.35rem 1.15rem 1.35rem;
        border-left: none;
        border-top: 1px solid rgba(52, 142, 56, 0.1);
    }
}

@media (max-width: 575.98px) {
    .home-brand-quote__brand,
    .home-brand-quote__form {
        padding: 1.35rem 1.15rem;
    }

    .home-slogan-lead {
        font-size: 0.95rem;
    }
}

/* Home – seção CETESB / Notificação */
.home-cetesb {
    background: linear-gradient(180deg, #f0f7f0 0%, #ffffff 40%, #f8fbf8 100%);
    border-bottom: 1px solid rgba(52, 142, 56, 0.1);
    overflow-x: hidden;
}

.home-cetesb-eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--primary);
    background: #fff;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    margin-bottom: 0.75rem;
    box-shadow: 0 4px 16px rgba(15, 66, 41, 0.06);
}

.home-cetesb-intro-text .home-cetesb-eyebrow {
    margin-bottom: 0.65rem;
}

.home-cetesb-intro-text .home-cetesb-title {
    color: var(--dark);
    line-height: 1.15;
    margin-top: 0;
    margin-bottom: 0.65rem;
}

.home-cetesb-intro-text .home-cetesb-lead {
    color: var(--secondary);
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 0;
}

.home-cetesb-ap-box {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.25rem 1.35rem;
    background: var(--dark);
    color: #fff;
    border-radius: 14px;
    box-shadow: 0 12px 40px rgba(15, 66, 41, 0.15);
}

.home-cetesb-ap-box h3 {
    color: #fff;
}

.home-cetesb-ap-box p {
    color: rgba(255, 255, 255, 0.88);
}

.home-cetesb-ap-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    border-radius: 12px;
    font-size: 1.2rem;
}

.home-cetesb-intro-row {
    align-items: flex-start;
    margin-bottom: 0;
}

@media (min-width: 992px) {
    .home-cetesb-intro-row {
        align-items: center;
    }
}

.home-cetesb-intro-text {
    min-width: 0;
}

.home-cetesb-intro-media {
    min-width: 0;
}

.home-cetesb-intro-media .home-cetesb-visual,
.home-cetesb-intro-media .home-cetesb-carousel {
    width: 100%;
}

.home-cetesb-intro-media .home-cetesb-carousel .carousel-item {
    height: 280px;
}

@media (min-width: 992px) {
    .home-cetesb-intro-media .home-cetesb-carousel .carousel-item {
        height: 300px;
    }
}

.home-cetesb-main-row {
    align-items: flex-start;
}

/* Etapas — cards (home) */
.home-cetesb-process {
    width: 100%;
}

.home-cetesb-process-title {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--dark);
    margin-bottom: 1rem;
}

.home-cetesb-process-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 1.35rem 1.25rem 1.25rem;
    background: #fff;
    border: 1px solid rgba(52, 142, 56, 0.14);
    border-left: 4px solid var(--primary);
    box-shadow: 0 6px 22px rgba(15, 66, 41, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.home-cetesb-process-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(15, 66, 41, 0.1);
}

.home-cetesb-process-num {
    position: absolute;
    top: 0.85rem;
    right: 1rem;
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1;
    color: rgba(15, 66, 41, 0.08);
    font-family: "Jost", sans-serif;
}

.home-cetesb-process-icon {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.85rem;
    background: linear-gradient(135deg, var(--primary) 0%, #2d8a32 100%);
    color: #fff;
    font-size: 1.1rem;
}

.home-cetesb-process-card h4 {
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.5rem;
    line-height: 1.35;
    padding-right: 1.5rem;
}

.home-cetesb-process-card p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.55;
    color: var(--secondary);
    flex: 1;
}

.home-cetesb-visual-col {
    align-self: flex-start;
}

.home-cetesb-visual {
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 12px 36px rgba(15, 66, 41, 0.1);
    background: var(--dark);
    padding: 0;
    max-width: 100%;
}

.home-cetesb-visual img {
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: min(70vh, 520px);
    border-radius: 12px;
    display: block;
    object-fit: contain;
    object-position: center top;
}

.home-cetesb-carousel {
    border-radius: 0;
    overflow: hidden;
    background: var(--dark);
}

.home-cetesb-carousel .carousel-inner {
    border-radius: 0;
    background: var(--dark);
}

.home-cetesb-carousel .carousel-item {
    position: relative;
    height: 420px;
    background: #e8efe9;
}

.home-cetesb-carousel .carousel-item img,
.home-cetesb-carousel .home-cetesb-carousel-img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 0;
}

.home-cetesb-carousel .carousel-indicators {
    margin-bottom: 0.5rem;
}

.home-cetesb-carousel .carousel-indicators [data-bs-target] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--primary);
    opacity: 0.35;
}

.home-cetesb-carousel .carousel-indicators .active {
    opacity: 1;
}

.home-cetesb-carousel .carousel-control-prev,
.home-cetesb-carousel .carousel-control-next {
    width: 12%;
}

.home-cetesb-carousel .carousel-control-prev-icon,
.home-cetesb-carousel .carousel-control-next-icon {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    background-color: var(--primary);
}

.home-cetesb-stat {
    display: flex;
    gap: 1rem;
    align-items: center;
    height: 100%;
    padding: 1.35rem 1.5rem;
    background: #fff;
    border-radius: 14px;
    border: 1px solid rgba(52, 142, 56, 0.12);
    box-shadow: 0 8px 28px rgba(15, 66, 41, 0.06);
}

.home-cetesb-stat-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light);
    color: var(--primary);
    border-radius: 12px;
    font-size: 1.35rem;
}

.home-cetesb-services-block {
    margin-top: 0.5rem;
    padding: 2.5rem 2rem 2.25rem;
    background: #fff;
    border-radius: 18px;
    border: 1px solid rgba(52, 142, 56, 0.18);
    box-shadow: 0 20px 56px rgba(15, 66, 41, 0.1);
    position: relative;
    overflow: hidden;
}

.home-cetesb-services-block::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), #2a7530, var(--primary));
}

.home-cetesb-services-header {
    margin-bottom: 2rem;
    padding-bottom: 1.75rem;
    border-bottom: 1px solid rgba(52, 142, 56, 0.12);
}

.home-cetesb-services-eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--primary);
    background: rgba(52, 142, 56, 0.1);
    padding: 0.35rem 1rem;
    border-radius: 50px;
    margin-bottom: 0.85rem;
}

.home-cetesb-services-title {
    font-size: clamp(1.65rem, 3.5vw, 2.35rem);
    font-weight: 700;
    color: var(--dark);
    line-height: 1.2;
}

.home-cetesb-services-sub {
    max-width: 38rem;
    margin-left: auto;
    margin-right: auto;
    color: var(--secondary);
    font-size: 1.05rem;
    line-height: 1.65;
}

.home-cetesb-services-block .home-cetesb-service-item {
    background: #f8fbf8;
    padding: 1.15rem 1.25rem;
    font-size: 0.95rem;
    border-radius: 14px;
}

.home-cetesb-services-block .home-cetesb-service-item i {
    width: 40px;
    height: 40px;
    font-size: 0.9rem;
}

.home-cetesb-service-item {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    height: 100%;
    padding: 1rem 1.15rem;
    background: #fff;
    border-radius: 12px;
    border: 1px solid rgba(52, 142, 56, 0.1);
    font-size: 0.92rem;
    line-height: 1.45;
    color: var(--dark);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.home-cetesb-service-item:hover {
    border-color: var(--primary);
    box-shadow: 0 8px 24px rgba(15, 66, 41, 0.08);
}

.home-cetesb-service-item i {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), #2a7530);
    color: #fff;
    border-radius: 50%;
    font-size: 0.85rem;
}

.home-cetesb-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    text-align: center;
    padding: 1.15rem 1.5rem;
    background: var(--dark);
    color: #fff;
    border-radius: 14px;
    font-size: 1.05rem;
    line-height: 1.55;
    box-shadow: 0 12px 36px rgba(15, 66, 41, 0.12);
}

.home-cetesb-banner-text {
    white-space: normal;
}

.home-cetesb-banner strong {
    color: var(--light);
    font-weight: 700;
}

.home-cetesb-cta {
    font-size: 1.05rem;
    line-height: 1.65;
    color: var(--secondary);
}

@media (max-width: 991.98px) {
    .home-cetesb-visual {
        margin-top: 0.5rem;
    }

    .home-cetesb-carousel .carousel-item {
        height: 380px;
    }

    .home-cetesb-services-block {
        padding: 1.75rem 1.15rem 1.5rem;
    }

    .home-cetesb-services-header {
        margin-bottom: 1.5rem;
        padding-bottom: 1.25rem;
    }
}

@media (max-width: 575.98px) {
    .home-cetesb-carousel .carousel-item {
        height: 320px;
    }
}