/* ===========================
   ESTILO GERAL
=========================== */

body {
    margin: 0;
    padding: 0;
    background: #f2f2f2;
    color: #222;
    font-family: "Segoe UI", Arial, sans-serif;
}

/* ===========================
   HEADER
=========================== */

.topbar {
    background: #0d0d0d;
    padding: 18px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.topbar nav a {
    color: white;
    margin-left: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}

.topbar nav a:hover,
.topbar nav a.active {
    color: #ffcc00;
}

/* ===========================
   LOGO INTERATIVO
=========================== */

.logo-img {
    height: 65px;
    transition: 0.35s ease;
    filter: drop-shadow(0 0 0px #ffcc00);
    cursor: pointer;
}

.logo-img:hover {
    transform: scale(1.08);
    filter: drop-shadow(0 0 6px #ffcc00) drop-shadow(0 0 12px #ffcc00);
}

/* ===========================
   HERO
=========================== */

.hero {
    background: linear-gradient(to bottom right, #000, #222);
    color: white;
    text-align: center;
    padding: 100px 20px;
}

.hero-interno {
    padding: 70px 20px;
}

/* ===========================
   BOTÕES
=========================== */

.btn {
    background: #ffcc00;
    padding: 14px 28px;
    color: #000;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    display: inline-block;
    margin-top: 20px;
    transition: 0.3s;
}

.btn:hover {
    background: #e6b800;
}

/* ===========================
   SECÇÕES
=========================== */

.section {
    padding: 60px 20px;
    text-align: center;
}

.servicos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.servico {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.08);
    transition: 0.3s;
}

.servico:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 15px rgba(0,0,0,0.15);
}

/* ===========================
   SERVIÇOS DETALHADOS
=========================== */

.servicos-detalhados {
    padding: 60px 20px;
    max-width: 900px;
    margin: auto;
}

.servico-item {
    background: white;
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 0 10px rgba(0,0,0,0.08);
}

/* ===========================
   VANTAGENS
=========================== */

.vantagens {
    padding: 60px 20px;
    text-align: center;
}

.vantagens-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.vantagem {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.08);
}

/* ===========================
   CONTACTO
=========================== */

.contacto {
    padding: 60px 20px;
    text-align: center;
}

/* ===========================
   FOOTER
=========================== */

.footer {
    background: #0d0d0d;
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
}

/* ===========================
   CATÁLOGO (SEGURO)
=========================== */

.catalogo-grid {
    padding: 60px 20px;
    max-width: 1100px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.catalogo-grid .produto {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.08);
    transition: 0.3s;
}

.catalogo-grid .produto:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 15px rgba(0,0,0,0.15);
}

.catalogo-grid .produto-img {
    width: 100%;
    height: 150px;
    background: #e6e6e6;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.catalogo-grid .produto-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===========================
   FILTROS (NÃO AFETA O RESTO)
=========================== */

.filtros {
    text-align: center;
    margin: 40px 0 20px;
}

.filtro-btn {
    background: #0d0d0d;
    color: white;
    border: none;
    padding: 10px 18px;
    margin: 5px;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s;
}

.filtro-btn:hover,
.filtro-btn.active {
    background: #ffcc00;
    color: #000;
}
/* ===========================
   MARCA DE ÁGUA DO LOGO
=========================== */

body::before {
    content: "";
    position: fixed;
    top: 50%;
    left: 50%;
    width: 600px; /* tamanho da marca de água */
    height: 600px;
    background: url("img/logo-htronica.png") no-repeat center;
    background-size: contain;
    opacity: 0.06; /* transparência suave */
    transform: translate(-50%, -50%);
    z-index: -1; /* fica atrás de tudo */
    pointer-events: none; /* não interfere com cliques */
}
/* ===========================
   MARCA DE ÁGUA GLOBAL
=========================== */

body::after {
    content: "";
    position: fixed;
    top: 50%;
    left: 50%;
    width: 900px; /* tamanho da marca de água */
    height: 900px;
    background: url("img/logo-htronica.png") no-repeat center;
    background-size: contain;
    opacity: 0.04; /* transparência suave */
    transform: translate(-50%, -50%);
    z-index: -1; /* fica atrás de tudo */
    pointer-events: none; /* não interfere com cliques */
}
.topbar {
    position: relative;
    z-index: 10;
    background: #0d0d0d;
.hero {
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 1200px;
    height: 1200px;
    background: url("img/logo-htronica.png") no-repeat center;
    background-size: contain;
    opacity: 0.06;
    transform: translate(-50%, -50%) rotate(-25deg);
    z-index: 0;
}

.hero * {
    position: relative;
    z-index: 2;
}
