/* RESET BÁSICO */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

body {
    background-color: rgba(255,255,255,1.00);
    color: #333;
    /* Adiciona um espaço no topo igual à altura do header para o conteúdo não sumir atrás dele */
    padding-top: 76px; 
}
html, body {
    overflow-x: hidden; /* Impede a barra de rolagem horizontal em todo o site */
    max-width: 100vw;
}


/* CORES PRINCIPAIS */
:root {
    --azul-escuro: #1b263b;
    --vermelho: #e60000;
    --verde-whats: #00664d;
    --cinza-escuro: #2a2a2a;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}


/* HERO SECTION */
.hero {
  background: url("img/fundobanner.png") no-repeat center;
background-size: cover;
    color: #fff;
    padding: 117px 0;
    position: relative;
    overflow: hidden;
    height: 600px;
}
.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.hero-text h1 {
    font-size: 42px;
    line-height: 1.3;
    font-weight: 800;
}
.hero-text span {
    font-weight: 400;
}
.bg-red {
    background-color: var(--vermelho);
    padding: 2px 10px;
    font-weight: 800 !important;
}
.hero-image img {
    max-width: 527px;
}

/* BEM VINDO */
.welcome {

    display: flex;
    padding: 20px 20px;
    gap: 50px;
    align-items: center;
    height: 600px;
}
.welcome-text {
    flex: 1;
}
.welcome-text h2 {
margin-top: -100px;
    color: var(--azul-escuro);
    font-size: 40px;
    margin-bottom: 27px;
}
.red-bar {
    background-color: var(--vermelho);
    color: #fff;
    display: inline-block;
    padding: 5px 15px;
    font-weight: bold;
    margin-bottom: 47px;
    font-size: 34px;
}
.welcome-text p {
    margin-bottom: 15px;
    line-height: 1.6;
    color: #666;
    font-size: 18px;
}
.welcome-images {
    flex: 1;
    position: relative;
    height: auto;
}
.welcome-images img {
    position: absolute;
    width: 500px;
    height:auto;
    object-fit: cover;
    margin-top: -254px;
}
.img-top {
 top: 0;
    right: 0;
    border-radius: 40px 0 0 0;
    z-index: 1;
}


.img-bottom {
   
    z-index: 2;
   
       width:586px;
        height:auto;
}

/* PRODUTOS */
.products {

    text-align: center;
    padding: 70px 0;
    background:url("img/fundoprodutos.jpg") no-repeat center;
    background-size: cover;
    padding-bottom: 200px;
}
.products h2 {
    color: var(--vermelho);
    font-size: 44px;
    font-weight: 700;
    margin-bottom: 40px;
}
.product-card {
    background-color: rgba(44,46,47,1.00);
    border-radius: 0 125px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    max-width: 870px;
    margin: 0 auto;
    gap: 17px;
}
.product-img img {
 padding: 70px 0;
margin-left: -260px;
    max-width: 550px;
    position: relative;
}
.product-info {
    color: #fff;
    text-align: center;
}
.product-info h3 {
    font-size: 57px;
    margin-bottom: 20px;
}
.btn-red {
position: absolute;
margin-top: -117px;
margin-left: 193px;
    background-color: var(--vermelho);
    color: #fff;
    text-decoration: none;
    padding: 10px 25px;
    font-weight: 400;
     border-radius: 0 0 30px 0;
    font-size: 30px;
 
}

/* BANNER CTA */
.banner-cta {

    display: flex;
    background-color: var(--vermelho);
    color: #fff;    
    
    
}
.banner-img {
    flex: 0.7;  
width: 654px;
    height: 300px;  
   float: left;
}

.banner-img img {

margin-top: -95px;
width: 654px;
    height: 490px;
    object-fit: cover;
    
}
.banner-text {
margin-top: 40px;
width: 465px;
    flex: 1;
    display: flex;
    align-items: center;
    padding: 36px;
    font-size: 26px;
    line-height: 1.5;
    font-weight: 400;
}

/* GALERIA */
.gallery {
    text-align: center;
    padding: 180px 20px;
}
.gallery h2 {
    color: var(--azul-escuro);
    margin-top: 190px;
    margin-bottom: 100px;
    font-size: 44px;
    font-weight: 700;
  

 
 
    
}
.gallery h2 span {

 
    border-bottom: 2px solid var(--vermelho);
   
       
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.gallery-item {
margin-top: 27px;
    background: #fff;
    padding-bottom: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}
.legenda {
    background-color: var(--vermelho);
    color: #fff;
    padding: 10px;
    font-weight: bold;
}



/* --- EFEITO LIGHTBOX (FOTO EM TELA CHEIA) --- */

/* Mostra que a imagem é clicável */
.gallery-item {
    cursor: pointer;
    transition: transform 0.3s ease;
}
.gallery-item:hover {
    transform: scale(1.02); /* Dá um leve zoom ao passar o mouse */
}

/* O fundo escuro que cobre a tela */
.lightbox {
    display: none; /* Escondido por padrão */
    position: fixed;
    z-index: 2000; /* Fica acima de tudo, inclusive do header */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85); /* Preto com 85% de transparência */
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

/* Classe que o JavaScript vai adicionar para mostrar o Lightbox */
.lightbox.active {
    display: flex;
}

/* A foto grande no centro */
.lightbox-content {
    max-width: 90%;
    max-height: 80vh;
    border-radius: 4px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
    animation: zoomIn 0.3s ease; /* Animação de entrada */
}

/* O título da foto */
.lightbox-caption {
    margin-top: 15px;
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    text-transform: uppercase;
}

/* O botão de fechar (X) */
.lightbox-close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: #fff;
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.lightbox-close:hover {
    color: var(--vermelho);
}



/* Animação suave ao abrir */
@keyframes zoomIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* PARCEIROS */
.partners {
    background-color:rgba(43,53,72,1.00);
    color: #fff;
    text-align: center;
    padding: 80px 20px;
    border-radius: 0 309px 0 0;
    margin-top: 40px;
}
.partners h2 {
font-size: 40px;
font-weight: 700;
    margin-bottom: 20px;
}
.handshake-icon {
    width: 188px;
    margin-bottom: 20px;
}
.partners p {
    max-width: 800px;
    margin: 0 auto 70px auto;
    font-size: 17px;
    line-height: 1.6;
}
.partners-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 100px;
}
.partners-logos img {
    height: 242px;
    object-fit: contain;
}

/* WHATSAPP CTA */
.whatsapp-cta {
margin-top: 70px;
margin-bottom: 70px;
    background-color: var(--verde-whats);
    padding: 40px 0;
    color: #fff;
}
.flex-whats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
}
.whats-icon img {
    width: 234px;
}
.whats-text h3 {
    font-size: 44px;
    margin-bottom: 20px;
}
.whats-text span {
    font-weight: 400;
}
.btn-outline-white {
    border: 1px solid #fff;
    color: #fff;
    text-decoration: none;
    padding: 10px 20px;
    display: inline-block;
    text-transform: uppercase;
    font-size: 17px;
}















/* RESPONSIVIDADE BÁSICA */
@media (max-width: 768px) {

.container {
    max-width: 350px;
    margin: 0 auto;
    
}

    .hero-content, .welcome, .product-card, .banner-cta {
        flex-direction: column;
       
    }
    
    
    .hero {
  background: url("img/fundobanner.png") no-repeat center;
background-size: cover;
    color: #fff;
    padding:70px 0;
    position: relative;
    overflow: hidden;
    height: 670px;
}

.hero-text h1 {
    font-size: 37px;
    line-height: 1.3;
    font-weight: 800;
}
.hero-text span {
    font-weight: 400;
}
.bg-red {
    background-color: var(--vermelho);
    padding: 2px 10px;
    font-weight: 800 !important;
}
.hero-image img {
    max-width: 350px;
    margin-top: 47px;
}

/* BEM VINDO */
.welcome {
   
    display: flex;
    padding: 20px 20px;
    gap: 50px;
    align-items: center;
    height: 1040px;
}
.welcome-text {
    flex: 1;
}
.welcome-text h2 {
margin-top: 47px;
    color: var(--azul-escuro);
    font-size: 40px;
    margin-bottom: 27px;
}
.red-bar {
    background-color: var(--vermelho);
    color: #fff;
    display: inline-block;
    padding: 5px 15px;
    font-weight: bold;
    margin-bottom: 47px;
    font-size: 34px;
}
.welcome-text p {
    margin-bottom: 15px;
    line-height: 1.6;
    color: #666;
    font-size: 18px;
}
.welcome-images {
    flex: 1;
    position: relative;
    height: auto;
}
.welcome-images img {
    position: absolute;
    width: 350px;
    height:auto;
    object-fit: cover;
    margin-top: 2px;
  
}
.img-top {
 top: 0;
    right: 0;
   
    z-index: 1;
}


.img-bottom {
   
    z-index: 2;
   
       width:586px;
        height:auto;
}



/* PRODUTOS */
.products {

    text-align: center;
    padding: 70px 0;
    background:url("img/fundoprodutos.jpg") no-repeat center;
    background-size: cover;
    padding-bottom: 70px;
}
.products h2 {
    color: var(--vermelho);
    font-size: 34px;
    font-weight: 700;
    margin-bottom: 40px;
}
.product-card {
    background-color: rgba(44,46,47,1.00);
    border-radius: 0 100px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    
    margin: 0 auto;
    gap: 17px;
}
.product-img img {
 padding: 10px 0;    
margin: 0 auto;
    max-width: 400px;
    position: relative;
}
.product-info {
    color: #fff;
    text-align: center;
}
.product-info h3 {
    font-size: 47px;
    margin-bottom: 40px;
}
.btn-red {
margin: 0 auto;
position: relative;

    background-color: var(--vermelho);
    color: #fff;
    text-decoration: none;
    padding: 10px 25px;
    font-weight: 400;
     border-radius: 0 0 30px 0;
    font-size: 25px;
 
}


/* BANNER CTA */
.banner-cta {
padding-top: 14px;
    padding-bottom: 37px;
    display: flex;
    background-color: var(--vermelho);
    color: #fff;    
    
    
}
.banner-img {

    flex: 0.4;  
width: 100%;
    height: auto;  
    margin-top: 47px;
    margin-bottom: 7px;
   
}

.banner-img img {

margin: 0 auto;
width: 100%;
    height: auto;
    object-fit: cover;
    
}
.banner-text {

width:100%;
    flex: 1;
    display: flex;
    align-items: center;
    padding: 16px;
    font-size: 24px;
    line-height: 1.3;
    font-weight: 400;
    text-align: center;
}


/* GALERIA */
.gallery {
    text-align: center;
   padding-bottom: 400px;
}
.gallery h2 {
    color: var(--azul-escuro);
    margin-top: 70px;
    margin-bottom: 70px;
    font-size: 30px;
    font-weight: 700;
  

 
 
    
}
.gallery h2 span {

 
    border-bottom: 2px solid var(--vermelho);
   
       
}
.gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}
.gallery-item {
margin-top: 27px;
    background: #fff;
    padding-bottom: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}
.legenda {
    background-color: var(--vermelho);
    color: #fff;
    padding: 10px;
    font-weight: bold;
}



/* PARCEIROS */
.partners {
    background-color:rgba(43,53,72,1.00);
    color: #fff;
    text-align: center;
    padding: 80px 20px;
    border-radius: 0 170px 0 0;
    margin-top: 70px;
}
.partners h2 {
font-size: 31px;
font-weight: 700;
    margin-bottom: 20px;
}
.handshake-icon {
    width: 188px;
    margin-bottom: 20px;
}
.partners p {
    max-width: 800px;
    margin: 0 auto 70px auto;
    font-size: 17px;
    line-height: 1.6;
}
.partners-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 100px;
}
.partners-logos img {
    height: 242px;
    object-fit: contain;
}




/* WHATSAPP CTA */
.whatsapp-cta {
margin-top: 70px;
margin-bottom: 30px;
    background-color: var(--verde-whats);
    padding: 40px 0;
    color: #fff;
    text-align: center;
}
.flex-whats {
    display: grid;
    align-items: center;
    justify-content: center;
    gap: 30px;
    
}
.whats-icon img {
margin: 0 auto;
text-align: center;
    width: 150px;
}
.whats-text h3 {
    font-size: 44px;
    margin-bottom: 20px;
}
.whats-text span {
    font-weight: 400;
}
.btn-outline-white {
    border: 1px solid #fff;
    color: #fff;
    text-decoration: none;
    padding: 10px 20px;
    display: inline-block;
    text-transform: uppercase;
    font-size: 17px;
}



    .partners-logos {
        flex-direction: column;
    }
    .welcome-images {
        height: auto;
    }
    .welcome-images img {
        position: static;
        width: 100%;
        margin-bottom: 10px;
    }
}

























