/* 
   Wutec Máquinas - CSS Principal
   Moderno, Limpo e Corporativo
*/

:root {
    --primary: #C51D23; /* Vermelho Wutec */
    --primary-dark: #A1181D;
    --dark: #1A1A1A;
    --gray: #F5F5F5;
    --gray-dark: #333333;
    --text: #444444;
    --white: #FFFFFF;
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--white);
}

h1, h2, h3, h4, .brand-name {
    font-family: 'Outfit', sans-serif;
    color: var(--dark);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.container-large {
    max-width: 1400px;
}

/* HEADER */
.main-header {
    background: var(--white);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-name {
    font-size: 24px;
    letter-spacing: -0.5px;
}

.brand-name span {
    color: var(--primary);
}

.main-nav ul {
    display: flex;
    gap: 30px;
}

.main-nav ul li a {
    font-weight: 500;
    font-size: 15px;
    color: var(--gray-dark);
}

.main-nav ul li a:hover, .main-nav ul li a.active {
    color: var(--primary);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.lang-selector {
    font-size: 12px;
    font-weight: 600;
    color: #999;
}

.lang-selector span.active {
    color: var(--dark);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-toggle span {
    width: 25px;
    height: 2px;
    background: var(--dark);
}

/* HERO */
.hero {
    position: relative;
    height: 80vh;
    min-height: 500px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: var(--white);
}

.hero::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.3));
}

.hero .container {
    position: relative;
    z-index: 10;
    max-width: 800px;
    margin-left: 5%;
}

.hero-subtitle {
    display: block;
    color: var(--primary);
    text-transform: uppercase;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.hero h1 {
    font-size: 64px;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 20px;
}

.hero h1 span {
    color: var(--primary);
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.btn {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.hero-actions {
    display: flex;
    gap: 15px;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-outline {
    background: rgba(255,255,255,0.1);
    color: var(--white);
    border: 1px solid var(--white);
    backdrop-filter: blur(5px);
}

/* HOME SECTIONS */
.section-padding {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.section-title .divider {
    width: 60px;
    height: 4px;
    background: var(--primary);
    margin: 0 auto;
}

/* CATEGORIES */
.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.category-card {
    position: relative;
    height: 400px;
    overflow: hidden;
    border-radius: 8px;
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.category-card .overlay {
    position: absolute;
    bottom: 0; left: 0; width: 100%;
    padding: 30px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: var(--white);
}

.category-card:hover img {
    transform: scale(1.1);
}

/* CTA BLOCK */
.cta-block {
    background: var(--dark);
    color: var(--white);
    text-align: center;
    padding: 80px 0;
}

.cta-block h2 {
    color: var(--white);
    font-size: 42px;
    margin-bottom: 20px;
}

/* FOOTER */
.main-footer {
    background: #FAFAFA;
    padding: 80px 0 20px;
    border-top: 1px solid #EEE;
}

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

.footer-title {
    font-size: 18px;
    margin-bottom: 25px;
}

.footer-col ul li {
    margin-bottom: 12px;
}

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

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-newsletter-form {
    display: flex;
}

.footer-newsletter-form input {
    flex: 1;
    padding: 12px;
    border: 1px solid #DDD;
    border-right: none;
}

.footer-newsletter-form button {
    background: var(--dark);
    color: var(--white);
    padding: 0 20px;
    border: none;
    cursor: pointer;
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid #EEE;
    font-size: 13px;
    color: #999;
}

#whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    z-index: 999;
}

/* RESPONSIVIDADE */
@media (max-width: 992px) {
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--white);
        z-index: 1001;
        padding: 100px 30px;
        transition: var(--transition);
        box-shadow: -5px 0 20px rgba(0,0,0,0.1);
    }
    
    .main-nav.nav-active {
        right: 0;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 25px;
    }

    .main-nav ul li a {
        font-size: 18px;
        display: block;
    }

    .mobile-toggle {
        display: flex;
        z-index: 1002;
        transition: var(--transition);
    }

    /* Animação do Hamburger */
    .mobile-toggle.toggle-active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    .mobile-toggle.toggle-active span:nth-child(2) {
        opacity: 0;
    }
    .mobile-toggle.toggle-active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .hero h1 {
        font-size: 48px;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
        max-width: 400px;
    }

    .hero-actions .btn {
        width: 100%;
        text-align: center;
    }

    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .hero h1 {
        font-size: 36px;
    }
    .header-right .lang-selector {
        display: none;
    }
    .category-grid {
        grid-template-columns: 1fr;
    }
}
