/* ===== LOCAL FONTS (elimina dependência do Google Fonts) ===== */
@font-face {
    font-family: 'Inter';
    src: url('assets/fonts/inter-300.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Inter';
    src: url('assets/fonts/inter-400.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Inter';
    src: url('assets/fonts/inter-600.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Inter';
    src: url('assets/fonts/inter-800.woff2') format('woff2');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Outfit';
    src: url('assets/fonts/outfit-500.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Outfit';
    src: url('assets/fonts/outfit-700.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* CSS Variables */
:root {
    --primary-color: #1E3A8A; /* Dark Blue */
    --primary-light: #2563EB;
    --primary-dark: #1e293b;
    --accent-color: #EAB308; /* Yellow / Gold */
    --accent-hover: #CA8A04;
    --text-color: #334155;
    --text-light: #64748b;
    --bg-color: #ffffff;
    --bg-light: #f8fafc;
    --bg-dark: #0f172a;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-main: 'Inter', sans-serif;
    --font-heading: 'Outfit', sans-serif;
}

/* Lenis Smooth Scrolling Base */
html.lenis, html.lenis body {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}
.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}
.lenis.lenis-stopped {
  overflow: hidden;
}
.lenis.lenis-scrolling iframe {
  pointer-events: none;
}

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

/* Skip Link (Acessibilidade por Teclado) */
.skip-link {
    position: absolute;
    top: -100px;
    left: 16px;
    background: var(--primary-color);
    color: #fff;
    padding: 10px 20px;
    border-radius: 0 0 8px 8px;
    font-weight: 600;
    font-size: 0.9rem;
    z-index: 99999;
    transition: top 0.2s ease;
    text-decoration: none;
}
.skip-link:focus {
    top: 0;
    outline: 3px solid var(--accent-color);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* For fixed navbar */
}

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

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

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

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

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

/* Utility Classes */
.section {
    padding: 100px 0;
}

.bg-light { background-color: var(--bg-light); }
.bg-dark { background-color: var(--bg-dark); color: white; }
.bg-dark h2, .bg-dark h3, .bg-dark h4 { color: white; }

.text-white { color: white; }

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

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.divider {
    height: 4px;
    width: 80px;
    background: var(--accent-color);
    margin: 0 auto;
    border-radius: 2px;
}

.divider.light {
    background: var(--primary-light);
}

/* Grids */
.grid-2-cols {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
}

.grid-3-cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 28px;
    font-weight: 600;
    border-radius: 4px;
    text-align: center;
    cursor: pointer;
    font-family: var(--font-heading);
    letter-spacing: 0.5px;
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -10px rgba(234, 179, 8, 0.5);
}

.btn-outline {
    border-color: white;
    color: white;
}

.btn-outline:hover {
    background-color: white;
    color: var(--primary-dark);
    transform: translateY(-2px);
}

.w-100 { width: 100%; }

/* Language Switcher */
.lang-switcher {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-left: 20px;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    padding-left: 20px;
}

.lang-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
    padding: 4px 8px;
    border-radius: 4px;
}

.lang-btn:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

.lang-btn.active {
    color: white;
    background: rgba(255, 255, 255, 0.2);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    background: rgba(15, 23, 42, 0.85); /* Dark slate blue */
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(15, 23, 42, 0.98);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    top: 10px;
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: white;
}

.logo img {
    /* Natural logo */
}

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

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-link {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    position: relative;
    transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
    color: white;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.btn-contato {
    background: var(--primary-color);
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
}

.btn-contato::after { display: none; }
.btn-contato:hover {
    background: var(--primary-light);
    color: white;
}

.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: white;
    transition: var(--transition);
}

/* 1. Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    background-color: var(--primary-dark);
    overflow: hidden;
}

.hero-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(15,23,42,0.85) 0%, rgba(15,23,42,0.4) 100%);
    z-index: 2;
}

/* Fix mobile video play button */
video {
    pointer-events: none;
}
video::-webkit-media-controls,
video::-webkit-media-controls-start-playback-button,
video::-webkit-media-controls-play-button {
    display: none !important;
    -webkit-appearance: none !important;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
}

.hero h1 {
    font-size: 4rem;
    color: white;
    margin-bottom: 24px;
}

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

.hero p {
    font-size: 1.25rem;
    color: #cbd5e1;
    margin-bottom: 40px;
    max-width: 600px;
}

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

/* 2. Sobre Nós */
.sobre-text p {
    margin-bottom: 24px;
    font-size: 1.1rem;
}

.stats {
    display: flex;
    gap: 20px;
    margin-top: 40px;
}

.stat-item {
    background-color: var(--primary-color);
    padding: 24px;
    border-radius: var(--radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    flex: 1;
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(30, 58, 138, 0.2);
}

.stat-item h3 {
    font-size: 3rem;
    color: white;
    margin-bottom: 5px;
}

.stat-item span {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    display: block;
}

/* Backgrounds Modernos para Sobre e Produtos */
#sobre {
    position: relative;
    overflow: hidden;
    background: #f8fafc;
}
#sobre::before {
    content: '';
    position: absolute;
    top: -150px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: rgba(30, 58, 138, 0.08); /* Azul suave */
    filter: blur(120px);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}
#sobre::after {
    content: '';
    position: absolute;
    bottom: -150px;
    right: -100px;
    width: 500px;
    height: 500px;
    background: rgba(234, 179, 8, 0.08); /* Amarelo/Dourado suave */
    filter: blur(120px);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}
#sobre .container {
    position: relative;
    z-index: 1;
}

/* Dot Grid (Grade de Pontos) para Produtos */
#produtos {
    position: relative;
    background-color: var(--primary-dark);
}
#produtos .section-header h2,
#produtos .section-header p {
    color: white;
}
#produtos::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.08) 2px, transparent 2px);
    background-size: 30px 30px;
    z-index: 0;
    pointer-events: none;
}
#produtos::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to bottom, var(--primary-dark) 0%, rgba(30,41,59,0) 10%, rgba(30,41,59,0) 90%, var(--primary-dark) 100%);
    z-index: 0;
    pointer-events: none;
}
#produtos .container {
    position: relative;
    z-index: 1;
}

.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.glass-card h3 {
    margin-bottom: 24px;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.segment-list {
    list-style: none;
}

.segment-list li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    font-weight: 500;
    display: flex;
    align-items: center;
}

.segment-list li::before {
    content: '→';
    color: var(--accent-color);
    margin-right: 10px;
    font-weight: bold;
}

/* 3. Produtos */
.product-card {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: var(--transition);
    border-bottom: 4px solid transparent;
}

.product-card img {
    width: 100%;
    height: auto;
    border-radius: var(--radius);
    margin-bottom: 20px;
    transition: transform 0.8s ease-in-out;
}

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

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-bottom-color: var(--accent-color);
}

.product-icon {
    font-size: 3rem;
    margin-bottom: 24px;
}

.product-card h3 {
    margin-bottom: 16px;
    font-size: 1.3rem;
}

/* 4. Serviços */
.services-section {
    position: relative;
}

.rounded-img {
    border-radius: 12px;
    object-fit: cover;
    width: 100%;
    height: 100%;
    min-height: 400px;
}

.shadow-lg {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.service-item {
    padding: 24px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.service-item:last-child {
    border-bottom: none;
}

.service-item h4 {
    font-size: 1.25rem;
    margin-bottom: 8px;
    color: var(--accent-color);
}

.service-item p {
    color: #94a3b8;
}

/* 5. Clientes */
.clients-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.client-logo {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    width: calc(33.333% - 20px);
    text-align: center;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary-dark);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 120px;
    border: 1px solid #f1f5f9;
    transition: var(--transition);
}

.client-logo.dark-bg {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.client-logo a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.client-logo img {
    max-width: 180px;
    max-height: 80px;
    object-fit: contain;
}

.client-logo:hover {
    border-color: var(--primary-light);
    transform: scale(1.05);
}

.client-logo span {
    font-size: 0.8rem;
    color: var(--text-light);
    font-weight: 400;
    margin-top: 5px;
}

/* 6. Contato */
.info-card {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    background: white;
    padding: 24px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.02);
}

.info-icon {
    font-size: 2rem;
    color: var(--primary-color);
}

.info-card h4 {
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary-dark);
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Footer */
.footer {
    background: var(--primary-dark);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 40px;
    margin-bottom: 20px;
}

.footer-logo p {
    color: #cbd5e1;
}

.footer-logo .cnpj {
    font-size: 0.85rem;
    margin-top: 5px;
}

.footer-creds {
    color: #cbd5e1;
    font-size: 0.9rem;
    text-align: right;
}

.footer-bottom {
    text-align: center;
    color: #94a3b8;
    font-size: 0.85rem;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }

/* Responsive */
@media (max-width: 992px) {
    .grid-2-cols, .grid-3-cols {
        grid-template-columns: 1fr;
    }
    
    .clients-grid {
        gap: 15px;
    }
    
    .client-logo {
        width: calc(50% - 15px);
    }
    
    .hero h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .navbar {
        top: 0;
        width: 100%;
        border-radius: 0;
        border: none;
        background: rgba(15, 23, 42, 0.95);
    }
    
    .nav-container {
        padding: 0 20px;
    }

    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(15, 23, 42, 0.98);
        flex-direction: column;
        justify-content: center;
        transition: var(--transition);
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .client-logo {
        width: 100%;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    
    .footer-creds {
        text-align: center;
    }
}
/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: var(--radius);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    z-index: 2000;
    border: 1px solid #e2e8f0;
}

.cookie-banner p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-color);
}

@media (max-width: 768px) {
    .cookie-banner {
        flex-direction: column;
        text-align: center;
    }
}
/* World Map Background */
.world-map-bg {
    position: relative;
    overflow: hidden;
}

.world-map-bg::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background-image: url('assets/world-map.svg');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.05;
    z-index: 0;
    pointer-events: none;
}

.world-map-bg .container {
    position: relative;
    z-index: 1;
}
@media (max-width: 768px) {
    .world-map-bg::before {
        background-size: cover;
        opacity: 0.12;
    }
}

/* Divider for Clientes */
#clientes { background-color: #e2e8f0; }

/* Gradient Navbar */
.navbar { background: linear-gradient(90deg, rgba(30, 58, 138, 0.5) 0%, rgba(15, 23, 42, 0.65) 100%) !important; }
.navbar.scrolled { background: linear-gradient(90deg, rgba(30, 58, 138, 0.75) 0%, rgba(15, 23, 42, 0.85) 100%) !important; }
@media (max-width: 768px) { .navbar { background: linear-gradient(90deg, rgba(30, 58, 138, 0.85) 0%, rgba(15, 23, 42, 0.9) 100%) !important; } .nav-links { background: linear-gradient(180deg, rgba(15, 23, 42, 0.95) 0%, rgba(30, 58, 138, 0.95) 100%) !important; } }

/* White plate for dark blue logo */
.logo {
    display: flex;
    align-items: center;
}
.logo img, .footer-logo img {
    height: 60px;
    width: auto;
    object-fit: contain;
    display: block;
}



/* ===== WHATSAPP FLOATING BUTTON ===== */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 9999;
    background-color: #25D366;
    color: #ffffff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: whatsapp-pulse 2.5s ease-in-out infinite;
}

.whatsapp-float:hover {
    transform: scale(1.12);
    box-shadow: 0 6px 28px rgba(37, 211, 102, 0.7);
    animation: none;
}

@keyframes whatsapp-pulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5); }
    50% { box-shadow: 0 4px 30px rgba(37, 211, 102, 0.85), 0 0 0 8px rgba(37, 211, 102, 0.12); }
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 16px;
        width: 54px;
        height: 54px;
    }
}

/* ===== FAQ SECTION ===== */
.faq-section {
    padding: 80px 0;
    background-color: var(--bg-color);
}
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}
.faq-item {
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 8px;
}
.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 20px 0;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--primary-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-heading);
    transition: color 0.3s ease;
}
.faq-question:hover {
    color: var(--primary-light);
}
.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--accent-color);
    transition: transform 0.3s ease;
}
.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}
.faq-item.active .faq-answer {
    max-height: 300px;
    padding-bottom: 20px;
}
.faq-answer p {
    color: var(--text-color);
    line-height: 1.6;
    margin: 0;
}
/* DROPDOWN MENU */
.nav-item-dropdown {
    position: relative;
    display: inline-block;
}
.nav-item-dropdown:hover > .dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border-radius: 4px;
    padding: 10px 0;
    min-width: 250px;
    list-style: none;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    margin: 0;
}
.dropdown-menu li {
    position: relative;
    list-style-type: none;
}
.dropdown-menu a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    color: var(--text-color);
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
    font-family: var(--font-main);
}
.dropdown-menu a:hover {
    background: #f8fafc;
    color: var(--primary-color);
}
.dropdown-submenu > .dropdown-menu {
    top: 0;
    left: 100%;
    transform: translateX(10px);
}
.dropdown-submenu:hover > .dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}
.dropdown-toggle::after {
    content: '\25BE'; /* Down arrow */
    margin-left: 6px;
    font-size: 0.8rem;
}
.dropdown-submenu > a::after {
    content: '\25B8'; /* Right arrow */
    margin-left: 10px;
    font-size: 0.8rem;
    color: var(--primary-color);
}
.nav-item-dropdown > a {
    cursor: pointer;
}

/* VITRINE DE PRODUTOS */
.product-filters {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}
.filter-btn {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.4);
    color: rgba(255, 255, 255, 0.9);
    padding: 8px 24px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}
.filter-btn:hover, .filter-btn.active {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: #000;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
}
.product-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}
.product-img-wrapper {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}
.product-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.product-card:hover .product-img-wrapper img {
    transform: scale(1.05);
}
.product-info {
    padding: 20px;
    text-align: center;
}
.product-info h3 {
    font-size: 1.1rem;
    color: var(--secondary-color);
    margin: 0 0 10px 0;
}
.product-category {
    font-size: 0.8rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* PRODUCT MODAL */
.product-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(5px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}
.product-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}
.product-modal {
    background: white;
    width: 90%;
    max-width: 800px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    transform: translateY(20px);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    max-height: 90vh;
}
.product-modal-overlay.active .product-modal {
    transform: translateY(0);
}
@media(min-width: 768px) {
    .product-modal {
        flex-direction: row;
    }
}
.product-modal-img {
    flex: 1;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.product-modal-img img {
    max-width: 100%;
    max-height: 300px;
    object-fit: contain;
}
.product-modal-content {
    flex: 1.5;
    padding: 30px;
    position: relative;
    overflow-y: auto;
}
.product-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #999;
    transition: color 0.2s;
}
.product-modal-close:hover {
    color: var(--primary-color);
}
.product-modal-category {
    font-size: 0.8rem;
    color: #666;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 5px;
}
.product-modal-title {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin: 0 0 15px 0;
}
.product-modal-desc {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
}
.product-modal-btn {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s;
}
.product-modal-btn:hover {
    background: var(--accent-hover);
    color: white;
}


/* MARCA D'ÁGUA PARA PRODUTOS */
.product-img-wrapper, .product-detail-img, .featured-img-wrapper {
    position: relative;
}

.featured-img-wrapper {
    display: block;
    width: 100%;
}

.product-img-wrapper::after, .product-detail-img::after, .featured-img-wrapper::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 60%;
    background-image: url('assets/logo_branca.webp');
    filter: brightness(0); /* Transforma a logo branca em preta para contrastar com fundos claros */
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.25; /* Subtle transparency */
    pointer-events: none;
    z-index: 2;
}

/* Make sure the detail page image is relative too (it was, but let's reinforce) */
.product-detail-img {
    background: #f8fafc;
    padding: 40px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    text-align: center;
    position: relative;
    overflow: hidden;
}


/* MOBILE DROPDOWN FIXES */
@media (max-width: 768px) {
    .nav-item-dropdown {
        width: 100%;
        text-align: center;
    }
    
    .dropdown-menu {
        position: relative !important;
        top: 0 !important;
        left: 0 !important;
        transform: none !important;
        box-shadow: none !important;
        background: transparent !important;
        min-width: 100% !important;
        padding: 10px 0 !important;
        margin: 0 !important;
    }
    
    .dropdown-submenu > .dropdown-menu {
        left: 0 !important;
        padding-left: 0 !important;
        margin-top: 0 !important;
    }
    
    .dropdown-menu a {
        color: rgba(255, 255, 255, 0.7) !important;
        justify-content: center !important;
        padding: 8px 20px !important;
    }
    
    .dropdown-menu a:hover {
        background: rgba(255, 255, 255, 0.1) !important;
        color: var(--accent-color) !important;
    }
    
    /* Make arrows point down instead of right for submenus on mobile */
    .dropdown-submenu > a::after {
        content: '\25BE' !important; /* Down arrow */
    }
    
    /* Optional: display submenus natively as block on hover for mobile, smoothly expanding */
    .nav-item-dropdown:hover > .dropdown-menu,
    .dropdown-submenu:hover > .dropdown-menu {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
}

.footer-content { align-items: flex-start !important; }
.integrity-links a:hover, .integrity-links button:hover { color: var(--accent-color) !important; }

/* INTEGRITY PROGRAM LAYOUT */
.integridade-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    align-items: start;
}

@media (max-width: 992px) {
    .integridade-layout {
        grid-template-columns: 1fr;
    }
}

.sidebar {
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    position: sticky;
    top: 100px;
}

.sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sidebar-menu a {
    display: block;
    padding: 12px 16px;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    border-radius: 8px;
    transition: 0.3s;
    background: transparent;
}

.sidebar-menu a:hover {
    background: #f1f5f9;
    color: var(--primary-color);
}

.sidebar-menu a.active {
    background: var(--primary-color);
    color: white;
}

.doc-viewer {
    background: #ffffff;
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.doc-content p {
    color: #475569;
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.doc-content h3 {
    color: var(--primary-dark);
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.doc-content ul {
    margin-bottom: 30px;
    padding-left: 20px;
}

.doc-content li {
    color: #475569;
    line-height: 1.7;
    margin-bottom: 10px;
}




@media (max-width: 992px) {
    .sidebar {
        text-align: center;
        padding: 20px;
        position: static; /* Disable sticky on mobile so it doesn't overlap */
        z-index: 10;
    }
    
    .sidebar-menu {
        align-items: center;
    }
    
    .sidebar-menu a {
        text-align: center;
        width: 100%;
    }
    
    .doc-viewer {
        padding: 30px 20px;
    }
    
    #int-title {
        text-align: center;
    }
}





/* MOBILE FOOTER CENTERING FIXES */
@media (max-width: 768px) {
    .footer-content {
        align-items: center !important;
        text-align: center !important;
    }
    
    .footer-logo {
        text-align: center !important;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .footer-logo img {
        margin: 0 auto 10px auto !important;
    }
    
    .footer-integrity {
        text-align: center !important;
        width: 100%;
    }
    
    .integrity-links {
        align-items: center !important;
    }
    
    .integrity-links button {
        text-align: center !important;
    }
}
