html, body {
    height: 100%;
    margin: 0;
    font-family: Arial, sans-serif;
    overflow-x: hidden; /* Evita estouro lateral */
    scroll-behavior: smooth;
}

body {
    display: flex;
    flex-direction: column;
    color: white;
}

/* Estilos para o Navbar */
.header {
    background-color: #FFF;
    color: black;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 2; /* Garantindo que o menu tenha um z-index maior */
    position: sticky;
    top: 0;
    width: 100%;
    box-sizing: border-box;
}

/* Contêiner da logo */
.logo-container {
    display: flex;
    align-items: center;
    justify-content: flex-end; /* Move a logo e o texto para a direita */
    max-width: 100%; /* Garante que não limite demais o tamanho */
    padding-right: 20px; /* Adiciona um espaço da borda direita */
}

/* Estilo da logo */
.logo {
    width: 230px; /* Define um tamanho fixo para evitar que fique muito grande */
    height: auto;
}

.substituto {
    font-size: 1.4rem;
    color: white;
    margin-top: -15px;
    font-weight: bold;
}


@import url('https://fonts.cdnfonts.com/css/clarendon');
/* Texto ao lado da logo */
.mu {
    font-size: 1.5rem; /* Aumenta um pouco mais a fonte */
    margin-left: 30px; /* Adiciona espaço entre a logo e o texto */
    color: #1e3c72;
    font-family: 'Clarendon', sans-serif;
                                                
}

/* Menu */
.menu-bar {
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 3; /* Garante que o menu fique acima de outros elementos */
}

.menu-bar a {
    font-size: 1.5rem;
    color: black;
    text-decoration: none;
    padding: 20px;
    transition: color 0.3s ease, background-color 0.3s ease;
    border-radius: 4px;
}

.menu-bar a:hover {
    color: #1c66e6;
}

/* Botão de menu (responsivo) */
#menu-btn {
    font-size: 2rem;
    color: black;
    display: none;
    cursor: pointer;
    transition: transform 0.3s ease;
}

@media (max-width: 768px) {
    .header {
        padding: 15px;
        height: auto;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .logo-container {
        display: flex;
        align-items: center;
        max-width: 100%;
        flex-wrap: wrap; /* Evita que os itens saiam da tela */
    }

    .logo {
        width: 200px; /* Reduz o tamanho da logo para telas pequenas */
        height: auto;
    }

    .mu {
        font-size: 0.7rem;
        margin-left: 10px;
        white-space: nowrap; /* Impede que o texto quebre */
    }

    /* Ajustando o menu mobile */
    .menu-bar {
        display: flex;
        flex-direction: column;
        align-items: center;
        position: absolute;
        top: 100%; /* Evita sobreposição com o header */
        left: 50%;
        transform: translateX(-50%);
        width: 90%;
        max-width: 300px;
        background-color: white;
        padding: 15px;
        border-radius: 8px;
        box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }

    .menu-bar.show {
        opacity: 1;
        visibility: visible;
    }

    .menu-bar a {
        font-size: 1.2rem;
        padding: 12px;
    }

    #menu-btn {
        display: block;
        cursor: pointer;
        font-size: 2rem;
    }
}


/* Estilos das Seções */
section {
    padding: 10rem 10%;
    min-height: 100vh;
}

/* Section 1 - Home */
.Section1 {
    background-image: url('../img/TelaHome.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
    height: 100vh; /* Garante que ocupe toda a altura da tela */
    display: flex;
    justify-content: space-between; /* Alinha o conteúdo nas extremidades */
    align-items: center;
    position: relative; /* Garante que o conteúdo da Section1 fique dentro dela */
    padding: 0 5%; /* Dá uma margem horizontal */
}

/* Estilos para o conteúdo dentro da Section1 */
.Section1 .heading {
    text-align: left;
    color: white;
    z-index: 1; /* Garante que o conteúdo esteja acima da imagem */
    max-width: 50%; /* Limita a largura do texto */
}

.Section1 .heading h2 {
    font-size: 3.5rem;
    margin-bottom: 20px; /* Ajuste de espaçamento */
}

.Section1 .heading .sub-text {
    font-size: 1.8rem;
}

/* Estilo para a imagem na Section1 */
.Section1 .heading .logoH {
    height: 50%; /* Ajuste o tamanho da imagem */
    max-width: 100%; /* Evita que a imagem fique maior que o seu contêiner */
    right: 10%; /* Alinha a imagem à direita */
    position: absolute;
    top: 50%;
    transform: translateY(-50%); /* Centraliza a imagem verticalmente */
    z-index: 0; /* A imagem ficará atrás do texto */
}

/* Evitar sobreposição do texto */
.Section1 .heading .text {
    position: relative; /* Garante que o texto fique acima da imagem */
    z-index: 1; /* Texto fica acima da imagem */
}

/* Responsividade */
@media (max-width: 1200px) {
    .Section1 .heading h2 {
        font-size: 3rem;
    }

    .Section1 .heading .sub-text {
        font-size: 1.5rem;
    }

    .Section1 .heading .logoH {
        height: 100%;
    }
}

@media (max-width: 1024px) {
    .Section1 {
        flex-direction: column; /* Empilha o conteúdo */
        text-align: center;
        justify-content: center;
    }

    .Section1 .heading {
        max-width: 80%;
    }

    .Section1 .heading h2 {
        font-size: 2.5rem;
    }

    .Section1 .heading .sub-text {
        font-size: 1.4rem;
    }

    .Section1 .heading .logoH {
        height: auto;
        max-width: 150px;
    }
}


@media (max-width: 480px) {
    .Section1 {
        padding: 4rem 5%;
    }

    .Section1 .heading h2 {
        font-size: 1.8rem;
    }

    .Section1 .heading .sub-text {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .Section1 .heading {
        display: flex;
        flex-direction: column-reverse;
        align-items: center;
        gap: 1.5rem;
    }

    .Section1 .heading .logoH {
        position: static;
        transform: none;
        height: auto;
        max-width: 200px; /* Aumenta o tamanho da logo */
        margin-right: 30px;
        margin-top: -150px;
        z-index: 1;
    }
}
@media (max-width: 480px) {
    .Section1 .heading {
        display: flex;
        flex-direction: column-reverse;
        align-items: center;
        gap: 1.5rem;
    }

    .Section1 .heading .logoH {
        position: static;
        transform: none;
        height: auto;
        max-width: 200px; /* Aumenta o tamanho da logo */
        margin-right: 30px;
        margin-top: -150px;
        z-index: 1;
    }
}
@media (max-width: 1120px) {
    .Section1 .heading {
        display: flex;
        flex-direction: column-reverse;
        align-items: center;
        gap: 1.5rem;
    }

    .Section1 .heading .logoH {
        position: static;
        transform: none;
        height: auto;
        max-width: 200px; /* Aumenta o tamanho da logo */
        margin-right: 30px;
        margin-top: -150px;
        z-index: 1;
    }
}
/* Configuração geral da Section2 */
.Section2 {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 100vh; /* Ocupa no mínimo toda a altura da tela */
    padding: 0;
}

.container {
    display: flex;
    width: 100%;
    height: 100%;
    flex-direction: row; /* Manter o layout lado a lado em telas maiores */
}

/* Carrossel */
.carousel {
    width: 50%; /* Ocupa 50% da largura do container */
    height: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.carousel-inner {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 1.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.carousel-inner img {
    width: 100%;
    flex: 1 0 100%;
    transition: opacity 1.5s ease-in-out;
}

/* Área azul com texto */
.content {
    width: 50%;
    height: 100vh; /* Garante que ocupe pelo menos 100% da altura da tela */
    background-color: #2957A4;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: left;
    color: white;
    padding: 60px 20px;
    box-sizing: border-box;
    overflow: hidden; /* Garante que o texto não transborde */
}

/* Título um pouco mais para baixo */
.content h2 {
    font-size: 3.5rem;
    margin-bottom: 15px;
    align-self: center;
    transform: translateY(20px);
}

/* Parágrafo um pouco mais para baixo */
.content p {
    font-size: 1.5rem;
    max-width: 80%;
    margin-top: 40px;
}

/* Responsividade para telas menores que 1140px */
@media (max-width: 1140px) {
    .container {
        flex-direction: column; /* Alinha os elementos verticalmente */
        height: auto; /* Ajusta a altura para o conteúdo */
    }

    /* Carrossel ocupa 100% da largura e ajusta a altura */
    .carousel {
        width: 100%; /* Ocupa toda a largura */
        height: 250px; /* Definir altura fixa para o carrossel */
    }

    /* Parte azul ocupa 100% da largura e ajusta a altura */
    .content {
        width: 100%; /* Ocupa toda a largura */
        height: 600px;
        padding: 20px 40px;
    }

    /* Título e parágrafo menores para telas muito pequenas */
    .content h2 {
        font-size: 2rem; /* Título ainda menor */
    }

    .content p {
        font-size: 1rem; /* Parágrafo menor */
    }
}

/* Responsividade para telas menores que 768px (smartphones) */
@media (max-width: 768px) {
    .container {
        flex-direction: column; /* Alinha os elementos verticalmente */
        height: auto; /* Ajusta a altura para o conteúdo */
    }

    /* Carrossel ocupa 100% da largura e ajusta a altura */
    .carousel {
        width: 100%; /* Ocupa toda a largura */
        height: 250px; /* Definir altura fixa para o carrossel */
    }

    /* Parte azul ocupa 100% da largura e ajusta a altura */
    .content {
        width: 100%; /* Ocupa toda a largura */
        height: 600px;
        padding: 20px 40px;
    }

    /* Título e parágrafo menores para telas muito pequenas */
    .content h2 {
        font-size: 2rem; /* Título ainda menor */
    }

    .content p {
        font-size: 1rem; /* Parágrafo menor */
    }
}




/* Nossos Produtos */
.Section3 {
    margin: 0;
    padding: 0px 0;
    min-height: auto;
    text-align: center;
    background: linear-gradient(to top, #1e3c72, #2a5298, #4166a7, #2957A4, #6ea8fe);
    color: white;
    clear: both;
}

.heading1 h2 {
    font-size: 3.5rem;
    text-align: center;
    background-color: #2957A4;
    color: white;
    padding-top: 110px;
    margin-top: 0;
}

.carousel2 {
    width: 80%;
    margin: 20px auto;
}

.gallery-cell {
    width: 20%;
    height: 150px;
    margin-right: 10px;
    overflow: hidden;
    opacity: 0.8;
}

.gallery-cell img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.heading2 h2 {
    font-size: 1.7rem;
    text-align: center;
    background-color: #2957A4;
    color: white;
    margin-top: 20px;
    padding: 10px 20px;
    border-radius: 30px;
    display: inline-block;
}

/* Galeria de Produtos */
.product-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    padding: 40px 20px;
    max-width: 1200px;
    margin: auto;
}

.product-item {
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
}

.product-item img {
    width: 100%;
    max-width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 10px;
}

.product-item p {
    font-size: 1rem;
    color: #000000;
    font-weight: 500;
    text-align: left;
    width: 100%; /* Força o texto a ocupar toda a largura, permitindo alinhamento à esquerda */
    margin-bottom: 2px;
}

/* Media Queries para dispositivos móveis */
@media (max-width: 1024px) {
    .Section3 {
        padding: 0px 0;
    }

    .heading1 h2 {
        font-size: 2.5rem;
        padding-top: 130px;
        margin-top: 0;
    }

    .carousel2 {
        width: 90%;
    }

    .gallery-cell {
        width: 25%;
    }

    .heading2 h2 {
        font-size: 1.5rem;
    }

    .product-gallery {
        grid-template-columns: repeat(3, 1fr);
    }

    .product-item img {
        max-width: 120px;
        height: 120px;
    }
    .product-item p {
        font-size: 1rem;
        color: #000000;
        font-weight: 500;
        text-align: left;
        width: 100%; /* Força o texto a ocupar toda a largura, permitindo alinhamento à esquerda */
        margin-bottom: 2px;
    }
}

@media (max-width: 768px) {
    .Section3 {
        padding: 0px 0;
    }

    .heading1 h2 {
        font-size: 2rem;
        padding-top: 130px;
        margin-top: 0;
    }

    .carousel2 {
        width: 100%;
    }

    .gallery-cell {
        width: 50%;
    }

    .heading2 h2 {
        font-size: 1.3rem;
    }

    .product-gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-item img {
        max-width: 120px;
        height: 100px;
    }
    .product-item p {
        font-size: 1rem;
        color: #000000;
        font-weight: 500;
        text-align: left;
        width: 100%; /* Força o texto a ocupar toda a largura, permitindo alinhamento à esquerda */
        margin-bottom: 2px;
    }
}

@media (max-width: 480px) {
    .product-gallery {
        grid-template-columns: repeat(1, 1fr);
    }

    .product-item img {
        max-width: 100px;
        height: 100px;
    }
    .product-item p {
        font-size: 1rem;
        color: #000000;
        font-weight: 500;
        text-align: left;
        width: 100%; /* Força o texto a ocupar toda a largura, permitindo alinhamento à esquerda */
        margin-bottom: 2px;
    }
}

/* Menu Bar (Logo + Menu) */
.footer-menu-bar {
    background: linear-gradient(to right, #003366, #004080);
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    padding: 10px;
}

/* Logo */
.footer-menu-bar .logo-section .logo {
    width: 150px;
    margin-right: 0; /* Remove o espaço à direita da logo */
    margin-left: 0; /* Garante que a logo fique à esquerda */
}

/* Menu */
.menu-section {
    text-align: left; /* Alinha o menu à esquerda */
}

.menu-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left; /* Alinha as opções do menu à esquerda */
}

.menu-section ul li {
    display: inline-block; /* Faz com que os itens do menu fiquem alinhados horizontalmente */
    margin: 0 10px; /* Aumenta ainda mais o espaço entre as opções do menu */
}

.menu-section ul li a {
    color: white;
    font-size: 40px;
    text-decoration: none;
    font-weight: bold;
}

.menu-section ul li a:hover {
    text-decoration: underline;
}

/* Informações adicionais no rodapé - Alinhamento das colunas */
.footer-info {
    background: linear-gradient(to right, #003366, #004080);
    color: white;
    display: flex;
    justify-content: space-between;
    padding: 20px;
    text-align: center;
}

.footer-column {
    flex: 1;
    min-width: 200px;
    margin: 10px;
}

.footer-column h3 {
    font-size: 25px; /* Aumenta o tamanho da fonte dos títulos */
    margin-bottom: 5px;
}

.footer-column p {
    font-size: 18px; /* Aumenta o tamanho da fonte dos dados */
    margin: 0;
}

.footer-column hr {
    width: 50px;
    height: 3px;
    background-color: black;
    border: none;
    margin-bottom: 10px;
}

/* Ícones */
.footer-column .bx {
    font-size: 24px; /* Aumenta o tamanho dos ícones de contato */
    margin-right: 8px;
    vertical-align: middle;
}

/* Parte inferior do rodapé (Mensagem + Instagram) */
.footer-bottom {
    background-color: #f5f5f5;
    color: black;
    text-align: center;
    border: 2px solid black;
    padding: 15px;
}

.footer-bottom span {
    color: #A020F0;
}

/* Responsividade */
@media (max-width: 768px) {
    .footer-menu-bar {
        flex-direction: column;
        text-align: center;
        padding: 5px;  /* Diminuir o padding */
    }

    .footer-info {
        flex-direction: column;
        text-align: center;
        padding: 15px;  /* Diminuir o padding */
    }

    .footer-column {
        margin: 5px 0;  /* Diminuir margem */
    }

    .footer-column h3 {
        font-size: 20px;  /* Reduzir o tamanho da fonte */
    }

    .footer-column p {
        font-size: 15px;  /* Reduzir o tamanho da fonte */
    }

    .menu-section ul li {
        display: block;
        margin: 5px 0;
    }

    .menu-section ul li a {
        font-size: 30px;  /* Reduzir o tamanho da fonte */
    }

    .footer-bottom {
        padding: 5px;  /* Diminuir o padding */
    }
}



  
  



/* Estilo para o botão de WhatsApp */
.whatsapp-button {
    position: fixed; /* Fixa o botão no lugar */
    bottom: 20px; /* Distância do fundo da página */
    right: 20px; /* Distância da borda direita */
    z-index: 9999; /* Garante que o botão fique sobre tudo */
    width: 60px; /* Tamanho do botão */
    height: 60px; /* Tamanho do botão */
    border-radius: 50%; /* Tornando o botão redondo */
    background-color: #25d366; /* Cor do fundo */
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Sombras para dar destaque */
  }
  
  .whatsapp-button img {
    width: 30px; /* Tamanho do ícone do WhatsApp */
    height: 30px; /* Tamanho do ícone do WhatsApp */
  }
  
  @media (max-width: 768px) {
    .whatsapp-button {
      width: 50px;
      height: 50px;
    }
  
    .whatsapp-button img {
      width: 25px;
      height: 25px;
    }
  }
  