:root {
    --primary-color: #c1a400 ; 
    --bg-color: #b6b6b6;  
    --secundary-color: #c1a400 ;
    --text-color-1: #F5F2D0; 
    --text-color-2: #fff; 
    --text-color-3: #333; 
    --shadow-1: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    --header-height: 70px;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

html {
    scroll-behavior: smooth;
    background-color: #101010;
}

body::-webkit-scrollbar {
    width: 12px;              
}

body::-webkit-scrollbar-track {
    background: #000;     
}

body::-webkit-scrollbar-thumb {
    background-color: var(--primary-color);    
    border-radius: 20px;       
    border: 3px solid #000; 
}

.header {
    display: flex;
    justify-content: space-around;
    width: 100%;
    height: var(--header-height);
    background-color: #777777; 
    padding: 6px;
    box-shadow: var(--shadow-1);
    position: fixed;

    & img {
        width: 62px;
    }

    & .links  {  
        display: flex;
        gap: 30px;
        align-items: center;

        & a {
            color: var(--text-color-2);
            text-decoration: none;
            font-size: 14px;
            font-weight: 800;
        }
    }
}

a.btn_orcamento {
    text-decoration: none;
    font-size: 14px;
    font-weight: 800;
    background-color: var(--text-color-1);
    color: var(--primary-color) !important;
    padding: 6px 24px;
    border-radius: 25px;
    border: 2px solid var(--primary-color);
    box-shadow: var(--shadow-1);
    transition: all .5s;
}

a.btn_orcamento:hover {
    background-color: var(--primary-color);
    color: var(--text-color-1) !important;            
}

.capa {
    width: 100%;
    padding-top: var(--header-height);
    height: 100vh;
    background-image: url('./assets/bg-1.png');
    background-size: cover;
    background-repeat: round;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: end;    

    & .title, .subtitle {
        -webkit-text-stroke-width: 1px;
        -webkit-text-stroke-color: #000;
        color: var(--text-color-2);
        text-align: start;
        width: 50%;
        max-width: 1092px;
        font-size: 72px;
        font-weight: 700;
    }
    
    & .subtitle {
        font-size: 32px;
        font-weight: 600;   
    }   
}

.wrapper-contents {
    display: flex;
    padding-inline: 130px;
    text-align: center;
    max-width: 1341px;

    & img {
        width: 45%;
    }
}

.history {
    margin-top: 65px;
}

.history .content {
    padding-right: 44px;
}

h3 {
    font-size: 38px;
    color: var(--primary-color);
    margin-bottom: 34px;
}

p {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-color-2);
}

p.text-2 {
    font-weight: 400;        
}

.wrapper-center {
    display: flex;
    align-items: center;
    flex-direction: column;
}

.principios {
    text-align: center;
    margin-top: 40px;
}

h5 {
    color: var(--text-color-2);
}

.cards {
    display: flex;
    gap: 100px; 

    & .card {
        text-align: left;
        width: 300px;
        height: 200px;
        background-color: var(--text-color-1);
        box-shadow: var(--shadow-1);
        color: var(--primary-color) ;
        border-radius: 18px;
        padding: 13px;
        
        & .icon {
            width: 33px;
            height: 33px;
            background-color: var(--text-color-1);
            border-radius: 50%;
            margin-bottom: 13px;
            padding: 5px;
        }
        
        & .icon.fix {            
            padding-top: 7px;
        }
        
        & h4 {
            font-size: 32px;
            font-weight: 800;
            margin-bottom: 13px;
        }
        
        & p {
            font-size: 18px;
            font-weight: 300;            
            color: var(--primary-color);
        }
    }
}

.solutions {
    margin-top: 65px;
    margin-bottom: 40px;
}

.service {
    display: flex;
    gap: 6px;
    margin-top: 12px;

    & .content {
        text-align: left;
        margin-left: 20px;
        margin-top: 30px;

        & .subtitle {
            display: flex;

            & p {
                font-size: 24px;
                font-weight: 800;
                color: var(--primary-color);
                margin-left: 10px;
            }
        }

        & h5 {
            font-size: 35px;
            font-weight: 400;
            margin-bottom: 14px;
        }
    } 

    & img {
        width: 50%;
    }
}

.service.invert {
    flex-direction: row-reverse;
}

.mini-cards {
    display: flex;
    width: 100%;
    gap: 11px; 
    margin-top: 24px;

    & .mini-card {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 83px;
        background-color: var(--primary-color);
        border-radius: 18px;
        width: 165px;
        box-shadow: var(--shadow-1);
        
        & p{
            font-size: 14px;
            text-align: center;
            color: var(--text-color-1);
        }
    }

    & .mini-card.center {
        margin-top: calc(83px / 2);
    }
    
    & .mini-card.bottom {
        margin-top: 83px;
    }
}


.pri-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;

    & .content {
        width: 60%;
        text-align: start;
    }

    & img {
        width: 30%;
    }
}

.how-work {
    flex-direction: column;
    margin-top: 60px;

    & .cards .card {
        height: 260px;

        & h4 {
            font-size: 28px;
        }
    }

    .card.center {
        margin-top: 56px;
    }
    .card.bottom {
        margin-top: calc(56px * 2);
    }
}

#contact {
    width: 100%;
    height: 70vh;
    background-image: url('./assets/contact.png');
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;    
    margin-top: 60px;
    background-position: center;

    & .title, .subtitle {
        color: var(--text-color-1);
        text-align: center;
        width: 100% !important;
        max-width: 1227;
        font-size: 72px;
        font-weight: 700;
    }
    
    & .subtitle {
        font-size: 32px;
        font-weight: 400;        
        width: 100% !important;
        max-width: 1100px;
        margin-top: 20px;
        margin-bottom: 40px;
    }   
}

.footer {
    width: 100%;
    height: auto;
    background-color: #000;

    & ul {
        list-style: none;
    }

    & li {
        padding-block: 8px;
    }
    
    & .foot-links {
        padding: 60px 160px;
        display: flex;
        justify-content: space-between;        
    }

    & h3 {
        color: var(--text-color-2);
        font-size: 26px;
    }
    
    & p, a {
        color: var(--text-color-2);
        font-size: 18px;
        font-weight: 400;
        text-decoration: none;
    }
}

.foot {
    padding-inline: 160px;
}

.contact-box {
    display: flex;

    & svg {
        margin-top: 2px;
        margin-right: 5px;
    }
}

.redes {
    display: flex;
    gap: 20px;

    & img {
        width: 31px;
    }
}

.foot-content {
    display: flex;
    justify-content: space-between;
    align-items: center;

    & img {
        width: 62px;
    }
}

@media (max-width: 1336px) {
    .header {
        width: 100vw;
    }
    
    .header .btn_orcamento {
        display: none;
    }

    .history {
        flex-direction: column;

        & .content {
            padding-right: 0;
        }

        & img {
            width: 85%;
            margin-inline: auto;
            margin-top: 60px;
        }
    }

    .principios .cards {
        gap: 10px;
        flex-direction: column;
        
        & .card {
            width: 100%;
        }
    }
    
    .service, .service.invert {
        flex-direction: column-reverse;
        & img {
            width: 100%;
            margin-inline: auto;
        }

        & .mini-cards {
            justify-content: center;
        }
    }

    .how-work {
        width: 100%;
        display: flex;
        justify-content: center;
        
        & .content {
            width: 70%;
        }

        & img {
            width: 35%;
        }

        & .cards {
            gap: 10px;
            flex-direction: column;

            & .card {
                width: 100%;
                height: 200px;
                margin-top: 0;
            }
        }        
    }

    .foot-links {
        flex-direction: column;
        padding-top: 0 !important;
    }

    .links h3 {
        margin-top: 60px;
    }
}

@media (max-width: 1000px) {
    .pri-content {
        flex-direction: column !important;
    }

    .how-work {
        width: 100%;
        display: flex;
        justify-content: center;
        
        & .content {
            width: 100%;
        }

        & img {
            display: none;
        }
    }
}

@media (max-width: 800px) {
    .capa, #contact {
        height: 50vh;

        & .title {
            font-size: 32px !important;
        }

        & .subtitle {
            font-size: 18px !important;
        }
    }

    .capa {
        height: 100vh;
        margin-top: 64px;
        background-image: url('./assets/bg-1m.png');
        & .title {
            padding-top: 26px;
        }

        & .title, .subtitle {
            width: 100%;
            padding-inline: 26px;
            text-align: center;
        }
    }

    .principios .cards {
        padding-inline: 20px;
    }

    .wrapper-contents {
        padding-inline: 20px;
    }

    .service img {
        width: 80% !important;
    }
    
    .service .mini-cards {
        flex-direction: column;
        align-content: center !important;
        
        & .mini-card {
            margin-top: 0;
            width: 95%;
        }
    }

    .foot-links {
        padding: 60px 20px !important;
        padding-top: 0 !important;
    }

    .foot {
        padding-inline: 20px;
    }
}