:root {
    --cor-branco: #F6F6F6;
    --cor-marrom-escuro: #212121;
    --cor-marrom-claro: #D9CAB3;
    --cor-verde: #6D9886;
    --cor-verde-whatsapp: #25d366;
    --cor-verde-escuro-whatsapp: #1abe54;
    --cor-cinza-escuro: #696969;
    --cor-transparente-marrom: rgba(33, 33, 33, 0.7);
    --cor-botao: #212121;
    --cor-botao-hover: #6D9886;
    --cor-titulo: #212121;
    --cor-paragrafo: #696969;
    --cor-header-footer: #D9CAB3;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.space-grotesk {
    font-family: "Space Grotesk", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400; /* Replace with desired weight */
    font-style: normal;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--cor-branco);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    overflow: hidden;
}

/* Top Bar */
.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--cor-marrom-escuro);
    padding: 10px 0;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar a {
    color: var(--cor-branco);
    text-decoration: none;
}

.top-bar a:hover {
    text-decoration: underline;
}

.top-bar .social-icons {
    display: flex;
    gap: 10px;
}

.top-bar .social-icons a {
    font-size: 1.5em;
    transition: color 0.3s ease;
}

.numero img {
    margin-top: 10px;
}

/* Header */
header {
    background-color: var(--cor-header-footer);
    border-bottom: 0px solid #d60a0a;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center; /* Centraliza o logo */
    padding: 0 40px;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between; /* Alinha logo e nav com espaço entre eles */
    padding: 0 40px;
}

.logo img {
    max-width: 200px;
    height: auto;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 40px;
    transition: transform 0.3s ease;
}

.nav-menu.active {
    transform: translateX(0);
}

.nav-menu ul {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    text-decoration: none;
    color: var(--cor-branco); /* Altera a cor dos itens do menu para branco */
    font-size: 1.2rem;
    font-weight: bold;
    transition: color 0.3s ease;
    font-family: "Space Grotesk", sans-serif; /* Aplica a mesma fonte do h2 */
    font-weight: 700; /* Certifique-se de usar o mesmo peso do h2 */
}

.nav-menu a:hover {
    color: var(--cor-verde);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--cor-verde);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
}

.hamburger span {
    display: block;
    height: 3px;
    background-color: var(--cor-branco);
    border-radius: 5px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Banner */
.container-banner {
    position: relative;
    width: 100%;
    height: 600px;
    background: var(--cor-marrom-claro);
}

.container-banner .slide .item {
    width: 200px;
    height: 300px;
    position: absolute;
    top: 50%;    
    padding-left: 600px;
    transform: translate(0, -50%);
    border-radius: 20px;
    box-shadow: 0px 39px 34px -22px rgba(0, 0, 0, .3);
    background-size: cover;
    display: inline-block;
}

.slide .item:nth-child(1),
.slide .item:nth-child(2) {
    top: 0;
    left: 0;
    transform: translate(0, 0);
    border-radius: 0;
    width: 100%;
    height: 100%;
}

.slide .item:nth-child(3) {
    left: 50%;
}

.slide .item:nth-child(4) {
    left: calc(50% + 250px);
    top: 60%;
    width: 200px;
    height: 280px;
}

.slide .item:nth-child(5) {
    left: calc(50% + 430px);
}

.slide .item:nth-child(6) {
    left: calc(50% + 650px);
    opacity: 0;
}

.item .content {
    position: absolute;
    top: 50%;
    left: 100px;
    width: 300px;
    text-align: left;
    transform: translate(0, -50%);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    display: none;
}

.slide .item:nth-child(2) .content {
    display: block;
}

.content .name {
    font-size: 40px;
    text-transform: uppercase;
    font-weight: bold;
    opacity: 0;
    animation: animate 0.5s ease-in-out 0.5s forwards;
    color: var(--cor-branco);
}

.content .des {
    margin-top: 10px;
    margin-bottom: 20px;
    opacity: 0;
    animation: animate 0.5s ease-in-out 0.5s 1 forwards;
    color: var(--cor-branco);
}

.content button {
    padding: 15px 30px;
    border: none;
    cursor: pointer;
    opacity: 0;
    animation: animate 0.5s ease-in-out 1s 1 forwards;
    font-size: 1.5em;
    background-color: var(--cor-botao);
    color: var(--cor-branco);
    border-radius: 25px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.content button:hover {
    background-color: var(--cor-botao-hover);
    transform: scale(1.5);
    color: var(--cor-branco);
}

@keyframes animate {
    from {
        opacity: 0;
        transform: translate(0, 100px);
        filter: blur(33px);
    }

    to {
        opacity: 1;
        transform: translate(0);
        filter: blur(0);
    }
}

.button {
    width: 100%;
    text-align: center;
    position: absolute;
    top: 95%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    justify-content: center;
    gap: 20px;
}

.button .prev,
.button .next {
    width: 50px;
    height: 50px;
    border-radius: 10%;
    border: none;
    cursor: pointer;
    transition: 0.3s;
    background-color: var(--cor-botao);
    color: var(--cor-branco);
    font-size: 2em;
    display: flex;
    align-items: center;
    justify-content: center;
}

.button .prev::before {
    content: '◀';
}

.button .next::before {
    content: '▶';
}

.button .prev:hover,
.button .next:hover {
    background-color: var(--cor-botao-hover);
    transform: scale(1.1);
}

/* Produto */
.produto {
    background-color: var(--cor-marrom-claro);
}

.image-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 50px;
    /* Diminui o gap entre as imagens */
    transform: translateX(-100%);
    opacity: 0;
    animation: slideIn 2s ease-out forwards;
}

#cortina .image-row,
#persiana .image-row {
    gap: 30px;
    /* Reduz o gap entre os cards */
}

.image-container {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    /* Bordas mais arredondadas */
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
    /* Sombra mais suave */
    height: 100%;
    /* Ajusta para ocupar todo o espaço */
    margin-bottom: 0;
    /* Remove o espaço extra */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--cor-marrom-claro);
    /* Fundo bege */
}

.image-container:hover img {
    transform: scale(1.2);
    /* Amplia a imagem no hover */
    transition: transform 0.5s ease;
    filter: none;
    /* Remove qualquer filtro aplicado */
    background-color: transparent;
    /* Garante que o fundo não seja alterado */
}

.image-container img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
    margin: 0 auto;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    filter: none;
    /* Garante que a imagem não seja afetada por filtros */
}

.image-container .overlay {
    background-color: rgba(0, 0, 0, 0.5);
    /* Fundo escuro translúcido */
    opacity: 0;
    /* Inicialmente invisível */
    transition: opacity 0.3s ease;
    pointer-events: none;
    /* Evita interferência no hover */
}

.image-container:hover .overlay {
    opacity: 0;
    /* Garante que o overlay não apareça no hover */
}

.image-container .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    /* Fundo escuro translúcido */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 15px;
    /* Mantém o arredondamento */
}

.overlay p {
    color: var(--cor-branco);
    font-size: 1.5em;
    font-weight: bold;
    text-align: center;
    margin: 0;
}

.image-container:hover {
    transform: scale(1.05);
    /* Leve aumento no hover */
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.3);
    /* Sombra mais intensa no hover */
}

.image-container .image-name {
    font-size: 0.9em;
    /* Aumenta o tamanho da fonte */
    font-weight: bold;
    color: var(--cor-marrom-escuro);
    text-align: center;
    padding: 3px 5px;
    /* Ajusta o padding */
    background-color: var(--cor-marrom-claro);
    width: 100%;
    height: 30px;
    /* Ajusta a altura para acomodar o texto maior */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
}

.image-container .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    /* Fundo escuro translúcido */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 15px;
    /* Mantém o arredondamento */
}

.overlay p {
    font-size: 1.2em;
    font-weight: bold;
    text-align: center;
    margin: 0;
}

@keyframes slideIn {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

.title {
    text-align: center;
    margin-top: 80px;
    margin-bottom: 50px;
    font-size: 3rem;
    color: var(--cor-marrom-escuro);
}

.title p {
    font-size: 1.5rem;
    color: var (--cor-cinza-escuro);
}

.title strong {
    color: var(--cor-verde);
    font-weight: bold;
}

.triangulo-bg {
    content: '';
    width: 100%;
    height: 200px;
    background-color: var(--cor-marrom-escuro);
    clip-path: polygon(-10% 0%, 100% 0%, 100% 100%, 100% 70%);
}

.triangulo-bg-2 {
    content: '';
    width: 100%;
    height: 200px;
    background-color: var(--cor-marrom-escuro);
    clip-path: polygon(0 0, 100% 0, 0 70%, 0 30%);
}

/* Chama */
.chama {
    background-color: var(--cor-marrom-claro);
    padding-top: 200px;
    padding-bottom: 100px;
}

.content-image {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.content-full {
    flex: 1;
    margin-right: 20px;
}

.image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.image img {
    max-width: 100%;
    height: 300px;
    border-radius: 5px;
}

.video {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.video iframe {
    width: 100%;
    height: 300px;
    border-radius: 5px;
}

/* Responsividade para tablet */
@media (max-width: 1024px) {
    .video iframe {
        height: 250px;
    }
}

/* Responsividade para celular */
@media (max-width: 480px) {
    .video iframe {
        height: 200px;
    }
}

.content h2 {
    font-size: 2rem;
    color: var(--cor-branco);
    margin-bottom: 20px;
}

.content-p {
    font-size: 1.1rem;
    line-height: 2.6;
    color: var(--cor-paragrafo);
}

/* Atenção */
.atencao {
    background-color: var(--cor-marrom-claro);
    display: flex;
}

.atencao h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--cor-branco);
    margin-top: 80px;
}

.atencao .texto p {
    text-align: center;
    font-size: 1.5rem;
    color: var(--cor-paragrafo);
    margin-bottom: 20px;
}

.atencao p {
    text-align: center;
    font-size: 1.2rem;
    color: var(--cor-paragrafo);
    margin-bottom: 50px;
}

.hover-images {
    display: flex;
    justify-content: center;
    gap: 120px;
    margin-top: 20px;
    margin-bottom: 100px;
}

.image-hover-container {
    position: relative;
    width: 320px;
    height: 150px;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.image-hover-container:hover {
    transform: scale(1.03);
}

.hover-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    transition: border-radius 0.3s ease;
}

/* Remove o formato redondo do hover */
.image-hover-container:hover .hover-image {
    border-radius: 0;
}

.hover-info {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--cor-transparente-marrom);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-hover-container:hover .hover-info {
    opacity: 0.7;
    backdrop-filter: blur(5px);
    background-color: rgba(255,255,255,0);
}

@media (max-width: 900px) {
    .hover-images {
        flex-direction: column;
        gap: 40px;
        align-items: center;
    }
    .image-hover-container {
        width: 95vw;
        max-width: 300px;
        height: 120px;
    }
}

/* Contato */
#contato {
    text-align: center;
    padding: 50px 20px;
    background-color: var(--cor-branco);
}

#contato .title h2 {
    font-size: 1.5em;
    margin-bottom: 10px;
}

#contato .title p {
    margin-bottom: 20px;
    font-size: 0.5em;
    color: #666;
}

.title h2,
.content h2,
.atencao h2,
#contato .title h2 {
    color: var(--cor-titulo);
}

p {
    font-family: "Gidole", sans-serif; /* Aplica a fonte Gidole aos parágrafos */
    color: var(--cor-paragrafo);
}

a:hover,
button:hover,
.nav-menu a:hover,
.footer-section ul li a:hover,
.top-bar .social-icons a:hover {
    color: var(--cor-verde);
}

.image-container .overlay,
.hover-info {
    background-color: var(--cor-transparente-marrom);
}

button,
.btn-whatsapp,
.contact-buttons .btn {
    background: var(--cor-verde-whatsapp);
    color: var(--cor-branco);
}

button:hover,
.btn-whatsapp:hover,
.contact-buttons .btn:hover {
    background: var(--cor-verde-escuro-whatsapp);
    color: var(--cor-branco);
}

.btn-whatsapp {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    background-color: var(--cor-verde-whatsapp);
    color: var(--cor-branco);
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.3em;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    width: 250px;
    margin: 0 auto;
    margin-bottom: 20px;
    margin-top: 30px;
    /* Aumenta o espaçamento superior */
}

.btn-whatsapp i {
    margin-right: 5px;
    font-size: 1em;
}

.btn-whatsapp:hover {
    background-color: var(--cor-verde-escuro-whatsapp);
    transform: scale(1.05);
}

.contact-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 10px;
    margin: 50px auto;
    max-width: 1600px;
    margin-top: 80px;
}

.contact-buttons .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 40px;
    background-color: var(--cor-verde-whatsapp);
    color: #fff;
    text-decoration: none;
    border-radius: 15px;
    font-size: 1.5em;
    transition: transform 0.3s, background-color 0.3s ease;
}

.contact-buttons .btn i {
    margin-right: 10px;
    font-size: 1.5em;
}

contact-buttons .btn:hover {
    background-color: var(--cor-verde-escuro-whatsapp);
    transform: scale(1.1);
}

/* Footer */
footer {
    background-color: var(--cor-marrom-claro);
    color: var(--cor-branco);
    padding: 40px 0;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-section {
    flex: 1;
    min-width: 250px;
    margin: 20px;
}

.footer-section h2 {
    font-size: 1.5em;
    margin-bottom: 20px;
    color: var(--cor-branco);
}

.footer-section p,
.footer-section ul,
.footer-section a {
    font-size: 1em;
    line-height: 1.6;
    color: var(--cor-branco);
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: var(--cor-branco);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--cor-verde);
}

.footer-section .social-icons {
    display: flex;
    gap: 10px;
}

.footer-section .social-icons a {
    color: var(--cor-branco);
    font-size: 1.5em;
    transition: color 0.3s ease;
}

.footer-section .social-icons a:hover {
    color: var(--cor-branco);
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid var(--cor-branco);
    margin-top: 20px;
}

.footer-bottom p {
    margin: 0;
    font-size: 1em;
    color: var(--cor-paragrafo);
}

.produto,
.chama,
.atencao {
    position: relative;
}

.produto::before,
.produto::after,
.chama::before,
.chama::after,
.atencao::before,
.atencao::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 10px;
    /* Ajuste a espessura da borda conforme necessário */
    background-color: var(--cor-marrom-escuro);
}

.produto::before,
.chama::before,
.atencao::before {
    left: 0px;
    /* Ajuste para alinhar com o container */
}

.produto::after,
.chama::after,
.atencao::after {
    right: 0px;
}

.btn-home {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--cor-verde);
    color: var(--cor-branco);
    font-size: 2em;
    padding: 15px;
    border-radius: 50%;
    text-decoration: none;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn-home:hover {
    background-color: var(--cor-branco);
    transform: scale(1.1);
}

/* Medida */
#medida {
    margin-top: 100px;
    text-align: center;
    padding: 50px 20px;
    background-color: var(--cor-branco);
}

#medida h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    text-align: center;
    color: var(--cor-titulo);
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

#medida p {
    margin-bottom: 20px;
    font-size: 1em;
    /* Aumentar o tamanho da fonte */
    color: #666;
    max-width: 600px;
    /* Definir uma largura máxima para o texto */
    margin-left: auto;
    margin-right: auto;
}

.medida-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.medida-text {
    flex: 1;
    text-align: left;
    font-size: 1.5em;
    /* Aumentar o tamanho da fonte */
    line-height: 1.5;
    /* Melhorar o espaçamento entre linhas */
    max-width: 600px;
    /* Definir uma largura máxima para o texto */
    margin-left: auto;
    margin-right: auto;
}

.medida-form {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.medida-form label {
    font-size: 1.2em;
    /* Aumentar o tamanho da fonte */
    color: #333;
}

.medida-form select,
.medida-form input {
    padding: 10px;
    font-size: 1.2em;
    /* Aumentar o tamanho da fonte */
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 100%;
}

.medida-form button {
    padding: 10px 20px;
    font-size: 1.2em;
    /* Aumentar o tamanho da fonte */
    background-color: var(--cor-verde-whatsapp);
    color: var(--cor-branco);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
}

.medida-form button:hover {
    background-color: var(--cor-verde-escuro-whatsapp);
}

#nao-sei-medidas {
    margin-bottom: 10px;
}

/* Logo Loop */
.logo-loop {
    display: flex;
    overflow: hidden;
    position: relative;
    background-color: var(--cor-marrom-escuro);
    /* Alterado para a cor das bordas */
    padding: 20px 0;
}

.logos {
    display: flex;
    animation: scroll 10s linear infinite;
    width: max-content;
    gap: 100px;
}

.logos img {
    width: 150px;
    /* Ajuste o tamanho conforme necessário */
    margin: 0 10px;

}

.logos::after {
    content: '';
    display: flex;
    width: 100%;
    /* Duplica visualmente o conteúdo */
}

@keyframes scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
        /* Ajusta para metade do conteúdo duplicado */
    }
}

h2 {
    font-family: "Space Grotesk", sans-serif !important;
    /* Adiciona !important para garantir a aplicação */
    font-weight: 700;
    /* Certifique-se de usar um peso disponível */
    font-size: 3rem;
    /* Aumenta o tamanho da fonte */
    color: var(--cor-titulo);
    /* Mantém a cor definida */
    margin-bottom: 30px;
    /* Aumenta o espaçamento inferior */
}

/* Cookie Banner */
#cookie-banner {
    display: none;
    /* Inicialmente oculto */
    position: fixed;
    bottom: 0;
    width: 100%;
    background: var(--cor-marrom-escuro);
    color: var(--cor-branco);
    padding: 15px;
    text-align: center;
    z-index: 1000;
}

#cookie-banner a {
    color: var(--cor-verde);
    text-decoration: underline;
}

#cookie-banner button {
    background-color: var(--cor-verde);
    color: var(--cor-branco);
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#cookie-banner button:hover {
    background-color: var(--cor-verde-escuro-whatsapp);
}

#cortina .title h2,
#persiana .title h2 {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

#cortina .title h2::before,
#persiana .title h2::before,
#cortina .title h2::after,
#persiana .title h2::after {
    content: '';
    flex: 1;
    height: 1px;
    background-color: var(--cor-marrom-escuro);
    margin: 0 15px;
}