:root {
    --primary-red: #d60000;
    --red-hover: #b30000;
    --dark-bg: #0a0a0a;
    --darker-bg: #000000;
    --text-light: #ffffff;
    --text-dark: #222222;
    --gray-light: #f5f5f5;
    --gray-border: #e0e0e0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

body {
    background-color: var(--gray-light);
    color: var(--text-dark);
}

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

a {
    text-decoration: none;
}

/* Header & Navbar */
.navbar {
    background-color: var(--darker-bg);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid var(--primary-red);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

/* LOGO AUMENTADO */
.logo img {
    height: 70px; /* Era 50px, agora está bem maior e visível */
    transition: height 0.3s ease;
}

.nav-links a {
    color: var(--text-light);
    margin: 0 15px;
    font-size: 14px;
    font-weight: 600;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-red);
}

/* Classe ativa para o Menu Mobile controlado pelo JS */
.nav-links.nav-active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: var(--darker-bg);
    padding: 20px 0;
    border-bottom: 2px solid var(--primary-red);
    gap: 20px;
    text-align: center;
}

.btn-whatsapp-header {
    display: flex;
    align-items: center;
    background-color: transparent;
    color: var(--text-light);
    border: 1px solid #25D366;
    border-radius: 30px;
    padding: 5px 15px;
    gap: 10px;
    font-size: 12px;
}

.btn-whatsapp-header strong {
    font-size: 16px;
}

.btn-whatsapp-header .icon-small {
    width: 30px;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn img {
    width: 30px;
    filter: invert(1);
}

/* Hero Section */
.hero {
    margin-top: 80px;
    background: url('../arquivos/hero-bg.jpg') no-repeat center right/cover;
    background-color: var(--dark-bg); 
    color: var(--text-light);
    padding: 100px 20px 80px 20px;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 60%, rgba(0,0,0,0) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 600px;
}

.hero-logo {
    max-width: 450px;
    margin-bottom: 5px;
}

.hero h2 {
    color: var(--primary-red);
    font-weight: 800;
    font-size: 22px;
    letter-spacing: 1px;
    margin-bottom: 40px;
}

.hero-features {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 13px;
    text-align: center;
}

.feature-item img {
    width: 40px;
    filter: brightness(0) invert(1);
}

.btn-primary {
    background-color: var(--primary-red);
    color: var(--text-light);
    padding: 15px 35px;
    border-radius: 40px;
    font-weight: 700;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: background 0.3s;
    border: 2px solid var(--primary-red);
}

.btn-primary img {
    width: 24px;
    filter: brightness(0) invert(1);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary-red);
}

/* Categorias Row */
.categories {
    background-color: #eef1f3;
    padding: 40px 0;
    border-bottom: 1px solid var(--gray-border);
}

.category-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.category-card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    padding: 25px 15px;
    text-align: center;
    flex: 1;
    min-width: 150px;
    max-width: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.2s ease;
}

.category-card:hover {
    transform: translateY(-5px);
}

.category-card img {
    width: 45px;
    margin-bottom: 15px;
}

.category-card p {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-dark);
}

/* Produtos Grid */
.products {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    font-size: 28px;
    margin-bottom: 40px;
    position: relative;
    font-weight: 700;
}

.section-title::before, .section-title::after {
    content: '';
    display: inline-block;
    width: 50px;
    height: 3px;
    background-color: var(--primary-red);
    vertical-align: middle;
    margin: 0 15px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 25px;
}

.product-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
}

.product-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.product-info {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-info h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 5px;
}

.product-info p {
    font-size: 13px;
    color: #666;
    margin-bottom: 15px;
    flex-grow: 1;
}

.btn-cotizar {
    background-color: var(--primary-red);
    color: #fff;
    text-align: center;
    padding: 10px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: 0.3s;
}

.btn-cotizar img {
    width: 20px;
    filter: brightness(0) invert(1);
}

.btn-cotizar:hover {
    background-color: var(--red-hover);
}

/* CTA Design */
.design-cta {
    background-color: var(--dark-bg);
    color: var(--text-light);
    padding: 40px 0;
    border-top: 4px solid var(--primary-red);
}

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

.cta-text {
    display: flex;
    align-items: center;
    gap: 20px;
}

.cta-text .icon-large {
    width: 60px;
    filter: brightness(0) invert(1);
}

/* Footer */
.footer {
    background-color: var(--darker-bg);
    color: var(--text-light);
    padding: 50px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr 1.5fr;
    gap: 30px;
    margin-bottom: 40px;
}

.footer-logo {
    max-width: 150px;
    margin-bottom: 10px;
}

.brand-col .desc {
    font-size: 13px;
    color: #aaa;
    margin: 10px 0;
}

.social-links img {
    width: 24px;
    margin-right: 10px;
    filter: brightness(0) invert(1);
}

.footer-col h4 {
    color: var(--text-light);
    margin-bottom: 15px;
    border-bottom: 1px solid #333;
    padding-bottom: 5px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: #ccc;
    margin-bottom: 10px;
}

.footer-col ul li img {
    width: 14px;
    filter: brightness(0) invert(1);
}

.footer-col ul li a {
    color: #ccc;
}

.footer-col ul li a:hover {
    color: var(--primary-red);
}

.footer-bottom {
    border-top: 1px solid #222;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #777;
}

/* Link IdeiaTouch */
.ideiatouch-credit a {
    text-decoration: none;
}

.ideiatouch-credit strong {
    color: #00bfff; /* O teu azul característico */
    transition: color 0.3s;
}

.ideiatouch-credit strong:hover {
    color: #ffffff;
}

/* ESTILOS DO BANNER DE COOKIES */
.cookie-banner {
    position: fixed;
    bottom: -150%; /* Escondido por defeito, entra com animação */
    left: 0;
    width: 100%;
    background-color: rgba(10, 10, 10, 0.95);
    color: #fff;
    padding: 20px;
    z-index: 9999;
    box-shadow: 0 -4px 15px rgba(0,0,0,0.5);
    transition: bottom 0.6s ease-in-out;
    display: flex;
    justify-content: center;
}

.cookie-banner.show {
    bottom: 0; /* Classe adicionada via JS para fazer o banner aparecer */
}

.cookie-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    max-width: 800px;
    text-align: center;
    font-size: 14px;
}

.cookie-content a {
    color: var(--primary-red);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 15px;
}

.btn-cookie-accept, .btn-cookie-decline {
    padding: 10px 25px;
    border: none;
    border-radius: 5px;
    font-weight: 700;
    cursor: pointer;
    font-size: 14px;
    transition: 0.3s;
}

.btn-cookie-accept {
    background-color: var(--primary-red);
    color: #fff;
}

.btn-cookie-accept:hover {
    background-color: var(--red-hover);
}

.btn-cookie-decline {
    background-color: #333;
    color: #fff;
}

.btn-cookie-decline:hover {
    background-color: #555;
}

/* Responsividade Mobile */
@media (max-width: 768px) {
    .logo img {
        height: 55px; /* Tamanho ajustado e excelente para telefones */
    }

    .nav-links {
        display: none; 
    }
    
    .mobile-menu-btn {
        display: block;
    }

    .hero {
        background-position: center;
        padding: 60px 20px;
    }
    
    .hero-content {
        align-items: center;
        text-align: center;
    }

    .hero-features {
        flex-direction: column;
        gap: 20px;
    }

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

    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}