@import url(./fonts.css);
@import url(./variables.css);
@import url(./mediaQuery.css);

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
    background-color: var(--cinza);
    color: #333;
    scroll-behavior: smooth;
}

nav {
    display: flex;
    align-items: center;
    gap: 1rem;
}

label {
    margin-bottom: 5px;
}

#topo-page {
    box-shadow: 0.5px 1px 10px #000000;
}

#end-page {
    padding: 2rem 0rem;
    background-color: #001f09;
    color: var(--cor-texto-footer);
    text-align: center;
    animation: fadeUp 1s ease-in-out;
}

.icon-header-rs {
    width: 30px;
    height: 30px;
    transition: transform 0.4s;
}

.icon-header-rs:hover {
    transform: scale(1.2);
    /* aumenta 20% sem alterar o fluxo */
}

.link-header-rs {
    text-decoration: none;
}

.icon-header-whatsapp {
    width: 14px;
    height: 14px;
}

.wrap {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
}

.header-info {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    background-color: #04633b;
    color: #ffffff;
}

.topo {
    background-color: #ffffff;
    color: #000000;
    padding: 0rem 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    animation: fadeDown 0.8s ease-in-out;
}

.info {
    cursor: default;
}

.menu-dropdown {
    position: relative;
}

.submenu {
    display: none;
    position: absolute;
    top: 50%;
    left: 0;
    background-color: #ffffff;
    padding: 0.5rem 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    list-style: none;
    min-width: 160px;
    z-index: 999;
}

.menu-dropdown:hover .submenu {
    display: block;
}

.submenu-item {
    display: block;
    padding: 10px 16px;
    color: #04633b;
    font-size: 0.95rem;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 0.3s, color 0.3s;
}

.submenu-item:hover {
    background-color: #04633b;
    color: #ffffff;
}

.link-menu-desktop {
    position: relative;
    color: #04633b;
    font-weight: 500;
    font-size: 1.1rem;
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.list-menu-rs {
    list-style: none;
}

.big-rs {
    font-size: 1.4rem;
}

.link-menu-desktop::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 3px;
    bottom: -5px;
    left: 0;
    background-color: #cc8841;
    transition: width 0.3s ease;
    border-radius: 2px;
}

.link-menu-desktop:hover {
    color: #cc8841;
}

.link-menu-desktop:hover::after {
    width: 100%;
}

.icon-menu-whatsapp {
    text-decoration: none;
    background-color: #04633b;
    color: #ffffff;
    padding: 8px 12px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.icon-menu-whatsapp:hover {
    background-color: #037224;
}

.box-logotipo {
    padding: 1rem 0;
}

.mobile-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.sec-banner {
    position: relative;
    width: 100%;
    height: 80vh;
    overflow: hidden;
}

.sec-kit-portas {
    padding: 1rem 0rem;
    text-align: center;
    background-color: #04633b;
    color: #ffffff;
}

.box-text-kit-portas{
    padding: 1.6rem 0rem;
}

.kit-modelos-portas{
    width: 188%;
    max-width: 90px;
}

.kit-modelos-portas-correr{
    width: 188%;
    max-width: 188px;
}

.bg-border {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 6px;
}

.logotipo-marcas {
    width: 100%;
    max-width: 150px;
}

.info-marcas {
    font-size: 1.6rem;
}

.titulo-produtos {
    padding-bottom: 1.6rem;
    margin: 0px;
}

.info-kit-portas {
    margin: 0px;
    font-size: 1.6rem;
}

.item-kit-portas {
    width: 100px;
}

.item-kit-porta {
    width: 140px;
}

.slider {
    width: 100%;
    height: 100%;
    position: relative;
}

.slides {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease;
}

.slide {
    flex: 1 0 100%;
    height: 100%;
    position: relative;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2.5rem;
    background: rgba(0, 0, 0, 0.4);
    color: #ffffff;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 2;
}

.nav.prev {
    left: 10px;
}

.nav.next {
    right: 10px;
}

.dots {
    position: absolute;
    bottom: 20px;
    width: 100%;
    text-align: center;
    z-index: 2;
}

.dots span {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin: 0 5px;
    background: #bababa;
    border-radius: 50%;
    cursor: pointer;
}

.dots .active {
    background: #ffffff;
}

.sec-quem-somos {
    text-align: left;
    padding: 4.6rem 0rem;
}

.icon-aeromadeiras {
    width: 45px;
}

.box-produtos {
    display: flex;
    gap: 1rem;
}

.produto {
    background: var(--branco);
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 0.5rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.produto:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.produto img {
    width: 85px;
    border-radius: 6px;
    margin-bottom: 1rem;
}

.link-itens {
    font-size: 0.8rem;
    text-decoration: none;
    color: var(--verde-aeromadeiras);
    align-items: center;
    display: flex;
    justify-content: center;
}

.link-itens:hover {
    color: var(--dourado-aeromadeiras);
}

/* ----------------- */
.cor-verde {
    color: #04633b;
}

.cor-dourado {
    color: #cc8841;
}

.cor-branco {
    color: #ffffff;
}

/* ----------------- */

.page-produtos {
    padding: 2rem 0rem;
    text-align: left;
}

.pages-produtos {
    padding: 6rem 1.1rem;
    margin: 0 auto;
    align-items: flex-start;
    text-align: left;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.sec-janela-madeira {
    padding: 60px 30px;
    background-color: #ffffff;
    text-align: left;
}

.sec-puxadores {
    padding: 60px 30px;
    background-color: #04633b;
    color: #ffffff;
    text-align: left;
}

.sec-fechaduras {
    padding: 60px 30px;
    margin: 0 auto;
    align-items: flex-start;
    background-color: #ffffff;
    color: #04633b;
    text-align: left;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.sec-decks {
    padding: 60px 30px;
    background-color: #04633b;
    color: #ffffff;
    text-align: left;
}

.sec-rodape {
    padding: 60px 30px;
    margin: 0 auto;
    align-items: flex-start;
    background-color: #ffffff;
    color: #04633b;
    text-align: left;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.sec-ripador-madeira {
    padding: 60px 30px;
    background-color: #04633b;
    color: #ffffff;
    text-align: left;
}


.titulo-quem-somos {
    padding-left: 16px;
    margin-top: 0px;
    font-size: 2.4rem;
}

.space-item {
    margin-top: 2.6rem;
}

.acm-content {
    padding: 16px 0px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.title-itens-produtos {
    font-size: 1.4rem;
}

.img-itens {
    width: 100%;
    max-width: 350px;
    border-radius: 6px;
    box-shadow: 2px 2px 12px #000000;
}

.text-janelas-end {
    text-align: center;
}

.img-diagonal-wrapper {
    position: relative;
    width: 350px;
    /* ajuste conforme necessário */
    height: auto;
    margin: 40px auto;
}

.img-diagonal {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.img-back {
    position: absolute;
    top: 205px;
    left: -180px;
    z-index: 2;
}

.img-front {
    position: relative;
    z-index: 1;
}

.img-diagonal-wrapper:hover .img-front {
    transform: scale(1.05);
}

.box-mais-itens {
    margin-top: 50px;
}

.btn-mais-itens-branco {
    text-decoration: none;
    background-color: #ffffff;
    color: #037224;
    padding: 12px;
    border-radius: 4px;
}

.btn-mais-itens-verde {
    text-decoration: none;
    background-color: #037224;
    color: #ffffff;
    padding: 12px;
    border-radius: 4px;
    transition: .4s;
}

.text-quem-somos {
    text-align: justify;
}

.box-quem-somos,
.info-valores {
    padding: 16px;
}

.li-end-menu {
    list-style: none;
    margin-bottom: 4px;
}

.box-end-logotipo {
    margin-top: 22px;
}

.title-end-data {
    font-size: 1.2rem;
}

.end-menu {
    text-decoration: none;
    color: #ffffff;
}

.end-menu:hover {
    color: #cc8841;
}

.copy-page {
    width: 100%;
    padding: 16px 0px;
    background-color: #ffffff;
    color: #037224;
}

/* =========================== WhatsApp =========================== */
.whatsapp-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    cursor: pointer;
    z-index: 9999;
    animation: bounceIn 1s ease-out;
}

.whatsapp-msg {
    background-color: #fff;
    color: #333;
    padding: 10px 15px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    margin-right: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    max-width: 220px;
    animation: fadeIn 1.2s ease-in;
}

.whatsapp-icon {
    width: 52px;
    height: 52px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    animation: pulse 2s infinite;
}

.whatsapp-icon img {
    width: 28px;
    height: 28px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounceIn {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }

    60% {
        transform: scale(1.1);
        opacity: 1;
    }

    100% {
        transform: scale(1);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.retorno-form {
    margin-top: 15px
}

.form-contato {
    display: flex;
    flex-direction: column;
}

.google-mapa {
    background-color: #001f09;
}

.form-camp {
    height: 30px;
    color: #001f09;
    border: 0.5px solid #001f09;
    border-radius: 2px;
    margin-bottom: 1.4rem;
    font-family: Tahoma;
    font-size: 0.9rem;
    box-shadow: 1px 1px 6px #000000;
}

.form-camp-msg {
    height: 90px;
    color: #001f09;
    border: 0.5px solid #001f09;
    border-radius: 2px;
    margin-bottom: 1.4rem;
    font-family: Tahoma;
    font-size: 0.9rem;
    box-shadow: 1px 1px 6px #000000;
}

.btn-enviar {
    width: 145px;
    height: 30px;
    outline: none;
    border: none;
    border-radius: 2px;
    background-color: #001f09;
    color: #ffffff;
    cursor: pointer;
    text-transform: uppercase;
    box-shadow: 1px 1px 6px #000000;
}

.btn-enviar:hover {
    background-color: #00932c;
}

.btn-enviar:active {
    background-color: #cc8841;
}

.box-info,
.box-formulario {
    margin: 0px 16px 16px 16px;
}

.li-info-contato {
    padding: 0px;
    list-style: none;
}

/* =============================== slider */
.slider-mini {
    max-width: 100%;
    position: relative;
    margin: auto;
    overflow: hidden;
    background: #ffffff;
}

.slides-mini {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slides-mini img {
    width: 256px;
    /* 1280/5 = 256 */
    flex-shrink: 0;
    margin: 0 4px;
    user-select: none;
    pointer-events: none;
}

/* Botões */
.btn-prev,
.btn-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.4);
    color: #ffffff;
    border: none;
    padding: 12px 16px;
    cursor: pointer;
    font-size: 22px;
    user-select: none;
    transition: background 0.3s;
}

.btn-prev:hover,
.btn-next:hover {
    background: rgba(0, 0, 0, 0.7);
}

.btn-prev {
    left: 5px;
}

.btn-next {
    right: 5px;
}

.card-acessorio {
    width: 100%;
    max-width: 300px;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    font-family: Arial, sans-serif;
}

.card-acessorio:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.card-img {
    overflow: hidden;
    height: 200px;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.card-acessorio:hover .card-img img {
    transform: scale(1.08);
}

.card-content {
    padding: 15px;
    text-align: center;
}

.card-content h3 {
    color: #006837;
    /* Verde do logotipo */
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.card-content p {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 15px;
}

.btn-detalhes {
    display: inline-block;
    padding: 8px 16px;
    background-color: #d08b3b;
    /* Laranja amadeirado */
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-detalhes:hover {
    background-color: #b87430;
    transform: scale(1.05);
}

.align-msg {
    padding: 1rem 0rem;
    text-align: center;
    background: #97979775;
    margin: 1rem;
    border-radius: 4px;
    font-weight: bold;
}

/* Cookies */
#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    opacity: 80;
    background: #001f09;
    color: #ffffff;
    padding: 1.6rem;
    text-align: center;
    font-family: Arial, sans-serif;
    font-size: 1.4rem;
    z-index: 9999;
}

#cookie-banner button {
    margin-left: 10px;
    padding: 10px 36px;
    border-radius: 4px;
    background: #b87430;
    color: #ffffff;
    font-size: 1.2rem;
    border: none;
    cursor: pointer;
}

#cookie-banner button:hover {
    background: #be6308;
}