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

:root {
    --primary-color: #10b981;
    --primary-dark: #059669;
    --primary-light: #34d399;
    --secondary-color: #6b7280;
    --accent-color: #22c55e;
    --accent-dark: #16a34a;
    --text-dark: #111827;
    --text-light: #6b7280;
    --text-white: #ffffff;
    --bg-dark: #0f172a;
    --bg-darker: #020617;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --bg-card: #1e293b;
    --bg-card-light: #334155;
    --border-color: #374151;
    --border-light: #e5e7eb;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.4);
    --shadow-green: 0 10px 15px -3px rgba(16, 185, 129, 0.3);
    --gradient: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    --gradient-primary: linear-gradient(135deg, #10b981 0%, #22c55e 100%);
    --gradient-dark: linear-gradient(135deg, #020617 0%, #0f172a 100%);
    --gradient-card: linear-gradient(135deg, #1e293b 0%, #334155 100%);
}

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

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

/* Navegação Lateral */
.side-nav {
    position: fixed;
    left: 0;
    top: 0;
    width: 80px;
    height: 100vh;
    background: var(--bg-card);
    border-right: 1px solid var(--border-color);
    z-index: 1000;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
}

.side-nav:hover,
.side-nav.expanded {
    width: 250px;
}

.nav-logo {
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.logo {
    height: 25px;
    width: auto;
    transition: all 0.3s ease;
    opacity: 0.7;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.side-nav:hover .logo,
.side-nav.expanded .logo {
    height: 30px;
    opacity: 1;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.4));
}

.logo-text {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    opacity: 0;
    white-space: nowrap;
    transition: opacity 0.3s ease;
}

.side-nav:hover .logo-text,
.side-nav.expanded .logo-text {
    opacity: 1;
}

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

.nav-item {
    width: 100%;
}

.nav-link {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    text-decoration: none;
    color: var(--text-light);
    transition: all 0.3s ease;
    position: relative;
    border-radius: 0 25px 25px 0;
    margin-right: 20px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
    background: rgba(16, 185, 129, 0.1);
}

.nav-link i {
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
    margin-right: 15px;
}

.nav-link span {
    opacity: 0;
    transition: opacity 0.3s ease;
    white-space: nowrap;
}

.side-nav:hover .nav-link span,
.side-nav.expanded .nav-link span {
    opacity: 1;
}

.nav-toggle {
    position: absolute;
    top: 20px;
    right: -15px;
    width: 30px;
    height: 30px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-toggle:hover {
    transform: scale(1.1);
}

.bar {
    width: 12px;
    height: 2px;
    background: white;
    margin: 1px 0;
    transition: 0.3s;
}

.nav-toggle.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(3px, 3px);
}

.nav-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(3px, -3px);
}

.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Esconder overlay em mobile */
@media (max-width: 768px) {
    .nav-overlay {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
    }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--gradient-dark);
    position: relative;
    overflow: hidden;
    margin-left: 80px;
    padding: 0 40px;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(16, 185, 129, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(34, 197, 94, 0.1) 0%, transparent 50%),
        linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
}

/* Partículas de fundo */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.particle:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.particle:nth-child(2) {
    top: 60%;
    left: 20%;
    animation-delay: 2s;
}

.particle:nth-child(3) {
    top: 30%;
    left: 80%;
    animation-delay: 4s;
}

.particle:nth-child(4) {
    top: 80%;
    left: 70%;
    animation-delay: 1s;
}

.particle:nth-child(5) {
    top: 50%;
    left: 50%;
    animation-delay: 3s;
}

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

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
    position: relative;
    z-index: 2;
}

.hero-text {
    animation: slideInLeft 1s ease-out;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 2rem;
    color: var(--text-white);
}

.hero-logo {
    max-width: 100%;
    height: auto;
    max-height: 320px;
    width: auto;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.4));
    transition: all 0.3s ease;
    animation: logoGlow 3s ease-in-out infinite alternate;
}

.hero-logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 12px 24px rgba(16, 185, 129, 0.3));
    animation-play-state: paused;
}

.hero-title .highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
}

.hero-title .subtitle {
    color: var(--text-light);
    font-size: 2.5rem;
    font-weight: 300;
}

.hero-description {
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    line-height: 1.6;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out 0.5s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-green);
    position: relative;
    z-index: 1350;
}

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

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
    backdrop-filter: blur(10px);
}

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

/* Cards flutuantes */
.floating-cards {
    position: relative;
    animation: slideInRight 1s ease-out;
    height: 400px;
    width: 100%;
}

.floating-card {
    position: absolute;
    background: var(--gradient-card);
    padding: 15px 20px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    animation: floatCard 3s ease-in-out infinite;
    z-index: 10;
}

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

.floating-card i {
    font-size: 1.2rem;
    color: var(--primary-color);
}

.floating-card span {
    color: var(--text-white);
    font-weight: 500;
    font-size: 0.9rem;
    white-space: nowrap;
}

.card-1 {
    top: 15%;
    right: 2%;
    animation-delay: 0s;
}

.card-2 {
    top: 45%;
    right: 15%;
    animation-delay: 1s;
}

.card-3 {
    top: 75%;
    right: 5%;
    animation-delay: 2s;
}

@keyframes floatCard {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
}


/* Sections */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about {
    padding: 100px 0;
    background: var(--bg-dark);
    position: relative;
    margin-left: 80px;
}

.about-container {
    position: relative;
    padding: 0 40px;
}

/* Seção diagonal */
.diagonal-section {
    position: relative;
    background: var(--gradient-card);
    clip-path: polygon(0 0, 100% 0, 85% 100%, 0 100%);
    padding: 80px 60px;
    margin-bottom: 60px;
}

.diagonal-content {
    max-width: 600px;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.title-line {
    display: block;
    color: var(--text-white);
}

.title-line.highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-description {
    font-size: 1.2rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* Stats flutuantes */
.stats-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    position: relative;
}

.stat-card {
    background: var(--gradient-card);
    padding: 30px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

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

.stat-content {
    text-align: left;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
}

/* Animações específicas para stats */
.stat-1 {
    animation: slideInUp 0.8s ease-out;
}

.stat-2 {
    animation: slideInUp 0.8s ease-out 0.2s both;
}

.stat-3 {
    animation: slideInUp 0.8s ease-out 0.4s both;
}

/* Services Section */
.services {
    padding: 100px 0;
    background: var(--bg-card);
    position: relative;
    margin-left: 80px;
}

.services-container {
    padding: 0 40px;
}

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

.services-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.title-main {
    color: var(--text-white);
}

.title-highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.services-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
}

/* Grid assimétrico */
.services-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 30px;
    height: 600px;
}

.service-card {
    background: var(--gradient-card);
    border-radius: 25px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    padding: 40px;
}

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

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover::before {
    opacity: 1;
}

.main-card {
    grid-row: 1 / 3;
    background: var(--gradient-card);
    border: 2px solid var(--primary-color);
    box-shadow: var(--shadow-green);
}

.small-card {
    background: var(--bg-card-light);
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.service-badge {
    background: var(--gradient-primary);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.card-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 15px;
}

.main-card .card-content h3 {
    font-size: 2rem;
}

.card-content p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
}

.service-features {
    list-style: none;
    margin-bottom: 30px;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: var(--text-light);
}

.service-features i {
    color: var(--primary-color);
    font-size: 0.9rem;
}

/* Features Section */
.features {
    padding: 100px 0;
    background: var(--bg-dark);
    position: relative;
    margin-left: 80px;
}

.features-container {
    padding: 0 40px;
}

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

.features-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.features-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
}

/* Timeline interativa */
.features-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.features-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--gradient-primary);
    transform: translateX(-50%);
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 60px;
    display: flex;
    align-items: center;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 50%;
    border: 4px solid var(--bg-dark);
    z-index: 2;
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-dot {
    transform: translate(-50%, -50%) scale(1.5);
    background: var(--primary-light);
}

.timeline-content {
    width: 45%;
    padding: 0 30px;
}

.timeline-item:nth-child(odd) .timeline-content {
    text-align: right;
}

.timeline-item:nth-child(even) .timeline-content {
    text-align: left;
}

.feature-card {
    background: var(--gradient-card);
    padding: 30px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.timeline-item:nth-child(odd) .feature-icon {
    margin-left: auto;
    margin-right: 0;
}

.timeline-item:nth-child(even) .feature-icon {
    margin-left: 0;
    margin-right: auto;
}

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

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Partners Section */
.partners {
    padding: 100px 0;
    background: var(--bg-card);
    position: relative;
    margin-left: 80px;
}

.partners-container {
    padding: 0 40px;
}

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

.partners-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.title-main {
    color: var(--text-white);
}

.title-highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.partners-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
}

.partners-logos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    align-items: center;
    justify-items: center;
}

.partner-logo {
    background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-card-light) 70%);
    padding: 20px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
    width: 180px;
}

.partner-logo:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
    background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-card-light) 60%, rgba(16, 185, 129, 0.12) 100%);
}

.partner-img {
    max-width: 100%;
    max-height: 60px;
    width: auto;
    height: auto;
    filter: grayscale(100%) brightness(0.9);
    transition: all 0.3s ease;
}

.partner-logo:hover .partner-img {
    filter: grayscale(0%) brightness(1);
    transform: scale(1.1);
}

/* Units Section */
.units {
    padding: 100px 0;
    background: var(--bg-dark);
    position: relative;
    margin-left: 80px;
}

.units-container {
    padding: 0 40px;
}

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

.units-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.units-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
}

.units-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
    transition: all 0.3s ease;
}

.units-grid.collapsed {
    max-height: 200px;
    overflow: hidden;
}

.unit-card {
    background: var(--gradient-card);
    padding: 15px 20px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-height: 60px;
    display: flex;
    align-items: center;
}

.unit-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.unit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.unit-card:hover::before {
    opacity: 1;
}

.unit-location {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-white);
    font-weight: 500;
    width: 100%;
}

.unit-location i {
    color: var(--primary-color);
    font-size: 1rem;
    flex-shrink: 0;
}

.unit-location span {
    font-size: 0.9rem;
    line-height: 1.3;
}

/* Botão de expandir */
.units-expand-container {
    text-align: center;
    margin-top: 40px;
}

.units-expand-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-green);
}

.units-expand-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.expand-icon {
    transition: transform 0.3s ease;
}

.units-expand-btn.expanded .expand-icon {
    transform: rotate(180deg);
}

/* Video Demo Section */
.video-demo {
    padding: 100px 0;
    background: var(--bg-dark);
    position: relative;
    margin-left: 80px;
}

.video-container {
    padding: 0 40px;
}

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

.video-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.video-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
}

.video-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: start;
}

.video-player {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: var(--gradient-card);
    border: 1px solid var(--border-color);
}

.video-thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

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

.video-player:hover .thumbnail-image {
    transform: scale(1.05);
}

.video-placeholder {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3));
}

.video-placeholder:hover {
    transform: scale(1.02);
}

.play-button {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.video-placeholder:hover .play-button {
    transform: scale(1.1);
    background: white;
}

.video-overlay {
    position: absolute;
    bottom: 30px;
    left: 30px;
    right: 30px;
    text-align: center;
    color: white;
}

.video-overlay h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.video-overlay p {
    font-size: 1rem;
    opacity: 0.9;
}

.video-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.video-feature {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: var(--gradient-card);
    border-radius: 15px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.video-feature:hover {
    transform: translateX(10px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
    flex-shrink: 0;
}

.feature-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 5px;
}

.feature-content p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
}

/* Video Carousel Section */
.video-carousel {
    padding: 100px 0;
    background: var(--bg-card);
    position: relative;
    margin-left: 80px;
}

.carousel-container {
    padding: 0 40px;
}

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

.carousel-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.carousel-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
}

.carousel-wrapper {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-item {
    min-width: 100%;
    position: relative;
    height: 600px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-dark);
}

.carousel-item video {
    height: 100%;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    display: block;
}

.carousel-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 40px 30px 30px;
    color: white;
}

.carousel-overlay h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(16, 185, 129, 0.9);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
}

.carousel-btn:hover {
    background: var(--primary-color);
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

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

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

.dot.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

.dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: var(--bg-card);
    position: relative;
    margin-left: 80px;
    z-index: 30;
    overflow: visible;
    min-height: 100vh;
}

.contact-container {
    padding: 0 40px;
}

/* Seção diagonal invertida */
.contact-diagonal {
    position: relative;
    background: transparent;
    padding: 80px 60px;
    min-height: 600px;
    z-index: 0;
}

.contact-diagonal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-dark);
    clip-path: polygon(0 0, 100% 0, 100% 90%, 10% 100%);
    z-index: 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    position: relative;
    z-index: 2;
}

.contact-info {
    padding-right: 40px;
}

.contact-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.contact-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 40px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: rgba(30, 41, 59, 0.5);
    border-radius: 15px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.contact-method:hover {
    background: rgba(16, 185, 129, 0.1);
    transform: translateX(10px);
}

.method-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

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

.method-info h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 5px;
}

.method-info p {
    color: var(--text-light);
}

.contact-form-container {
    background: var(--gradient-card);
    padding: 40px;
    border-radius: 25px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 1000;
    margin-top: 20px;
    transform: translateZ(0);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
    z-index: 1100;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1200;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid var(--border-color);
    border-radius: 15px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
    background: rgba(30, 41, 59, 0.95);
    color: var(--text-white);
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 1300;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-light);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
    background: rgba(30, 41, 59, 1);
    z-index: 1400;
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-group.focused input,
.form-group.focused select,
.form-group.focused textarea {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
    width: fit-content;
    margin-top: 10px;
}

/* Footer */
.footer {
    background: var(--bg-darker);
    color: white;
    padding: 60px 0 20px;
    border-top: 1px solid var(--border-color);
    margin-left: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
    padding: 0 40px;
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    height: 40px;
    width: auto;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: #94a3b8;
    line-height: 1.6;
}

.footer-links h4,
.footer-social h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

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

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

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

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    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(--accent-color);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #374151;
    color: #94a3b8;
    padding-left: 40px;
    padding-right: 40px;
}

.footer-bottom p {
    margin-bottom: 0.5rem;
}

.footer-bottom a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: var(--primary-light);
    text-decoration: underline;
}

/* Animations */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

@keyframes pulseRing {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }
    100% {
        transform: scale(1.2);
        opacity: 0;
    }
}

/* Esconder botão toggle em desktop e mobile */
.nav-toggle {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .side-nav {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
    }
    
    
    /* Ajustar seções para não ficarem atrás do menu */
    .hero,
    .about,
    .services,
    .features,
    .video-demo,
    .video-carousel,
    .contact {
        margin-left: 0 !important;
        padding-left: 20px;
        padding-right: 20px;
        padding-top: 20px;
    }
    
    .hero {
        padding-top: 100px; /* Extra padding para o menu */
        margin-left: 0 !important;
    }
    
    .footer {
        margin-left: 0 !important;
        padding: 40px 20px 20px 20px;
    }

    .hero {
        margin-left: 0;
        padding: 80px 20px 40px;
        min-height: 100vh;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-logo {
        max-height: 200px;
        width: auto;
    }

    .hero-description {
        font-size: 1.1rem;
        margin-bottom: 2rem;
        padding: 0 10px;
    }

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 0.95rem;
        min-width: 200px;
    }

    .about,
    .services,
    .features,
    .video-demo,
    .video-carousel,
    .contact,
    .footer {
        margin-left: 0;
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .about {
        padding: 60px 0;
    }
    
    .about-container {
        padding: 0;
    }
    
    .diagonal-section {
        clip-path: none;
        padding: 40px 20px;
        margin-bottom: 40px;
    }
    
    .section-title {
        font-size: 2.2rem;
        margin-bottom: 1.5rem;
    }
    
    .about-description {
        font-size: 1.1rem;
        line-height: 1.6;
    }
    
    .stats-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .stat-card {
        padding: 25px 20px;
    }
    
    .services {
        padding: 60px 0;
    }
    
    .services-container {
        padding: 0;
    }
    
    .services-title {
        font-size: 2.2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        height: auto;
    }
    
    .service-card {
        padding: 25px 20px;
    }
    
    .main-card {
        grid-row: auto;
    }
    
    .features {
        padding: 60px 0;
    }
    
    .features-container {
        padding: 0;
    }
    
    .features-title {
        font-size: 2.2rem;
    }
    
    .features-timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        flex-direction: column !important;
        align-items: flex-start;
        padding-left: 50px;
        margin-bottom: 40px;
    }
    
    .timeline-dot {
        left: 20px;
    }
    
    .timeline-content {
        width: 100%;
        text-align: left !important;
        padding: 0;
    }
    
    .timeline-item:nth-child(odd) .feature-icon,
    .timeline-item:nth-child(even) .feature-icon {
        margin: 0 0 20px 0;
    }
    
    .feature-card {
        padding: 25px 20px;
    }
    
    .video-demo {
        padding: 60px 0;
    }
    
    .video-container {
        padding: 0;
    }
    
    .video-title {
        font-size: 2.2rem;
    }
    
    .video-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .video-features {
        order: -1;
    }
    
    .video-feature {
        padding: 15px;
    }
    
    .video-carousel {
        padding: 60px 0;
    }
    
    .carousel-container {
        padding: 0;
    }
    
    .carousel-title {
        font-size: 2.2rem;
    }
    
    .carousel-item {
        height: 500px;
    }
    
    .carousel-item video {
        width: 100%;
        height: 100%;
        object-fit: contain;
        border-radius: 12px;
    }
    
    .carousel-btn {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .prev-btn {
        left: 15px;
    }
    
    .next-btn {
        right: 15px;
    }
    
    .contact {
        padding: 60px 0;
    }
    
    .contact-container {
        padding: 0;
    }
    
    .contact-title {
        font-size: 2.2rem;
    }
    
    .contact-diagonal {
        clip-path: none;
        padding: 40px 20px;
        min-height: auto;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-info {
        padding-right: 0;
    }
    
    .contact-method {
        padding: 15px;
    }
    
    .contact-form-container {
        padding: 25px 20px;
        margin-top: 0;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 12px 15px;
        font-size: 0.95rem;
    }
    
    .footer {
        margin-left: 0;
        padding: 40px 0 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        padding: 0;
        align-items: center;
    }
    
    .footer-brand {
        max-width: 100%;
        text-align: center;
        margin: 0 auto;
    }
    
    .footer-logo {
        display: block;
        margin: 0 auto 1rem auto;
        height: 50px;
    }
    
    .footer-brand p {
        text-align: center;
        margin: 0 auto;
        max-width: 300px;
    }
    
    .footer-social {
        text-align: center;
        margin: 0 auto;
    }
    
    .social-links {
        justify-content: center;
        margin: 0 auto;
    }
    
    .footer-links {
        text-align: center;
        margin: 0 auto;
    }
    
    .footer-links ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    
    .footer-links li {
        margin-bottom: 0;
    }
    
    .footer-bottom {
        padding-left: 0;
        padding-right: 0;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .nav-toggle {
        width: 45px;
        height: 45px;
        top: 15px;
        left: 15px;
    }
    
    .side-nav {
        width: 260px;
    }
    
    .side-nav {
        width: 95%;
        max-width: 350px;
    }
    
    .nav-link {
        padding: 12px 20px;
        min-height: 55px;
    }
    
    .nav-link i {
        font-size: 1.1rem;
        margin-right: 12px;
        margin-bottom: 0;
    }
    
    .nav-link span {
        font-size: 0.9rem;
        margin-top: 0;
    }
    
    .nav-toggle {
        width: 45px;
        height: 45px;
        top: 15px;
        right: 15px;
    }
    
    .nav-toggle .bar {
        width: 18px;
        height: 2px;
    }
    
    .nav-toggle:not(.active) .bar:nth-child(1) {
        width: 10px;
    }
    
    .nav-toggle:not(.active) .bar:nth-child(2) {
        width: 14px;
    }
    
    .nav-toggle:not(.active) .bar:nth-child(3) {
        width: 10px;
    }
    
    .hero {
        padding-top: 90px;
    }

    .hero {
        padding: 70px 15px 30px;
    }
    
    /* Ajustes adicionais para o footer em telas pequenas */
    .footer-brand p {
        font-size: 0.9rem;
        line-height: 1.5;
        max-width: 280px;
    }
    
    .footer-logo {
        height: 45px;
    }
    
    .footer-links ul {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .social-links a {
        width: 45px;
        height: 45px;
    }
    
    .social-links a i {
        font-size: 1.1rem;
    }
    
    .hero-title {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    
    .hero-logo {
        max-height: 160px;
    }

    .hero-description {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        padding: 0 5px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
        min-width: 180px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    
    .floating-cards {
        display: none;
    }
    
    .section-title,
    .services-title,
    .features-title,
    .video-title,
    .carousel-title,
    .contact-title {
        font-size: 1.8rem;
    }
    
    .about,
    .services,
    .features,
    .video-demo,
    .video-carousel,
    .contact {
        padding: 50px 0;
    }
    
    .diagonal-section,
    .contact-diagonal {
        padding: 30px 15px;
    }
    
    .stat-card,
    .service-card,
    .feature-card {
        padding: 20px 15px;
    }
    
    .contact-form-container {
        padding: 20px 15px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 10px 12px;
        font-size: 0.9rem;
    }
    
    .carousel-item {
        height: 450px;
    }
    
    .carousel-item video {
        width: 100%;
        height: 100%;
        object-fit: contain;
        border-radius: 8px;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .prev-btn {
        left: 10px;
    }
    
    .next-btn {
        right: 10px;
    }
    
    .carousel-dots {
        bottom: 15px;
    }
    
    .dot {
        width: 14px;
        height: 14px;
        min-width: 14px;
        min-height: 14px;
    }
    
    .whatsapp-float {
        bottom: 15px;
        right: 15px;
    }
    
    .whatsapp-float a {
        width: 50px;
        height: 50px;
    }
    
    .whatsapp-float a i {
        font-size: 22px;
    }
    
    .floating-notification {
        font-size: 0.8rem;
        padding: 10px 15px;
        max-width: 180px;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Melhorias gerais para mobile */
@media (max-width: 768px) {
    
    
    /* Melhorar performance de scroll */
    * {
        -webkit-overflow-scrolling: touch;
    }
    
    /* Prevenir zoom em inputs */
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    select,
    textarea {
        font-size: 16px;
    }
    
    /* Melhorar área de toque */
    .btn,
    .nav-link,
    .carousel-btn,
    .dot {
        min-height: 44px;
        min-width: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Otimizar animações para mobile */
    .floating-card,
    .stat-card,
    .service-card,
    .feature-card {
        will-change: transform;
    }
    
    /* Units responsive */
    .units {
        padding: 60px 0;
        margin-left: 0 !important;
        padding-top: 20px;
    }
    
    .units-container {
        padding: 0 20px;
    }
    
    .units-title {
        font-size: 2.5rem;
    }
    
    .units-subtitle {
        font-size: 1rem;
    }
    
    .units-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .units-grid.collapsed {
        max-height: 200px;
    }
    
    .unit-card {
        padding: 12px 15px;
        min-height: 45px;
    }
    
    .unit-location {
        gap: 8px;
    }
    
    .unit-location i {
        font-size: 0.9rem;
    }
    
    .unit-location span {
        font-size: 0.85rem;
    }
    
    .units-expand-btn {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
    
    /* Melhorar legibilidade */
    body {
        -webkit-text-size-adjust: 100%;
        text-size-adjust: 100%;
    }
    
    /* Ajustes específicos para vídeos em mobile */
    .carousel-item {
        min-height: 500px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: var(--bg-dark);
    }
    
    .carousel-item video {
        max-width: 100%;
        max-height: 100%;
        width: auto;
        height: auto;
        object-fit: contain;
        border-radius: 12px;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .carousel-item video:hover {
        transform: scale(1.02);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    }
    
    /* Indicador de play em mobile */
    @media (max-width: 768px) {
        .carousel-item {
            position: relative;
        }
        
        .carousel-item::after {
            content: '▶';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            font-size: 3rem;
            color: rgba(255, 255, 255, 0.8);
            background: rgba(0, 0, 0, 0.5);
            border-radius: 50%;
            width: 80px;
            height: 80px;
            display: flex;
            align-items: center;
            justify-content: center;
            pointer-events: none;
            transition: all 0.3s ease;
            z-index: 10;
        }
        
        .carousel-item.playing::after {
            opacity: 0;
            transform: translate(-50%, -50%) scale(0.8);
        }
    }
    
    /* Para telas muito pequenas, aumentar ainda mais a altura */
    @media (max-width: 360px) {
        .carousel-item {
            height: 400px;
            min-height: 400px;
        }
    }
    
    /* Para telas médias em mobile */
    @media (min-width: 480px) and (max-width: 768px) {
        .carousel-item {
            height: 600px;
            min-height: 600px;
        }
    }
    
    /* Melhorar área de toque dos dots no mobile */
    @media (max-width: 768px) {
        .carousel-dots {
            bottom: 20px;
            gap: 12px;
        }
        
        .dot {
            width: 16px;
            height: 16px;
            min-width: 16px;
            min-height: 16px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.6);
            cursor: pointer;
            transition: all 0.3s ease;
            border: 2px solid transparent;
        }
        
        .dot.active {
            background: var(--primary-color);
            transform: scale(1.3);
            border-color: rgba(255, 255, 255, 0.8);
        }
        
        .dot:hover {
            background: rgba(255, 255, 255, 0.8);
            transform: scale(1.1);
        }
    }
    
    /* Otimizar imagens */
    img {
        max-width: 100%;
        height: auto;
    }
    
    /* Melhorar contraste em mobile */
    .hero-description,
    .about-description,
    .services-subtitle,
    .features-subtitle,
    .video-subtitle,
    .carousel-subtitle,
    .contact-subtitle {
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    }
}

/* Loading animation for stats */
.stat-number {
    transition: all 0.5s ease;
}

/* Notificações Flutuantes */
#floating-notifications {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1000;
}

.floating-notification {
    position: absolute;
    background: rgba(16, 185, 129, 0.15);
    backdrop-filter: blur(10px);
    color: var(--text-white);
    padding: 12px 16px;
    border-radius: 24px 24px 24px 10px;
    border: 1px solid rgba(16, 185, 129, 0.3);
    box-shadow: var(--shadow);
    animation: floatNotification 6s ease-in-out infinite;
}

@keyframes floatNotification {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.8);
    }
    10% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    90% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateY(-20px) scale(0.8);
    }
}

/* WhatsApp Flutuante */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.whatsapp-float a i {
    font-size: 28px;
    color: white;
    z-index: 2;
    position: relative;
}

.whatsapp-float a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, #25d366, #128c7e);
    border-radius: 50%;
    z-index: 1;
}

.whatsapp-float a::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
    z-index: 0;
}

.whatsapp-float a:hover::after {
    width: 100%;
    height: 100%;
}

@keyframes pulse-whatsapp {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}


/* Video Popup Modal */
.video-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-popup.active {
    display: flex;
    opacity: 1;
}

.video-popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.video-popup-container {
    position: relative;
    width: 90%;
    max-width: 1000px;
    height: 80%;
    max-height: 600px;
    margin: auto;
    background: var(--bg-card);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.video-popup.active .video-popup-container {
    transform: scale(1);
}

.video-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    background: var(--bg-darker);
    border-bottom: 1px solid var(--border-color);
}

.video-popup-header h3 {
    color: var(--text-white);
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
}

.video-popup-close {
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 10px;
    border-radius: 50%;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-popup-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-white);
    transform: scale(1.1);
}

.video-popup-content {
    position: relative;
    height: calc(100% - 80px);
    background: var(--bg-dark);
}

#demo-video {
    width: 100%;
    height: calc(100% - 60px);
    object-fit: contain;
    background: #000;
}

.video-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 20px 30px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.control-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.control-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

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

.progress-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--primary-color);
    border-radius: 3px;
    width: 0%;
    transition: width 0.1s ease;
}

.time-display {
    color: white;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Responsividade do popup */
@media (max-width: 768px) {
    .video-popup-container {
        width: 95%;
        height: 70%;
        max-height: 500px;
        margin: 5% auto;
    }
    
    .video-popup-header {
        padding: 15px 20px;
    }
    
    .video-popup-header h3 {
        font-size: 1.2rem;
    }
    
    .video-popup-close {
        width: 35px;
        height: 35px;
        font-size: 1.3rem;
    }
    
    .video-controls {
        padding: 15px 20px;
        gap: 12px;
    }
    
    .control-btn {
        width: 35px;
        height: 35px;
        font-size: 1.1rem;
    }
    
    .time-display {
        font-size: 0.8rem;
    }
    
    .progress-bar {
        height: 8px;
    }
}

@media (max-width: 480px) {
    .video-popup-container {
        width: 98%;
        height: 60%;
        margin: 10% auto;
    }
    
    .video-popup-header {
        padding: 12px 15px;
    }
    
    .video-popup-header h3 {
        font-size: 1.1rem;
    }
    
    .video-controls {
        padding: 12px 15px;
        gap: 10px;
    }
    
    .control-btn {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }
}

/* Animações adicionais */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes logoGlow {
    0% {
        filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.4));
    }
    100% {
        filter: drop-shadow(0 8px 16px rgba(16, 185, 129, 0.2));
    }
}

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

/* Responsividade para tablets */
@media (max-width: 1024px) {
    .side-nav {
        width: 60px;
    }
    
    .side-nav.expanded {
        width: 200px;
    }
    
    .hero,
    .about,
    .services,
    .features,
    .video-demo,
    .video-carousel,
    .contact,
    .footer {
        margin-left: 60px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        height: auto;
    }
    
    .main-card {
        grid-row: auto;
    }
}

