/********** home.html **********/
.home {
    width: 100%;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: calc(100vh - 96px - 18rem);
    animation: fadeIn 0.3s ease-out 0s forwards;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/* hero */
.hero {
    background-image: none;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    min-height: clamp(26rem, 58vh, 40rem);
    position: relative;
    margin-bottom: 3rem;
    overflow: hidden;
    padding: 3rem 0 3rem 0;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.32);
    z-index: 2; /* Mantém o efeito de fundo acima da imagem */
    transition: 0.4s;
}

.hero:hover::before {
    background: rgba(0, 0, 0, 0);
}

.hero::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("../images/apus8.2392f6755b1d.webp");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 0 top;
    animation: zoomEffect 6s forwards;
    z-index: 1; 
}

@keyframes zoomEffect {
    0% {
        transform: scale(1) translateY(0);
    }
    100% {
        transform: scale(1.3) translateY(-20%);
        transform-origin: top center;
    }
}

.hero-container {
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    justify-content: center;
    z-index: 2;
    height: 100%;
    max-width: 95%;
    width: calc(80rem - 2rem);
}

.hero h1 {
    font-family: 'Roboto', 'Signika', 'Arsenal', sans-serif;
    color: #ffffff;
    font-size: clamp(2.5rem, 3.5vw + 1rem, 4rem); 
    letter-spacing: 0.25rem;
    font-weight: 500;
    z-index: 2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: fadeIn 1s ease-out 0s forwards;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.hero p {
    font-family: 'Roboto', 'Roboto-Condensed', 'Signika', 'Arsenal', sans-serif;
    color: #ffffff;
    z-index: 2;
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 300;
    letter-spacing: 0;
    margin-bottom: 3rem;
    animation: fadeIn 1s ease-out 0s forwards;
    text-align: left;
    line-height: 1.87rem;
    max-width: 37.5vh;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.button-container {
    display: flex;
    justify-content: center; 
    gap: 1.5rem; 
    align-items: center;
}

.button1 {
    padding: 0.5rem 1.5rem;
    color: #fff;
    border-radius: 6px;
    background: #285095;
    text-decoration: none;
    font-family: 'Signika', 'Arsenal', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    animation: fadeIn 1s ease-out 0s forwards;
    position: relative; 
    box-shadow: -4px 4px 16px rgba(0,0,0,0.2);
    letter-spacing: 0rem;
    border: none;
    cursor: pointer;
}

.button1:hover {
    background-color: #F4F1EC;
    color: #303030;
    text-decoration: none;
    box-shadow: -4px 4px 12px rgba(0,0,0,0.15);
}

.popup-overlay { 
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    transition: visibility 0s linear 0.5s, opacity 0.5s linear, background-color 0.5s linear;
}

.popup-container { 
    position: absolute;
    bottom: 0;
    right: 0;
    width: 400px;
    padding: 1.5rem 1.5rem 1.5rem  1.5rem;
    padding-top: 1.5rem;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 6px;
    box-shadow: -4px 4px 8px rgba(0,0,0,0.25);
    -webkit-backdrop-filter: blur(32px);
    backdrop-filter: blur(32px);
    transform: scale(0.95);
    transition: transform 0.5s, opacity 0.5s;
    z-index: 9999;
}

@media (max-width: 928px) {
    .hero-container {
        width: 90%;
        margin: 0;
    }
}



/* home-services1 */
.home-services1 {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-top: 0;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.home-services1-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 1.5rem;
}

.home-services1-intro {
    width: min(calc(100rem - 2rem), 95%);
    display: flex;
    margin: 0 auto;
    justify-content: center;
}

.home-services1-intro p {
    font-family: 'Roboto', 'Roboto-Condensed', 'Signika', 'Arsenal', sans-serif;
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    color: #303030;
    max-width: none;
    width: 100%;
    text-align: center;
}

.home-services1-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    max-width: 95%;
    width: calc(80rem - 2rem);
    margin: 0 auto;
}

.home-services1-card {
    position: relative;
    width: 100%;
    height: clamp(18rem, 21vw, 21rem);
    border-radius: 3px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.home-services1-card-content h3 {
    font-size: clamp(1.2rem, 1.5vw, 1.8rem);
    margin: 0;
    color: #fff;
    font-family: 'Roboto', 'Signika', 'Arsenal', sans-serif;
    letter-spacing: 0px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.25);
}

.home-services1-card-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
    transition: transform 0.35s ease;
}

.home-services1-card-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
}

.home-services1-card-overlay.overlay-blue {
    background: linear-gradient(
        to bottom,
        rgba(40, 80, 149, 0.72),
        #808080
        
    );
}

.home-services1-card-overlay.overlay-green {
    background: linear-gradient(
        to bottom,
        rgba(40, 90, 6, 0.72),
        #808080
        
    );
}

.home-services1-card-content {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1.5rem;
    width: 100%;
    height: 100%;
}



.home-services1 .button2 {
    margin-top:1.5rem;
    padding: 0.5rem 1.5rem;
    color: #fff;
    border-radius: 6px;
    background: #285095;
    text-decoration: none;
    font-family: 'Signika', 'Arsenal', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    position: relative; 
    letter-spacing: 0rem;
    border: none;
    cursor: pointer;
}

.home-services1 .button2:hover {
    background-color: #F4F1EC;
    color: #303030;
    text-decoration: none;
    box-shadow: -4px 4px 12px rgba(0,0,0,0.15);
}

@media (max-width: 628px) {
    .home-services1-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .home-services1-card {
        height: clamp(9rem, 36vw, 12rem);
    }
}






.home-about {
    position: relative;
    width: 100%;
    min-height: clamp(26rem, 58vh, 40rem);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-image: url("/static/images/drone_jangada.bb50e4768176.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.home-about-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.58) 0%,
        rgba(0, 0, 0, 0.42) 45%,
        rgba(0, 0, 0, 0.30) 100%
    );
    z-index: 1;
}

.home-about-container {
    position: relative;
    z-index: 2;
    width: min(1200px, calc(100% - 32px));
    margin: 0 auto;
    padding: clamp(40px, 7vw, 96px) 0;
}

.home-about-content {
    width: min(480px, 100%);
    display: flex;
    flex-direction: column;
    gap: 14px;
    color: #ffffff;
    padding: 3rem;
}

.home-about-kicker {
    display: inline-block;
    font-size: clamp(0.85rem, 1.5vw, 0.95rem);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.92;
}

.home-about-title {
    margin: 0;
    font-size: clamp(1.8rem, 4.5vw, 3rem);
    line-height: 1.08;
    font-weight: 500;
    max-width: 16ch;
}

.home-about-text {
    margin: 0;
    max-width: 37ch;
    color: rgba(255, 255, 255, 0.94);
    font-family: 'Roboto', 'Roboto-Condensed', 'Signika', 'Arsenal', sans-serif;
    font-size: clamp(1rem, 2vw, 1.12rem);
    font-weight: 300;
    line-height: 1.7;
    font-weight: 300;
    letter-spacing: 0;
    text-align: left;
    line-height: 1.87rem;
}

.home-about .button3 {
    padding: 0.5rem 1.5rem;
    width: fit-content;
    color: #fff;
    border-radius: 6px;
    background: #285095;
    text-decoration: none;
    font-family: 'Signika', 'Arsenal', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    position: relative;
    letter-spacing: 0rem;
    display: inline-block;
    border: none;
    cursor: pointer;
}

.home-about .button3:hover {
    background-color: #F4F1EC;
    color: #303030;
    text-decoration: none;
    box-shadow: -4px 4px 12px rgba(0,0,0,0.15);

}

@media (max-width: 768px) {
    .home-about {
        min-height: clamp(320px, 68vw, 520px);
        background-position: center;
    }

    .home-about-container {
        width: min(100% - 24px, 1200px);
        padding: 48px 0;
    }

    .home-about-content {
        width: 100%;
        gap: 12px;
    }

    .home-about-title {
        max-width: 100%;
    }

    .home-about-text {
        max-width: 100%;
        font-size: clamp(0.82rem, 0.3vw + 0.8rem, 0.9rem);
        line-height: 1.5;
        text-align: left;
        padding: 0 0.5rem;
        margin: 0;
    }


}


 /* divider-gradient */
 .divider-gradient-1 {
    height: 0.75rem;
    background-image: linear-gradient(to right, #4F4A44, #F4F1EC);
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}






/* whose */
.whoses-home {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    min-height: auto;
    text-align: center;
    background: #F4F1EC;
    color: #333;
    padding: 4.5rem 1.25rem 6rem 1.25rem;
    box-sizing: border-box;
}

.whoses-home h2 {
    font-family: 'Roboto', 'Signika', 'Arsenal', sans-serif;
    font-size: clamp(1.8rem, 4vw, 3rem);
    letter-spacing: -1px;
    font-weight: 500;
    color: #2F2B27;
    display: inline;
    margin: 0 0 4rem 0;
    line-height: 1.08;
}

.whoses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
    gap: 1.5rem 1.25rem;
    text-align: center;
    justify-content: center;
    align-content: start;
    max-width: 95%;
    width: calc(80rem - 2rem);
    margin: 0 auto;
}

.whose-item {
    display: grid;
    grid-template-rows: 5rem 3.25rem auto;
    row-gap: 1rem;
    align-items: start;
    justify-items: center;
    text-align: center;
    color: #333;
    min-height: 16rem;
    position: relative;
    transition: 0.2s ease-in-out;
    overflow: hidden;
    padding: 0.25rem 0;
}

.whose-image {
    width: 100%;
    height: 5rem;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin: 0;
}

.whose-item h4 {
    font-family: 'Roboto', 'Roboto-Condensed', 'Signika', 'Arsenal', sans-serif;
    font-size: clamp(1.12rem, 2vw, 1.25rem);
    font-weight: 500;
    width: 100%;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 3.25rem;
    line-height: 1.18;
    text-align: center;
}

.whose-item p {
    font-family: 'Roboto', 'Roboto-Condensed', 'Signika', 'Arsenal', sans-serif;
    font-size: clamp(1rem, 2vw, 1rem);
    font-weight: 300;
    color: #333;
    text-align: justify;
    text-indent: 0rem;
    padding: 0 0.9rem;
    margin: 0;
    align-self: start;
    line-height: 1.5;
}

.whose-item-1 .whose-image {
    background-image: url("../svg/2d-industry-1.8c164f661af8.svg");
}

.whose-item-2 .whose-image {
    background-image: url("../svg/2d-internationalization.a1869877f305.svg");
}

.whose-item-3 .whose-image {
    background-image: url("../svg/iso-farmer-2.134251d1368b.svg");
}

.whose-item-4 .whose-image {
    background-image: url("../svg/icons-main_licenciamento.93cfd4010c9e.svg");
}

.whose-item-5 .whose-image {
    background-image: url("../svg/shape-geometric-blue-1.067c461362c6.svg");
}

@media (max-width: 928px) {
    .whoses-home {
        padding: 4rem 1rem 4.5rem 1rem;
    }

    .whoses-home h2 {
        margin-bottom: 3rem;
    }

    .whoses-grid {
        max-width: 100%;
        width: 100%;
        gap: 1.25rem 1rem;
    }

    .whose-item {
        grid-template-rows: 4rem 2.9rem auto;
        row-gap: 0.8rem;
        min-height: 13.5rem;
        padding: 0.25rem 0;
    }

    .whose-image {
        width: 100%;
        height: 4rem;
    }

    .whose-item h4 {
        font-size: clamp(1rem, 1vw + 0.9rem, 1.125rem);
        min-height: 2.9rem;
        line-height: 1.15;
    }

    .whose-item p {
        font-size: clamp(0.82rem, 0.3vw + 0.8rem, 0.9rem);
        line-height: 1.5;
        text-align: left;
        padding: 0 0.6rem;
    }
}

@media (max-width: 640px) {
    .whoses-home {
        padding: 3rem 1rem 4rem 1rem;
    }

    .whoses-home h2 {
        margin-bottom: 2rem;
    }

    .whoses-grid {
        grid-template-columns: repeat(auto-fit, minmax(10.5rem, 1fr));
        gap: 1rem 0.75rem;
    }

    .whose-item {
        grid-template-rows: 3.25rem 2.5rem auto;
        row-gap: 0.65rem;
        min-height: 11.5rem;
        padding: 0.2rem 0;
    }

    .whose-image {
        height: 3.25rem;
    }

    .whose-item h4 {
        font-size: clamp(0.95rem, 0.8vw + 0.85rem, 1.05rem);
        min-height: 2.5rem;
        line-height: 1.12;
    }

    .whose-item p {
        font-size: clamp(0.8rem, 0.25vw + 0.78rem, 0.87rem);
        line-height: 1.45;
        padding: 0 0.4rem;
    }
}



/* content-home */
.home-blog {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    background-color: #d3d3d3;
    padding-bottom: 9rem;
    flex: 1 1 auto;
}


.home-blog p {
    font-family: 'Roboto', 'Signika', 'Arsenal', sans-serif;
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 400;
    color: #333;
    letter-spacing: -1px;
    margin-top: 3rem;
    margin-bottom: 3rem;
    display: inline;
    line-height: 1.08;
}

.home-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 95%;
    width: calc(80rem - 2rem);
    margin: 0 auto;
}

.home-blog-posts-link {
    position: relative;
    display: flex;
    flex-direction: column;
    height: clamp(24rem, 30vw, 27rem);
    overflow: hidden;
    box-shadow: -2px 2px 6px rgba(0, 0, 0, 0);
    transition: 0.4s;
    border-radius: 12px;
}

.home-blog-posts-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    transition: transform 0.25s ease;
}

.home-blog-posts-image:hover {
    transform: scale(1.02);
}

.home-blog-posts-content {
    position: absolute;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    min-height: 10.5rem;
    background: #33333312;
    -webkit-backdrop-filter: blur(28px);
    backdrop-filter: blur(40px);
    overflow: hidden;
    margin: 0;
    pointer-events: none;
}

.home-blog-posts-title {
    margin: 0;
    padding: 1rem 1.15rem 0 1.15rem;
}

.home-blog-posts-title h4 {
    color: #fff;
    font-family: 'Roboto-Condensed', 'Roboto', 'Signika', 'Arsenal', sans-serif;
    font-weight: 600;
    font-size: clamp(1.15rem, 1.2vw, 1.35rem);
    letter-spacing: -0.5px;
    line-height: 1.2;
    text-align: left;
    margin: 0;
    padding: 0;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    word-wrap: break-word;
    overflow: hidden;
}

.home-blog-posts-summary {
    margin: 0;
    padding: 0.35rem 1.15rem 0 1.15rem;
}

.home-blog-posts-summary p {
    color: #fff;
    font-family: 'Roboto', 'Arsenal', sans-serif;
    font-weight: 300;
    line-height: 1.35;
    letter-spacing: 0;
    font-size: 0.95rem;
    margin: 0;
    padding: 0;
    text-align: left;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    -webkit-line-clamp: 3;
    word-wrap: break-word;
    overflow: hidden;
}

.home-blog-posts-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    margin: 0;
    padding: 0.9rem 1.15rem 1rem 1.15rem;
}

.home-blog-posts-published-date {
    flex-shrink: 0;
}

.home-blog-posts-published-date p {
    color: #fff;
    font-family: 'Roboto-Condensed', 'Roboto', 'Signika', 'Arsenal', sans-serif;
    font-weight: 300;
    font-size: 0.9rem;
    letter-spacing: -0.3px;
    display: flex;
    margin: 0;
    padding: 0;
}

.home-blog-posts-category {
    background: #fff;
    border-radius: 6px;
    max-width: calc(100% - 92px);
    padding: 0.35rem 0.65rem;
    box-sizing: border-box;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.home-blog-posts-category p {
    color: #555;
    font-family: 'Signika', sans-serif;
    font-weight: 300;
    font-size: 0.8rem;
    letter-spacing: -0.2px;
    display: block;
    margin: 0;
    padding: 0;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

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

    .home-blog-posts-link {
        height: clamp(20rem, 52vw, 24rem);
    }

    .home-blog-posts-content {
        min-height: 9.5rem;
    }

    .home-blog-posts-title h4 {
        font-size: 1.1rem;
    }

    .home-blog-posts-summary p {
        font-size: 0.9rem;
    }
}