﻿/* VariÃ¡veis CSS Globais */
:root {
    /* Cores principais baseadas na logo */
    --primary-color: #003366;
    /* Azul escuro */
    --secondary-color: #0066cc;
    /* Azul mÃ©dio */
    --accent-color: #00a8ff;
    /* Azul claro para destaques */
    --background-color: #121212;
    /* Cinza muito escuro, quase preto */
    --text-color: #ffffff;
    /* Branco para texto */
    --text-color-secondary: #cccccc;
    /* Cinza claro para texto secundÃ¡rio */
    --border-color: #333333;
    /* Cinza para bordas */
    --card-bg: #1e1e1e;
    /* Cinza escuro para cards */
    --success-color: #28a745;
    /* Verde para sucesso */
    --error-color: #dc3545;
    /* Vermelho para erro */
    --whatsapp-color: #25D366;
    /* Cor do WhatsApp */
    --instagram-color: #E1306C;
    /* Cor do Instagram */

    /* EspaÃ§amentos */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;

    /* Tamanhos de fonte */
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-md: 1rem;
    --font-size-lg: 1.25rem;
    --font-size-xl: 1.5rem;
    --font-size-xxl: 2rem;
    --font-size-hero: 3.5rem;

    /* Border-radius */
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 16px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.2);
    --shadow-glow: 0 0 15px rgba(0, 168, 255, 0.6);
}

/* Reset e base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: var(--accent-color);
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.section-title {
    font-size: var(--font-size-xxl);
    margin-bottom: var(--spacing-lg);
    position: relative;
    display: inline-block;
    padding-bottom: var(--spacing-xs);
}

.section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
    border-radius: 2px;
    animation: titleBorderAnimation 3s infinite alternate;
}

@keyframes titleBorderAnimation {
    0% {
        width: 60px;
        box-shadow: 0 0 5px var(--accent-color);
    }

    100% {
        width: 100px;
        box-shadow: 0 0 15px var(--accent-color);
    }
}

/* Fonte tecnolÃ³gica para o tÃ­tulo */
.tech-font {
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 2px;
    font-weight: 700;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
    padding: 10px 20px;
    margin-bottom: 20px;
    clip-path: polygon(0 10px,
            10px 0,
            calc(100% - 10px) 0,
            100% 10px,
            100% calc(100% - 10px),
            calc(100% - 10px) 100%,
            10px 100%,
            0 calc(100% - 10px));
}

.tech-font::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    width: calc(100% + 10px);
    height: calc(100% + 10px);
    border: 2px solid var(--accent-color);
    border-radius: 4px;
    opacity: 0.3;
    animation: techBorder 3s infinite alternate;
    z-index: -1;
}

.tech-font::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    background-image:
        linear-gradient(90deg, transparent 50%, var(--accent-color) 50%, transparent 51%),
        linear-gradient(0deg, transparent 50%, var(--accent-color) 50%, transparent 51%);
    background-size: 20px 1px, 1px 20px;
    background-position: 0 0;
    background-repeat: repeat;
    opacity: 0.5;
    z-index: -1;
    animation: circuitMove 15s linear infinite;
}

@keyframes circuitMove {
    from {
        background-position: 0 0;
    }

    to {
        background-position: 100px 100px;
    }
}

@keyframes techBorder {
    0% {
        transform: scale(1);
        opacity: 0.3;
        box-shadow: 0 0 5px var(--accent-color);
    }

    100% {
        transform: scale(1.03);
        opacity: 0.6;
        box-shadow: 0 0 15px var(--accent-color);
    }
}

/* BotÃµes */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-size: var(--font-size-md);
    font-weight: 600;
    border-radius: var(--border-radius-md);
    cursor: pointer;
    transition: all var(--transition-medium);
    border: none;
    outline: none;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: transform var(--transition-fast);
    transform: skewX(-25deg);
    z-index: 1;
}

.btn:hover::before {
    transform: translateX(100%) skewX(-25deg);
}

.btn i {
    margin-right: 0.5rem;
}

.btn-primary {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: var(--text-color);
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 102, 204, 0.6);
}

.btn-primary:active {
    transform: translateY(1px);
}

.btn-whatsapp {
    background-color: var(--whatsapp-color);
    color: white;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
}

/* Header */
#header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(18, 18, 18, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(51, 51, 51, 0.5);
    transition: all var(--transition-medium);
}

.header-scrolled {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    padding: 0.7rem 0 !important;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    height: 85px;
    transition: all var(--transition-medium);
}

.header-scrolled .logo {
    height: 68px;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav {
    display: flex;
    align-items: center;
}

#menu {
    display: flex;
    gap: var(--spacing-md);
}

#menu a {
    color: var(--text-color);
    font-weight: 500;
    position: relative;
    padding: var(--spacing-xs) 0;
}

#menu a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-color), transparent);
    transition: width var(--transition-medium);
}

#menu a:hover {
    color: var(--accent-color);
}

#menu a:hover::after {
    width: 100%;
}

#menu a.active {
    color: var(--accent-color);
}

#menu a.active::after {
    width: 100%;
}

#btn-mobile {
    display: none;
    background: none;
    border: none;
    padding: 0.5rem 1rem;
    cursor: pointer;
    color: var(--text-color);
}

#hamburger {
    display: block;
    width: 25px;
    border-top: 2px solid;
    color: var(--text-color);
    position: relative;
    transition: all 0.3s ease;
}

#hamburger::after,
#hamburger::before {
    content: '';
    display: block;
    width: 25px;
    height: 2px;
    background-color: currentColor;
    margin-top: 5px;
    transition: transform 0.3s ease, margin 0.3s ease, opacity 0.3s ease;
    position: relative;
}

#nav.active #hamburger {
    border-top-color: transparent;
}

#nav.active #hamburger::before {
    transform: rotate(45deg);
    margin-top: 0;
    position: absolute;
    top: 0;
}

#nav.active #hamburger::after {
    transform: rotate(-45deg);
    margin-top: 0;
    position: absolute;
    top: 0;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: var(--background-color);
    padding-top: 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(0, 102, 204, 0.1), transparent 70%);
    z-index: 1;
}

.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.animate-title {
    font-size: var(--font-size-hero);
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 15px rgba(0, 168, 255, 0.3);
    position: relative;
    animation: glowAnimation 3s infinite alternate;
}

@keyframes glowAnimation {
    0% {
        text-shadow: 0 0 5px rgba(0, 168, 255, 0.3);
    }

    100% {
        text-shadow: 0 0 25px rgba(0, 168, 255, 0.7);
    }
}

.hero-content h2 {
    font-size: var(--font-size-xl);
    margin-bottom: var(--spacing-md);
    color: var(--text-color-secondary);
}

.hero-content p {
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-lg);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* ServiÃ§os */
.services {
    padding: var(--spacing-xl) 0;
    background-color: var(--background-color);
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to bottom, transparent, var(--background-color));
    z-index: 1;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: var(--spacing-lg);
}

@media (min-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.service-card {
    background-color: var(--card-bg);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-medium);
    position: relative;
    z-index: 1;
    overflow: hidden;
    border: 1px solid rgba(51, 51, 51, 0.7);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0, 102, 204, 0.05), transparent);
    z-index: -1;
    opacity: 0;
    transition: opacity var(--transition-medium);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-color);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
    color: var(--accent-color);
    display: inline-block;
    position: relative;
}

.service-icon::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 50px;
    background: rgba(0, 168, 255, 0.1);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    animation: pulseAnimation 2s infinite;
}

@keyframes pulseAnimation {
    0% {
        transform: translate(-50%, -50%) scale(0.7);
        opacity: 0.7;
    }

    50% {
        opacity: 0.3;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0;
    }
}

.service-card h3 {
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-sm);
    color: var(--accent-color);
}

.service-card p {
    color: var(--text-color-secondary);
    font-size: var(--font-size-md);
}

/* Sobre */
.about {
    padding: var(--spacing-xl) 0;
    background-color: var(--card-bg);
    position: relative;
    overflow: hidden;
}

.about::before,
.about::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 102, 204, 0.1), transparent);
    z-index: 0;
}

.about::before {
    top: -100px;
    left: -100px;
}

.about::after {
    bottom: -100px;
    right: -100px;
}

.about-content {
    display: flex;
    align-items: center;
    gap: var(--spacing-xl);
    position: relative;
    z-index: 1;
}

.about-text {
    flex: 1;
}

.about-text p {
    margin-bottom: var(--spacing-md);
    color: var(--text-color-secondary);
}

.about-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.circuit-animation {
    width: 100%;
    height: 300px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M10 50 L40 50 L40 10 M60 10 L60 50 L90 50 M10 70 L30 70 L30 90 M70 90 L70 70 L90 70' stroke='%230066cc' stroke-width='1' fill='none'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    animation: circuitGlow 4s infinite alternate;
    position: relative;
}

@keyframes circuitGlow {
    0% {
        filter: drop-shadow(0 0 2px rgba(0, 168, 255, 0.3));
    }

    100% {
        filter: drop-shadow(0 0 10px rgba(0, 168, 255, 0.7));
    }
}

/* NÃ³s de circuito animados */
.circuit-node {
    position: absolute;
    border-radius: 50%;
    background-color: var(--accent-color);
    box-shadow: 0 0 10px var(--accent-color);
    animation: nodeAnimation 3s infinite;
    z-index: 0;
}

@keyframes nodeAnimation {
    0% {
        opacity: 0.3;
        box-shadow: 0 0 5px var(--accent-color);
    }

    50% {
        opacity: 0.8;
        box-shadow: 0 0 15px var(--accent-color);
    }

    100% {
        opacity: 0.3;
        box-shadow: 0 0 5px var(--accent-color);
    }
}

/* Smart Experience */
.smart-experience {
    padding: var(--spacing-xl) 0;
    background-color: var(--background-color);
}

.experience-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.experience-item:last-child {
    margin-bottom: 0;
}

.experience-item.reverse {
    flex-direction: row-reverse;
}

.experience-text {
    flex: 1;
}

.experience-text h3 {
    font-size: var(--font-size-xl);
    color: var(--accent-color);
    margin-bottom: var(--spacing-sm);
}

.experience-text p {
    color: var(--text-color-secondary);
    margin-bottom: var(--spacing-md);
    font-size: var(--font-size-md);
}

.feature-list {
    list-style: none;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: var(--text-color);
    font-weight: 500;
}

.feature-list li i {
    color: var(--success-color);
}

.experience-image {
    flex: 1;
    clip-path: polygon(30px 0, 100% 0, 100% calc(100% - 30px), calc(100% - 30px) 100%, 0 100%, 0 30px);
    background-color: transparent;
    position: relative;
    height: 400px;
    /* Fixed height for consistency */
    transition: all var(--transition-medium);
}

/* Overlay para dar um brilho tech na borda (opcional, mas recomendado) */
.experience-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent 50%);
    pointer-events: none;
}

.experience-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.experience-image:hover img {
    transform: scale(1.05);
}

@media (max-width: 768px) {

    .experience-item,
    .experience-item.reverse {
        flex-direction: column;
        gap: var(--spacing-md);
    }

    .experience-image {
        width: 100%;
        height: 250px;
    }
}

/* BenefÃ­cios */
.benefits {
    padding: var(--spacing-xl) 0;
    position: relative;
    background-image: linear-gradient(rgba(18, 18, 18, 0.85), rgba(18, 18, 18, 0.9)), url('../images/benefits-bg.png');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
}

.benefit-card {
    background: rgba(255, 255, 255, 0.05);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius-md);
    text-align: center;
    transition: all var(--transition-medium);
    border: 1px solid transparent;
}

.benefit-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
    border-color: var(--accent-color);
    box-shadow: 0 5px 15px rgba(0, 168, 255, 0.2);
}

.benefit-card i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: var(--spacing-md);
}

.benefit-card h3 {
    color: var(--text-color);
    margin-bottom: var(--spacing-sm);
    font-size: var(--font-size-lg);
}

.benefit-card p {
    color: var(--text-color-secondary);
    font-size: var(--font-size-md);
}

/* Contato */
.contact {
    padding: var(--spacing-xl) 0;
    background-color: var(--card-bg);
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 30%, rgba(0, 102, 204, 0.05), transparent 70%);
    z-index: 0;
}

.contact .section-title {
    text-align: left;
    margin-left: 0;
    margin-right: auto;
    display: block;
}

.contact-container {
    display: flex;
    gap: var(--spacing-xl);
    position: relative;
    z-index: 1;
}

.contact-info {
    flex: 1;
    background-color: rgba(30, 30, 30, 0.5);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: var(--spacing-md);
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-right: var(--spacing-md);
    width: 30px;
    text-align: center;
}

.social-media {
    display: flex;
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--card-bg);
    color: var(--text-color);
    font-size: 1.5rem;
    transition: all var(--transition-medium);
    border: 1px solid var(--border-color);
}

.social-link.instagram:hover {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    color: white;
    box-shadow: 0 0 15px rgba(223, 56, 148, 0.5);
    transform: translateY(-3px) rotate(10deg);
}

.social-link.whatsapp:hover {
    background-color: var(--whatsapp-color);
    color: white;
    box-shadow: 0 0 15px rgba(37, 211, 102, 0.5);
    transform: translateY(-3px) rotate(-10deg);
}

.contact-form {
    flex: 1.5;
    background-color: rgba(30, 30, 30, 0.5);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: var(--spacing-md);
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    background-color: rgba(18, 18, 18, 0.5);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    color: var(--text-color);
    font-size: var(--font-size-md);
    transition: all var(--transition-medium);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px rgba(0, 168, 255, 0.2);
}

.form-highlight {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    width: 0;
    background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
    transition: width var(--transition-medium);
}

.form-group input:focus~.form-highlight,
.form-group textarea:focus~.form-highlight {
    width: 100%;
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.whatsapp-direct {
    margin-top: var(--spacing-lg);
    text-align: center;
}

.whatsapp-direct p {
    margin-bottom: var(--spacing-sm);
    color: var(--text-color-secondary);
}

/* Mensagens de erro e sucesso */
.error-message {
    color: var(--error-color);
    font-size: var(--font-size-sm);
    margin-top: 5px;
    display: flex;
    align-items: center;
}

.error-message::before {
    content: 'âš ï¸';
    margin-right: 5px;
}

.form-group input.error,
.form-group textarea.error {
    border-color: var(--error-color);
    box-shadow: 0 0 0 1px rgba(220, 53, 69, 0.2);
}

.success-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-lg);
    text-align: center;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.success-message i {
    font-size: 4rem;
    color: var(--success-color);
    margin-bottom: var(--spacing-md);
    animation: successIcon 2s infinite;
}

@keyframes successIcon {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

.success-message h3 {
    font-size: var(--font-size-xl);
    margin-bottom: var(--spacing-sm);
    color: var(--text-color);
}

.success-message p {
    color: var(--text-color-secondary);
}

/* Footer */
footer {
    background-color: #0b0b0b;
    padding: var(--spacing-lg) 0;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-lg);
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.footer-logo img {
    height: 50px;
}

.footer-links ul {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-color-secondary);
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--accent-color);
}

.footer-social {
    display: flex;
    gap: var(--spacing-sm);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(51, 51, 51, 0.5);
    color: var(--text-color-secondary);
    font-size: var(--font-size-sm);
}

/* Responsividade */
@media (max-width: 992px) {
    :root {
        --font-size-hero: 2.5rem;
    }

    .about-content {
        flex-direction: column;
    }

    .contact-container {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    :root {
        --font-size-hero: 2rem;
        --font-size-xxl: 1.8rem;
    }

    #btn-mobile {
        display: flex;
        align-items: center;
        z-index: 1001;
    }

    #menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--card-bg);
        flex-direction: column;
        gap: 0;
        padding-top: 80px;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
        z-index: 1000;
    }

    #menu.active {
        right: 0;
    }

    #menu li {
        padding: 1rem 2rem;
        border-bottom: 1px solid var(--border-color);
    }

    #menu a {
        display: block;
        width: 100%;
    }

    .nav.active #hamburger {
        border-top-color: transparent;
    }

    .nav.active #hamburger::before {
        transform: rotate(135deg);
    }

    .nav.active #hamburger::after {
        transform: rotate(-135deg);
        top: -7px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons .btn {
        width: 100%;
        margin-bottom: var(--spacing-sm);
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links ul {
        justify-content: center;
    }

    .footer-social {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    :root {
        --spacing-xl: 3rem;
        --spacing-lg: 2rem;
        --font-size-hero: 1.8rem;
        --font-size-xxl: 1.5rem;
    }

    .hero {
        height: auto;
        min-height: 100vh;
        padding: 120px 0 60px;
    }
}

/* AnimaÃ§Ãµes e efeitos */
.electric-border {
    position: relative;
}

.electric-border::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 2px solid transparent;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--accent-color), transparent 50%, var(--accent-color)) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: electricBorder 2s infinite linear;
}

@keyframes electricBorder {
    0% {
        background-position: 0% 0%;
    }

    100% {
        background-position: 200% 0%;
    }
}

/* Estilo para scroll */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--background-color);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color);
}

/* Adicionar overlay para o menu mobile */
.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 999;
    transition: opacity 0.3s ease;
    opacity: 0;
}

.overlay.active {
    display: block;
    opacity: 1;
}

/* Classes para animaÃ§Ãµes */
.animated {
    animation-duration: 0.5s;
    animation-fill-mode: both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.section-title.animated {
    animation-name: fadeInUp;
}

.contact-form.animated {
    animation-name: fadeInRight;
    animation-delay: 0.2s;
}

.contact-info.animated {
    animation-name: fadeInLeft;
    animation-delay: 0.2s;
}

.portfolio-item.animated {
    animation-name: fadeInUp;
}

/* Efeito de digitaÃ§Ã£o na seÃ§Ã£o hero */
.typing-effect {
    overflow: hidden;
    white-space: nowrap;
    border-right: 3px solid var(--accent-color);
    animation: typing 3.5s steps(40, end), blink-caret 0.75s step-end infinite;
}

@keyframes typing {
    from {
        width: 0
    }

    to {
        width: 100%
    }
}

@keyframes blink-caret {

    from,
    to {
        border-color: transparent
    }

    50% {
        border-color: var(--accent-color)
    }
}

/* BotÃ£o WhatsApp Flutuante */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    align-items: center;
    background-color: var(--whatsapp-color);
    color: white;
    border-radius: 50px;
    padding: 10px 20px 10px 10px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all var(--transition-medium);
    overflow: hidden;
    animation: whatsappPulse 2s infinite;
}

.whatsapp-float::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1), transparent);
    top: 0;
    left: -100%;
    transform: skewX(-25deg);
    transition: all var(--transition-fast);
}

.whatsapp-float:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
}

.whatsapp-float:hover::before {
    left: 100%;
}

.whatsapp-float-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: white;
    margin-right: 10px;
}

.whatsapp-float-icon i {
    color: var(--whatsapp-color);
    font-size: 1.5rem;
}

.whatsapp-float-text {
    font-weight: 600;
    letter-spacing: 0.5px;
}

@keyframes whatsappPulse {
    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);
    }
}

/* Responsividade para o botÃ£o WhatsApp flutuante */
@media (max-width: 576px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        padding: 8px;
    }

    .whatsapp-float-text {
        display: none;
    }

    .whatsapp-float-icon {
        margin-right: 0;
    }
}

#contactForm button[type="submit"] {
    display: block;
    margin: 0 auto;
}

/* Estilo para o painel elÃ©trico personalizado */
.electrical-panel {
    position: relative;
    width: 50px;
    height: 60px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.panel-door {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid var(--accent-color);
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.1);
    z-index: 1;
}

.panel-door::before {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    background-color: var(--accent-color);
    border-radius: 50%;
    left: 5px;
    top: 50%;
    box-shadow: 0 0 3px var(--accent-color);
}

.panel-door::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 10px;
    background-color: var(--accent-color);
    right: -6px;
    top: 10px;
    box-shadow: 0 35px 0 var(--accent-color);
}

.panel-warning {
    position: relative;
    width: 24px;
    height: 20px;
    background-color: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    color: var(--accent-color);
    font-size: 12px;
    margin-bottom: 10px;
}

.panel-warning::before {
    content: '';
    position: absolute;
    width: 24px;
    height: 20px;
    border: 1px solid var(--accent-color);
    border-radius: 2px;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: -1;
}

.panel-lines {
    position: absolute;
    bottom: 10px;
    width: 30px;
    display: flex;
    flex-direction: column;
    gap: 3px;
    z-index: 2;
}

.panel-lines span {
    height: 2px;
    background-color: var(--accent-color);
    display: block;
}

/* AnimaÃ§Ã£o para o painel */
.service-card:hover .panel-warning {
    animation: blink 1s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

/* Estilo para o SVG do painel elÃ©trico */
.electrical-panel-svg {
    width: 60px;
    height: 60px;
    margin: 0 auto;
    filter: drop-shadow(0 0 5px rgba(0, 168, 255, 0.5));
    transition: all var(--transition-medium);
}

.service-card:hover .electrical-panel-svg {
    filter: drop-shadow(0 0 10px rgba(0, 168, 255, 0.8));
    transform: scale(1.05);
}

/* AnimaÃ§Ãµes para os elementos do painel elÃ©trico */
.electrical-panel-svg path {
    animation: glowPath 2s infinite alternate;
}

@keyframes glowPath {
    0% {
        opacity: 0.8;
        filter: drop-shadow(0 0 1px rgba(0, 168, 255, 0.5));
    }

    100% {
        opacity: 1;
        filter: drop-shadow(0 0 3px rgba(0, 168, 255, 1));
    }
}

.electrical-panel-svg circle {
    animation: pulseCicle 3s infinite alternate;
    transform-origin: center;
    transform-box: fill-box;
}

@keyframes pulseCicle {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }

    100% {
        transform: scale(1.05);
        opacity: 1;
    }
}

.electrical-panel-svg rect:nth-child(1),
.electrical-panel-svg rect:nth-child(2) {
    animation: borderGlow 4s infinite alternate;
}

@keyframes borderGlow {
    0% {
        stroke-dasharray: 0;
        stroke-dashoffset: 0;
    }

    50% {
        stroke-dasharray: 10;
        stroke-dashoffset: 20;
    }

    100% {
        stroke-dasharray: 5;
        stroke-dashoffset: 0;
    }
}

/* Estilo para a imagem do painel */
.panel-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    margin: 0 auto;
    position: relative;
}

.panel-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(55%) sepia(55%) saturate(5060%) hue-rotate(186deg) brightness(101%) contrast(105%);
    transition: all var(--transition-medium);
}

.service-card:hover .panel-image {
    filter: brightness(0) saturate(100%) invert(55%) sepia(55%) saturate(5060%) hue-rotate(186deg) brightness(120%) contrast(105%);
    transform: scale(1.05);
    animation: glowIcon 2s infinite alternate;
}

@keyframes glowIcon {
    0% {
        filter: brightness(0) saturate(100%) invert(55%) sepia(55%) saturate(5060%) hue-rotate(186deg) brightness(101%) contrast(105%) drop-shadow(0 0 2px rgba(0, 168, 255, 0.5));
    }

    100% {
        filter: brightness(0) saturate(100%) invert(55%) sepia(55%) saturate(5060%) hue-rotate(186deg) brightness(120%) contrast(105%) drop-shadow(0 0 5px rgba(0, 168, 255, 1));
    }
}

/* Scroll Animations */
.scroll-hidden {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.scroll-visible {
    opacity: 1;
    transform: translateY(0);
}

.benefit-card.scroll-hidden {
    transform: translateY(50px);
}

.experience-item.scroll-hidden {
    transform: translateX(-30px);
    opacity: 0;
}

.experience-item.reverse.scroll-hidden {
    transform: translateX(30px);
    opacity: 0;
}
/* 3D Logo Animation */
.perspective-container {
    perspective: 1000px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: visible !important; /* Ensure shadow/3d isn't clipped */
}

.logo-3d {
    max-width: 80%;
    /* Rotação Y negativa traz o lado direito para frente e joga o esquerdo para o fundo */
    transform: rotateY(-25deg) rotateX(5deg);
    transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
    filter: drop-shadow(20px 20px 30px rgba(0, 0, 0, 0.5));
    will-change: transform;
}

.logo-3d:hover {
    /* Efeito interativo ao passar o mouse: suaviza a perspectiva */
    transform: rotateY(0deg) scale(1.1);
    filter: drop-shadow(0 0 40px rgba(0, 168, 255, 0.4));
}


/* WhatsApp CTA Section */
.contact-cta-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    width: 100%;
}

.whatsapp-cta-card {
    background: linear-gradient(145deg, #1e1e1e, #161616);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-lg);
    text-align: center;
    border: 1px solid rgba(37, 211, 102, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    max-width: 450px;
    width: 100%;
    transition: transform var(--transition-medium);
}

.whatsapp-cta-card:hover {
    transform: translateY(-5px);
    border-color: rgba(37, 211, 102, 0.5);
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.15);
}

.cta-icon-container {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-icon-container i {
    font-size: 3.5rem;
    color: var(--whatsapp-color);
    z-index: 2;
    filter: drop-shadow(0 0 10px rgba(37, 211, 102, 0.5));
}

.pulse-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--whatsapp-color);
    animation: ringPulse 2s infinite;
    z-index: 1;
}

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

.whatsapp-cta-card h3 {
    margin-bottom: var(--spacing-sm);
    color: var(--text-color);
}

.whatsapp-cta-card p {
    color: var(--text-color-secondary);
    margin-bottom: var(--spacing-lg);
}

.btn-whatsapp-large {
    background: linear-gradient(45deg, #25D366, #128C7E);
    color: white;
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 50px;
    margin-bottom: var(--spacing-md);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-whatsapp-large:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
    color: white;
}

.cta-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--text-color-secondary);
    font-size: 0.9rem;
}

.status-dot {
    width: 10px;
    height: 10px;
    background-color: var(--whatsapp-color);
    border-radius: 50%;
    box-shadow: 0 0 5px var(--whatsapp-color);
    animation: blinkStatus 2s infinite;
}

@keyframes blinkStatus {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

