/* Reset e Variáveis */
:root {
    --azul-escuro: #0B2F66;
    --laranja: #FF6A21;
    --cinza-medio: #B7B7B7;
    --cinza-escuro: #7A7A7A;
    --branco: #FFFFFF;
    --fundo-cinza: #F5F5F5;
    --sombra: rgba(11, 47, 102, 0.1);
    --sombra-hover: rgba(11, 47, 102, 0.2);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: var(--cinza-escuro);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
    margin-top: 0;
    background: rgba(11, 47, 102, 0.3); /* Fundo padrão com transparência para glassmorphism */
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
}

/* Header sobre fundo escuro (hero) */
.navbar.navbar-dark {
    background: rgba(11, 47, 102, 0.25);
    backdrop-filter: blur(15px) saturate(180%);
    -webkit-backdrop-filter: blur(15px) saturate(180%);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Header sobre fundo claro */
.navbar.navbar-light {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(15px) saturate(180%);
    -webkit-backdrop-filter: blur(15px) saturate(180%);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.4);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.navbar .container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 0.75rem 3rem;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    justify-self: center;
    grid-column: 2;
    z-index: 3;
}

.logo a {
    display: block;
    text-decoration: none;
}

.logo-img {
    display: block;
    height: auto;
    transition: transform 0.3s ease;
    object-fit: contain;
}

/* Fallback caso a imagem não carregue */
.logo-img[src=""],
.logo-img:not([src]) {
    display: none;
}

.logo-navbar {
    max-height: 85px;
    width: auto;
    transition: all 0.3s ease;
    animation: rotateLogo 20s linear infinite;
    filter: drop-shadow(0 1px 2px rgba(255, 255, 255, 0.2)) drop-shadow(0 4px 12px rgba(255, 255, 255, 0.3));
}

.logo-navbar:hover {
    animation-play-state: paused;
    transform: scale(1.08);
    filter: drop-shadow(0 1px 2px rgba(255, 255, 255, 0.2)) drop-shadow(0 6px 16px rgba(255, 255, 255, 0.4));
}

@keyframes rotateLogo {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(-360deg);
    }
}

.logo-hero {
    max-height: 120px;
    width: auto;
    margin: 0 auto 2rem;
    animation: fadeInUp 1s ease-out;
    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.3));
}

.logo-footer {
    max-height: 80px;
    width: auto;
    margin: 0 auto;
    animation: rotateLogo 20s linear infinite;
}

.logo-footer:hover {
    animation-play-state: paused;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    align-items: center;
    justify-self: end;
    grid-column: 3;
    position: relative;
    z-index: 2;
}

.nav-menu a {
    color: rgba(255, 255, 255, 1); /* Cor padrão branca para garantir visibilidade */
    text-decoration: none;
    font-weight: 400;
    font-size: 0.85rem;
    transition: all 0.2s ease;
    position: relative;
    letter-spacing: 0.02em;
    padding: 0.4rem 0;
    text-transform: none;
}

.navbar-dark .nav-menu a {
    color: rgba(255, 255, 255, 1);
    font-weight: 500;
}

.navbar-light .nav-menu a {
    color: var(--azul-escuro);
    font-weight: 500;
}

.navbar-dark .hamburger span {
    background: rgba(255, 255, 255, 1);
}

.navbar-light .hamburger span {
    background: var(--azul-escuro);
}

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

.nav-menu a:hover {
    color: var(--laranja);
}

.navbar-dark .nav-menu a:hover,
.navbar-light .nav-menu a:hover {
    color: var(--laranja);
}

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    justify-self: end;
    grid-column: 3;
    z-index: 4;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--azul-escuro);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 80px;
}

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

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 1;
    opacity: 0.85;
    filter: brightness(0.75) contrast(1.3) blur(1px);
    will-change: auto;
}

/* Fallback quando vídeo não está disponível */
.hero-background:has(.hero-video[src=""]) .animated-bg,
.hero-background:not(:has(.hero-video[src])) .animated-bg {
    display: block;
}

.animated-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 106, 33, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 106, 33, 0.1) 0%, transparent 50%),
        linear-gradient(135deg, var(--azul-escuro) 0%, #0a3d7a 100%);
    animation: pulse 15s ease-in-out infinite;
    z-index: 1;
    display: none;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(11, 47, 102, 0.5) 0%, rgba(11, 47, 102, 0.35) 100%);
    z-index: 2;
}

/* Tech Particles Effect */
.tech-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--laranja);
    border-radius: 50%;
    opacity: 0;
    animation: float 15s infinite ease-in-out;
    box-shadow: 0 0 10px rgba(255, 106, 33, 0.8);
}

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

.particle:nth-child(2) {
    left: 20%;
    animation-delay: 2s;
    animation-duration: 15s;
    background: var(--azul-escuro);
    box-shadow: 0 0 10px rgba(11, 47, 102, 0.8);
}

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

.particle:nth-child(4) {
    left: 50%;
    animation-delay: 1s;
    animation-duration: 14s;
    background: var(--azul-escuro);
    box-shadow: 0 0 10px rgba(11, 47, 102, 0.8);
}

.particle:nth-child(5) {
    left: 70%;
    animation-delay: 3s;
    animation-duration: 16s;
}

.particle:nth-child(6) {
    left: 80%;
    animation-delay: 5s;
    animation-duration: 13s;
    background: var(--azul-escuro);
    box-shadow: 0 0 10px rgba(11, 47, 102, 0.8);
}

.particle:nth-child(7) {
    left: 90%;
    animation-delay: 2.5s;
    animation-duration: 17s;
}

.particle:nth-child(8) {
    left: 60%;
    animation-delay: 4.5s;
    animation-duration: 19s;
    background: var(--azul-escuro);
    box-shadow: 0 0 10px rgba(11, 47, 102, 0.8);
}

@keyframes float {
    0% {
        transform: translateY(100vh) translateX(0) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) translateX(50px) scale(1);
        opacity: 0;
    }
}

/* Circuit Lines Effect */
.circuit-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    opacity: 0.3;
    animation: circuitMove 20s linear infinite;
}

.circuit-svg {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

@keyframes circuitMove {
    0% {
        transform: translateX(0) translateY(0);
    }
    50% {
        transform: translateX(-50px) translateY(30px);
    }
    100% {
        transform: translateX(0) translateY(0);
    }
}

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

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--branco);
    padding: 4rem 0;
    max-width: 900px;
    margin: 0 auto;
}

.hero-company-name {
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 1);
    margin-bottom: 1.5rem;
    opacity: 0;
    text-shadow: 
        0 0 10px rgba(255, 106, 33, 0.8),
        0 0 20px rgba(255, 106, 33, 0.6),
        0 0 30px rgba(255, 106, 33, 0.4),
        0 0 40px rgba(255, 106, 33, 0.3),
        0 0 70px rgba(255, 106, 33, 0.2);
    animation: fadeInUp 0.8s ease-out 0.2s forwards, neonGlowCompany 2s ease-in-out infinite alternate 1s;
}

.hero-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 600;
    margin-bottom: 1.5rem;
    margin-top: 0;
    line-height: 1.3;
    letter-spacing: -0.02em;
    min-height: 1.3em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.2em;
    animation: fadeInUp 0.8s ease-out;
}

.typewriter-text {
    display: inline-block !important;
    color: var(--branco) !important;
    opacity: 1 !important;
    visibility: visible !important;
    text-shadow: 
        0 0 10px rgba(255, 106, 33, 0.8),
        0 0 20px rgba(255, 106, 33, 0.8),
        0 0 30px rgba(255, 106, 33, 0.6),
        0 0 40px rgba(255, 106, 33, 0.4),
        0 0 50px rgba(255, 106, 33, 0.3);
    animation: neonGlow 2s ease-in-out infinite alternate;
    min-height: 1.2em;
    min-width: 1px;
}

@keyframes neonGlow {
    from {
        text-shadow: 
            0 0 10px rgba(255, 106, 33, 0.8),
            0 0 20px rgba(255, 106, 33, 0.8),
            0 0 30px rgba(255, 106, 33, 0.6),
            0 0 40px rgba(255, 106, 33, 0.4),
            0 0 50px rgba(255, 106, 33, 0.3);
    }
    to {
        text-shadow: 
            0 0 15px rgba(255, 106, 33, 1),
            0 0 25px rgba(255, 106, 33, 1),
            0 0 35px rgba(255, 106, 33, 0.8),
            0 0 50px rgba(255, 106, 33, 0.6),
            0 0 70px rgba(255, 106, 33, 0.4);
    }
}

@keyframes neonGlowCompany {
    0% {
        text-shadow: 
            0 0 10px rgba(255, 106, 33, 0.8),
            0 0 20px rgba(255, 106, 33, 0.6),
            0 0 30px rgba(255, 106, 33, 0.4),
            0 0 40px rgba(255, 106, 33, 0.3),
            0 0 70px rgba(255, 106, 33, 0.2);
    }
    100% {
        text-shadow: 
            0 0 15px rgba(255, 106, 33, 1),
            0 0 25px rgba(255, 106, 33, 0.8),
            0 0 35px rgba(255, 106, 33, 0.6),
            0 0 50px rgba(255, 106, 33, 0.5),
            0 0 80px rgba(255, 106, 33, 0.3);
    }
}

.cursor {
    display: inline-block;
    width: 3px;
    height: 1.2em;
    background: var(--laranja);
    margin-left: 2px;
    animation: blink 1s infinite, neonCursor 2s ease-in-out infinite alternate;
    box-shadow: 
        0 0 5px rgba(255, 106, 33, 1),
        0 0 10px rgba(255, 106, 33, 0.8),
        0 0 15px rgba(255, 106, 33, 0.6);
}

@keyframes neonCursor {
    from {
        box-shadow: 
            0 0 5px rgba(255, 106, 33, 1),
            0 0 10px rgba(255, 106, 33, 0.8),
            0 0 15px rgba(255, 106, 33, 0.6);
    }
    to {
        box-shadow: 
            0 0 8px rgba(255, 106, 33, 1),
            0 0 15px rgba(255, 106, 33, 1),
            0 0 20px rgba(255, 106, 33, 0.8);
    }
}

@keyframes blink {
    0%, 50% {
        opacity: 1;
    }
    51%, 100% {
        opacity: 0;
    }
}

.hero-subtitle {
    font-size: clamp(0.95rem, 1.8vw, 1.15rem);
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2.5rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease-out 0.2s both;
    font-weight: 300;
    letter-spacing: 0.01em;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1.25rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.4s both;
    margin-top: 2rem;
}

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

.scroll-indicator span {
    display: block;
    width: 30px;
    height: 50px;
    border: 2px solid var(--branco);
    border-radius: 25px;
    position: relative;
}

.scroll-indicator span::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: var(--branco);
    border-radius: 50%;
    animation: scrollDown 2s infinite;
}

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

@keyframes scrollDown {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 1.1rem 2.8rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    font-size: clamp(0.95rem, 1.1vw, 1.05rem);
    font-family: inherit;
    letter-spacing: -0.01em;
}

.btn-primary {
    background: var(--azul-escuro);
    color: var(--branco);
}

.btn-primary:hover {
    background: var(--laranja);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 106, 33, 0.3);
}

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

.btn-secondary:hover {
    background: var(--branco);
    color: var(--azul-escuro);
    transform: translateY(-2px);
}

.btn-cta {
    background: var(--laranja);
    color: var(--branco);
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
}

.btn-cta:hover {
    background: #e55a1a;
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(255, 106, 33, 0.4);
}

/* Section Styles */
section {
    padding: 6rem 0;
}

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

.section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.2rem);
    color: var(--azul-escuro);
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.highlight-text {
    color: var(--laranja);
    position: relative;
    display: inline-block;
}

.highlight-text::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--laranja), transparent);
    opacity: 0.3;
}

.title-underline {
    width: 60px;
    height: 2px;
    background: var(--laranja);
    margin: 0 auto 1rem;
    border-radius: 1px;
}

.section-subtitle {
    font-size: clamp(0.95rem, 1.5vw, 1.1rem);
    color: var(--cinza-escuro);
    max-width: 650px;
    margin: 0 auto;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: 0;
}

/* Sobre Section */
.sobre {
    background: var(--branco);
    padding: 6rem 0;
}

.sobre-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.sobre-text {
    font-size: clamp(1.05rem, 1.5vw, 1.2rem);
    line-height: 1.9;
    color: var(--cinza-escuro);
    letter-spacing: -0.01em;
}

.sobre-text p {
    margin-bottom: 1.5rem;
}

.sobre-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-item {
    text-align: center;
    padding: 1.5rem;
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.feature-icon.blue {
    background: rgba(11, 47, 102, 0.1);
    color: var(--azul-escuro);
}

.feature-icon.orange {
    background: rgba(255, 106, 33, 0.1);
    color: var(--laranja);
}

.feature-item:hover .feature-icon {
    transform: scale(1.1);
}

.feature-item h3 {
    color: var(--azul-escuro);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.feature-item p {
    color: var(--cinza-escuro);
    font-size: 0.95rem;
}

/* Serviços Section */
.servicos {
    background: var(--branco);
    position: relative;
    overflow: hidden;
    padding: 6rem 0;
}

.servicos::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--laranja), transparent);
    opacity: 0.3;
}

.servicos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.servico-card {
    background: var(--branco);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    box-shadow: 
        0 2px 20px rgba(11, 47, 102, 0.04),
        0 1px 2px rgba(0, 0, 0, 0.02);
    transition: all 0.3s ease;
    text-align: left;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(11, 47, 102, 0.08);
    display: flex;
    flex-direction: column;
}

.servico-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--azul-escuro), var(--laranja));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.servico-card:hover::before {
    transform: scaleX(1);
}

.servico-card:hover {
    transform: translateY(-6px);
    box-shadow: 
        0 8px 30px rgba(11, 47, 102, 0.08),
        0 4px 12px rgba(255, 106, 33, 0.04);
    border-color: rgba(255, 106, 33, 0.2);
}

.servico-icon-wrapper {
    position: relative;
    display: inline-flex;
    margin-bottom: 2rem;
    align-self: flex-start;
}

.servico-icon {
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
    opacity: 0.9;
}

.servico-icon-web {
    color: var(--azul-escuro);
}

.servico-icon-app {
    color: var(--laranja);
}

.servico-icon-consult {
    color: var(--azul-escuro);
}

.icon-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 106, 33, 0.08) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.servico-card:hover .icon-glow {
    opacity: 1;
}

.servico-card:hover .servico-icon {
    opacity: 1;
    transform: scale(1.05);
}

.servico-card h3 {
    color: var(--azul-escuro);
    font-size: clamp(1.3rem, 2vw, 1.5rem);
    margin-bottom: 0.75rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.servico-card:hover h3 {
    color: var(--laranja);
}

.card-divider {
    width: 50px;
    height: 2px;
    background: var(--laranja);
    margin: 0 0 1.5rem 0;
    border-radius: 1px;
    transition: width 0.3s ease;
}

.servico-card:hover .card-divider {
    width: 70px;
}

.servico-card p {
    color: var(--cinza-escuro);
    line-height: 1.8;
    font-size: clamp(1rem, 1.2vw, 1.1rem);
    margin-bottom: 2rem;
    flex-grow: 1;
    max-width: 100%;
    text-align: left;
    hyphens: auto;
    word-wrap: break-word;
    font-weight: 400;
}

.servico-card p strong {
    color: var(--azul-escuro);
    font-weight: 600;
}

.servico-card p strong {
    color: var(--azul-escuro);
    font-weight: 600;
}

.servico-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: auto;
    padding-top: 1rem;
}

.feature-tag {
    display: inline-block;
    padding: 0.35rem 0.85rem;
    background: rgba(255, 106, 33, 0.08);
    color: var(--azul-escuro);
    border-radius: 16px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(255, 106, 33, 0.15);
    transition: all 0.2s ease;
}

.servico-card:hover .feature-tag {
    background: rgba(255, 106, 33, 0.12);
    border-color: rgba(255, 106, 33, 0.25);
}

/* CTA Section */
.cta {
    position: relative;
    padding: 6rem 0;
    overflow: hidden;
}

.cta-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 50%, rgba(255, 106, 33, 0.15) 0%, transparent 50%),
        var(--azul-escuro);
    background-size: cover;
    background-position: center;
    transform: scale(1.1);
    transition: transform 0.5s ease;
}

.cta:hover .cta-background {
    transform: scale(1.15);
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 47, 102, 0.85);
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--branco);
}

.cta-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Contato Section */
.contato {
    background: var(--branco);
}

.contato-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contato-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contato-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.contato-icon {
    width: 60px;
    height: 60px;
    background: rgba(11, 47, 102, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--azul-escuro);
    flex-shrink: 0;
}

.contato-details h3 {
    color: var(--azul-escuro);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contato-details a {
    color: var(--cinza-escuro);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 1rem;
}

.contato-details a:hover {
    color: var(--laranja);
}

.contato-form {
    background: var(--fundo-cinza);
    padding: 2.5rem;
    border-radius: 15px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--cinza-medio);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--branco);
    color: var(--cinza-escuro);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--azul-escuro);
    box-shadow: 0 0 0 3px rgba(11, 47, 102, 0.1);
}

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

/* Footer */
.footer {
    background: var(--fundo-cinza);
    padding: 3rem 0 1.5rem;
    border-top: 1px solid var(--cinza-medio);
}

.footer-content {
    text-align: center;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
    min-height: 80px;
}

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

.footer-text {
    color: var(--cinza-escuro);
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.social-link {
    width: 45px;
    height: 45px;
    background: var(--branco);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--azul-escuro);
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px var(--sombra);
}

.social-link:hover {
    background: var(--laranja);
    color: var(--branco);
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(255, 106, 33, 0.3);
}

/* Mídias Section */
/* Form Validation Styles */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

.form-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.form-group input.error,
.form-group textarea.error {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.error-message {
    display: block;
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    font-weight: 500;
}

.error-message.global-error {
    background: #f8d7da;
    color: #721c24;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    border: 1px solid #f5c6cb;
}

.success-message {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: #d4edda;
    color: #155724;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    border: 1px solid #c3e6cb;
    font-weight: 500;
}

.success-message svg {
    flex-shrink: 0;
    stroke: #155724;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--azul-escuro);
    box-shadow: 0 0 0 0.2rem rgba(11, 47, 102, 0.25);
}

.form-group input:focus.error,
.form-group textarea:focus.error {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

button[type="submit"]:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

/* Performance optimizations */
.hero-video,
.hero-background {
    will-change: transform;
}

.servico-card,
.feature-item,
.contato-item {
    will-change: transform, opacity;
}

/* Lazy loading support */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s;
}

img[loading="lazy"].loaded {
    opacity: 1;
}

/* Modal de Festividade */
.festivity-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease-out;
}

.festivity-modal.show {
    display: flex;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.festivity-modal-content {
    background: linear-gradient(135deg, var(--azul-escuro) 0%, #1a4a8a 100%);
    border-radius: 20px;
    padding: 3rem;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: slideUp 0.4s ease-out;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

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

.festivity-modal.christmas-modal .festivity-modal-content {
    background: linear-gradient(135deg, #1a5f3f 0%, #0d3d26 100%);
    border: 2px solid rgba(255, 107, 33, 0.3);
}

.festivity-modal.newyear-modal .festivity-modal-content {
    background: linear-gradient(135deg, #1a1a3e 0%, #0d0d26 100%);
    border: 2px solid rgba(255, 107, 33, 0.3);
}

.festivity-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: var(--branco);
    font-size: 2rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    line-height: 1;
}

.festivity-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.festivity-modal-body {
    text-align: center;
    color: var(--branco);
}

.festivity-modal-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--branco);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.festivity-modal-message {
    font-size: clamp(1rem, 2vw, 1.2rem);
    line-height: 1.6;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.95);
}

.festivity-modal-icon {
    font-size: 5rem;
    animation: bounce 2s ease-in-out infinite;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.3));
}

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

/* Responsividade do Modal */
@media (max-width: 768px) {
    .festivity-modal-content {
        padding: 2rem 1.5rem;
        margin: 1rem;
    }
    
    .festivity-modal-icon {
        font-size: 4rem;
    }
    
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--cinza-medio);
}

.footer-bottom p {
    color: var(--cinza-escuro);
    font-size: 0.9rem;
    margin: 0.5rem 0;
}

.footer-cnpj {
    color: var(--cinza-medio);
    font-size: 0.85rem;
    margin-top: 0.75rem;
}

/* Animations */
.fade-in {
    animation: fadeInUp 0.8s ease-out;
}

/* Logo Responsive Styles */
@media (max-width: 768px) {
    .logo-navbar {
        max-height: 45px;
    }
    
    .logo-hero {
        max-height: 90px;
        margin-bottom: 1.5rem;
    }
    
    .logo-footer {
        max-height: 60px;
    }
    
    /* Otimizações para vídeo em mobile */
    .hero-video {
        opacity: 0.75;
        filter: brightness(0.65) contrast(1.3) blur(1px);
    }
    
    /* Reduzir efeitos de partículas em mobile para performance */
    .tech-particles {
        opacity: 0.6;
    }
    
    .particle {
        width: 3px;
        height: 3px;
    }
    
    /* Simplificar linhas de circuito em mobile */
    .circuit-lines {
        opacity: 0.2;
    }
    
    /* Aumentar overlay em mobile para melhor legibilidade */
    .hero-overlay {
        background: linear-gradient(135deg, rgba(11, 47, 102, 0.55) 0%, rgba(11, 47, 102, 0.4) 100%);
    }
}

/* Responsive Design */
@media (max-width: 968px) {
    .navbar {
        width: 95%;
        margin-top: 0;
        border-radius: 0;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 50%;
        transform: translateX(-50%);
        flex-direction: column;
        width: 95%;
        max-width: 1400px;
        text-align: center;
        transition: all 0.3s ease;
        border-top: none;
        border-left: none;
        border-right: none;
        border-radius: 0;
        padding: 1.5rem 0;
        gap: 0;
        opacity: 0;
        visibility: hidden;
    }
    
    .nav-menu li {
        padding: 0.75rem 0;
    }

    .navbar-dark .nav-menu {
        background: rgba(11, 47, 102, 0.3);
        backdrop-filter: blur(20px) saturate(180%);
        -webkit-backdrop-filter: blur(20px) saturate(180%);
        box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    }
    
    .navbar-light .nav-menu {
        background: rgba(255, 255, 255, 0.7);
        backdrop-filter: blur(20px) saturate(180%);
        -webkit-backdrop-filter: blur(20px) saturate(180%);
        box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.5);
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }
    
    .navbar-light .nav-menu a {
        color: var(--azul-escuro);
    }
    
    .nav-menu.active {
        opacity: 1;
        visibility: visible;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

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

    .sobre-features {
        grid-template-columns: 1fr;
    }

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

    .servicos-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .servico-card {
        padding: 2rem 1.5rem;
    }
    
    .servico-card h3 {
        font-size: 1.5rem;
    }
    
    .servico-icon {
        width: 60px;
        height: 60px;
    }
    
    .icon-glow {
        width: 80px;
        height: 80px;
    }
}

@media (max-width: 768px) {
    section {
        padding: 3rem 0;
    }

    .hero-company-name {
        font-size: 1.1rem;
    }

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

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

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }
    
    /* Pausar vídeo em mobile para economizar dados (opcional) */
    .hero-video {
        display: block;
    }
    
    /* Garantir que o fallback funcione bem */
    .animated-bg {
        display: block;
    }
}

/* Desabilitar vídeo em telas muito pequenas ou quando em modo de economia de dados */
@media (max-width: 480px) {
    .hero-video {
        display: none;
    }
    
    .animated-bg {
        display: block;
    }
}

/* Preferência do usuário para reduzir movimento */
@media (prefers-reduced-motion: reduce) {
    .hero-video {
        display: none;
    }
    
    .animated-bg {
        display: block;
        animation: none;
    }
    
    .particle {
        animation: none;
        display: none;
    }
    
    .circuit-lines {
        animation: none;
    }
}

