@import url('https://fonts.googleapis.com/css2?family=Kalam:wght@300;400;700&family=Roboto+Condensed:ital,wght@0,100..900;1,100..900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

:root {
    --cor-primaria: #2A4A28;
    --preto-fundo: #080808;
    --cor-texto: #FFFDFD;
    --cor-texto-rgb: 51, 51, 51;
    --cta: #0f9750;
    --cta-hover: #02542d;
    --cor-fundo-cards: #1e1d1d;
    --fonte-principal: "Roboto", sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    outline: none;
    list-style: none;
}

html {
    scroll-behavior: smooth;
}

a {
    color: inherit;

    &:hover {
        color: var(--cta);
    }
}

body {
    background-color: var(--preto-fundofundo);
    color: var(--cor-texto);
    font-family: var(--fonte-principal);
    font-size: 1em;
}

header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    background-color: var(--preto-fundo);
    padding: 1%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    border-bottom: 0.1em solid rgba(var(--cor-texto-rgb), 0.5);
}

.logo {
    margin-left: 4%;
}

.menu {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    width: 50%;
    gap: 2em;
    margin-right: 4%;
}

.menu nav ul {
    display: flex;
    flex-direction: row;
    list-style: none;
    gap: 1.5em;
}

button {
    background-color: var(--cta);
    color: var(--cor-texto);
    padding: 0.8em 1.5em;
    border-radius: 8px;
    font-size: 1em;
    border: none;
    cursor: pointer;
    font-family: var(--fonte-titulo);
    transition: all 0.3s ease;

    &:hover {
        background-color: var(--cta-hover);
        transform: translateY(-2px);
        box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.4);
    }
}

section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: auto;
    width: auto;
    background-color: var(--preto-fundo);

    &.linha_home {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        min-height: 100vh;
        background-size: cover;
        overflow: hidden;
        position: relative;
        background-color: transparent;

        video {
            position: absolute;
            top: 50%;
            left: 50%;
            min-width: 100%;
            min-height: 100%;
            width: auto;
            height: auto;
            z-index: -1;
            transform: translateX(-50%) translateY(-50%);
            background-size: cover;
            transition: 1s opacity;
        }

        .conteudo-video {
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-align: center;
            gap: 1em;

            .texto-video {
                z-index: 2;
                text-shadow: 0px 2px 4px rgb(0, 0, 0);

                h1 {
                    font-size: 4em;
                    margin: 4%;
                }

                h3 {
                    gap: 0.5;
                    font-size: 1.5em;
                }
            }

            .botao-demonstracao {
                z-index: -1;
                padding: 1em 2.5em;
                font-size: 1.1em;
            }
        }
    }

    &.link-videos {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 4em;
        padding: 5em;
        flex-wrap: wrap;
        border-top: 0.1em solid rgba(var(--cor-texto-rgb), 1);
        border-bottom: 0.1em solid rgba(var(--cor-texto-rgb), 1);

        .coluna-esquerda {
            display: flex;
            flex-direction: column;
            align-items: center;
            flex: 2;
            width: 50%;
            text-align: left;

            .titulo-beneficios {
                display: flex;
                width: auto;

                h1 {
                    font-family: var(--fonte-titulo);
                    font-size: 2em;
                    line-height: 1.4;
                    text-transform: uppercase;
                    margin-bottom: 1.5em;
                    text-align: center;
                }
            }

            .lista-beneficios {
                list-style: none;
                padding: 0;
                display: flex;
                gap: 2em;

                li {
                    display: flex;
                    align-items: center;
                    gap: 0.5em;
                    font-size: 1.2em;
                    font-weight: bold;
                }

                i {
                    color: var(--cta);
                }
            }
        }

        .coluna-direita {
            flex: 1;
            width: 50%;
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            gap: 2em;

            h3 {
                font-size: 1.2em;
                font-weight: bold;
                text-decoration: inherit;
            }

            .link-sublinhado {
                text-decoration: underline;
                text-underline-offset: 4px;
                text-decoration-thickness: 1px;
                color: var(--cor-texto);
                text-decoration-color: var(--cta);

                &:hover {
                    color: var(--cta);
                    text-decoration: none;
                }
            }

            .botoes-propaganda {
                display: flex;
                flex-direction: column;
                gap: 1em;
                width: 100%;

                a {
                    width: 100%;
                }

                button {
                    width: 100%;
                    padding: 1em;
                    height: auto;
                    border-radius: 50px;
                    font-size: 1em;
                    font-weight: bold;
                    transition: all 0.3s ease;
                }

                .botao-play {
                    background-color: var(--cor-texto);
                    border: 2px solid var(--cor-texto);
                    color: var(--preto-fundo);

                    &:hover {
                        background-color: var(--cta);
                        color: var(--cor-texto);
                    }
                }

                .botao-reportagem {
                    background-color: transparent;
                    border: 2px solid var(--cor-texto);
                    color: var(--cor-texto);

                    &:hover {
                        background-color: var(--cta);
                        color: var(--cor-texto);
                    }
                }
            }
        }
    }


    &.video-drone {
        padding: 0;
        height: auto;

        video {
            width: 100%;
            height: auto;
            display: block;
        }
    }

    &.especificacoes {
        display: flex;
        flex-wrap: wrap;
        flex-direction: row;
        padding: 5em;
        width: 100%;
        background-color: var(--preto-fundo);
        gap: 0.4em;
        border-top: 0.1em solid rgba(var(--cor-texto-rgb), 1);
        border-bottom: 0.1em solid rgba(var(--cor-texto-rgb), 1);

        .cards {
            display: flex;
            flex-direction: column;
            background-color: var(--cor-fundo-cards);
            max-width: auto;
            width: 33%;
            height: 14em;
            padding: 2em 2em 0 2em;
            border-radius: 8px;
            background-color: var(--cor-fundo-cards);
            text-align: center;
            border-top: 4px solid var(--cta);
            transition: transform 0.3s ease, box-shadow 0.3s ease;

            &:hover {
                transform: translateY(-10px);
                box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
            }

            i {
                font-size: 2em;
                color: var(--cta);
                margin-bottom: 0.4em;
            }

            h2 {
                font-family: var(--fonte-titulo);
                font-size: 1.5rem;
                margin-bottom: 0.5em;
                color: var(--cor-texto);
            }

            p {
                color: #ccc;
            }

            .conteudo-cards {
                display: flex;
                flex-direction: column;
                align-items: center;
                justify-content: center;
                width: auto;
            }
        }
    }

    &.depoimentos {
        background-color: var(--cor-primaria);
        position: relative;
        padding: 10em 5% 8em 5%;
        color: var(--cor-texto);

        &::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            background-color: var(--preto-fundo);
            border-bottom-left-radius: 50%;
            border-bottom-right-radius: 50%;
        }

        .depoimento-container {
            position: relative;
            z-index: 2;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 2em;
            flex-wrap: wrap;

            .depoimento-texto {
                flex: 2;
                min-width: 300px;

                h2 {
                    font-size: 2.8em;
                    line-height: 1.2;
                    margin-bottom: 0.8em;
                }

                p {
                    font-size: 1.2em;
                    font-style: italic;
                    line-height: 1.7;
                    margin-bottom: 1.5em;
                    padding-left: 1.5em;
                    border-left: 3px solid rgba(255, 255, 255, 0.5);
                }
            }
        }

        .foto-testemunha {
            flex: 1;
            min-width: 280px;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 1.5em;

            img {
                width: 12em;
                height: 12em;
                border-radius: 50%;
                object-fit: cover;
                border: 6px solid white;
                box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
            }

            h3 {
                font-family: var(--fonte-titulo);
                font-size: 2em;
                line-height: 1;
            }

            p {
                font-size: 1em;
                color: var(--cor-texto);
            }

            h5 {
                font-size: 1rem;
                font-weight: bold;
                color: var(--cor-texto);
            }

            .prova-social {
                text-align: center;
            }

            .estrelas {
                font-size: 1.5em;
                color: #ffc107;
                margin-bottom: 0.5em;
            }
        }
    }

    &.agendar-demonstracao {
        background-color: var(--preto-fundo);
        padding: 10em 5% 8em 5%;
        position: relative;
        height: auto;

        &::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 2em;
            background-color: var(--cor-primaria);
            border-bottom-left-radius: 50%;
            border-bottom-right-radius: 50%;
        }

        .container-demonstracao {
            position: relative;
            z-index: 2;
            display: flex;
            align-items: center;
            gap: 4em;
            flex-wrap: wrap;
            max-width: 70em;

            .demonstracao-texto {
                flex: 1;

                h2 {
                    font-family: var(--fonte-titulo);
                    font-size: 2.5em;
                    line-height: 1.3;
                    color: var(--cta);
                    margin-bottom: 0.2em;
                }

                h3 {
                    font-family: var(--fonte-titulo);
                    font-size: 1.2em;
                    line-height: 1.3;
                    color: var(--cor-texto);
                    margin-bottom: 1em;
                }

                p {
                    color: #ccc;
                    line-height: 1.7;
                    font-size: 1.1em;
                    margin-bottom: 1.5em;
                }

                .lista-beneficios {
                    list-style: none;
                    padding: 0;

                    li {
                        display: flex;
                        align-items: center;
                        color: #ccc;
                        font-size: 1.1em;
                        margin-bottom: 1.5em;
                    }

                    i {
                        color: var(--cta);
                        font-size: 1.2em;
                        margin-right: 0.8em;
                        width: 25px;
                    }
                }
            }

            .container-formulario {
                display: flex;
                flex-direction: column;
                justify-content: center;
                align-items: center;
                flex: 1;
                height: 90%;
                background-color: var(--preto-fundo);
                padding: 2.5em;
                border-radius: 10px;
                border: 1px solid #222;

                form {
                    width: 100%;
                    display: flex;
                    flex-direction: column;
                    align-items: center;
                }

                h4 {
                    font-family: var(--fonte-titulo);
                    font-size: 1.5em;
                    text-align: center;
                    margin-bottom: 1.5em;
                }

                .formulario {
                    width: 100%;
                    margin-bottom: 1.5em;

                    label {
                        display: block;
                        margin-bottom: 0.5em;
                        font-size: 0.9em;
                        color: #ccc;
                        font-weight: bold;
                    }

                    input {
                        width: 100%;
                        padding: 0.9em;
                        background-color: #111;
                        border: 2px solid #444;
                        border-radius: 5px;
                        color: var(--cor-texto);
                        font-size: 1em;
                        transition: all 0.3s ease;

                        &:focus {
                            outline: none;
                            border-color: var(--cta);
                            background-color: #222;
                            box-shadow: 0 0 0 4px rgba(15, 151, 80, 0.2);
                        }
                    }

                    .btn-enviar {
                        width: 100%;
                        padding: 1em;
                        font-size: 1.1em;
                        text-transform: uppercase;
                        margin-top: 1em;
                    }
                }
            }
        }
    }
}

@media (max-width: 1024px) {
    section.especificacoes {
        justify-content: center;
        gap: 1.5em;
        padding-left: 2em;
        padding-right: 2em;
    }

    section.especificacoes .cards {
        width: 48%;
        margin-bottom: 2em;
    }

    section.linha_home .texto-video h1 {
        font-size: 3.5em;
    }

    section.depoimentos .depoimento-texto h2 {
        font-size: 2.2em;
    }

    section.agendar-demonstracao .container-demonstracao {
        gap: 2em;
    }
}

@media (max-width: 768px) {
    header {
        align-items: center;
        padding: 1em;
    }

    header nav {
        display: none;
    }

    section.link-videos {
        flex-direction: column;
        padding: 3em 1em;
    }

    section.link-videos .coluna-esquerda,
    section.link-videos .coluna-direita {
        width: 100%;
        text-align: center;
    }

    section.link-videos .coluna-esquerda .titulo-beneficios h1 {
        font-size: 1.5em; 
    }

    section.link-videos .coluna-esquerda .lista-beneficios {
        flex-direction: column;
        margin: 0;
        gap: 1.5em;
    }

    section.especificacoes {
        padding: 3em 1em;
        justify-content: center;
        gap: 2em;
    }

    section.especificacoes .cards {
        width: 100%;
        margin-bottom: 0;
    }
    
    section.depoimentos .depoimento-container {
        flex-direction: column;
    }

    section.depoimentos .depoimento-texto {
        text-align: center;
    }

    section.depoimentos .depoimento-texto p {
        border-left: none;
        padding-left: 0;
    }

     section.agendar-demonstracao .container-demonstracao {
        flex-direction: column;
    }

    .agendar-demonstracao .demonstracao-texto {
        width: 100%;
        text-align: center;
    }
}

@media(max-width: 480px) {
    body {
        font-size: 15px;
    }

    section {
        padding: 2.5em 1.5em;
    }

    section.linha_home .texto-video h1 {
        font-size: 2.2em;
        line-height: 1.2;
    }

    section.linha_home .texto-video h3 {
        font-size: 1.1em;
    }

    section.depoimentos .depoimento-texto h2 {
        font-size: 1.8em;
    }

    section.depoimentos .foto-testemunha img {
        width: 9em;
        height: 9em;
    }

    section.agendar-demonstracao .demonstracao-texto h2 {
        font-size: 2em;
    }

    section.agendar-demonstracao .container-formulario {
        padding: 1.5em;
    }

    button,
    .btn-enviar {
        padding: 0.9em 1.5em;
        font-size: 1em;
    }
}