/* Importa uma fonte moderna do Google Fonts (opcional) */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap');

/* Estilo para o botão do WhatsApp */
.whatsapp-button {
    position: fixed;
    bottom: 15px;
    right: 50px;
    background-color: #25d366;
    /* Cor oficial do WhatsApp */
    color: white;
    font-size: 2.5rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    /* Transforma o botão em um círculo */
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: transform 0.3s ease;
}

.whatsapp-button:hover {
    transform: scale(1.1);
    /* Efeito de zoom ao passar o mouse */
}

/* --- Estilização Geral do Corpo e Navbar --- */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

header {
    background-color: #ffffff;
    /* Fundo escuro para um visual elegante */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: sticky;
    /* Navbar fixo no topo ao rolar a página */
    top: 0;
    width: 100%;
    z-index: 1000;
}

/* --- Estilos da Navbar (Desktop) --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 8rem;
    /* Aumenta o espaçamento horizontal (o valor '4rem') */
}

.logo img {
    height: 50px;
    width: 220px;
    display: block;
}

.nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

.nav-links li {
    margin-left: 1.5rem;
}

.nav-links li a {
    color: #676767;
    text-decoration: none;
    font-weight: 400;
    text-transform: uppercase;
    font-size: 0.9rem;
    padding: 0.5rem 0.75rem;
    transition: all 0.3s ease;
}

/* Efeito ao passar o mouse */
.nav-links li a:hover {
    color: #ffffff;
    background-color: #2c2c2c;
    border-radius: 5px;
}

/* --- Estilização do Menu Suspenso (Dropdown) --- */
.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    background-color: #262626;
    min-width: 220px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    border-radius: 5px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu li a {
    color: #cccccc;
    padding: 12px 16px;
    text-transform: capitalize;
}

.dropdown-menu li a:hover {
    background-color: #383838;
}

/* Mostra o menu suspenso ao passar o mouse */
.dropdown:hover .dropdown-menu {
    display: block;
}

/* --- Responsividade do Navbar (Mobile) --- */
.menu-toggle,
.hamburger {
    display: none;
}

@media (max-width: 768px) {

    /* Alinha a logo e o hambúrguer na mesma linha no topo */
    .navbar {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 1rem 2rem;
    }

    /* Esconde a lista de links por padrão */
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        text-align: center;
        margin-top: 1rem;
        position: absolute;
        /* Para que o menu cubra todo o espaço abaixo do header */
        top: 60px;
        /* Ajuste para não cobrir a logo e o hambúrguer */
        left: 0;
        background-color: #333;
        /* Cor de fundo para o menu */
    }

    /* Exibe os links quando o botão de hambúrguer é clicado */
    .menu-toggle:checked~.nav-links {
        display: flex;
    }

    /* Estilo do botão de hambúrguer */
    .hamburger {
        display: block;
        font-size: 2rem;
        cursor: pointer;
        color: #676767;
    }

    /* Garante que o menu suspenso esteja escondido no mobile */
    .dropdown-menu {
        display: none;
        /* Esconde o menu por padrão (sem !important) */
        position: static;
        flex-direction: column;
        background-color: #383838;
        min-width: unset;
        width: 100%;
        box-shadow: none;
        border-radius: 0;
        text-align: center;
    }

    /* Esta classe será adicionada pelo JavaScript para mostrar o menu */
    .dropdown.active .dropdown-menu {
        display: flex;
    }


    /* Ajusta os links principais */
    .nav-links li {
        width: 100%;
        border-bottom: 1px solid #444;
        margin-left: 0;
    }

    .nav-links li a {
        padding: 15px 0;
    }
}

/* --- Estilização da Seção Principal (Hero) com Carrossel --- */
.hero {
    height: 45vh;
    display: flex;
    overflow: hidden;
    /* Isso é crucial para esconder os slides fora da tela */
    position: relative;
}

.hero-carousel-inner {
    display: flex;
    height: 100%;
    width: 300%;
    /* Ajuste a largura para o número de slides que você tiver (3 slides = 300%) */
    transition: transform 1.5s ease-in-out;
}

.carousel-item {
    min-width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #ffffff;
    flex: 0 0 100%;
    box-sizing: border-box;
}

/* Adicione as imagens de fundo para cada slide individualmente */
.hero-carousel-inner .carousel-item:nth-child(1) {
    background-image: url('../images/fundo1.png');
    background-size: cover;
    background-position: center;
}

.hero-carousel-inner .carousel-item:nth-child(2) {
    background-image: url('../images/fundo2.png');
    background-size: cover;
    background-position: center;
}

.hero-carousel-inner .carousel-item:nth-child(3) {
    background-image: url('../images/fundo3.png');
    background-size: cover;
    background-position: center;
}

/* Overlay para o texto */
.carousel-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 0 1rem;
}

/* Estilização do Botão de CTA */
.cta-button {
    display: inline-block;
    background-color: #333;
    /* Dourado para destaque */
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    margin-top: 2rem;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    background-color: #797979;
    transform: translateY(-3px);
    /* Efeito de "levitar" */
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    /* Espaço entre os botões */
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .hero {
        height: auto;
        min-height: 350px;
        max-height: 400px;
        /* ou ajuste conforme necessário */
        overflow: hidden;

    }

    .hero-carousel-inner {
        width: 300%;
        height: auto;
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        transition: transform 1.5s ease-in-out;
    }

    .carousel-item {
        min-width: 100%;
        height: auto;
        padding: 0 1rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        box-sizing: border-box;
    }

    /* Opcional: Redimensiona o texto para telas menores */
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }
}

/* --- Estilização da Seção de Destaque --- */
.product-highlights {
    padding: 4rem 1rem;
    text-align: center;
    background-color: #f7f7f7;
    /* Fundo cinza claro para a seção */
}

.product-highlights h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.product-highlights p {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    color: #555;
}

/* --- Layout de Grade dos Cartões --- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* --- Estilo Individual dos Cartões --- */
.product-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: block;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

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

.product-card h3 {
    font-size: 1.25rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

/* --- Estilização da Página de Produto --- */
.page-hero {
    height: 40vh;
    /* Uma altura menor que a do Hero da home */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    background-size: cover;
    background-position: center;
    position: relative;
}

.page-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.page-hero .hero-content {
    z-index: 2;
}

.page-hero h1 {
    font-size: 3rem;
    margin: 0;
}

.page-hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

/* --- Estilização da Seção de Listagem de Produtos --- */
.products-list {
    padding: 4rem 1rem;
    background-color: #f7f7f7;
    text-align: center;
}

.products-list h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #333;
}

/* Layout de Grade para a Galeria de Produtos */
.product-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Estilo para cada Cartão de Produto */
.product-item-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    padding-bottom: 1rem;
    /* Espaçamento da parte de baixo do card */
}

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

.product-item-card img {
    width: 100%;
    /* A imagem ocupa 100% da largura do card */
    height: 320px;
    /* Altura fixa para um visual consistente */
    object-fit: cover;
    /* Mantém a imagem inteira dentro do espaço */
    display: block;
    padding-top: 1rem;
    /* Espaço entre a borda do card e a imagem */
}

.product-item-card h3 {
    font-size: 1.25rem;
    margin: 0;
    padding: 1rem 0.5rem 0.5rem;
    /* Espaçamento do título */
    text-align: center;
}

/* --- Seção Sobre Nós --- */
.about-us {
    padding: 4rem 1rem;
    background-color: #f7f7f7;
}

.about-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20rem;
    text-align: center;
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.about-content p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #555;
    line-height: 1.6;
}

.about-image-container img {
    max-width: 650px;
    height: 600px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Layout para telas maiores */
@media (min-width: 768px) {
    .about-container {
        flex-direction: row;
        text-align: left;
        align-items: center;
        gap: 1rem; /* O valor que você preferir para o espaço entre eles */
    }

    .about-image-container {
        flex-basis: 400px;
        /* Define uma largura base fixa para a imagem */
        flex-shrink: 0;
        /* Impede que a imagem encolha */
    }

    .about-content {
        flex: 1;
        /* Permite que o texto ocupe todo o espaço restante */
    }
}

.container {
    max-width: 1200px;
    /* Limita a largura do conteúdo */
    margin: 0 auto;
    /* Centraliza o contêiner na tela */
    padding: 0 1rem;
    /* Adiciona espaçamento nas laterais para telas menores */
}

/* --- Seção de Contato --- */
.contact-section {
    padding: 4rem 1rem;
    text-align: center;
}

.contact-section h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.contact-section p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #555;
}

.contact-content-flex {
    display: flex;
    flex-direction: column;
    gap: 8rem;
    align-items: center;
}

.contact-form {
    background-color: #fff;
    /* Cor de fundo apenas no formulário */
    padding: 2rem;
    /* Espaçamento interno para não "grudar" nas bordas */
    border-radius: 10px;
    /* Bordas arredondadas */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    /* Sombra suave para dar destaque */
    width: 100%;
    max-width: 600px;
    text-align: left;
}

.map-container {
    width: 100%;
    height: 350px;
    border-radius: 10px;
    border: 2px solid #878787;
    overflow: hidden;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    margin-top: 100px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #555;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #b5b5b5;
    border-radius: 8px;
    /* Cantos mais arredondados */
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25);
}

/* Layout para telas maiores */
@media (min-width: 768px) {
    .contact-content-flex {
        flex-direction: row;
        align-items: flex-start;
        justify-content: center;
    }

    .contact-form {
        max-width: 550px;
        /* Aumenta a largura do formulário em telas maiores */
        flex-shrink: 0;
    }
}

/* --- Rodapé (Footer) --- */
footer {
    background-color: #333;
    color: #f4f4f4;
    padding: 0.3rem 1rem;
    font-size: 0.9rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    text-align: center;
}

.footer-logo {
    max-width: 200px;
    /* Ajuste o tamanho da logo como preferir */
    height: auto;
    margin-bottom: 0.5rem;
    margin-top: 0.5rem;
}

.footer-column h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #fff;
}

.footer-column p,
.footer-column ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-column a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: #fff;
}

.footer-bottom {
    text-align: center;
    margin-top: 1rem;
    /* Alterado de 2rem para 1rem */
    padding-top: 1rem;
    /* Alterado de 1rem para 1rem (já estava ok, mas para manter a consistência) */
    border-top: 1px solid #444;
}

/* Estilo para os ícones no rodapé */
.footer-column ul li a i {
    margin-right: 8px;
}

.contact-list li i {
    margin-right: 8px;
}

/* Layout para telas maiores */
@media (min-width: 768px) {
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }

    .footer-column {
        flex-basis: 24%;
        /* Dá a cada coluna 30% de largura */
        flex-shrink: 0;
    }
}

.modal-sucesso {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.modal-conteudo {
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  max-width: 400px;
  width: 90%;
}

.modal-conteudo h2 {
  margin-bottom: 10px;
  color: #28a745;
  font-family: Arial, sans-serif;
}

.modal-conteudo p {
  font-size: 16px;
  color: #333;
}

.modal-conteudo button {
  margin-top: 20px;
  padding: 10px 20px;
  background: #28a745;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 15px;
}