/* RESET E CONFIGURAÇÕES GLOBAIS */
:root {
    --primary-color: #E30613; /* Vermelho da marca */
    --dark-color: #1a1a1a;
    --light-color: #ffffff;
    --gray-color: #f4f4f4;
    --font-family: 'Poppins', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    background-color: var(--light-color);
    color: var(--dark-color);
}

.container {
    max-width: 1100px;
    margin: auto;
    overflow: hidden;
    padding: 0 2rem;
}

/* HEADER */
.header {
    background: var(--light-color);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.logo {
    height: 60px;
}

.header nav ul {
    list-style: none;
    display: flex;
}

.header nav ul li {
    margin-left: 2rem;
}

.header nav ul li a {
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 600;
    transition: color 0.3s ease;
}

.header nav ul li a:hover {
    color: var(--primary-color);
}

.btn-cta {
    background: var(--primary-color);
    color: var(--light-color);
    padding: 10px 10px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease;
}

.btn-cta:hover {
    background: #c00511;
}

/* HERO SECTION */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--light-color);
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2;
}

.hero-content {
    z-index: 3;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.btn-cta-hero {
    background: var(--primary-color);
    color: var(--light-color);
    padding: 10px 10px;
    border-radius: 15px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 900;
    transition: transform 0.3s ease;
}

.btn-cta-hero:hover {
    transform: scale(1.05);
}

/* QUALITY SECTION */
.quality-section {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    padding: 4rem 2rem;
    text-align: center;
}

.quality-item h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* PRODUCTS SECTION */
.products-section {
    background: var(--gray-color);
    padding: 4rem 0;
}

.products-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.product-card {
    background: var(--light-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-10px);
}

.product-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.product-info {
    padding: 1.5rem;
}

/* CTA BUSINESS */
.cta-business {
    padding: 4rem 0;
}

.cta-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
}

.cta-text {
    flex: 1;
}

.cta-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-text p {
    margin-bottom: 2rem;
}

.cta-image {
    flex: 1;
}

.cta-image img {
    width: 100%;
    border-radius: 10px;
}

/* FORM SECTION */
.form-section {
    background: var(--dark-color);
    color: var(--light-color);
    padding: 4rem 0;
    text-align: center;
}

.form-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.form-section p {
    margin-bottom: 2rem;
}

#whatsapp-form {
    max-width: 700px;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.form-group {
    flex: 1 1  calc(50% - 1rem);
    text-align: left;
}

.form-group.full-width {
    flex: 1 1 100%;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border-radius: 5px;
    border: 1px solid #555;
    background: #333;
    color: var(--light-color);
    font-family: var(--font-family);
}

.btn-submit {
    width: 100%;
    padding: 15px;
    background: var(--primary-color);
    color: var(--light-color);
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 1rem;
    transition: background 0.3s ease;
}

.btn-submit:hover {
    background: #c00511;
}

/* FOOTER */
.footer {
    background: var(--dark-color);
    color: #aaa;
    text-align: center;
    padding: 2rem 0;
}

.logo-footer {
    height: 40px;
    margin-bottom: 1rem;
}

/* RESPONSIVIDADE */
@media(max-width: 768px) {
    .header .container {
        flex-direction: column;
    }
    .header nav {
        margin-top: 1rem;
    }
    .hero h1 {
        font-size: 2.2rem;
    }
    .quality-section {
        grid-template-columns: 1fr 1fr;
    }
    .cta-flex {
        flex-direction: column;
    }
    .form-group {
        flex: 1 1 100%;
    }
}

@media(max-width: 500px) {
    .quality-section {
        grid-template-columns: 1fr;
    }
    .btn-cta {
        display: none; /* Esconde o botão do menu em telas pequenas */
    }
}

/* ESTILOS PARA ÍCONES DE REDES SOCIAIS */
.social-icons {
    margin-bottom: 1.5rem; /* Adiciona um espaço abaixo dos ícones */
}

.social-icons a {
    color: #aaa; /* Cor inicial dos ícones */
    font-size: 1.5rem; /* Tamanho dos ícones */
    margin: 0 15px; /* Espaçamento entre os ícones */
    text-decoration: none;
    transition: color 0.3s ease; /* Efeito suave na mudança de cor */
}

.social-icons a:hover {
    color: var(--primary-color); /* Muda para a cor principal do site ao passar o mouse */
}

/* ESTILOS PARA ÍCONES DE REDES SOCIAIS */
.social-icons {
    margin-bottom: 1.5rem;
}

.social-icons a {
    display: inline-flex;   
    align-items: center;     
    justify-content: center;  
    width: 45px;             
    height: 45px;            
    border-radius: 50%;     
    background-color: #333;   

    /* --- Parte 2: Estilo do ícone dentro do círculo --- */
    color: #aaa;              
    font-size: 1.3rem;       
    text-decoration: none;
    margin: 0 10px;          

    /* --- Parte 3: Efeito de transição suave --- */
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--primary-color); 
    color: var(--light-color);              
    transform: translateY(-5px);            
}

/* =================================
   ESTILOS DA GALERIA (MODAL)
   ================================= */

/* Adiciona um cursor de ponteiro para os cards que abrem a galeria */
.product-card[data-gallery] {
    cursor: pointer;
}

/* O fundo do Modal (overlay) */
.modal {
    display: none; /* Escondido por padrão */
    position: fixed; /* Fica fixo na tela */
    z-index: 2000; /* Fica acima de tudo */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto; /* Permite scroll se necessário */
    background-color: rgba(0,0,0,0.9); /* Fundo preto semi-transparente */
    padding-top: 60px;
}

/* Conteúdo do Modal (a imagem/vídeo) */
.modal-content {
    position: relative;
    margin: auto;
    width: 90%;
    max-width: 800px;
}

.gallery-slides {
    display: none; /* Esconde todas as galerias por padrão */
}

.slide {
    display: none; /* Esconde todos os slides por padrão */
    animation: fadeIn 0.5s;
}

.slide img, .slide video {
    width: 100%;
    height: auto;
    max-height: 80vh; /* Altura máxima para não ocupar a tela inteira */
    display: block;
    margin: auto;
}

@keyframes fadeIn {
    from {opacity: .4}
    to {opacity: 1}
}


/* Botão de Fechar (X) */
.close-button {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.close-button:hover,
.close-button:focus {
    color: #bbb;
    text-decoration: none;
}

/* Botões de Próximo e Anterior */
.prev-slide, .next-slide {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    background-color: rgba(0,0,0,0.3);
}

/* Posiciona o botão "próximo" para a direita */
.next-slide {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev-slide {
    left: 0;
}


/* Efeito hover nos botões de navegação */
.prev-slide:hover, .next-slide:hover {
    background-color: rgba(0,0,0,0.8);
}

/* =================================
   ESTILOS PÁGINA DE PRODUTO
   ================================= */

/* Remove decoração padrão do link no card de produto */
.product-link {
    text-decoration: none;
    color: inherit;
}

.product-page-section {
    padding: 8rem 0 4rem 0; /* Espaçamento superior para compensar o header fixo */
}

.product-page-section h1 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
}

.product-page-section p {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem auto;
    font-size: 1.1rem;
}

.back-link {
    display: block;
    margin-bottom: 2rem;
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 600;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.gallery-item img,
.gallery-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.gallery-item img:hover {
    transform: scale(1.03);
}

.cta-container {
    text-align: center;
    padding: 2rem;
    background: var(--gray-color);
    border-radius: 10px;
}

.cta-container h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}