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

body {
    background-color: #FFFFFF;
}

.cabecalho {
    background-color: #0067A7;
    padding: 10px 50px;
    display: flex;
    align-items: center;
    height: 80px;
    line-height: 0;
}

.logo img {
    height: 60px;
    background-color: white;
    padding: 5px;
    border-radius: 5px;
    display: block; 
}

.logo a {
    text-decoration: none;
}

.menu {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.menu ul {
    list-style: none;
    display: flex;
    gap: 40px;
    align-items: center;
}

.menu a {
    height: 30px;
    line-height: 10px;
    text-align: center;
    text-decoration: none;
    color: #333;
    background-color: white;
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: bold;
    font-size: 14px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: inline-block;
    align-items: center;
}

#home a {
    background-color: #5155cb;
    color: white;
    
    
}

#home a:hover {
    background-color: #FFFFFF;
    color: #333;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transform: translateY(-5px) scale(1.05);
}

.menu a:hover {
    background-color: #5155cb;
    color: white;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}


#btn-escuro {
    background: white !important;
    border: none !important;
    padding: 0 !important;
    cursor: pointer;
    font-size: 0;
    position: absolute;
    right: 50px;
    transition: transform 0.2s, box-shadow 0.2s;
    outline: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

#btn-escuro:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(255, 255, 255, 0.4);
}

#btn-escuro img {
    width: 26px;
    height: 26px;
    object-fit: contain;
    display: block;
}

@media (max-width: 768px) {
    #btn-escuro {
        right: 20px;
        top: 20px;
        width: 40px;
        height: 40px;
    }
    
    #btn-escuro img {
        width: 22px;
        height: 22px;
    }
}


body.modo-escuro {
    background-color: #121212 !important;
    color: #f1f1f1 !important;
}
body.modo-escuro .containerTexto,
body.modo-escuro .dica,
body.modo-escuro .link-card,
body.modo-escuro .caixa-calculadora,
body.modo-escuro .formulario,
body.modo-escuro .card-equipamento,
body.modo-escuro .resultado {
    background-color: #242424 !important;
    color: #ffffff !important;
    border: 1px solid #333 !important;
}

body.modo-escuro p,
body.modo-escuro li,
body.modo-escuro h1,
body.modo-escuro h2,
body.modo-escuro h3,
body.modo-escuro label,
body.modo-escuro .texto-explicativo p,
body.modo-escuro .info-contato p,
body.modo-escuro .detalhes-contato p {
    color: #e0e0e0 !important;
}

body.modo-escuro .destaque-preto {
    color: #7ee8fa !important;
}

body.modo-escuro input,
body.modo-escuro select,
body.modo-escuro textarea {
    background-color: #333 !important;
    color: white !important;
    border: 1px solid #555 !important;
}

body.modo-escuro .cabecalho,
body.modo-escuro .menu ul {
    background-color: #1a1a1a !important; 
    
}

body.modo-escuro .menu a {
    background-color: #333 !important;
    color: #ffffff !important;
}

body.modo-escuro .menu a:hover {
    background-color: #555 !important;
    color: #ffffff !important;
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
}

body.modo-escuro #home a,
body.modo-escuro #economizar a,
body.modo-escuro #contato a, 
body.modo-escuro #sobre a{
    background-color: #8f8f8f !important; 
    border: 1px solid #666 !important;
    box-shadow: 0 6px 15px rgba(255, 255, 255, 0.4);
}









.container-banner {
    width: 100%;
	background-image: url('../imagens/banneratras.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    max-width: none;
    margin: 0;
    padding: 20px 0;
    background-color: #bdbdbd;
    position: relative;
    overflow: hidden;
    border-radius: 0;
}

.carousel-track {
    display: flex;
    transition: transform 0.6s ease-in-out;
    width: 100%;
}

.slide-banner {
    min-width: 100%;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    padding: 0 20px;
}

.carousel-image {
    width: 100%;
    max-width: 1160px;
    height: 600px;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 8px;
}

.seta {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #333;
    font-size: 45px;
    cursor: pointer;
    z-index: 10;
}

.seta-esq { left: 20px; }
.seta-dir { right: 20px; }

.indicadores {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 15px;
}

.bolinha {
    width: 12px;
    height: 12px;
    background-color: white;
    border-radius: 50%;
    cursor: pointer;
    border: 1px solid #666;
}

.bolinha.ativa {
    background-color: #000000;
    border-color: #000000;
}

.divisor {
    border: none;
    height: 5px;
    background-color: #656565;
    margin: 30px auto;
    width: 95%;
    max-width: 1200px;
}





.containerTexto {
    background-color: #ffffff;
    color: rgb(0, 0, 0);
    width: 95%;
    max-width: 1200px;
    margin: 20px auto;
    padding: 40px;
    border-radius: 15px;
}

.containerTexto h2 {
    margin-bottom: 15px;
}

.containerTexto ul {
    list-style: none;
}

.destaque-azul {
    color: #00aaff;
    font-weight: bold;
}

.destaque-preto {
    color: #00aaff;
    font-weight: bold;
}

.secao-metodos {
    width: 95%;
    max-width: 1200px;
    margin: 50px auto;
    height: calc(100vh - 100px);
    display: flex;
    flex-direction: column;
}

.titulo-metodos {
    background-color: #0067A7;
    color: #FFFFFF;
    text-align: center;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 30px;
}

.grid-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 30px;
    width: 100%;
    flex: 1;
    overflow-y: auto;
    scroll-snap-type: y mandatory;
    padding-right: 10px;
}

.grid-cards::-webkit-scrollbar {
    width: 6px;
}

.grid-cards::-webkit-scrollbar-thumb {
    background: #0067A7;
    border-radius: 10px;
}

.card-equipamento {
    background-color: #d9d9d9;
    flex: 0 1 calc(33.333% - 20px);
    max-width: 380px;
    min-width: 280px;
    height: calc(100% - 20px);
    max-height: 450px;
    border-radius: 5px;
    position: relative;
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.2s;
    scroll-snap-align: start;
    overflow: hidden;
}

.card-equipamento:hover {
    transform: translateY(-5px);
}

.card-equipamento h3 {
    position: absolute;
    top: 20px;
    left: 0;
    width: 100%;
    text-align: center;
    font-size: 20px;
    color: white;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
    z-index: 5;
}

.conteudo-card {
    width: 100%;
    height: 100%;
    position: relative;
}

.conteudo-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.barra-info {
    position: absolute;
    bottom: -50%;
    left: 0;
    width: 100%;
    height: 50%;
    background-color: rgba(81, 85, 203, 0.5);
    transition: bottom 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 10;
}

.barra-info p {
    color: white;
    font-size: 15px;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
    text-align: center;
    font-weight: bold;
}

.card-equipamento:hover .barra-info {
    bottom: 0;
}

.card-equipamento:hover .barra-info p {
    opacity: 1;
}

html {
    scroll-behavior: smooth;
}

.secao-detalhe {
    width: 95%;
    max-width: 1200px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 60px 40px;
    background-color: rgba(161, 113, 23, 0.3);
    border-radius: 15px;
    box-sizing: border-box;
    margin: 120px auto;
}

.secao-detalhe h1 {
    color: #0067A7;
    margin-bottom: 40px;
    font-size: 36px;
    text-transform: uppercase;
    width: 100%;
    text-align: center;
}

.conteudo-detalhe {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 30px;
    max-width: 1200px;
    width: 100%;
}

.texto-explicativo {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.texto-explicativo p {
    font-size: 18px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 25px;
    text-align: center;
}

.texto-explicativo h3 {
    color: #0067A7;
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 22px;
}

.texto-explicativo ul {
    list-style: none;
    padding-left: 0;
}

.texto-explicativo li {
    font-size: 17px;
    line-height: 1.6;
    color: #444;
    margin-bottom: 15px;
    position: relative;
}

.imagem-explicativa {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.imagem-explicativa img {
    width: 800px;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.botao-subir {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #0067A7;
    color: #ffffff;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 22px;
    cursor: pointer;
    display: none;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    transition: background-color 0.3s, transform 0.2s;
    line-height: 50px;
    text-align: center;
    transform: rotate(90deg);
}

.botao-subir:hover {
    background-color: #5155cb;
    transform: rotate(90deg);
}

.rodape {
    background-color: #0067A7;
    color: #ffffff;
    padding: 40px 20px 20px 20px;
    margin-top: 50px;
    width: 100%;
}

.conteudo-rodape {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.rodape-logo h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.rodape-logo p {
    font-size: 14px;
    color: #d9d9d9;
}

.rodape-links h4 {
    font-size: 18px;
    margin-bottom: 15px;
}

.rodape-links ul {
    list-style: none;
    padding: 0;
}

.rodape-links li {
    margin-bottom: 8px;
}

.rodape-links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.rodape-links a:hover {
    color: #bac6fd;
}

.rodape-direitos {
    text-align: center;
    padding-top: 20px;
    font-size: 13px;
    color: #d9d9d9;
}

.menu-hamburger {
    display: none;
}

.menu-dica, .item-dica {
    display: none !important;
}



@media (max-width: 768px) {

.menu ul.menu-ativo .item-dica {
        display: block !important;
        width: 100%;
    }

    .menu ul.menu-ativo .menu-dica {
        display: flex !important;   
        height: 100px;
        line-height: 10px;
        text-align: center;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 15px;
        background: rgba(255, 255, 255, 0.1);
        border-top: 1px solid rgba(255, 255, 255, 0.2);
        color: white;
        text-align: center;
        width: 85%;
        margin: 20px auto 0 auto;
        border-radius: 8px;
    }

    .menu-dica h4 {
        font-size: 15px;
        margin-bottom: 5px;
        width: 100%;
    }

    .menu-dica p {
        font-size: 13px;
        line-height: 1.4;
        width: 100%;
        word-wrap: break-word; /* Evita que o texto quebre o layout */
    }




    .menu-hamburger {
        display: block;
        position: absolute;
        left: 20px;
        top: 29px;
        background: transparent;
        border: none;
        cursor: pointer;
        z-index: 100;
        padding: 0;
    }

    .menu-hamburger .bar {
        display: block;
        width: 30px;
        height: 4px;
        background-color: #ffffff;
        margin: 6px 0;
        border-radius: 3px;
    }

    .logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }

    .menu ul {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: -250px;
        width: 250px;
        height: 100vh;
        background-color: #0067A7;
        padding-top: 90px;
        gap: 20px;
        box-shadow: 4px 0 10px rgba(0,0,0,0.3);
        z-index: 99;
        transition: left 0.3s ease;
        margin: 0;
    }

    .menu ul.menu-ativo {
        left: 0;
    }

    .menu a {
        height: 30px;
        width: 130px;
        line-height: 5px;
        text-align: center;
        display: block;
        text-align: left;
        margin: 0 auto;
        padding: 12px 20px;
        border-radius: 5px;
    }

    .conteudo-rodape {
        flex-direction: column;
        gap: 30px;
        text-align: center;
        align-items: center;
    }

    .grid-cards {
        gap: 10px;
    }

    .card-equipamento {
        flex: 0 1 calc(50% - 5px);
        min-width: 140px;
        height: 200px;
    }

    .card-equipamento h3 {
        font-size: 15px;
        top: 10px;
    }

    .barra-info p {
        font-size: 12px;
        padding: 5px;
    }

    .secao-detalhe {
        padding: 30px 20px;
        margin: 50px auto;
    }

    .secao-detalhe h1 {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .texto-explicativo p {
        font-size: 16px;
    }

    .texto-explicativo h3 {
        font-size: 18px;
    }

    .imagem-explicativa img {
        width: 100%;
        height: auto;
        max-width: 350px;
    }

    .container-banner {
        padding: 10px 0;
        margin: 0;
        border-radius: 0;
    }

    .slide-banner {
        padding: 0 10px;
    }

    .carousel-image {
        width: 100%;
        height: 200px;
        border-radius: 5px;
        object-fit: cover;
    }

    .seta {
        font-size: 28px;
    }

    .seta-esq { left: 5px; }
    .seta-dir { right: 5px; }
	
	.menu ul {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 80px; /* IMPORTANTE: Começa logo abaixo do cabeçalho (80px) */
        left: -250px;
        width: 250px;
        height: calc(100vh - 80px); /* Ajusta a altura para não cobrir o topo */
        background-color: #0067A7;
        padding-top: 20px;
        gap: 20px;
        z-index: 999; /* Garante que fica por cima de tudo */
        transition: left 0.3s ease;
    }

    .menu ul.menu-ativo {
        left: 0;
    }
}
