/* =========================================================
VARIÁVEIS E RESET
========================================================= */
:root {
    --accent: #974D1F;
    --gap: 3rem;
    font-family: "Dosis", Sans-serif;
}

body {
    font-family: "Dosis", Sans-serif;
}

/* =========================================================
HEADER BOOTSTRAP + TEU ESTILO
========================================================= */

/* fundo e sombra como o original */
.navbar {
    background-color: #f5f5f5 !important;
    box-shadow: 0px 0px 10px rgba(0,0,0,0.5);
    padding: 10px 50px;
    width: 100%;
    z-index: 1000;
}

/* logo */
.navbar-brand img {
    height: 60px;
    width: auto;
}

/* nav desktop */
.navbar-nav .nav-link {
    text-decoration: none;
    color: #464646 !important;
    font-weight: 500;
    position: relative;
    padding: 8px 12px !important;
    transition: color 0.3s;
    font-family: "Dosis", Sans-serif;
    font-size: 18px;
    text-transform: uppercase;
}

/* hover castanho */
.navbar-nav .nav-link:hover {
    color: #974d1f !important;
}

/* underline animation */
.navbar-nav .nav-link:not(.dropdown-toggle)::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 2px;
    background-color: #333;
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:not(.dropdown-toggle):hover::after {
    width: 100%;
}

/* hamburguer icon */
.navbar-toggler {
    border: none !important;
}

.navbar-toggler:focus {
    outline: none;
    box-shadow: none;
}

/* Preenche o ícone do hamburguer */
.navbar-toggler-icon {
    filter: invert(0.5);
}

/* =========================================================
LAYOUT PRINCIPAL (IMAGEM + TEXTO)
========================================================= */
.product-top {
    margin-top: 3rem;
    margin-bottom: 4rem;
}

.product-description p {
    text-align: justify;
    line-height: 1.6;
}

.img-auto {
    max-width: 100%;
    height: auto;
    display: block;
}

/* =========================================================
ADVANTAGES
========================================================= */
.detail_advantages {
    background: #f5f5f5;
    padding: 3rem 0;
}

.advantages_list {
    display: flex;
    justify-content: center;
    gap: 4rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.advantages_list_item {
    text-align: center;
    max-width: 220px;

    /* 👇 garante alinhamento igual */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.advantages_list_item img {
    width: 70px;
    margin-bottom: 12px;
}

/* 👇 texto controlado */
.advantages_list_item span,
.advantages_list_item_content {
    display: block;
    max-width: 180px;
    line-height: 1.4;
    text-align: center;
}

/* =========================================================
CONTENT STYLE
========================================================= */
.detail_content{
    padding: 4rem 0;
}
/* =========================================================
1. TABS – TECHNICAL PARAMETERS
========================================================= */

/* container geral */
.tabs {
    margin-top: 2rem;
}

/* barra de navegação das tabs */
.tabs_nav {
    background: #2b2b2b;
    overflow-x: auto;
    white-space: nowrap;
}

/* lista das tabs */
.tabs_nav_list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.tabs_nav_list li {
    flex: 0 0 auto;
}

/* botões das tabs */
.tabs_nav_list button {
    appearance: none;
    border: none;
    background: #2b2b2b;
    color: #ffffff;
    padding: 16px 22px;
    font-family: "Dosis", Arial, sans-serif;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;

    display: flex;
    align-items: center;
    gap: 8px;

    transition: background 0.25s ease, color 0.25s ease;
}

/* ícone ▼ */
.tabs_nav_list button::after {
    content: "▾";
    font-size: 12px;
    opacity: 0.8;
    transition: transform 0.25s ease;
}

/* hover */
.tabs_nav_list button:hover {
    background: #3a3a3a;
}

/* tab ativa */
.tabs_nav_list button[aria-selected="true"] {
    background: #f2f2f2;
    color: #1f1f1f;
    font-weight: 600;
}

/* ícone ativo */
.tabs_nav_list button[aria-selected="true"]::after {
    transform: rotate(180deg);
}

/* =========================================================
2. PAINÉIS DE CONTEÚDO
========================================================= */
.tabs_panel {
    padding: 2rem;
}

.tabs_panel.hide {
    display: none;
}

/* =========================================================
3. SCROLLBAR HORIZONTAL (DESKTOP)
========================================================= */
.tabs_nav::-webkit-scrollbar {
    height: 8px;
}

.tabs_nav::-webkit-scrollbar-track {
    background: #3a3a3a;
}

.tabs_nav::-webkit-scrollbar-thumb {
    background: #8c8c8c;
    border-radius: 4px;
}

/* =========================================================
4. TABELA TÉCNICA – ESTILO LIMPO
========================================================= */
.table-wrap table {
    width: 100%;
    border-collapse: collapse;
    font-family: "Dosis", Arial, sans-serif;
    font-size: 15px;
    color: #222;
    background: #ffffff;
}

/* remover todas as bordas */
.table-wrap table,
.table-wrap table tr,
.table-wrap table td {
    border: none !important;
}

/* linhas */
.table-wrap table tr {
    height: 46px;
}

/* células */
.table-wrap table td {
    padding: 12px 18px;
    vertical-align: middle;
}

/* coluna esquerda (labels) */
.table-wrap table td:first-child {
    color: #000000;
}

/* coluna direita (valores) */
.table-wrap table td:last-child {
    font-weight: 500;
}

/* linhas zebrada */
table.zebra-only tr:nth-child(odd) {
    background-color: #e6e6e6;
}

table.zebra-only tr:nth-child(even) {
    background-color: #ffffff;
}


/* destaques */
.table-wrap table strong {
    font-weight: 600;
}

/* unidades (m³, etc) */
.table-wrap sup {
    font-size: 0.7em;
}

/* =========================================================
DETAILS (ACCESSORIES, ETC)
========================================================= */
.detail_accessories em {
    font-size: .875em;
    line-height: 1;
    color: #fff;
    font-weight: bold;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 1.75em;
    height: 1.75em;
    margin-right: .5em;
    border-radius: 50%;
    background: #e87c2a;
}
/* =========================================================
PAINEL: TECHNICAL PARAMETERS WITH ENTHALPY EXCHANGER
========================================================= */
#vymenik {
    background: #f2f2f2;
    padding: 0;
}

/* título azul principal */
#vymenik > h5.orange {
    background: #e87c2a;
    color: #ffffff;
    padding: 16px 24px;
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

/* bloco de texto introdutório */
#vymenik > div:first-of-type {
    padding: 20px 24px;
    color: #333;
    line-height: 1.6;
}

/* subtítulo cinza */
#vymenik > h5.grey {
    background: #ebebeb;
    margin: 0;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 500;
    color: #222;
}

h5.orange {
    background: #e87c2a;
    color: #ffffff;
    padding: 16px 24px;
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

h5.grey {
    background: #ebebeb;
    color: #000000;
    padding: 16px 24px;
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

/* =========================================================
LAYOUT PRINCIPAL (IMAGEM + TEXTO) – VYMENIK
========================================================= */
#vymenik > .table-wrap > table {
    width: 100%;
    border-collapse: collapse;
    background: #f2f2f2;
}

#vymenik table,
#vymenik td {
    border: none !important;
}

#vymenik table > tbody > tr:first-child td {
    padding: 24px;
    vertical-align: top;
}

#vymenik img {
    max-width: 100%;
    height: auto;
    display: block;
}

#vymenik p strong {
    font-size: 16px;
}

#vymenik div[style*="justify"] {
    line-height: 1.6;
    margin-bottom: 12px;
}

/* =========================================================
TABELA DE ESPECIFICAÇÕES (INTERNA)
========================================================= */
#vymenik table.striped {
    margin-top: 20px;
    background: #ffffff;
}

#vymenik table.striped tr:nth-child(odd) {
    background-color: #f2f2f2;
}

#vymenik table.striped tr:nth-child(even) {
    background-color: #ffffff;
}

#vymenik table.striped td {
    padding: 10px 14px;
    font-size: 14px;
}

/* =========================================================
FOOTER / NEWSLETTER
========================================================= */
.newsletter-footer {
    background-color: #974d1f;
    color: #fff;
    padding: 60px 80px 20px;
}

.newsletter-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 60px;
    margin-bottom: 40px;
}

/* LEFT SIDE */
.newsletter-left h2 {
    font-size: 32px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.newsletter-left p {
    font-size: 16px;
    margin-bottom: 30px;
}

.newsletter-form label {
    display: block;
    font-size: 14px;
    margin-bottom: 8px;
    color: #e0e0e0;
}

.input-wrapper {
    position: relative;
    border-bottom: 1px solid #fff;
    width: 100%;
    max-width: 500px;
    margin-bottom: 20px;
}

.input-wrapper input {
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    padding: 10px 40px 10px 0;
    font-size: 16px;
    color: #fff;
}

.input-wrapper .submit-btn {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.input-wrapper .submit-btn:hover {
    transform: translateY(-50%) scale(1.1);
}

/* Checkbox e política */
.privacy-check {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #fff;
}

.privacy-check input {
    accent-color: #fff;
}

.privacy-check strong {
    color: #fff;
    font-weight: 700;
}

/* RIGHT SIDE */
.newsletter-right h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.newsletter-right ul {
    list-style: none;
    padding: 0;
}

.newsletter-right ul li {
    margin-bottom: 10px;
}

.newsletter-right ul li a {
    text-decoration: none;
    color: #fff;
    font-size: 15px;
    transition: color 0.3s;
}

.newsletter-right ul li a:hover {
    color: #f2c49b;
}

/* BOTTOM LINE */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #fff;
    padding-top: 15px;
    font-size: 13px;
}

.footer-bottom strong {
    font-weight: 700;
}

/* =========================================================
RESPONSIVE FINAL
========================================================= */
/* =========================================================
RESPONSIVO FINAL – ESTÁVEL
========================================================= */

/* =========================================================
TABLET (<= 991px)
========================================================= */
@media (max-width: 991px) {

    /* NAVBAR */
    .navbar {
        padding: 10px 24px;
    }

    /* PRODUCT */
    .product-top {
        margin-top: 2rem;
        margin-bottom: 3rem;
    }

    /* ADVANTAGES */
    .advantages_list {
        gap: 2.5rem;
    }

    /* FOOTER */
    .newsletter-container {
        gap: 40px;
    }
}

/* =========================================================
MOBILE (<= 768px)
========================================================= */
@media (max-width: 768px) {

    /* =====================
    NAVBAR
    ===================== */
    .navbar {
        padding: 10px 16px;
    }

    .navbar-brand img {
        height: 48px;
    }

    .navbar-nav {
        padding-top: 1rem;
    }

    .navbar-nav .nav-link {
        font-size: 16px;
        padding: 10px 0 !important;
    }

    /* =====================
    PRODUCT TOP
    ===================== */
    .product-top .row {
        gap: 2rem;
    }

    /* =====================
    ADVANTAGES
    ===================== */
    .advantages_list {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .advantages_list_item {
        max-width: 100%;
    }

    /* =====================
    TABS
    ===================== */
    .tabs_nav_list button {
        font-size: 14px;
        padding: 12px 16px;
    }

    /* =====================
    TABLES – GLOBAL
    ===================== */
    .table-wrap {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .table-wrap table {
        min-width: 600px;
    }

    /* =====================
    VYMENIK – FIX REAL (SEM SHIFT)
    ===================== */

    /* mantém a tabela estável */
    #vymenik table {
        table-layout: fixed;
        width: 100%;
    }

    /* células comportam texto e imagens */
    #vymenik td {
        vertical-align: top;
        overflow-wrap: break-word;
        word-break: break-word;
    }

    /* remove larguras inline problemáticas */
    #vymenik td[style*="width"] {
        width: auto !important;
    }

    /* imagens adaptativas sem reflow */
    #vymenik img {
        max-width: 100%;
        height: auto;
        display: block;
        margin: 0 auto;
    }

    /* evita scroll lateral fantasma */
    #vymenik {
        overflow-x: hidden;
    }

    /* =====================
    FOOTER
    ===================== */
    .newsletter-footer {
        padding: 40px 24px 20px;
    }

    .newsletter-container {
        flex-direction: column;
        gap: 40px;
    }

    .newsletter-left h2 {
        font-size: 26px;
    }

    .newsletter-right h3 {
        font-size: 18px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}
