:root {
    --header-height: 50px; 
    --hero-height: calc(650px - var(--header-height));
    --color-white: #FFFFFF;
    --color-black: #000000;
    --color-grey: #555555;
    --color-light-grey: #A1A1A1;
    --color-dark-grey: #333333;
    --color-red: #FF0000;
    --color-dark-red: #CC0A10;
    --color-yellow: #FFDC00;
    --color-light-yellow: #FFD700;
    --color-product-bg: #2F2F2F;
}



/* Adiciona um efeito de scroll suave para todas as âncoras */
html {
    scroll-behavior: smooth;
}

/* Adiciona um efeito de hover aos links */
a {
    color: var(--color-dark-red); /* Substitua por sua cor desejada */
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Reset */
body, html {
    font-family: 'Jost', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px; /* Adicione um pequeno padding para garantir que o conteúdo não encoste nas bordas */
}

.header-menu {
    background-color: var(--color-black);
}

.header-menu .inner-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.logo {
    width: 200px;
    padding: 5px;
}

.info {
    color: var(--color-white);
}

.social-icons {
    display: flex;
    gap: 8px;
}

.social-icons a{
   color: #FFFFFF;
   text-decoration: none;
}
.social-icons a:first-of-type {
    margin-right: 8px;
}

.social-icons img:first-of-type {
    margin-right: 8px;
}

.social-icons img {
    width: 25px; 
}


.navbar {
    background-color: var(--color-white);
    color: var(--color-dark-grey);
}

.navbar .inner-nav {
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    padding: 10px 20px; 
    height: 30px;
   
}

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

.nav-links-desktop li {
    padding: 0 25px;
}

.nav-links-desktop a, 
.nav-links-mobile a {
    color: var(--color-grey);
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.nav-links-desktop a:hover {
    border-bottom: 3px solid var(--color-dark-red);
}


/* Menu Mobile */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 80%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9); /* Fundo branco com um pouco de transparência */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transform: translateX(100%);
    transition: transform 0.3s ease, opacity 0.3s ease;
    z-index: 1000;
    opacity: 0;
    animation: slideIn 0.3s ease-out forwards;
}

/* Animação para abrir o menu */
@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Animação para fechar o menu */
@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* Menu Mobile visível */
.mobile-menu.open {
    display: block;
    animation: slideIn 0.3s ease-out forwards;
}

/* Menu Mobile ao fechar */
.mobile-menu.close {
    animation: slideOut 0.3s ease-in forwards;
}

/* Estilos do botão de fechar o menu mobile */
.mobile-menu .close {
    background: transparent;
    border: none;
    color: #000;
    font-size: 2rem;
    position: absolute;
    top: 10px;
    right: 20px;
    cursor: pointer;
}

/* Estilos das links no menu mobile */
.nav-links-mobile {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.nav-links-mobile li {
    margin: 20px 0;
}

.nav-links-mobile a {
    text-decoration: none;
    color: #000;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.nav-links-mobile a:hover {
    color: var(--color-dark-red); /* Ajuste a cor conforme necessário */
}

/* Estilos do botão de hambúrguer */
.hamburger {
    background: transparent;
    border: none;
    font-size: 2rem;
    color: #000;
    cursor: pointer;
    position: relative;
}

/* Animação para o botão de hambúrguer ao ativar */
.hamburger.active .bar1 {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active .bar2 {
    opacity: 0;
}

.hamburger.active .bar3 {
    transform: rotate(45deg) translate(-5px, -6px);
}

.hamburger .bar {
    display: block;
    width: 25px;
    height: 3px;
    background: #000;
    margin: 5px auto;
    transition: 0.4s;
}


.close {
    margin-top: 20px;
    margin-right: 20px;
    display: block;
    align-self: end;
}

.flex {
    display: flex;
}
/*hero*/
.hero {
    position: relative;
    height: var(--hero-height);
    background: url('../img/banner_site_Fabri.jpg') no-repeat center center/cover;
}


/*Quote*/
.quote {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 1.5rem;
    margin: 0 auto ;
    position: relative;
    margin-top: 60px;
}

.quote img {
    width: 40px;
    height: auto;
}

.img-esquerda {
    margin-right: 10px;
}

.img-direita {
    margin-left: 10px;
}

/*Button call-to-action*/
.button-container {
    display: flex;
    justify-content: space-between;
    margin: 0 auto;
    margin-top: 60px;
    gap: 40px;
}

.button{
    
    text-decoration: none;
    padding: 15px 25px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1rem;
    text-align: center;
    flex: 1; /* Faz os botões ocuparem o espaço disponível */
    max-width: 100%;
    box-sizing: border-box;
 
}



 .button-catalago {
    background-color: var(--color-red);
    color: var(--color-white);
    border: solid 3px var(--color-dark-red);
    transition: 1s;

    
}

.button-whatsapp {
    background-color: var(--color-white);
    color: var(--color-grey);
    border: solid 3px var(--color-light-grey);
    transition: 1s;
} 

.button:hover {
    opacity: 0.6;
}


/*Sobre nós*/

.sobre-nos {
    padding: 40px 0;
    margin-top: 60px;
}

.sobre-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px; /* Espaço entre texto e imagem */
}

.texto {
    flex: 2; /* O texto ocupa duas partes do espaço disponível */
}

.texto h2 {
    font-size: 2rem; /* Tamanho do título */
    margin-bottom: 20px; /* Espaço abaixo do título */
}

.texto h2::after {
    content: '';
    display: block;
    width: 150px;
    height: 4px;
    background-color: var(--color-dark-red);
}

.texto p {
    font-size: 1rem; /* Tamanho da fonte do texto */
    text-align: justify;
}

.imagem {
    flex: 1; /* A imagem ocupa uma parte menor do espaço disponível */
}

.imagem img {
    width: 100%;
    height: auto; /* Mantém a proporção da imagem */
}

/*Produtos*/

.product-container {
    background-color: var(--color-product-bg); /* Cinza escuro */
    padding: 40px 0;
}

.product-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px; /* Espaço entre a imagem e o texto */
    color: var(--color-white); /* Cor do texto */
    flex-wrap: wrap; /* Adiciona wrap para responsividade */
}

.image-container {
    flex: 1;
}

.image-container img {
    width: 100%;
    height: auto;
    max-width: 400px; /* Tamanho máximo da imagem */
}

.text-container {
    flex: 2;
    max-width: 600px; /* Largura máxima do texto */
    text-align: left; /* Centraliza o texto no mobile */
}

.text-container h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    text-align: left; /* Alinha o título à esquerda no desktop */
}
.text-container h2::after {
    content: '';
    display: block;
    width: 150px;
    height: 4px;
    background-color: var(--color-yellow);
}

.text-container p {
    font-size: 1rem;
    margin-bottom: 20px;
    text-align: justify; /* Justifica o texto */
    line-height: 1.5; /* Espaço entre linhas */
    max-height: calc(2.5em * 3); /* Limita o texto a duas linhas e meia no desktop */
    overflow: hidden; /* Oculta o texto que excede a altura */
}

.catalog-button {
    display: inline-block;
    background-color: var(--color-product-bg);
    border: solid 3px var(--color-light-grey);
    color: var(--color-white);
    text-decoration: none;
    padding: 15px 25px;
    border-radius: 50px;
    width: 80%;
    font-weight: bold;
    font-size: 1rem;
    transition: background-color 0.3s ease;
    margin-top: 40px;
    text-align: center;
}

.catalog-button:hover {
    background-color: var(--color-light-yellow);
}

/*Serviços e diferenciais*/

.servicos-diferenciais {
    padding: 40px 0;
    background-color: var(--color-white); /* Fundo branco */
}

.servicos-container {
    text-align: left;
}

.servicos-container h2 {
    font-size: 2rem;
    position: relative;
    display: inline-block;
    margin-bottom: 40px;
    text-align: left;
}
.servicos-container h2::after {
    content: '';
    display: block;
    width: 383px;
    height: 4px;
    background-color: var(--color-dark-red);
}

.servicos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.servico-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 20px;
    text-align: left;
}

.servico-item img {
    max-width: 50px; /* Ajuste conforme necessário */
    height: auto;
    margin-right: 10px; /* Espaço entre a imagem e o texto */
}

.servico-item p {
    font-size: 1rem;
    color: var(--color-dark-grey);
    font-weight: bold;
}

/*Footer*/

footer {
    background-color: var(--color-white);
    color: var(--color-dark-grey);
    padding: 0px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

.footer-left,
.footer-right {
    flex: 1;
    min-width: 300px;
}

.footer-left h2 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}
.footer-left h2::after {
    content: '';
    display: block;
    width: 250px;
    height: 4px;
    background-color: var(--color-dark-red);
}

.footer-left p {
    margin: 10px 0;
}

.contact-info {
    list-style: none;
    padding: 0;
}

.contact-info li {
    display: flex;
    align-items: center;
    margin: 10px 0;
}

.contact-info img {
    margin-right: 10px;
    width: 20px;
    height: auto;
}

.footer-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-menu li {
    margin: 5px 0;
}

.footer-menu a {
    color: var(--color-dark-grey);
    text-decoration: none;
    transition: color 0.3s;
    
}

.footer-menu a:hover {
    color: var(--color-red);
}

.back-to-top {
    display: flex;
    align-items: center;
}

.back-to-top button {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--color-yellow);
    color: var(--color-black);
    border: none;
    border-radius: 10px;
    padding: 10px;
    cursor: pointer;
}

.back-to-top button img {
    width: 20px;
    height: auto;
    margin-bottom: 5px;
}

.back-to-top button p {
    line-height: 1.2;
    font-size: 12px;
    margin: 0;
}

.back-to-top button:hover {
    opacity: 0.6;
    transition: all 0.2s;
 }

.footer-bottom {
    background-color: var(--color-black);
    padding: 10px 0;
    color: var(--color-white);
}

.footer-bottom-container {
    text-align: left;
}

@media (min-width: 980px){
    .hero {
        height: calc(520px - var(--header-height));
    }
}

@media (max-width: 768px) { 
    .sobre-container {
        flex-direction: column;
        gap: 0px;
        height: auto;

    }

    .texto h2 {
        font-size: 28px;
    }

    .texto p {
        width: 100%;
    }

    .imagem img {
        max-width: 100%;
    }

    .header-menu {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
        padding: 10px;
    }

    .info {
        margin-bottom: 8px;
    }

    .nav-links-desktop {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .call-to-action {
        flex-wrap: wrap;
    }

    .call-to-action .button-catalago, .button-whatsapp {
        margin-bottom: 20px;
    }

    .hero {
        height: calc(202px - var(--header-height));
    }
    
    .quote {
        font-size: 1.0rem;
        margin-top: 20px;
    }

    .quote img {
        width: 24px;
    }

    .button-container {
        flex-direction: column;
        gap: 20px; 
    }

    .button-catalago,
    .button-whatsapp {
        margin: 0; 
        font-size: 12px;
    }

    .sobre-container {
        flex-direction: column;
        gap: 20px; /* Espaço entre texto e imagem no mobile */
        margin-left: 10px;
        margin-right: 10px;
    }

    .texto h2 {
        font-size: 1.5rem; /* Tamanho do título em mobile */
    }

    .texto p {
        font-size: 0.85rem; /* Tamanho da fonte do texto em mobile */
    }

    .imagem img {
        max-width: 100%;
        height: auto; /* Mantém a proporção da imagem */
    }

    .product-section {
        flex-direction: column;
        gap: 20px; /* Espaço entre a imagem e o texto no mobile */
    }

    .image-container img {
        max-width: 100%;
    }

    .text-container h2 {
        font-size: 1.5rem; /* Tamanho do título em mobile */      
    }

    .text-container p {
        font-size: 0.85rem; /* Tamanho do texto em mobile */
        max-height: none; /* Remove o limite de altura do texto */
        overflow: visible; /* Mostra todo o texto */
    }

    .catalog-button {
        padding: 12px 20px;
        font-size: 0.875rem;
        margin-top: 0;
    }

    /*servicos e diferenciais*/
    .servicos-grid {
        grid-template-columns: 1fr;
    }

    .servicos-container h2 {
        font-size: 1.5rem;
    }

    .servicos-container h2::after {
        width: 100%; /* Ajuste o tamanho da linha no mobile */
    }

    .servico-item {
        text-align: center;
        flex-direction: column;
    }

    .servico-item img {
        margin-right: 0;
        margin-bottom: 10px;
    }

    .servico-item p {
        font-size: 0.875rem; /* Tamanho do texto no mobile */
    }

    /*Footer*/

    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-right {
        flex-direction: row;
        align-items: center;
        justify-content: center;
    }

    .footer-menu {
        align-items: center;
    }

    .back-to-top {
        justify-content: center;
        margin-top: 20px;
    }

    .footer-bottom-container {
        text-align: center;
    }

    .footer-left h2::after {
        width: 100%;
        max-width: 250px;
        margin: 0 auto;
    }
}

@media (min-width: 769px) {
    .hamburger {
        display: none;
    }
}
