@import url('https://fonts.googleapis.com/css2?family=Montserrat+Alternates:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

main {
    position: relative;
  z-index: 0;
}

main::before {
  content: '';
  display: block;
  height: 56px;
}


.header-case {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 56px;
    position: fixed;
    width: 100%;
    z-index: 10;
    top: 0;
    left: 0;
    padding: 0 1.2rem;
    background-color: #1017271f;
    z-index: 100; 
    transition: all 400ms ease-out;
    backdrop-filter: blur(5px);
}

.home-case svg {
    width: 120px;
}

.home-case:hover .logo-text {
    fill: #ff6b00;
    transition: ease 250ms;
}



.label-container {
        display: flex;
    flex-direction: row;
        border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
    background-color: #FAF0D7;
      opacity: 0; 
  transform: translateY(100px); 
  transition: opacity 0.8s ease-out, transform 0.8s ease-out; 
   will-change: transform, opacity;

}



.label-container.visible {
  opacity: 1;
  transform: translateY(0); 
}

.label {
    height: calc(100vh - 56px);
    width: 100%;
    margin: 0 2rem;
    padding: 2rem 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.main-title {
    font-size: 2.5rem;
    font-weight: 500;
    max-width: 1200px;
}

.fixed-right {
    height: 100vh;
    border-left: solid 1px rgba(0,0,0,0.5);
    width: 120px;
    display: none;
}

.social-connect {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding-top: 5rem;
}

.social-connect svg {
    width: 18px;
}

.svg-social path{
    fill: #101727;
}

.svg-social:hover path{
    fill: #e33d00;
}


.txt-connect {
    margin-top: 12px;
        display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;

}



.word-connect {
    margin-top: 24px;
    transform: rotate(-90deg);
}



.info {
    margin-bottom: 1rem;
}

.info:last-child {
    margin-bottom:0;
}

.info-title {
    font-size: 0.8rem;
    color: #404552;
    margin-bottom: 4px;
}

.info-data, .info-data a {
    font-family: "Montserrat", sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
}

.info-data img {
    width: 10px;
    margin-left: 4px;
}

.info-link {

    color: #101727;
    border-bottom: solid 1px #101727;
}

@media screen and (min-width: 768px) {
    .label-container{
                border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
    }
    .main-title {
    font-size: 4rem;
    }   
    .label {
        padding-top: 5rem;
    }
}

@media screen and (min-width: 1024px) {


    main {
    padding: 0 1.2rem;
    }

    .fixed-right {
        display: block;
    }



    .case-info-details {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
    }

    .info {
        margin-bottom: 0;
    }
}


.face {
    background-color: #101727;
    padding: 4rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.face img {
    width: 100%;
    max-width: 1160px;
}

.subtitle  {
    width: 100%;
    max-width: 1160px;
    margin: auto;
}
.subtitle h3 {
    font-size: 1.4rem;
    color: white;
    font-weight: 300;
    line-height: 1.2;
}

@media screen and (min-width: 768px) {
   .subtitle h3 {
    font-size: 2rem;
    color: white;
    font-weight: 300;
    line-height: 1.2;
} 
}


.case_chall {
    margin: 0 0.8rem;
   border-radius: .5rem;
    background-color: #FAF0D7;
    padding: 1.2rem;
}

.case_chall h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.chall_txt_box p {
    font-size: 1.2rem;
}

.chall_txt_box p:first-child {
    margin-bottom: 1rem;
}

.case-pains {
    margin-bottom: 1.2rem;
}

.case-pains-h3 {
    font-size: 1.4rem;
    font-weight: 500;
    margin-bottom: 1rem;

}

.case-pains p {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.pain {
    display: flex;
    align-items: flex-start;
}

.pain img {
    width: 32px;
    margin-right: 0.5rem;
}



@media screen and (min-width: 768px) {
    .case-pains {
    margin-bottom: 2.4rem;
}
    .case_chall {
      margin: 0 2rem;
     border-radius: 1rem;
    padding: 2rem;
}
}

@media screen and (min-width: 1024px) {
    .chall-container {
        display: flex;
    }
    .case_chall h2 {
        min-width: 320px;
        margin-bottom: 0;
    }
    .pain-list {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
    }
    .chall_txt_box p, .case-pains p {
        font-size: 1.5rem;
        line-height: 1.3;
    }
}

@media screen and (min-width: 1280px) {
.case_chall {
    padding: 5rem;
}

.case-pains-h3 {
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 2rem;
}


}

@media screen and (min-width: 1440px) {
        .case-pains {
    margin-bottom: 4rem;
}

.case_chall h2 {
    font-size: 3rem;
    min-width: 520px;
}
}


.problem-illustration {
    padding-top: 0; 
}

.problem-grid {
    display: grid;
    gap: 24px;
}

.problem-grid img {
    width: 100%; 
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}


/* --- Efeito de Overlay no Hover --- */

.problem-screen {
    position: relative;
    overflow: hidden; 
}


.problem-screen .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    border-radius: 12px;
    padding: 2rem;
}


.problem-screen .overlay p {
    color: white;
    font-size: 16px; 
    padding: 20px; 
    margin: 0;
    font-family: "Montserrat", sans-serif;
    line-height: 1.4;

}


.problem-screen:hover .overlay {
    opacity: 1;
}


.problem-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    transition: transform 0.3s ease;
}

.problem-screen:hover img {
    transform: scale(1.05); 
}




@media (min-width: 768px) {
    .problem-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* SOLUTION */
.solution {
    width: 100%;
    padding: 4rem 0.8rem;
}

.solution h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.2;
    color: #00FFFB;
}

.solution p {
    font-size: 1.4rem;
    line-height: 1.2;
    color: #ffffff;
    width: 100%;
}

.sol-box {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1rem 0;
    
    background-color: #101727;
}

.sol-item {
    padding: 1rem 0;
    color: #fff;
    display: flex;
    align-items: flex-start;
    font-size: 1.2rem;
    line-height: 1.2;
    border-radius: 0.8rem;
}

.sol-item svg {
    max-width: 40px;
    margin-right: 1rem;
}

@media (min-width: 768px) {
.solution {
    padding: 4rem 2rem;
}

.sol-item {
    font-size: 1.4rem;
}
}

@media (min-width: 768px) {
.solution {
    display: flex;
    gap: 4rem;
}

}

@media (min-width: 1280px) {
.sol-box {
        grid-template-columns: 1fr 1fr;
        margin-top: 3.4rem;
}

.sol-item {
    padding: 2rem;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    font-size: 1.3rem;
    line-height: 1.3;
}

.sol-item:hover {
    background: #161f35;
    transition: ease 250ms;
}

.sol-item svg {
    max-width: 56px;
    margin-right: 1rem;
}

.sol-title {
    max-width: 420px;
}

}

@media (min-width: 1440px)  {
    .solution {
        padding-top:5rem ;
    }
    .solution h2 {
    font-size: 3rem;
}

    .solution p {
    font-size: 2rem;
}

.sol-item {
    padding: 3.5rem;
}

.sol-title {
    max-width: 530px;
}

}



/* LAUNCH IMAGES */
.pictures-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 0.8rem;
    gap: 1rem;
}

.video_reel {
    position: relative;
    background-color:#F3F5F6;
    border-radius: 1rem;
    cursor: pointer;
}


.play-btn {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    padding: 1.2rem 2.4rem;
    border-radius: 50px;
    background-color: #000000d1;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 11;
    color: white;
    font-size: 1.3rem;
}



.play-btn svg {
    width: 28px;
}

.video_reel img {
    max-height: 520px;
    height: 400px;
    border: solid 8px #F3F5F6;
    border-radius: 1rem;

}



.img-inner-1 img {
    max-height: 520px;
    width: 100%;
    border-radius: 1rem;
    border: solid 8px #AEBAC1;
}


@media (min-width: 768px) {
.pictures-row {
    padding: 0 2rem;
}
}

@media (min-width: 1024px) {
    .pictures-row{
        flex-direction: row;
        padding-bottom:5rem;
    }

    .video_reel {
         border-radius: 1.4rem;
    }


    .video_reel img {
    width: 100%;
    height: auto;
    max-height: 640px;
    border-radius: 1.4rem;
    
    }


    
.img-inner-1 img {
    width: 100%;
    max-height: 640px;
    border-radius: 1.4rem;
    }

    .video_reel:hover .play-btn{
        background-color: #00FFFB;
        transition: ease 350ms;
        color: #101727;
        transition: ease 350ms;
    }

    .video_reel:hover path {
        stroke: #101727;
        transition: ease 350ms;
    }

        .video_reel:hover circle {
        stroke: #101727;
        transition: ease 350ms;
    }

 .video_reel::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000000;
    z-index: 10;
    border-radius: 1rem;
    opacity: 0;
}
    .video_reel:hover::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000000ab;
    z-index: 10;
    border-radius: 1rem;
    opacity: 0.7;
        transition: ease 350ms;
}
}



/* POPUP */

.popup {
display: none; 
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.8); 
z-index: 1000; 
overflow: auto; 
opacity: 0;
transition: opacity 0.3s ease-in-out;
justify-content: center;
align-items: center;
}

.popup.active {
display: flex; /* Exibe o popup quando a classe 'active' é adicionada */
opacity: 1;
}

/* No seu style.css */

.popup-content {
    background-color: #939393;
    padding: 10px;
    width: 90%;
    /* Aumente este valor conforme seu gosto */
    max-width: 1200px; /* ANTES: 800px */
    border-radius: 8px;
    position: relative;
    animation: slideIn 0.4s ease-out;
}

@keyframes slideIn {
from {
transform: translateY(-50px);
opacity: 0;
}
to {
transform: translateY(0);
opacity: 1;
}
}

.close-button {
color: #ffffff;
position: absolute;
top: 10px;
right: 15px;
font-size: 28px;
font-weight: bold;
cursor: pointer;
}

.close-button:hover,
.close-button:focus {
color: black;
text-decoration: none;
cursor: pointer;
}

/* No seu style.css */

.video-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background-color: #202023; /* Cor de fundo cinza escuro */
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

}

/* No seu style.css (pode adicionar no final) */

.loading-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50px;
    height: 50px;
    margin: -25px 0 0 -25px; /* Centraliza perfeitamente */
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 1; /* Garante que fique acima do fundo */
}

/* Animação do spinner */
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Esconde o iframe enquanto o spinner está visível */
.video-container iframe.loading {
    opacity: 0;
}



@media (max-width: 600px) {
.popup-content {
width: 95%;
margin: 20% auto;
}
.video-container {
aspect-ratio: 1 / 1; 
}
}




/* FEATURES AND TECH */


.case-tech {
    margin: 0 0.8rem;
   border-radius: .5rem;
    background-color: #FAF0D7;
    padding: 1.2rem;
}

.case-tech h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.case-tech-subtitle {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}


.txt-list h4 {
    font-size: 1.4rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.txt-list p {
    font-size: 1.2rem;
}

.item-list {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.bullet {
    min-width: 14px;
    height: 14px;
    border-radius: 12px;
    border: solid 2px #101727;
    margin-top: 0.2rem;
}

.divider-tech {
    width: 100%;
    height: 1px;
    border-bottom: solid 1px #0000007e;
    margin: 1rem 0;
}

@media screen and (min-width: 768px) {
    .case-tech {
        margin: 0 2rem;
        border-radius: 1rem;
        padding: 2rem;
}
}



@media screen and (min-width: 1024px) {
    .case-tech-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

    .divider-tech {
        margin: 1.5rem 0;
    }
}

@media screen and (min-width: 1280px) {
    .case-tech {
        padding: 5rem;
    }
        .case-tech-subtitle {
        font-size: 1.8rem;
        margin-bottom: 2rem ;
    }

    .txt-list p {
    font-size: 1.3rem;
}


            .case-tech h2 {
            font-size: 3rem;
    }

        .divider-tech {
        margin: 1.8rem 0;
    }

}




.img-techs {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 2rem 0.8rem;
    justify-content: space-between;
}

.img-techs img {
    border-radius: 1.4rem;
    border: solid 8px #858891;
    width: 100%;
    
    
}


@media screen and (min-width: 1024px) {
.img-techs {
    padding: 5rem 2rem;
}

.img-techs img {
    width: calc(50% - 0.5rem);   
}

.img-techs img:last-child {
    width: 100%;    
}
}

@media screen and (min-width: 1440px) {
    .img-techs {
    padding: 5rem 8rem;
    gap: 1.6rem;
}

.img-techs img {
    width: calc(50% - 0.8rem);   
}
}



/* ICONS */

.tech-icons-container {
    display: flex;
    flex-direction: column;
    padding: 2rem 0;
    gap: 2rem;
}

.icons-box {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: space-between;
}

.technologies-icons h4 {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    text-align: center;
}

.tech-icon {
    display:flex;
    flex-direction: column;
    width: calc(50% - 1rem);
    align-items: center;
    gap: 0.7rem;
}

.tech-icon span {
    font-family: "Montserrat", sans-serif;
}

.tech-icon img {
    width: 64px;
    height: auto;
    
}

.divider-stack {
    display: none;
}


@media screen and (min-width: 1024px) {

    .divider-stack {
        display: block;
        min-height: 100%;
        width: 1px;
        background-color: #00000050;
    }

    .tech-icons-container {
        flex-direction: row;
        padding: 5rem 0;
        justify-content: center;
    }

    .technologies-icons h4 {
    font-size: 1.8rem;
    margin-bottom: 4rem;
}

.icons-box {
    justify-content:left ;
}

.tech-icon {
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}
}



.outcome {
    width: 100%;
    padding: 4rem 0.8rem;
}

.outcome h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    color: #ffffff;
}



.out-sub-txt {
    font-size: 1.4rem;
    line-height: 1.2;
    font-weight: 300;
    color:#fff;
}

.out-item {
    padding: 2rem 0;
    border-bottom: dashed 1px white;
}

.out-item:last-child {
    border-bottom: none;
}



.out-item h4 {
        font-size: 1.4rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #00FFFB
}

.out-item-txt {
    font-size: 1.1rem;
    line-height: 1.3;
    font-weight: 300;
    color:#fff;
}





@media screen and (min-width: 768px) {
    .outcome {
        padding: 4rem 2rem;
    }
}

@media screen and (min-width: 1024px) {

    .out-sub-txt {
        margin-bottom: 4rem;
    }
.outcomes_items {
    display: flex;
    flex-wrap: wrap;
    gap: 4rem;
}

.out-item {
    width: calc(50% - 2rem);
}

.out-item:last-child {
    border-bottom: dashed 1px white;
}

.out-item h4 {
    font-size: 2rem;
    margin-bottom: 1.22rem;
}
}


@media (min-width: 1440px) {
    .outcome {
        padding-top: 5rem;
    }
    .outcome h2 {
        font-size: 3rem;
    }

    .out-sub-txt {
        font-size: 2.1rem;
    }

    .out-item-txt {
        font-size: 1.4rem;
    }
}


