/* Reset e Variáveis */
:root {
    --primary-color: #ff9800;
    --primary-dark: #f57c00;
    --secondary-color: #ffb74d;
    --accent-color: #ffcc80;
    --text-primary: #ffffff;
    --text-secondary: #ffffff;
    --bg-primary: #000000;
    --bg-secondary: #111111;
    --bg-dark: #000000;
    --border-color: #333333;
    --success-color: #10b981;
    --error-color: #ef4444;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    line-height: 1.6;
    overflow-x: hidden;
    color: #ffffff;
}

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

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 800;
    color: #ff9800;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.nav-brand:hover {
    opacity: 0.8;
}

.nav-brand i {
    font-size: 1.8rem;
}

.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: #ffffff;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #ff9800;
}

.nav-link.btn-primary {
    background: linear-gradient(135deg, #ff9800, #ffb74d);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.nav-link.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: white;
}

/* Dropdown Menu */
.nav-dropdown {
    position: relative;
}

.nav-dropdown .nav-link,
.nav-dropdown .dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: inherit;
}

.nav-dropdown .dropdown-trigger:hover {
    color: #ff9800;
}

.nav-dropdown .nav-link i,
.nav-dropdown .dropdown-trigger i {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #000000;
    min-width: 220px;
    box-shadow: var(--shadow-lg);
    border-radius: 8px;
    list-style: none;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown.active .nav-link i,
.nav-dropdown:hover .nav-link i {
    transform: rotate(180deg);
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 400;
}

.dropdown-menu a:hover {
    background: var(--bg-secondary);
    color: #ff9800;
    padding-left: 2rem;
}

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

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 0 20px; /* Reduzido significativamente */
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #000000 0%, #111111 100%);
    z-index: -1;
}

.circuit-loader {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0.3;
}

.circuit-loader svg {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
}

/* Circuit loader styles */
.trace-bg {
    stroke: #ffb74d;
    stroke-width: 1.8;
    fill: none;
}

.trace-flow {
    stroke-width: 1.8;
    fill: none;
    stroke-dasharray: 40 400;
    stroke-dashoffset: 438;
    filter: drop-shadow(0 0 6px currentColor);
    animation: flow 3s cubic-bezier(0.5, 0, 0.9, 1) infinite;
}

.trace-flow.yellow {
    stroke: #ff9800;
    color: #ff9800;
    animation-delay: 0s;
}

.trace-flow.blue {
    stroke: #00ccff;
    color: #00ccff;
    animation-delay: 0.5s;
}

.trace-flow.green {
    stroke: #00ff15;
    color: #00ff15;
    animation-delay: 1s;
}

.trace-flow.purple {
    stroke: #9900ff;
    color: #9900ff;
    animation-delay: 0.2s;
}

.trace-flow.red {
    stroke: #ff9800;
    color: #ff9800;
    animation-delay: 1.5s;
}

@keyframes flow {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

.hero-content {
    text-align: center;
    color: white;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    padding-top: 1rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    margin-top: 2rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 0.5rem; /* Reduzido de 1rem para 0.5rem */
    animation: fadeInUp 0.8s ease;
}

.gradient-text {
    background: linear-gradient(120deg, #fff, #f0f0f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
    animation: fadeInUp 1.2s ease;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    animation: fadeInUp 1.4s ease;
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

.scroll-indicator {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-indicator i {
    font-size: 2rem;
    color: white;
    opacity: 0.7;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, #ff9800, #ffb74d);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

/* Sections */
section {
    padding: 3rem 0; /* Reduzido de 5rem para 3rem */
}

.section-header {
    text-align: center;
    margin-bottom: 2rem; /* Reduzido de 3rem para 2rem */
}

.section-badge {
    display: inline-block;
    background: linear-gradient(135deg, #ff9800, #ffb74d);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: #ffffff;
}

.section-description {
    font-size: 1.1rem;
    color: #ffffff;
    max-width: 600px;
    margin: 0 auto;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.service-card {
    background: #000000;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    cursor: default;
    color: #ffffff;
}

.service-card-link:hover .service-card,
.service-card:hover {
    transform: none;
    box-shadow: none;
}

.service-image {
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    background: linear-gradient(135deg, #ff9800, #ffb74d);
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover .service-image img {
    transform: none;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 1.5rem 1.5rem 0.75rem;
    color: #ffffff;
}

.service-card p {
    color: #ffffff;
    margin: 0 1.5rem 1.5rem;
    line-height: 1.6;
}

.service-features {
    list-style: none;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.service-features i {
    color: var(--success-color);
}

/* Features */
.features {
    background: var(--bg-secondary);
    color: #ffffff;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-item {
    text-align: center;
    padding: 2rem;
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #ff9800, #ffb74d);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.feature-icon i {
    font-size: 2rem;
    color: white;
}

.feature-item h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.feature-item p {
    color: #ffffff;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #ff9800, #ffb74d);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #000000, #111111);
    color: white;
    padding: 3rem 0 2rem; /* Reduzido de 8rem/4rem para 3rem/2rem */
    text-align: center;
    margin-top: 0; /* Removido margin-top de 70px */
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.about-text p {
    color: #ffffff;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.about-features {
    margin-top: 2rem;
}

.about-feature {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.about-feature i {
    font-size: 2rem;
    color: #ff9800;
    flex-shrink: 0;
}

.about-feature h4 {
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.about-feature p {
    color: #ffffff;
    font-size: 1rem;
}

.about-image {
    position: relative;
}

.image-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #ff9800, #ffb74d);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.image-placeholder video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    pointer-events: none;
}

.image-placeholder video::-webkit-media-controls {
    display: none !important;
}

.image-placeholder video::-webkit-media-controls-enclosure {
    display: none !important;
}

.image-placeholder video::-webkit-media-controls-panel {
    display: none !important;
}

.image-placeholder i {
    font-size: 8rem;
    color: white;
    opacity: 0.3;
}

/* Values */
.values-section {
    background: var(--bg-secondary);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.value-card {
    background: #000000;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    color: #ffffff;
}

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

.value-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #ff9800, #ffb74d);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.value-icon i {
    font-size: 2rem;
    color: white;
}

.value-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.value-card p {
    color: #ffffff;
}

/* Services Detailed */
.services-detailed {
    padding: 4rem 0;
}

.services-category {
    background: #000000;
    border-radius: 20px;
    padding: 3rem;
    margin-bottom: 3rem;
    box-shadow: var(--shadow-lg);
    color: #ffffff;
}

.category-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--border-color);
}

.category-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ff9800, #ffb74d);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-icon i {
    font-size: 2.5rem;
    color: white;
}

.category-header h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.category-header p {
    color: #ffffff;
}

.services-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.service-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.service-item i {
    color: var(--success-color);
    font-size: 1.5rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.service-item h4 {
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.service-item p {
    color: #ffffff;
}

.services-cta {
    text-align: center;
    padding: 3rem;
    background: linear-gradient(135deg, #ff9800, #ffb74d);
    border-radius: 20px;
    color: white;
}

.services-cta h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.services-cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Professional Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    align-items: start;
    margin-top: 2rem;
}

.contact-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: #111;
    padding: 1.5rem;
    border-radius: 15px;
    border: 1px solid #222;
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateX(10px);
    border-color: var(--primary-color);
    background: #151515;
}

.card-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.card-icon i {
    font-size: 1.5rem;
    color: white;
}

.card-body h4 {
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
    color: var(--primary-color);
}

.card-body p {
    font-size: 1rem;
    color: white;
    font-weight: 500;
}

.card-hint {
    font-size: 0.8rem;
    color: #888;
    display: block;
    margin-top: 0.2rem;
}

.contact-main-action {
    height: 100%;
}

.action-box {
    position: relative;
    background: linear-gradient(135deg, #0a0a0a, #111);
    padding: 3rem;
    border-radius: 25px;
    border: 1px solid #222;
    text-align: center;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: var(--shadow-xl);
}

.action-bg-icon {
    position: absolute;
    top: -20px;
    right: -20px;
    font-size: 12rem;
    color: rgba(37, 211, 102, 0.05);
    transform: rotate(-15deg);
    pointer-events: none;
}

.action-box h3 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: white;
}

.action-box p {
    font-size: 1.2rem;
    color: #ccc;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.btn-whatsapp-main {
    background: #25d366 !important;
    border: none;
    font-size: 1.3rem;
    padding: 1.5rem 2.5rem;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3);
    width: 100%;
    justify-content: center;
}

.btn-whatsapp-main:hover {
    background: #20ba5a !important;
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.4);
}

.hours-badge {
    margin-top: 2rem;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 1.5rem;
    background: rgba(255, 152, 0, 0.1);
    border: 1px solid rgba(255, 152, 0, 0.2);
    border-radius: 50px;
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 600;
    justify-content: center;
}

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .action-box {
        padding: 2rem;
    }
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: white;
    padding: 4rem 0 2rem;
    margin-top: 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.footer-section h3 {
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-section > a:first-child {
    display: inline-block;
    transition: opacity 0.3s ease;
    text-decoration: none;
}

.footer-section > a:first-child:hover {
    opacity: 0.8;
}

.footer-logo {
    height: 60px;
    width: auto;
    object-fit: contain;
    margin-bottom: 1.5rem;
    filter: brightness(0) invert(1);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: white;
}

.footer-section ul li i {
    margin-right: 0;
    color: var(--primary-color);
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

.map-container iframe {
    border: 0;
}

/* Flash Messages */
.flash-messages {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 2000;
    max-width: 400px;
}

.flash-message {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: #000000;
    border-radius: 10px;
    box-shadow: var(--shadow-xl);
    margin-bottom: 1rem;
    animation: slideIn 0.3s ease;
    color: #ffffff;
}

.flash-message.flash-success {
    border-left: 4px solid var(--success-color);
}

.flash-message.flash-error {
    border-left: 4px solid var(--error-color);
}

.flash-message i {
    font-size: 1.5rem;
}

.flash-message.flash-success i {
    color: var(--success-color);
}

.flash-message.flash-error i {
    color: var(--error-color);
}

.flash-message span {
    flex: 1;
}

.flash-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.flash-close:hover {
    color: var(--text-primary);
}

@keyframes slideIn {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Botão Flutuante WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 30px;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    text-decoration: none;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
    background: #20ba5a;
}

.whatsapp-float i {
    font-size: 32px;
}

@keyframes pulse {
    0% {
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.6);
    }
    100% {
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 15px;
        right: 15px;
        font-size: 28px;
    }
    
    .whatsapp-float i {
        font-size: 28px;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background: white;
        width: 100%;
        padding: 2rem;
        box-shadow: var(--shadow-lg);
        transition: left 0.3s ease;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    /* Mobile dropdown menu - override desktop hover behavior */
    .nav-dropdown:hover .dropdown-menu {
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
    }

    .nav-dropdown .dropdown-menu {
        position: static !important;
        transform: none !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        background: var(--bg-secondary);
        padding: 0.5rem 0;
        margin: 0.5rem 0 0 1rem;
        border-radius: 8px;
        display: none;
        min-width: auto;
        max-width: 100%;
        z-index: 1001;
    }

    .nav-dropdown.active .dropdown-menu {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .nav-dropdown .nav-link,
    .nav-dropdown .dropdown-trigger {
        cursor: pointer;
        user-select: none;
    }

    .nav-dropdown.active .nav-link i,
    .nav-dropdown.active .dropdown-trigger i {
        transform: rotate(180deg);
    }
    
    .dropdown-menu li {
        width: 100%;
        display: block;
    }
    
    .dropdown-menu a {
        width: 100%;
        display: block;
        padding: 0.75rem 1rem;
    }

    .hero {
        padding: 80px 0 40px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-description {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        margin-bottom: 1.5rem;
    }

    .hero-stats {
        gap: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

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

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .contact-form-wrapper {
        padding: 2rem;
    }

    .services-grid,
    .features-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }

    .services-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.75rem;
    }
}

/* Hero Slider */
.hero-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    z-index: 10;
    background: #000;
}

.slider-container {
    position: relative;
    width: 100%;
    display: block;
}

.slider-wrapper {
    display: flex;
    width: 100%;
    position: relative;
}

.slide {
    position: relative;
    width: 100%;
    flex-shrink: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: none;
}

.slide.active {
    opacity: 1;
    display: block;
}

.slide-image {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide-image img {
    width: 100%;
    height: auto;
    display: block;
}

.slider-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 20;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
}

.indicator.active {
    background: #ff9800;
}

@media (max-width: 768px) {
    .slide-image img {
        object-fit: contain;
    }
}

/* Why Choose Section */
.why-choose-section {
    padding: 3rem 0; /* Reduzido de 5rem para 3rem */
    background: #111;
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.why-choose-item {
    text-align: center;
    padding: 2rem;
    background: #000;
    border-radius: 20px;
    transition: transform 0.3s ease;
}

.why-choose-item:hover {
    transform: translateY(-10px);
}

.why-choose-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ff9800, #ffb74d);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.why-choose-icon i {
    font-size: 1.5rem;
    color: white;
}

.why-choose-item h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #ff9800;
}

/* Brands Section */
.brands-section {
    padding: 3rem 0;
    background: #000;
    overflow: hidden;
}

.brands-slider {
    width: 100%;
    padding: 2rem 0;
    position: relative;
}

.brands-track {
    display: flex;
    gap: 3rem;
    align-items: center;
    width: max-content;
    animation: scroll 60s linear infinite;
}

.brands-track img {
    height: 50px;
    width: auto;
    object-fit: contain;
    opacity: 0.8;
    transition: all 0.3s ease;

    filter: brightness(0) invert(1);
}

.brands-track img:hover {
    opacity: 1;
    transform: scale(1.1);
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Milestones */
.milestones-section {
    padding: 1rem 0; /* Reduzido de 3rem para 1rem */
    background: #000;
}

.milestones-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: center;
}

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

.milestone-image img {
    max-width: 100%;
    height: auto;
    max-height: 100px;
    object-fit: contain;
}

@media (max-width: 768px) {
    .milestones-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .brands-track {
        gap: 2rem;
        animation: scroll 30s linear infinite;
    }
    
    .brands-track img {
        height: 40px;
    }
    
    .milestone-image img {
        max-height: 80px;
    }
}

/* Garantir que todas as imagens do site tenham comportamento controlado */
img {
    max-width: 100%;
    height: auto;
}

/* Reparos Realizados */
.reparos-realizados-section {
    padding: 3rem 0; /* Reduzido de 5rem para 3rem */
    background: #000;
}

.reparos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.reparo-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
}

.reparo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.reparo-item:hover img {
    transform: scale(1.1);
}

/* Vídeos Section */
.videos-section {
    padding: 3rem 0; /* Reduzido de 5rem para 3rem */
    background: #111;
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.video-item {
    background: #000;
    border-radius: 15px;
    overflow: hidden;
    padding-bottom: 1.5rem;
}

.video-thumbnail {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    background: #222;
}

.video-item h3 {
    padding: 1rem 1.5rem 0;
    font-size: 1.2rem;
    font-weight: 700;
}

/* Popup Reparo */
.reparo-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    padding: 2rem;
    align-items: center;
    justify-content: center;
}

.reparo-popup-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.reparo-popup-img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 10px;
}

.reparo-popup-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 2rem;
    cursor: pointer;
}

/* Garantir que textos sejam brancos em fundos pretos */
body, 
section,
.container,
.service-card,
.value-card,
.services-category,
.contact-form-wrapper {
    color: #ffffff;
}

h1, h2, h3, h4, h5, h6,
p, span, div, li, td, th {
    color: #ffffff;
}


