/* FONTS */
:root {
  /* H1 */
  --h1-fs: 48px;
  --h1-w: 800;
  --h1-lh: 82px;

  /* H3 */
  --h3-fs: 22px;
  --h3-w: 500;
  --h3-lh: 26px;

  --curTheme: var(--inweb); /* #294ECC, definido em globals.css */
}

.curTheme{
    background-color: var(--curTheme);
}

.curTheme-text{
    color: var(--curTheme);
}

/* SECTIONS */
.hero-section{
    display: flex;
    justify-content: center;
    flex-direction: row;
    gap: 42px;
    margin: 140px 52px 0 52px;

    .logo {
        width: 145px;
        justify-content: center;
    }

    .title {
        color: var(--curTheme);
        margin: 0 52px;
        text-align: center;
    }

    .bg-image {
        object-fit: cover;
        position: absolute;
        display: block;
        height: 100%;
        aspect-ratio: 1643 / 1000;
    }

    .bg-container {
        display: flex;
        justify-content: center;
        width: 100%;
        height: 780px;
        position: relative;
        overflow-x: visible;
    }

    /* READY TO USE BLUR  */
    /*
    .bg-container::after {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(to top, rgba(241, 241, 241, 1) 0%, rgba(241, 241, 241, 0) 30%);
        pointer-events: none;
    }*/
}

/*BUTTON 1 START*/
.btn-1 {
    color: var(--color-light);
    font-weight: 800;
    font-size: 20px;
    padding: 16px 24px;
    gap: 8px;
    border-radius: 100px;
    line-height: 24px;
    text-decoration: none;
    user-select: none;
    cursor: pointer;
}

.btn-1:hover {
    outline: 2px solid var(--curTheme);
    outline-offset: 4px;
}

.btn-1:disabled {
    opacity: 0.2;
    pointer-events: none;
}
/* O botão do formulário é um <button>: repor estilos nativos */
button.btn-1 {
    border: none;
    font-family: inherit;
    align-items: center;
}

.btn-1:focus-visible {
    outline: 2px solid var(--curTheme);
    outline-offset: 4px;
}
/*BUTTON 1 END*/

.app-section {
    font-size: 18px;
    font-weight: 500;
    line-height: 26px;
    margin: 62px 16px 22px 16px;

    .container{
        gap: 48px;
        display: flex;
        flex-direction: column;
        max-width: 48%;
    }

    .block {
        position: relative;
        display: flex;
    }

    .bar {
        height: 14px;
        width: 100%;
        margin: 4px 0;
        background: linear-gradient(120deg, var(--bg) 1%, var(--curTheme) 100%);
        transform-origin: right center;
        transform: scaleX(0);
    }

    .btn-container {
        gap: 18px;
        margin: 0;
        display: flex;
        flex-direction: row;
        justify-content: center;
    }

    .btn-container-label{
        text-align: center;
    }
}

.sticky-btn{
    position: relative;
    top: 0;
    z-index: 99;
}

.sticky-container{
    min-width: 241px;
    position: absolute;
    overflow: visible;
}

.qa-section{
    margin: 16px 125px 0px 125px;
    
    h2, .h2{
        font-weight: 500;
        font-size: 48px;
        line-height: 56px;
    }

    b{
        font-weight: 800;
    }

    .icon-mid{
        margin: 87px 0;
        display: flex;
        justify-content: center;
        opacity: 1;
    }

    .text-box{
        padding-left: 55px;
        display: flex;
        justify-content: center;
    }

    .text{
        padding: 10px 4px 0 0;
    }

    .no-mid{
        margin: 30px 0 240px 100px;
        width: 100%;

        .text{
            width: 45dvw;
        }
    }

}

.text-carousel-section{
    margin: 240px -120px;

    .tcs-label{
        max-width: 55dvw; 
        margin-left: 240px;
        padding-bottom: 180px;
        h2, .h2{
            font-weight: 500;
            font-size: 48px;
            line-height: 56px; 
        }
    }

    h2, .h2{
        font-size: 26px;
        font-weight: 700;
    }

    .text-box{
        width: 415px;
        gap: 8px;
    }
    .swiper-wrapper {
        transition-timing-function: linear !important;
    }
}

.logo-carousel-section{
    height: 53px;
    margin: 84px -120px 240px -100px;

    .swiper-wrapper {
        transition-timing-function: linear !important;
    }

    .img-container{
        height: 100%;
        width: 100%;
    }
}

.swiper-lcs .img-container{
    display: flex;
    justify-content: center;
    object-fit: contain;
    height: 53px;
}

.swiper-fcs{
    height: 100%;

    .swiper-slide{
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0 145px;

    }
}

.feedback-carousel-section{
    box-shadow: 0 4px 8px 0 #8c8c8c25;
    background-color: #FFFFFF;
    height: 600px;

    .swiper-pagination-bullet{
        transition: all 0.3s ease, color 0s;
    }

    .swiper-pagination-bullet-active {
        background-color: #AEAEAE;
        width: 40px;
        border-radius: 8px;
    }

    .swiper-button-next, .swiper-button-prev{
        height: 20px;
        width: 12px;
        color: #8C8C8C;
        margin: 0 30px;
    }

    .feedback-card{
        gap: 138px;
        .logo{
            width: 225px;
        }
    }

    .text-card{
        gap: 25px;

        h2, .h2{
            font-size: 20px;
            color: #8C8C8C;
        }

        h3, .h3{
            font-weight: 400;
            font-size: 22px;
        }

        span, .span{
            font-weight: 900;
            font-size: 16px;
            text-align: end;
            margin-top: 29px;
        }

        .quote-mark{
            left: -76px;
            bottom: -32px;
            margin: 0;
            padding: 0;
            position: absolute;
            opacity: 0.15;
        
            p, .p{
                font-weight: 700;
                font-style: bold;
                font-size: 200px;
                line-height: 100%;
                color: #8C8C8C;
            }
        }

        .img-container{
            margin-top: 48px;
            padding: 0;
            display: flex;
            width: 46px;
            height: 100%;
            position: relative;
        }

        img{
            object-position: 50% 0;
            object-fit: cover;
            border-radius: 50%;
            width: 100%;
            height: 46px;
        }

        .text-box{
            display: flex;
            flex-direction: column;
            gap: 16px;
        }
    }
}

.forms-section{
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    /* margin: 240px 0; */
    margin-top: 160px;
    width: 100%;
    height: 1070px; 

    .img-container {
        position: absolute;
        left: anchor(--forms right);
        height: 100%;
        z-index: 3;

        img {
            height: 100%;
            display: block;
        }
    }

    .forms-label{
        display: flex;
        gap: 36px;
        max-width: 560px;
        .logo{
            max-width: 145px;
            img{
                width: 100%;
            }
        }

        h2, .h2{
            font-weight: 500;
            font-size: 48px;
            line-height: 56px;
        }

        h3, .h3{
            font-size: 22px;
            line-height: 26px;
        }

        span, .span{
            font-weight: 700;
        }
    }

    .forms-input{
        display: flex;
        flex-direction: column;
        gap: 57px;
    }

    .forms-box {
        clip-path: inset(100 0 0 0);
        width: calc(80% + 145px);
        anchor-name: --forms;
    }

    .forms-save{
        display: flex;
        justify-content: end;
        width: 100%;
        .btn{
            width: auto;
        }
    }
}

.input-1{
    --i-w: 700;
    .input{
        font-weight: bold;
    }

    .error-container{
        display: flex;
        justify-content: end;
        width: 100%
    }

    .error{
        width: auto;
        position: absolute;
        color:#EE635E;
        top: 20px;
        text-align: end;
        
    }
  
}

.faq-section{
    margin-bottom: 320px;
    display: flex;
    flex-direction: column;
    gap: 48px;

    .label{
        display: flex;
        gap: 16px;
        flex-direction: column;
    }

    .title{
        h2, .h2{
            font-weight: 500;
            font-size: 48px;
            line-height: 56px; 
        }
    }

    .desc{
        h3, .h3{
            font-size: 22px;
            line-height: 26px;
        }

    }

    .qa{
        .accordion-item{
            padding: 36px 0;
        }

        .q{
            h2, .h2{
                font-weight: 500;
            }
        }
    }

    .accordion-1{
        hr{
            color: var(--color-dark);
            height: 1px;
        }

        .accordion-collapse{
            transition: height 0.5s ease-in, opacity 0.5s;
        }
    }
}


/* Logótipos Webincode + Cegid PHC no topo */
.hero-section .logo-pair .logo {
    width: auto;
    height: 48px;
}

.hero-section .subtitle {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

/* Escolha "Vai implementar / Já usa" no formulário */
.forms-section .situacao {
    border: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.forms-section .situacao legend {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
}

.forms-section .situacao label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    cursor: pointer;
}

.forms-section .situacao input {
    accent-color: var(--curTheme);
    width: 20px;
    height: 20px;
}

.forms-section {
    height: auto;
    padding: 80px 0;
}

/* Logótipo Webincode (SVG azul): manter proporção */
.hero-section img.logo {
    height: auto;
}
