:root {
    --primary-color: #000000;
    --secondary-color: #333333;
    --accent-color: #FF6600;
    /* Laranja universalcomponentes */
    --text-color: #444444;
    --light-bg: #f5f5f5;
    --white: #ffffff;
    --border-color: #dddddd;
    --font-heading: 'Roboto', sans-serif;
    /* Placeholder */
    --font-body: 'Open Sans', sans-serif;
    /* Placeholder */
}

/* Reset Basico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
    padding-top: 80px;
    /* Espaço para o header sticky */
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.destaque {
    color: var(--accent-color);
    font-weight: bold;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #000000;
    /* Fundo Preto */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    transition: background 0.3s;
    height: 90px;
    display: flex;
    align-items: center;
}

header.scrolled {
    background: #000000;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo-container {
    font-size: 24px;
    font-weight: 900;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #ffffff;
    /* Texto branco */
}

.logo-v {
    color: var(--accent-color);
    font-size: 32px;
}

.nav-desktop {
    display: none;
    align-items: center;
}

@media (min-width: 900px) {
    .nav-desktop {
        display: flex;
        gap: 25px;
    }

    .nav-desktop a {
        font-weight: 600;
        text-transform: uppercase;
        font-size: 14px;
        color: #ffffff;
        /* Links brancos */
        padding: 10px 0;
    }

    .nav-desktop a:hover {
        color: var(--accent-color);
    }
}

/* Dropdown Menu */
.dropdown-menu-container {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #1a1a1a;
    min-width: 220px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.5);
    z-index: 1001;
    top: 100%;
    left: 0;
    border-top: 3px solid var(--accent-color);
}

.dropdown-content a {
    color: white !important;
    padding: 12px 16px !important;
    text-decoration: none;
    display: block;
    text-transform: none !important;
    font-weight: 400 !important;
    border-bottom: 1px solid #333;
}

.dropdown-content a:hover {
    background-color: #333;
    color: var(--accent-color) !important;
    padding-left: 20px !important;
    /* Efeitinho de slide */
}

.dropdown-menu-container:hover .dropdown-content {
    display: block;
}

/* Social Icons Header */
.social-icons-header {
    display: none;
}

@media (min-width: 900px) {
    .social-icons-header {
        display: flex;
        gap: 15px;
    }

    .social-icons-header a {
        color: var(--accent-color);
        font-size: 32px;
        transition: 0.3s;
    }

    .social-icons-header a:hover {
        color: #ffffff;
        transform: scale(1.1);
    }
}

.btn-mobile {
    display: block;
    cursor: pointer;
    font-size: 24px;
    color: white;
}

@media (min-width: 900px) {
    .btn-mobile {
        display: none;
    }
}

/* Hero Slider */
.hero-slider {
    position: relative;
    width: 100%;
    /* Maintain 1920x600 aspect ratio */
    height: 0;
    padding-bottom: 31.25%;
    /* Enforce minimum height to ensure visibility on small screens (cropping sides as requested) */
    min-height: 400px;
    overflow: hidden;
    background: #000;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.7);
    font-size: 3rem;
    z-index: 10;
    cursor: pointer;
    transition: 0.3s;
    padding: 10px;
}

.slider-arrow:hover {
    color: var(--accent-color);
    transform: translateY(-50%) scale(1.1);
}

.slider-arrow.prev {
    left: 20px;
}

.slider-arrow.next {
    right: 20px;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active {
    opacity: 1;
}

.slide-content {
    color: white;
    text-align: center;
    z-index: 2;
}

.slide-content h2 {
    color: white;
    font-size: 3rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.btn-cta {
    display: inline-block;
    background: var(--accent-color);
    color: white;
    padding: 12px 30px;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 4px;
    margin-top: 20px;
}

.btn-cta:hover {
    background: #e65c00;
}

/* Grid de Categorias */
.categorias-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
    margin: 40px 0;
}

@media (min-width: 600px) {
    .categorias-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 900px) {
    .categorias-grid {
        grid-template-columns: repeat(5, 1fr);
        /* 5 colunas para 10 itens */
    }
}

.categoria-card {
    position: relative;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    height: 250px;
    /* Altura fixa */
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.categoria-card a {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}

.categoria-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.categoria-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Cobre todo o card */
    transition: transform 0.5s;
    margin-bottom: 0;
}

.categoria-card:hover img {
    transform: scale(1.1);
}

.categoria-card h3 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px 10px;
    margin: 0;
    color: white;
    font-size: 1rem;
    text-align: center;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    z-index: 2;
    text-transform: uppercase;
    font-weight: 700;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

/* Lista de Produtos (Grid) */
.produtos-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 768px) {
    .produtos-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.produto-card {
    background: var(--white);
    padding: 20px;
    border: 1px solid #eee;
}

.produto-card.zebra {
    background: #f9f9f9;
}

.produto-header h2 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.produto-header span {
    color: #666;
    font-size: 0.9rem;
}

.sku-list {
    margin: 15px 0;
}

.sku-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 5px;
    font-size: 0.9rem;
}

.sku-circle {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1px solid #ccc;
}

.btn-whatsapp {
    display: block;
    width: 100%;
    background: #25D366;
    color: white;
    text-align: center;
    padding: 10px;
    border-radius: 4px;
    font-weight: bold;
    margin-top: 15px;
}

.btn-whatsapp:hover {
    background: #128C7E;
}

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 600px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .blog-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.post-card {
    background: white;
    border-bottom: 2px solid transparent;
}

.post-card:hover {
    border-bottom-color: var(--accent-color);
}

.post-meta {
    font-size: 0.8rem;
    color: #888;
    margin: 10px 0;
}

/* Footer */
footer {
    background: #1a1a1a;
    color: #fff;
    padding: 40px 0;
    margin-top: 60px;
    text-align: center;
}

footer a {
    color: #aaa;
}

footer a:hover {
    color: var(--white);
}

/* Forms */
.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.btn-submit {
    background: var(--accent-color);
    color: white;
    border: none;
    padding: 15px 40px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 50px;
    transition: 0.3s;
    width: 100%;
    margin-top: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-submit:hover {
    background: #e65c00;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 102, 0, 0.3);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #eee;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Open Sans', sans-serif;
    transition: 0.3s;
    background: #fdfdfd;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent-color);
    background: white;
    outline: none;
    box-shadow: 0 0 0 4px rgba(255, 102, 0, 0.1);
}

/* Video Section */
.video-section {
    padding: 60px 0;
    background: #f9f9f9;
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    background: #000;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Capa CSS estilizada (some quando o usuário clica no play do youtube, 
   na verdade o youtube fica por cima, mas podemos fazer um overlay que 
   desaparece com JS se quisermos algo muito customizado. 
   Por simplicidade e performance, o iframe do youtube já tem o play.
   
   Mas o usuário pediu "capa em css com play bonito".
   Vamos fazer um overlay que é pointer-events: none (decorativo) 
   ou que some ao clicar.
*/

.video-cover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.8) 100%);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    /* Permite clicar no youtube */
    transition: opacity 0.5s;
}

.video-wrapper:hover .video-cover {
    opacity: 0;
    /* Some ao passar o mouse para clicar no video real */
}

.btn-play-pulse {
    width: 80px;
    height: 80px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 30px;
    box-shadow: 0 0 0 0 rgba(255, 102, 0, 0.7);
    animation: pulse-orange 2s infinite;
}

.btn-play-pulse i {
    margin-left: 5px;
    /* Ajuste visual do icone play */
}

@keyframes pulse-orange {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 102, 0, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 20px rgba(255, 102, 0, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 102, 0, 0);
    }
}

/* --- BLOG STYLES --- */

/* Blog Grid */
.blog-grid-modern {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: -30px;
    /* Pull up into hero a bit? maybe not */
}

@media (min-width: 768px) {
    .blog-grid-modern {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .blog-grid-modern {
        grid-template-columns: repeat(3, 1fr);
    }
}

.blog-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: 0.3s;
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.blog-img-link {
    display: block;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.blog-img-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.blog-card:hover .blog-img-link img {
    transform: scale(1.1);
}

.blog-cat-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--accent-color);
    color: white;
    padding: 5px 10px;
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 4px;
}

.blog-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-date {
    font-size: 0.85rem;
    color: #999;
    margin-bottom: 10px;
}

.blog-title {
    font-size: 1.25rem;
    line-height: 1.4;
    margin-bottom: 15px;
    font-weight: 700;
}

.blog-title a {
    color: #333;
    transition: 0.3s;
}

.blog-title a:hover {
    color: var(--accent-color);
}

.blog-excerpt {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.6;
    flex: 1;
}

.blog-read-more {
    color: var(--accent-color);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Single Post */
.post-header-hero {
    height: 400px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-bottom: 50px;
}

.post-hero-cat {
    display: inline-block;
    background: var(--accent-color);
    padding: 5px 15px;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 20px;
    border-radius: 50px;
    font-size: 0.9rem;
}

.post-hero-title {
    font-size: 3.5rem;
    /* Big title */
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #ffffff;
    /* Explicitly set white */
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8);
    /* Stronger shadow */
}

.post-hero-meta {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
}

.post-body-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.2rem;
    line-height: 1.8;
    color: #333;
}

.post-body-content p {
    margin-bottom: 25px;
}

.post-body-content h3 {
    margin-top: 40px;
    margin-bottom: 15px;
    font-size: 1.8rem;
    color: #111;
}

.post-share {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 15px;
}

.post-share span {
    font-weight: bold;
    color: #555;
}

.post-share a {
    width: 40px;
    height: 40px;
    background: #eee;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
    transition: 0.3s;
    font-size: 1.2rem;
}

.post-share a:hover {
    background: var(--accent-color);
    color: white;
}

.btn-outline-back {
    display: inline-block;
    padding: 10px 30px;
    border: 2px solid #ddd;
    border-radius: 50px;
    color: #777;
    font-weight: bold;
    transition: 0.3s;
}

.btn-outline-back:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

/* Category Page Styles */

.category-hero {
    background: #f4f4f4;
    padding: 80px 0;
    margin-bottom: 40px;
    border-bottom: 1px solid #eee;
}

.category-hero-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 50px;
}

.cat-text {
    flex: 1;
    min-width: 300px;
}

.cat-subtitle {
    text-transform: uppercase;
    color: var(--accent-color);
    letter-spacing: 2px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.cat-title {
    font-size: 3rem;
    text-transform: uppercase;
    font-weight: 900;
    line-height: 1.1;
    color: #222;
}

.cat-title .destaque {
    color: var(--accent-color);
}

.cat-image {
    flex: 1;
    min-width: 300px;
}

.cat-image img {
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-height: 400px;
    object-fit: cover;
}

/* New Product Grid */
.products-grid-modern {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

@media (min-width: 600px) {
    .products-grid-modern {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 900px) {
    .products-grid-modern {
        grid-template-columns: repeat(3, 1fr);
        /* 3 colunas para destaque */
    }
}

.product-card-modern {
    background: white;
    border-radius: 12px;
    border: 1px solid #eee;
    padding: 20px;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
}

.product-card-modern:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-color: var(--accent-color);
}

.prod-img-box {
    height: 220px;
    overflow: hidden;
    margin-bottom: 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f9f9f9;
}

.prod-img-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: 0.3s;
}

.product-card-modern:hover .prod-img-box img {
    transform: scale(1.05);
}

.prod-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: #333;
}

.prod-sub {
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 15px;
}

/* SKU List Clean */
.clean-sku-list {
    margin-top: auto;
    /* Empurra para baixo */
    background: #f8f8f8;
    padding: 10px;
    border-radius: 6px;
    font-size: 0.85rem;
}

.clean-sku-item {
    display: flex;
    justify-content: space-between;
    padding: 4px 0;
    border-bottom: 1px dashed #e0e0e0;
}

.clean-sku-item:last-child {
    border-bottom: none;
}

.btn-whatsapp-outline {
    display: block;
    width: 100%;
    border: 2px solid #25D366;
    color: #25D366;
    text-align: center;
    padding: 12px;
    border-radius: 50px;
    font-weight: bold;
    margin-top: 20px;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: 0.3s;
}

.btn-whatsapp-outline:hover {
    background: #25D366;
    color: white;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

/* Technical Info in Cards */
.prod-tech-info {
    margin: 15px 0;
    padding: 12px;
    background: #f8f8f8;
    border-radius: 6px;
    font-size: 0.85rem;
    border: 1px solid #eee;
}

.info-item {
    display: flex;
    justify-content: space-between;
    padding: 4px 0;
    border-bottom: 1px dotted #e0e0e0;
}

.info-item:last-child {
    border-bottom: none;
}

.info-item span {
    color: #888;
    font-weight: 500;
}

.info-item div,
.info-item strong {
    color: #333;
    text-align: right;
}

.info-item.highlight {
    background: rgba(255, 102, 0, 0.05);
    margin: -4px -4px 4px -4px;
    padding: 8px;
    border-radius: 4px;
    border-bottom: 1px solid rgba(255, 102, 0, 0.1);
}

.info-item.highlight strong {
    color: var(--accent-color);
    font-size: 1rem;
}

.product-card-modern {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.btn-whatsapp-outline {
    margin-top: auto;
}