/* ========================================
   RESET E CONFIGURAÇÕES BÁSICAS
======================================== */

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* ========================================
   TIPOGRAFIA
======================================== */

@font-face {
    font-family: 'HelveticaLTStdCompressed';
    src: url('../fonts/Helvetica LT Std Compressed.ttf') format('truetype'),
         url('assets/fonts/Helvetica LT Std Compressed.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* ========================================
   NAVEGAÇÃO
======================================== */

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    font-family: 'HelveticaLTStdCompressed', 'Arial Black', Arial, sans-serif;
    font-size: 60px;
    font-weight: bold;
    letter-spacing: 1px;
}

.logo .digital {
    color: #C0C0C0; /* Cinza claro */
}

.logo .zero {
    color: #0071BC; /* Azul */
}

.shadow-out span {
    text-shadow: 
        0 0 4px rgba(0,0,0,0.6),   /* contorno próximo */
        0 0 8px rgba(0,0,0,0.5),   /* espalha mais */
        0 0 12px rgba(0,0,0,0.4);  /* brilho mais distante */
}

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

.nav-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: #60a5fa;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #60a5fa;
    transition: width 0.3s ease;
}

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

/* ========================================
   SELETOR DE IDIOMA
======================================== */

.language-selector {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 20px;
    padding: 0.5rem 1rem;
    color: white;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.language-selector:hover {
    background: rgba(59, 130, 246, 0.2);
    border-color: #60a5fa;
}

/* ========================================
   MENU MOBILE
======================================== */

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 3px 0;
    transition: 0.3s;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

.mobile-nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(15, 23, 42, 0.98);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: left 0.3s ease;
    z-index: 1000;
}

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

.mobile-nav a {
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    margin: 1rem 0;
    transition: color 0.3s ease;
}

.mobile-nav a:hover {
    color: #60a5fa;
}

/* ========================================
   HERO CAROUSEL
======================================== */

.hero-carousel {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100vh;
}

.carousel-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.8s ease;
}

.carousel-slide.active {
    opacity: 1;
    transform: translateX(0);
}

.carousel-slide.prev {
    transform: translateX(-100%);
}

/* Gradients únicos para cada slide */
.carousel-slide[data-bg="gradient1"] {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
}

.carousel-slide[data-bg="gradient2"] {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
}

.carousel-slide[data-bg="gradient3"] {
    background: linear-gradient(135deg, #2d1b69 0%, #11998e 50%, #38ef7d 100%);
}

.carousel-slide[data-bg="gradient4"] {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
}

.slide-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    text-align: center;
    z-index: 2;
    animation: slideContentIn 0.8s ease 0.3s both;
}

.carousel-slide h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: bold;
    color: white;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.carousel-slide p {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.cta-button {
    background: linear-gradient(45deg, #3b82f6, #60a5fa);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: clamp(1rem, 2vw, 1.1rem);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    touch-action: manipulation;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.6);
}

/* Navegação do Carousel */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-size: 2rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    z-index: 10;
}

.carousel-nav:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-50%) scale(1.1);
}

.carousel-nav.prev {
    left: 2rem;
}

.carousel-nav.next {
    right: 2rem;
}

/* Dots do Carousel */
.carousel-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 10;
}

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

.dot.active {
    background: rgba(255, 255, 255, 0.9);
    transform: scale(1.3);
}

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

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

/* ========================================
   SEÇÃO DE TECNOLOGIAS ELEGANTE
======================================== */

.technologies-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    position: relative;
    overflow: hidden;
}

.technologies-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.5), transparent);
}

.technologies-header {
    text-align: center;
    margin-bottom: 3rem;
}

.technologies-label {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 20px;
    color: #60a5fa;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.technologies-header h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: white;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
}

.marquee-container {
    background: rgba(15, 23, 42, 0.8);
    border-radius: 15px;
    padding: 1.5rem 0;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        inset 0 -1px 0 rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(59, 130, 246, 0.2);
    overflow: hidden;
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.marquee-container::before,
.marquee-container::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    pointer-events: none;
    z-index: 2;
}

.marquee-container::before {
    left: 0;
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.8), transparent);
}

.marquee-container::after {
    right: 0;
    background: linear-gradient(270deg, rgba(15, 23, 42, 0.8), transparent);
}

.marquee-track {
    display: flex;
    gap: 2rem;
    align-items: center;
    width: max-content;
    animation: marqueeScroll 35s linear infinite;
    padding: 0.5rem 0;
}

.marquee-track:hover {
    animation-play-state: paused;
}

.tech-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 1.5rem;
    background: #C0C0C0;
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 25px;
    font-weight: 600;
    color: white;
    white-space: nowrap;
    transition: all 0.3s ease;
    cursor: pointer;
    min-width: 140px;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.tech-item:hover {
    background: rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

@keyframes marqueeScroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

/* ========================================
   SEÇÃO DE SERVIÇOS
======================================== */

.services {
    padding: 5rem 1rem;
    background: #f8fafc;
}

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

.section-title {
    text-align: center;
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 3rem;
    color: #1e293b;
}

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

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
    transition: left 0.5s ease;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #3b82f6, #60a5fa);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: white;
}

.service-card h3 {
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    margin-bottom: 1rem;
    color: #1e293b;
}

.service-card p {
    color: #64748b;
    line-height: 1.6;
    font-size: clamp(0.9rem, 2vw, 1rem);
}

/* ========================================
   SEÇÃO SOBRE
======================================== */

.about {
    padding: 5rem 1rem;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 1.5rem;
    color: #60a5fa;
    text-align: center;
}

.about-text p {
    font-size: clamp(1rem, 2vw, 1.1rem);
    margin-bottom: 1.5rem;
    color: #cbd5e1;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.stat-number {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: bold;
    color: #60a5fa;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #cbd5e1;
    font-size: clamp(0.8rem, 2vw, 1rem);
}

/* ========================================
   SEÇÃO DE CONTATO
======================================== */

.contact {
    padding: 5rem 1rem;
    background: #f8fafc;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #1e293b;
    font-weight: 500;
    font-size: clamp(0.9rem, 2vw, 1rem);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: clamp(0.9rem, 2vw, 1rem);
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3b82f6;
}

.submit-btn {
    background: linear-gradient(45deg, #3b82f6, #60a5fa);
    color: white;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: clamp(0.9rem, 2vw, 1rem);
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    touch-action: manipulation;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.4);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

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

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, #3b82f6, #60a5fa);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-item h3 {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    margin-bottom: 0.25rem;
}

.contact-item p {
    font-size: clamp(0.9rem, 2vw, 1rem);
    color: #64748b;
}

/* ========================================
   NOTIFICAÇÕES
======================================== */

.notification {
    position: fixed;
    top: 100px;
    right: 20px;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    color: white;
    font-weight: 500;
    z-index: 2000;
    transform: translateX(400px);
    transition: transform 0.3s ease;
}

.notification.show {
    transform: translateX(0);
}

.notification.success {
    background: linear-gradient(45deg, #10b981, #34d399);
}

.notification.error {
    background: linear-gradient(45deg, #ef4444, #f87171);
}

/* ========================================
   FOOTER
======================================== */

.footer {
    background: #0f172a;
    color: white;
    text-align: center;
    padding: 2rem 1rem;
}

.footer p {
    font-size: clamp(0.8rem, 2vw, 1rem);
}

/* ========================================
   ANIMAÇÕES
======================================== */

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

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

/* ========================================
   SCROLL REVEAL
======================================== */

.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   MELHORIAS PARA TOUCH
======================================== */

@media (hover: none) {
    .service-card:hover {
        transform: none;
    }
    
    .cta-button:hover {
        transform: none;
    }
    
    .submit-btn:hover {
        transform: none;
    }
    
    .tool-item:hover {
        transform: none;
        background: rgba(59, 130, 246, 0.05);
        border-color: rgba(59, 130, 246, 0.15);
    }
    
    .marquee-track:hover {
        animation-play-state: running;
    }
}

/* ========================================
   RESPONSIVE DESIGN
======================================== */

/* Tablets e dispositivos médios */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .nav-container {
        padding: 0 1rem;
    }

    /* Hero Carousel Mobile */
    .carousel-nav {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .carousel-nav.prev {
        left: 1rem;
    }

    .carousel-nav.next {
        right: 1rem;
    }

    .carousel-dots {
        bottom: 1rem;
        gap: 0.8rem;
    }

    .slide-content {
        padding: 1rem;
    }

    /* Tecnologias Mobile */
    .technologies-section {
        padding: 3rem 0;
    }

    .technologies-header {
        margin-bottom: 2rem;
    }

    .marquee-container::before,
    .marquee-container::after {
        width: 50px;
    }

    .services {
        padding: 3rem 1rem;
    }

    .about {
        padding: 3rem 1rem;
    }

    .contact {
        padding: 3rem 1rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .service-card:hover {
        transform: translateY(-5px);
    }

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

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

    /* Marquee responsivo */
    .marquee-track {
        gap: 1.5rem;
    }

    .tech-item {
        padding: 0.8rem 1.2rem;
        min-width: 120px;
        font-size: 0.9rem;
    }

    /* Melhores alvos de toque para mobile */
    .cta-button {
        padding: 1.2rem 2.5rem;
        margin: 1rem;
    }

    .submit-btn {
        padding: 1rem 2rem;
        min-height: 48px;
    }

    .mobile-nav a {
        padding: 1rem;
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* Smartphones */
@media (max-width: 480px) {
    /* Hero Carousel Smartphone */
    .carousel-nav {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }

    .carousel-nav.prev {
        left: 0.5rem;
    }

    .carousel-nav.next {
        right: 0.5rem;
    }

    .dot {
        width: 10px;
        height: 10px;
    }

    .slide-content {
        padding: 0.5rem;
    }

    /* Tecnologias Smartphone */
    .technologies-section {
        padding: 2rem 0;
    }

    .marquee-container::before,
    .marquee-container::after {
        width: 30px;
    }

    .marquee-track {
        gap: 1rem;
    }

    .tech-item {
        padding: 0.6rem 1rem;
        min-width: 100px;
        font-size: 0.8rem;
    }

    .tech-icon {
        font-size: 1.1rem;
        width: 22px;
        height: 22px;
    }

    .service-card {
        padding: 1.5rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .contact-item {
        padding: 1rem;
        flex-direction: column;
        text-align: center;
    }

    .contact-icon {
        margin-bottom: 0.5rem;
    }
}

/* Desktop */
@media (min-width: 769px) {
    .about-content {
        grid-template-columns: 1fr 1fr;
        text-align: left;
    }

    .about-text {
        padding-right: 2rem;
    }

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