*{
    margin: 0;
    padding: 0;
}
html {
    scroll-behavior: smooth;
}
body{
    background-color: #ECECEC;
    padding-top: 67px;
}
header{
    display: flex;
    background-color: #ECECEC;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
}
.logo{
    height: 66px;
    margin-left: 60px;
}
.logo img{
    width: auto;
    height: 59px;
}
.nav-bar{
    align-items: center;
}
.nav-bar ul{
    display: flex;
    list-style: none;
}
.nav-bar li{
    display: flex;
    margin-left: 40px;
}
.nav-bar a{
    color: black;
    text-decoration: none;
    font-size: 18px;
    font-family: "Source Serif 4", serif;
}
.nav-bar a:hover {
    color: #264f8e;
}
.sobre-nos{
    display: inline;
}
.nos{
    display: none;
}
.btn-cta{
    margin-right: 60px;
    width: 237px;
    height: 37px;
    background-color: #1A3E6D;
    border-radius: 22px;
    justify-content: center;
    display: flex;
    align-items: center;
}
.btn-cta:hover{
    background-color: #264f8e;
    transition: 0.3s ease;
}
.btn-cta a{
    text-decoration: none;
    font-size: 18px;
    color: #fff;
}

.menu-hamburguer {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    margin-right: 20px;
}

.menu-hamburguer span {
    width: 30px;
    height: 3px;
    background: #1A3E6D;
    border-radius: 3px;
}


#hero-section{
    width: 100%;
    min-height: 650px;
    background-image: 
        linear-gradient(to right, rgba(26, 62, 109, 1), rgba(26, 62, 109, 0.50)),
        url(imagens/fundo-hero.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    display: flex;
    align-items: center;
}

.hero-container{
    width: 50%;
    margin-left: 60px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    color: #fff;
}
.h-textos {
    max-width: 650px;
}

.h-titulo {
    font-size: 48px;
    font-weight: 300px;
}

.h-subtitulo {
    font-size: 28px;
    margin-top: 15px;
}
.h-buttons{
    display: flex;
    gap: 20px;
    margin-top: 15px;
}
.h-buttons a{
    font-size: 20px;
    text-decoration: none;
}
.btn-demo{
    width: 253px;
    height: 40px;
    border-radius: 22px;
    justify-content: center;
    display: flex;
    align-items: center;
    background-color: #1A3E6D;
    border: 1px solid #fff;
    color: #fff;
    cursor: pointer;
}
.btn-demo:hover{
    background-color: #264f8e;
    transition: 0.3s ease;
}

.btn-sist{
    width: 170px;
    height: 40px;
    border-radius: 22px;
    justify-content: center;
    display: flex;
    align-items: center;
    background-color: #ffffff;
    color: #1A3E6D;
    cursor: pointer;
    transition: 0.3s ease;
}
.btn-sist:hover{
    background-color: #1A3E6D;
    color: #fff;
    border: #fff;
}

#empresa {
    padding: 60px 0;
}

.em-container {
    width: 90%;
    max-width: 1300px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.e-titulo h2{
    font-size: 40px;
    text-align: center;
    margin-bottom: 30px;
}

.e-textos {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    font-size: 24px;
}

.e-descricao {
    line-height: 1.6;
}

.e-lista ul {
    list-style: none;
    padding: 0;
}

.e-lista ul li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.e-lista ul li::before {
    content: "•";
    color: #1a3e6d;
    font-size: 22px;
    position: absolute;
    left: 0;
    top: 0;
}

.e-img img {
    width: 380px; 
    max-width: 100%;
    display: block;
}

/* ========== SISTEMAS SECTION ========== */
#sistemas {
    background-color: #1a3e6d;
    padding: 30px 0;
    color: white;
}

.sist-container {
    width: 90%;
    max-width: 1300px;
    margin: auto;
    text-align: center;
}

/* TÍTULO */
.s-titulo {
    font-size: 40px;
    margin-bottom: 40px;
    color: white;
}

/* BOTÕES DO TOPO */
.s-buttons {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 50px;
}

.s-btn {
    padding: 12px 26px;
    font-size: 18px;
    background: transparent;
    color: white;
    border: 2px solid white;
    cursor: pointer;
    border-radius: 50px;
    transition: .3s;
}

.s-btn.ativo {
    background: white;
    color: #1a3e6d;
}

/* CARROSSEL */
.s-carrossel {
    overflow: hidden;
    width: 100%;
}

.slides {
    display: flex;
    transition: transform .5s ease;
}

/* SLIDE */
.slide {
    display: flex;
    align-items: center;
    gap: 50px;
    padding: 20px;
    width: 100%;
    flex-shrink: 0;
    box-sizing: border-box;
}

/* IMAGEM */
.slide-img {
    flex: 0 0 55%;
    max-width: 55%;
}

.slide-img img {
    width: 100%;
    border-radius: 10px;
}

/* TEXTOS */
.slide-texto {
    flex: 0 0 40%;
    max-width: 40%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.slide-texto h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #fff;
}

.slide-texto p {
    font-size: 24px;
    line-height: 1.6;
    color: #e6e6e6;
    white-space: normal !important;
    overflow-wrap: break-word;
}

#contato {
    padding: 60px 0;
}

.c-container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    padding: 50px 50px;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    box-shadow: 0 0px 10px 4px rgba(0, 0, 0, 0.25);
}

.c-infor {
    flex: 1;
}

.c-infor h2 {
    font-size: 32px;
    margin-bottom: 15px;
}

.c-infor p {
    font-size: 22px;
    line-height: 1.6;
    margin-bottom: 25px;
}

.c-itens {
    display: flex;
    flex-direction: column;
    gap: 15px;
    font-size: 22px;
}

.c-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.c-item img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    display: block;
}

.c-item p{
    margin: 0;
    line-height: 1.4; 
}

.c-form {
    flex: 1;
}

.c-campos {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.c-campos input,
.c-campos textarea {
    width: 100%;
    padding: 12px 14px;
    background-color: #ECECEC;
    border: 1px solid #868686;
    border-radius: 6px;
    font-size: 20px;
    outline: none;
}

.c-campos textarea {
    height: 120px;
    resize: none;
}

.c-campos button {
    width: fit-content;
    padding: 12px 24px;
    background: #1a3e6d;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
}

.c-campos button:hover {
    background: #143257;
}

/* ======== TELAS MÉDIAS (TABLETS) – até 1024px ======== */
@media (max-width: 1024px) {

    header {
        padding: 0 20px;
    }

    .logo {
        margin-left: 0;
    }

    .btn-cta {
        margin-right: 40px;
        width: 200px;
    }

    /* HERO */
    .hero-container {
        width: 80%;
        margin-left: 30px;
    }

    .h-titulo {
        font-size: 38px;
    }

    .h-subtitulo {
        font-size: 22px;
    }

    /* EMPRESA */
    .em-container {
        flex-direction: column;
        text-align: center;
    }
    
    .e-textos {
        font-size: 20px;
        text-align: left;
        align-items: center;
    }

    .e-lista ul li {
        font-size: 18px;
    }

    .e-img img {
        width: 300px;
    }

    /* SISTEMAS */
    .slide {
        flex-direction: column;
        text-align: center;
    }

    .slide-img,
    .slide-texto {
        max-width: 100%;
        flex: unset;
    }

    .slide-texto p {
        font-size: 20px;
    }

    /* CONTATO */
    .c-container {
        flex-direction: column;
        text-align: left;
        padding: 40px;
    }

    .c-item {
        justify-content: left;
    }

    .c-form {
        width: 100%;
    }
}

/* ======== TELAS PEQUENAS (CELULAR GRANDE) – até 768px ======== */
@media (max-width: 768px) {

    /* Mostrar hambúrguer */
    .menu-hamburguer {
        display: flex;
        margin-right: 40px;
    }

    /* Sumir com CTA no mobile */
    .btn-cta {
        display: none;
    }

    /* Menu fechado */
    .nav-bar {
       position: absolute;
        top: 100%; /* fica logo abaixo do header */
        left: 0;
        width: 100%; /* ocupa certinho a largura da tela */
        background: #ECECEC;
        padding: 20px 25px; /* afasta da borda */
        box-shadow: 0 4px 8px rgba(0,0,0,0.15);
        display: none; /* começa escondido */
    }

    /* Menu aberto */
    .nav-bar.ativo {
        display: block;
    }

    .nav-bar ul {
        flex-direction: column;
        gap: 25px;
    }

    header {
        padding-right: 20px;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
    }

    body {
        padding-top: 70px;
    }

    /* HEADER vira 2 linhas */
    header {
        flex-wrap: wrap;
        padding: 10px 20px;
        gap: 15px;
    }

    .nav-bar ul {
        flex-direction: column;
        width: 100%;
        gap: 20px;
    }

    .nav-bar li {
        width: 100%;
        margin: 0;
    }

    .btn-cta {
        width: 160px;
        height: 34px;
    }

    .texto-grande { display: none; }
    .texto-pequeno { display: inline; }

    /* HERO */
    .hero-container {
        width: 90%;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .h-textos{
        text-align: center;
    }

    .h-titulo {
        font-size: 32px;
    }

    .h-subtitulo {
        font-size: 20px;
    }

    .h-buttons {
        flex-direction: column;
        width: 50%;
    }

    .btn-demo,
    .btn-sist {
        width: 100%;
    }

    /* EMPRESA */
    .e-textos {
        font-size: 18px;
        text-align: left;
    }
    .e-descricao{
        text-align: left;
    }

    /* SISTEMAS */

    .slides {
        margin-right: 0;
    }

    .slide-texto p {
        font-size: 18px;
    }

    /* CONTATO */
    .c-container {
        padding: 30px;
    }

    .c-infor p,
    .c-item p {
        font-size: 18px;
    }

    .c-form{
        max-width: 600px;   /* ou 700px, ajuste como quiser */
        width: 90%;         /* deixa responsivo */
        margin: auto;
    }
}

/* ======== CELULARES PEQUENOS – até 480px ======== */
@media (max-width: 580px) {

    /* HEADER compacta */
    .logo img {
        height: 45px;
    }

    .nav-bar ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    /* HERO */
    .h-titulo {
        font-size: 26px;
    }

    .h-subtitulo {
        font-size: 18px;
    }

    /* EMPRESA */
    .e-titulo{
        font-size: 26px;
    }
    .e-textos {
        font-size: 16px;
    }

    .e-img img {
        width: 240px;
    }

    /* SISTEMAS */
    .s-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .s-btn {
        width: 100%;
    }

    .slide {
        gap: 25px;
    }

    /* CONTATO */
    .c-container {
        padding: 20px;
    }

    .c-campos input,
    .c-campos textarea {
        font-size: 16px;
    }

    .c-campos button {
        width: 100%;
    }
}
