/* CSS Variables for Premium Engineering Theme */
:root {
    --primary-color: #0F3D6E;
    /* Deep trustworthy blue */
    --primary-dark: #0A294C;
    --primary-light: #1A5A9E;
    --accent-color: #D4AF37;
    /* Gold accent for premium feel */
    --whatsapp-color: #25D366;
    --whatsapp-dark: #1EBB58;

    --text-main: #333333;
    --text-muted: #666666;
    --text-light: #F5F7FA;
    
    --bg-main: #F7F9FC; /* Cinza bem claro, quase branco */
    --bg-alt: #FFFFFF;
    --bg-card: #FFFFFF;
    --bg-dark: #121820;

    --border-radius-sm: 8px;
    --border-radius-md: 12px;
    --border-radius-lg: 24px;

    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);

    --font-primary: 'Inter', sans-serif;
    --font-heading: 'Outfit', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

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

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

.text-center {
    text-align: center;
}

.mt-3 {
    margin-top: 1rem;
}

.mt-4 {
    margin-top: 1.5rem;
}

.mt-5 {
    margin-top: 3rem;
}

.w-100 {
    width: 100%;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-family: var(--font-primary);
    font-size: 1rem;
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

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

.btn-whatsapp:hover {
    background-color: var(--whatsapp-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.btn-whatsapp-outline {
    background-color: transparent;
    color: white;
    border: 2px solid var(--whatsapp-color);
}

.btn-whatsapp-outline:hover {
    background-color: var(--whatsapp-color);
}

.btn-whatsapp-sm {
    background-color: var(--whatsapp-color);
    color: white;
    padding: 10px 16px;
    font-size: 0.9rem;
}

.btn-whatsapp-sm:hover {
    background-color: var(--whatsapp-dark);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

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

/* Headings */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--primary-dark);
    line-height: 1.2;
}

/* Header */
.main-header {
    background-color: var(--bg-card);
    position: sticky;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.main-header.transparent-header {
    background-color: transparent;
    position: absolute; /* Coloca o header dentro/por cima da imagem */
    box-shadow: none;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    padding-bottom: 15px;
}

.logo a {
    display: flex;
    flex-direction: column;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-dark);
    letter-spacing: -0.5px;
}

.main-header.transparent-header .logo h1 {
    color: #FFFFFF; /* Branco para destacar na foto */
}

.logo h1 span {
    color: var(--accent-color);
}

.logo .subtitle {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.main-header.transparent-header .logo .subtitle {
    color: rgba(255, 255, 255, 0.8);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
}

/* Navigation */
.main-nav {
    background-color: transparent;
}

.nav-list {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 20px 0;
}

.nav-list a {
    font-weight: 500;
    color: var(--text-main);
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    position: relative;
}

.main-header.transparent-header .nav-list a {
    color: #FFFFFF; /* Links brancos como na referência */
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-list a:hover {
    color: var(--accent-color);
}

.nav-list a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    height: 80vh;
    min-height: 600px;
    position: relative;
    overflow: hidden;
}

.hero-slider,
.slide {
    width: 100%;
    height: 100%;
}

.slide {
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.hero-content {
    color: white;
    max-width: 800px;
    text-align: left; /* Alinhado à esquerda como solicitado */
    padding-left: 20px;
}

.hero-content h2 {
    color: white;
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    line-height: 1.1;
}

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

/* Mega Categories (3 fotos grandes) */
.mega-categories {
    width: 100%;
    margin: 80px 0;
}

.mega-grid {
    display: flex;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    height: 600px;
    gap: 20px;
    padding: 0 20px;
}

.mega-card {
    flex: 1;
    position: relative;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    overflow: hidden;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
}

.mega-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.35); /* Película escura sobre as fotos */
    transition: background 0.4s ease;
}

.mega-card:hover .mega-overlay {
    background: rgba(0, 0, 0, 0.6);
}

.mega-card h3 {
    position: relative;
    color: #FFFFFF;
    font-size: 3rem;
    font-weight: 800;
    text-align: center;
    z-index: 2;
    text-transform: uppercase;
    font-family: var(--font-heading);
    letter-spacing: 1px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    transition: transform 0.4s ease;
}

.mega-card:hover h3 {
    transform: scale(1.05);
}

/* Features Banner */
.features-banner {
    background-color: var(--bg-dark);
    color: white;
    padding: 40px 0;
    margin: 60px 0 0 0;
}

.features-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
}

.feature-box {
    display: flex;
    align-items: center;
    gap: 15px;
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
}

.feature-text h3 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 5px;
    font-weight: 600;
}

.feature-text p {
    color: var(--text-light);
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Section Titles */
.section-subtitle {
    color: var(--accent-color);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

/* About Section */
.about-section {
    padding: 80px 0;
    background-color: var(--bg-main);
}

.about-container {
    display: flex;
    align-items: center;
    gap: 0;
    flex-direction: column;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.about-text p {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.about-text strong {
    color: var(--text-main);
}

.about-btn {
    background-color: #6A7987; /* Cor do botão na referência */
    color: white;
    padding: 12px 30px;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 30px;
    transition: background 0.3s ease;
    text-transform: uppercase;
    font-size: 0.95rem;
}

.about-btn:hover {
    background-color: #53606C;
    color: white;
}

.about-image {
    position: relative;
    border-radius: var(--border-radius-lg);
}

.about-image .main-img {
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background-color: var(--primary-color);
    color: white;
    padding: 30px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: var(--shadow-md);
    border-left: 5px solid var(--accent-color);
}

.experience-badge .number {
    font-size: 3rem;
    font-weight: 800;
    font-family: var(--font-heading);
    line-height: 1;
}

.experience-badge .text {
    font-weight: 600;
    line-height: 1.2;
}

.about-text p {
    margin-bottom: 15px;
    color: var(--text-muted);
}

.about-list {
    margin-top: 25px;
}

.about-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--primary-dark);
}

.about-list i {
    color: var(--accent-color);
    font-size: 1.2rem;
}

/* Showcase / Portfolio Section */
.showcase-section {
    padding: 80px 0;
    background-color: var(--bg-alt);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.product-card {
    background-color: var(--bg-card);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.product-img {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.product-card:hover .product-img img {
    transform: scale(1.05);
}

.product-badges {
    position: absolute;
    top: 15px;
    left: 15px;
    display: flex;
    gap: 8px;
}

.product-badges .badge {
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: white;
}

.badge.new {
    background-color: var(--primary-light);
}

.badge.sale {
    background-color: #E74C3C;
}

.product-info {
    padding: 25px;
}

.product-category {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    display: block;
    margin-bottom: 5px;
}

.product-info h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.product-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Footer Element */
.site-footer {
    background-color: var(--bg-dark);
    color: var(--text-light);
    padding-top: 80px;
}

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

.footer-logo h3 {
    color: white;
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.footer-desc {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 25px;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.8);
}

.contact-info i {
    color: var(--accent-color);
    margin-top: 5px;
}

.widget-title {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--accent-color);
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: 0.3s;
}

.footer-links a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}

.social-icons a:hover {
    background-color: var(--accent-color);
    color: var(--bg-dark);
    transform: translateY(-3px);
}

.payment-icons {
    display: flex;
    gap: 10px;
    font-size: 1.8rem;
    color: rgba(255, 255, 255, 0.7);
}

.security-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(255, 255, 255, 0.05);
    padding: 10px 15px;
    border-radius: 6px;
    color: var(--whatsapp-color);
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom {
    background-color: #0A0D12;
    padding: 20px 0;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content h2 {
        font-size: 3rem;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .header-actions .btn-whatsapp {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: white;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }

    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        padding: 20px 0;
    }

    .hero-content h2 {
        font-size: 2.5rem;
    }

    .about-container {
        grid-template-columns: 1fr;
    }

    .experience-badge {
        bottom: 20px;
        right: 20px;
        padding: 15px;
    }

    .categories-grid {
        justify-content: center;
    }

    .category-item {
        width: calc(33.333% - 15px);
    }
}

@media (max-width: 576px) {
    .footer-grid { grid-template-columns: 1fr; }
    .category-item { width: calc(50% - 15px); }
    .hero-content h2 { font-size: 2rem; }
    
    .features-container {
        flex-direction: column;
        align-items: flex-start;
        padding: 0 20px;
    }
}

/* Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }