/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #dd0c37;
    --primary-dark: #b00a2d;
    --primary-light: #e63950;
    --white: #ffffff;
    --gray-light: #f5f5f5;
    --gray: #e0e0e0;
    --gray-medium: #999999;
    --gray-dark: #666666;
    --text-dark: #333333;
    --text-light: #666666;
    --border-color: #e0e0e0;
    --shadow: rgba(0, 0, 0, 0.1);
    --shadow-hover: rgba(221, 12, 55, 0.15);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

/* Smooth scroll com velocidade controlada */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
    
    * {
        scroll-behavior: inherit;
    }
}

body {
    font-family: 'Inter', 'Poppins', sans-serif;
    background-color: #fafafa;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    font-size: 16px;
    position: relative;
    min-height: 100vh;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Dark Mode */
body.dark-mode {
    background-color: #1a1a1a;
    color: #e0e0e0;
}

body.dark-mode .navbar {
    background-color: rgba(26, 26, 26, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

body.dark-mode .about,
body.dark-mode .services {
    background-color: rgba(30, 30, 30, 0.85);
}

body.dark-mode .products,
body.dark-mode .contact {
    background-color: rgba(25, 25, 25, 0.7);
}

body.dark-mode .about-card,
body.dark-mode .product-card,
body.dark-mode .service-card,
body.dark-mode .info-card,
body.dark-mode .contact-intro,
body.dark-mode .contact-form {
    background: rgba(35, 35, 35, 0.95);
    border-color: rgba(255, 255, 255, 0.1);
    color: #e0e0e0;
}

body.dark-mode .section-title,
body.dark-mode h3 {
    color: #f0f0f0;
}

body.dark-mode .section-description,
body.dark-mode p,
body.dark-mode .text-light {
    color: #b0b0b0;
}

body.dark-mode .cookie-banner {
    background: rgba(35, 35, 35, 0.98);
    border-top-color: var(--primary-color);
}

body.dark-mode .map-container {
    filter: brightness(0.8) contrast(1.2);
}

body.dark-mode .section-tag {
    background: rgba(221, 12, 55, 0.2);
    border-color: rgba(221, 12, 55, 0.3);
}

body.dark-mode .form-group label {
    color: #f0f0f0;
}

/* Manter texto do hero branco no modo dark */
body.dark-mode .hero-content,
body.dark-mode .hero-prefix,
body.dark-mode .hero-title,
body.dark-mode .hero-description {
    color: var(--white) !important;
}

body.dark-mode .hero-prefix {
    color: rgba(255, 255, 255, 0.95) !important;
}

body.dark-mode .hero-description {
    color: rgba(255, 255, 255, 0.9) !important;
}

body.dark-mode .form-group input,
body.dark-mode .form-group textarea {
    background: var(--white);
    border-color: var(--border-color);
    color: var(--text-dark);
}

body.dark-mode .form-group input::placeholder,
body.dark-mode .form-group textarea::placeholder {
    color: var(--gray-medium);
}

body.dark-mode .nav-link {
    color: #e0e0e0;
}

body.dark-mode .nav-link:hover,
body.dark-mode .nav-link.active {
    color: var(--primary-color);
}

body.dark-mode .footer {
    background: #0f0f0f;
}

body.dark-mode .social-link {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .ouvidoria-popup {
    background: rgba(35, 35, 35, 0.98);
    color: #e0e0e0;
}

body.dark-mode .ouvidoria-form .form-group label {
    color: #f0f0f0;
}

body.dark-mode .ouvidoria-form textarea {
    background: var(--white);
    border-color: var(--border-color);
    color: var(--text-dark);
}

body::before,
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

body::before {
    background: 
        radial-gradient(circle 800px at 15% 25%, rgba(221, 12, 55, 0.18) 0%, transparent 50%),
        radial-gradient(circle 900px at 85% 75%, rgba(221, 12, 55, 0.15) 0%, transparent 50%),
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 40px,
            rgba(0, 0, 0, 0.06) 40px,
            rgba(0, 0, 0, 0.06) 41px
        ),
        repeating-linear-gradient(
            -45deg,
            transparent,
            transparent 40px,
            rgba(0, 0, 0, 0.05) 40px,
            rgba(0, 0, 0, 0.05) 41px
        ),
        linear-gradient(135deg, rgba(250, 250, 250, 0.5) 0%, rgba(255, 255, 255, 0.85) 100%);
    opacity: 1;
    z-index: -1;
}

body::after {
    background: 
        linear-gradient(180deg, rgba(221, 12, 55, 0.06) 0%, transparent 30%),
        linear-gradient(0deg, rgba(221, 12, 55, 0.06) 0%, transparent 30%),
        radial-gradient(ellipse 200% 100% at 50% 0%, rgba(221, 12, 55, 0.08) 0%, transparent 70%);
    opacity: 1;
    z-index: -1;
}

/* Garantir que elementos do body fiquem acima do background */
section {
    position: relative;
    z-index: 1;
}

.navbar {
    position: relative;
    z-index: 1;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.footer {
    position: relative;
    z-index: 1;
    background-color: var(--text-dark);
}

.products {
    background-color: rgba(245, 245, 245, 0.7);
}

.about,
.services {
    background-color: rgba(255, 255, 255, 0.85);
}

.contact {
    background-color: rgba(245, 245, 245, 0.7);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 2px 10px var(--shadow);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 0.75rem 0;
    box-shadow: 0 4px 20px var(--shadow);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
    margin-left: 0;
}

.logo {
    display: flex;
    align-items: center;
    height: 50px;
    flex-shrink: 0;
}

.logo-nav {
    max-height: 50px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
    margin-left: auto;
    margin-right: 1.5rem;
}

.nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-ouvidoria {
    background: transparent;
    color: var(--text-dark) !important;
    padding: 0;
    border-radius: 0;
    text-transform: uppercase;
}

.btn-ouvidoria:hover {
    background: transparent;
    color: var(--primary-color) !important;
}

body.dark-mode .btn-ouvidoria {
    color: #e0e0e0 !important;
}

body.dark-mode .btn-ouvidoria:hover {
    color: var(--primary-color) !important;
}

.btn-ouvidoria::after {
    display: block;
}

/* Botão Área do Cliente */
.btn-cliente {
    background: transparent;
    color: var(--text-dark) !important;
    padding: 0;
    border-radius: 0;
    text-transform: uppercase;
}

.btn-cliente:hover {
    background: transparent;
    color: var(--primary-color) !important;
}

body.dark-mode .btn-cliente {
    color: #e0e0e0 !important;
}

body.dark-mode .btn-cliente:hover {
    color: var(--primary-color) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 5px;
    padding: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Hero Section with Video */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
    background: #000;
}

.hero-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background: #000;
    /* Removido will-change e transform para melhor performance do vídeo */
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    min-height: 100vh;
    /* Vídeo sem transformações para melhor performance */
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.6) 100%);
    z-index: 1;
    transition: opacity 0.1s ease-out;
    will-change: opacity;
}

.hero-content {
    text-align: center;
    z-index: 2;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate3d(-50%, -50%, 0);
    color: var(--white);
    max-width: 700px;
    width: 90%;
    padding: 0;
    box-sizing: border-box;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    margin: 0 auto;
    will-change: transform;
}

.hero-content.loaded {
    opacity: 1;
}

.hero-prefix {
    font-size: 1.3rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 0.75rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
    text-align: center;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate(-50%, calc(-50% + 30px));
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

.hero-logo {
    margin-bottom: 1.5rem;
    display: block;
    text-align: center;
}

.logo-main {
    max-width: 300px;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(3px 3px 8px rgba(0, 0, 0, 0.5));
}

.hero-description {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 auto 2.5rem;
    font-weight: 300;
    line-height: 1.7;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4);
    max-width: 600px;
    text-align: center;
    display: block;
}

.hero-cta {
    display: inline-block;
    color: var(--white);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 300;
    letter-spacing: 3px;
    text-transform: uppercase;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    position: relative;
    padding-bottom: 0.5rem;
}

.hero-cta::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 1px;
    background: var(--white);
    transition: width 0.3s ease;
}

.hero-cta:hover {
    opacity: 0.8;
}

.hero-cta:hover::after {
    width: 100%;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.btn {
    padding: 0.75rem 2rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(221, 12, 55, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--white);
    animation: bounce 2s infinite;
    z-index: 2;
    cursor: pointer;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

/* Section Styles */
section {
    padding: 5rem 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(221, 12, 55, 0.1);
    border: 1px solid rgba(221, 12, 55, 0.2);
    border-radius: 4px;
    color: var(--primary-color);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.section-description {
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

/* About Section */
.about {
    background: rgba(255, 255, 255, 0.85);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.about-text {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-text p {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.about-card {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px var(--shadow);
    backdrop-filter: blur(5px);
}

.about-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px var(--shadow-hover);
}

.card-icon {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.about-card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* Stats Section */
.stats {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle 600px at 20% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle 700px at 80% 70%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
    z-index: 0;
}

.stats::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 100px,
        rgba(255, 255, 255, 0.03) 100px,
        rgba(255, 255, 255, 0.03) 101px
    );
    animation: statsPattern 20s linear infinite;
    z-index: 0;
}

@keyframes statsPattern {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(100px, 100px);
    }
}

.stats .container {
    position: relative;
    z-index: 1;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    text-align: center;
}

.stat-card {
    padding: 3rem 2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.stat-card:hover::before {
    left: 100%;
}

.stat-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.stat-icon {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    color: rgba(255, 255, 255, 0.9);
    opacity: 0.9;
}

.stat-icon svg {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.stat-number-wrapper {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.15rem;
    margin-bottom: 0.75rem;
    flex-wrap: nowrap;
    min-height: 5rem;
    align-items: flex-end;
}

.stat-number {
    font-family: 'Poppins', sans-serif;
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1;
    color: var(--white);
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    letter-spacing: -2px;
    display: inline-block;
    min-width: 1.2em;
    text-align: right;
}

.stat-suffix {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    line-height: 1;
    display: inline-block;
    margin-left: 0.1rem;
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    line-height: 1.4;
}

@media (max-width: 968px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .stat-card:last-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .stats {
        padding: 4rem 0;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .stat-card:last-child {
        grid-column: 1;
    }

    .stat-card {
        padding: 2.5rem 2rem;
    }

    .stat-number {
        font-size: 3.5rem;
    }

    .stat-suffix {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .stats {
        padding: 3rem 0;
    }

    .stat-card {
        padding: 2rem 1.5rem;
    }

    .stat-number {
        font-size: 3rem;
    }

    .stat-suffix {
        font-size: 1.75rem;
    }

    .stat-label {
        font-size: 0.9rem;
        letter-spacing: 1px;
    }
}

/* Products Section */
.products {
    background: rgba(245, 245, 245, 0.7);
}

.products-carousel-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 60px;
}

.products-carousel {
    overflow: hidden;
    position: relative;
}

.products-track {
    display: flex;
    gap: 2rem;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.products-carousel .product-card {
    flex: 0 0 calc(33.333% - 1.33rem);
    min-width: 0;
    max-width: calc(33.333% - 1.33rem);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    color: var(--text-dark);
    box-shadow: 0 2px 10px var(--shadow);
}

.carousel-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 15px var(--shadow-hover);
}

.carousel-btn-prev {
    left: 0;
}

.carousel-btn-next {
    right: 0;
}

.carousel-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.carousel-btn:disabled:hover {
    background: var(--white);
    border-color: var(--border-color);
    color: var(--text-dark);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.product-card {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px var(--shadow);
    backdrop-filter: blur(5px);
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.product-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px var(--shadow-hover);
}

.product-image {
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    height: 100px;
}

.product-logo {
    max-width: 80px;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.product-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.product-card > p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.product-features {
    list-style: none;
    text-align: left;
    flex: 1;
    margin-bottom: 1rem;
}

.product-features li {
    color: var(--text-light);
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.6;
}

.product-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.product-card {
    display: flex;
    flex-direction: column;
}

.btn-quote {
    display: inline-block;
    margin-top: auto;
    padding: 0.5rem 1.2rem;
    background: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color);
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

.btn-quote:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(221, 12, 55, 0.3);
}

/* Services Section */
.services {
    background: rgba(255, 255, 255, 0.85);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px var(--shadow);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(5px);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px var(--shadow-hover);
}

.service-icon {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.service-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.service-card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* Contact Section */
.contact {
    background: rgba(245, 245, 245, 0.7);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    margin-top: 3rem;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-intro {
    margin-bottom: 2rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(5px);
}

.contact-intro h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.contact-intro p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1rem;
}

.info-card {
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(5px);
}

.info-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: var(--primary-color);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.info-card:hover::before {
    transform: scaleY(1);
}

.info-card:hover {
    border-color: var(--primary-color);
    transform: translateX(8px);
    box-shadow: 0 8px 25px rgba(221, 12, 55, 0.15);
}

.info-icon {
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.info-card > h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}


.info-card p {
    color: var(--text-light);
    line-height: 1.8;
}

.contact-form-wrapper {
    position: sticky;
    top: 100px;
}

.contact-form {
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 3rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.contact-form:hover {
    box-shadow: 0 8px 30px rgba(221, 12, 55, 0.1);
    border-color: rgba(221, 12, 55, 0.2);
}

.contact-form h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    color: var(--text-dark);
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(221, 12, 55, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-medium);
}

.btn-submit {
    width: 100%;
    margin-top: 1rem;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
}

.footer-section h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-section .logo {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    height: auto;
}

.logo-footer {
    max-height: 60px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-size: 0.95rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--primary-color);
}

.footer-section ul li {
    color: rgba(255, 255, 255, 0.8);
}

.social-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-link {
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.social-link:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-wrapper {
        gap: 1rem;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        padding: 2rem;
        transition: left 0.3s ease;
        box-shadow: 0 4px 20px var(--shadow);
        gap: 1rem;
        justify-content: flex-start;
    }

    body.dark-mode .nav-menu {
        background: rgba(30, 30, 30, 0.98);
    }

    .nav-menu.active {
        left: 0;
    }


    .hero-content {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 90%;
        max-width: 100%;
    }

    .hero-prefix {
        font-size: 0.95rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-description {
        font-size: 0.9rem;
        max-width: 100%;
        margin-bottom: 2rem;
    }

    .hero-cta {
        font-size: 0.8rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .section-title {
        font-size: 2rem;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .contact-form-wrapper {
        position: static;
    }

    .about-grid,
    .products-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }

    .map-container {
        height: 300px;
        min-height: 300px;
        width: 100%;
        display: block;
        position: relative;
        z-index: 1;
    }

    .map-container iframe {
        width: 100% !important;
        height: 300px !important;
        min-height: 300px !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: relative;
        z-index: 1;
    }

    .map-card {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        height: auto;
        min-height: 300px;
        padding: 0 !important;
        overflow: visible !important;
    }

    .info-card.map-card {
        opacity: 1 !important;
        transform: none !important;
    }

    .products-carousel-wrapper {
        padding: 0 20px;
    }

    .products-carousel .product-card {
        flex: 0 0 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    .products-track {
        gap: 1.5rem;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
    }

    .carousel-btn-prev {
        left: 5px;
    }

    .carousel-btn-next {
        right: 5px;
    }

    .about-content {
        gap: 2rem;
    }
}

/* Ouvidoria Popup */
.ouvidoria-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ouvidoria-overlay.active {
    display: flex;
    opacity: 1;
}

.ouvidoria-popup {
    background: var(--white);
    border-radius: 8px;
    padding: 2.5rem;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.ouvidoria-overlay.active .ouvidoria-popup {
    transform: scale(1);
}

.ouvidoria-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-light);
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    line-height: 1;
}

.ouvidoria-close:hover {
    background: var(--gray-light);
    color: var(--primary-color);
}

.ouvidoria-header {
    margin-bottom: 2rem;
    padding-right: 2rem;
}

.ouvidoria-header h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.ouvidoria-header p {
    color: var(--text-light);
    line-height: 1.6;
}

.ouvidoria-form {
    margin-top: 1.5rem;
}

.ouvidoria-form .form-group {
    margin-bottom: 1.5rem;
}

.ouvidoria-form .form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
}

.ouvidoria-form textarea {
    width: 100%;
    padding: 1rem;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    color: var(--text-dark);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    resize: vertical;
    min-height: 150px;
}

.ouvidoria-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(221, 12, 55, 0.1);
}

.ouvidoria-form textarea::placeholder {
    color: var(--gray-medium);
}

.ouvidoria-note {
    display: flex;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(221, 12, 55, 0.05);
    border-left: 3px solid var(--primary-color);
    border-radius: 4px;
    margin-bottom: 1.5rem;
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
}

.ouvidoria-note svg {
    color: var(--primary-color);
    flex-shrink: 0;
    margin-top: 2px;
}

.ouvidoria-form .btn {
    width: 100%;
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .container {
        padding: 0 15px;
    }

    section {
        padding: 3rem 0;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .ouvidoria-popup {
        padding: 1.5rem;
    }

    .ouvidoria-header h2 {
        font-size: 1.5rem;
    }

    .products-carousel-wrapper {
        padding: 0 15px;
    }

    .whatsapp-button {
        width: 50px;
        height: 50px;
        bottom: 15px;
        right: 15px;
    }

    .whatsapp-button svg {
        width: 24px;
        height: 24px;
    }
}

/* Map Container */
.map-card {
    padding: 0;
    overflow: hidden;
}

/* Garantir que o mapa seja sempre visível no mobile */
@media (max-width: 768px) {
    .info-card.map-card {
        opacity: 1 !important;
        transform: translateY(0) !important;
        overflow: visible !important;
    }
}

.map-container {
    width: 100%;
    height: 300px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    min-height: 300px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
    min-height: 300px;
    pointer-events: auto;
    position: relative;
    z-index: 1;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(221, 12, 55, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(221, 12, 55, 0.4);
}

body.cookie-banner-active .back-to-top {
    bottom: 150px;
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        left: 20px;
        width: 45px;
        height: 45px;
    }

    body.cookie-banner-active .back-to-top {
        bottom: 140px;
    }
}

/* Dark Mode Toggle na Navbar */
.dark-mode-toggle {
    width: 40px;
    height: 40px;
    background: transparent;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    position: relative;
    overflow: hidden;
}

.dark-mode-toggle::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.dark-mode-toggle:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.dark-mode-toggle:hover::before {
    opacity: 0.1;
}

.dark-mode-toggle svg {
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.dark-mode-toggle .icon-moon {
    display: none;
    color: var(--text-dark);
}

.dark-mode-toggle .icon-sun {
    display: block;
    color: var(--text-dark);
}

.dark-mode-toggle:hover .icon-sun,
.dark-mode-toggle:hover .icon-moon {
    color: var(--primary-color);
    transform: rotate(15deg);
}

body.dark-mode .dark-mode-toggle {
    border-color: rgba(255, 255, 255, 0.2);
}

body.dark-mode .dark-mode-toggle .icon-sun {
    display: none;
}

body.dark-mode .dark-mode-toggle .icon-moon {
    display: block;
    color: #e0e0e0;
}

body.dark-mode .dark-mode-toggle:hover .icon-moon {
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .dark-mode-toggle {
        width: 36px;
        height: 36px;
    }

    .nav-actions {
        gap: 0.75rem;
    }
}


/* Smooth animations for cards */
.about-card,
.product-card,
.service-card,
.info-card {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.about-card.visible,
.product-card.visible,
.service-card.visible,
.info-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* WhatsApp Button */
.whatsapp-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 10001;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    animation: pulse 2s infinite;
}

.whatsapp-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

/* Quando o banner de cookies está ativo, move o WhatsApp mais perto da barra */
body.cookie-banner-active .whatsapp-button {
    bottom: 120px;
    transform: scale(0.95);
}

@media (max-width: 768px) {
    .whatsapp-button {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
    }

    body.cookie-banner-active .whatsapp-button {
        bottom: 240px;
    }

    .cookie-banner {
        padding: 1.25rem 1.5rem;
        min-height: 110px;
    }
}

.whatsapp-button svg {
    width: 32px;
    height: 32px;
    fill: white;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 30px rgba(37, 211, 102, 0.7);
    }
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    padding: 1.5rem 2rem;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    z-index: 10000;
    display: none;
    border-top: 3px solid var(--primary-color);
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
    opacity: 0;
}

.cookie-banner.active {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
    transform: translateY(0);
    opacity: 1;
}

.cookie-content {
    flex: 1;
    min-width: 250px;
}

.cookie-content p {
    color: var(--text-dark);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.cookie-content a {
    color: var(--primary-color);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cookie-btn-accept {
    background: var(--primary-color);
    color: var(--white);
}

.cookie-btn-accept:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(221, 12, 55, 0.3);
}

.cookie-btn-decline {
    background: transparent;
    color: var(--text-dark);
    border: 2px solid var(--border-color);
}

.cookie-btn-decline:hover {
    border-color: var(--text-dark);
    background: var(--gray-light);
}

/* Corrigir botão Recusar no modo dark */
body.dark-mode .cookie-btn-decline {
    color: #f0f0f0 !important;
    border-color: rgba(255, 255, 255, 0.3);
}

body.dark-mode .cookie-btn-decline:hover {
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff !important;
}

@media (max-width: 768px) {
    .cookie-banner {
        padding: 1.25rem 1.5rem;
        flex-direction: column;
        align-items: stretch;
    }

    .cookie-content {
        margin-bottom: 0.5rem;
    }

    .cookie-buttons {
        width: 100%;
    }

    .cookie-btn {
        flex: 1;
        min-width: 120px;
    }
}
