:root {
    --primary-color: #ff0000;
    --primary-light: #ff3333;
    --primary-dark: #cc0000;
    --secondary-color: #ff0000;
    --accent-color: #ff3333;
    --text-color: #ffffff;
    --text-dark: #ffffff;
    --bg-dark: #000000;
    --bg-darker: #000000;
    --bg-light: #1a1a1a;
    --transition: all 0.3s ease;
}

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

body {
    cursor: none;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

/* Preloader Styles */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000000;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.preloader.fade-out {
    opacity: 0;
    pointer-events: none;
}

.loader {
    text-align: center;
    color: #ffffff;
}

.loader .shield {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    animation: pulse 2s infinite;
}

.loader .shield-base {
    fill: none;
    stroke: #ff0000;
    stroke-width: 2;
    opacity: 0.3;
}

.loader .shield-line {
    fill: none;
    stroke: #ff0000;
    stroke-width: 2;
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    animation: draw 2s infinite;
}

.loader p {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 2px;
    margin: 0;
    animation: glow 2s infinite alternate;
}

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

@keyframes draw {
    0% { stroke-dashoffset: 100; }
    100% { stroke-dashoffset: 0; }
}

@keyframes glow {
    0% { opacity: 0.7; }
    100% { opacity: 1; }
}

@keyframes glow {
    0% { opacity: 0.7; }
    100% { opacity: 1; }
}

/* Cursor personalizado */
.cursor-dot,
.cursor-dot-outline {
    pointer-events: none;
    position: fixed;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    opacity: 0;
    transform: translate(-50%, -50%);
    transition: opacity 0.2s ease-in-out, transform 0.3s ease-in-out;
    z-index: 9999;
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--primary-color);
}

.cursor-dot-outline {
    width: 40px;
    height: 40px;
    background-color: rgba(128, 128, 128, 0.2);
    border: 1px solid var(--primary-color);
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Tipografia */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Orbitron', sans-serif;
    margin-bottom: 1rem;
    line-height: 1.2;
}

h1 {
    font-size: 3rem;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
    font-weight: 600;
    position: relative;
    display: inline-block;
}

h3 {
    font-size: 1.8rem;
    font-weight: 500;
}

h4 {
    font-size: 1.4rem;
    font-weight: 500;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-light);
}

.highlight {
    color: var(--primary-color);
    position: relative;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), transparent);
}

/* Botões */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    font-family: 'Orbitron', sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: none;
    cursor: pointer;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    z-index: -1;
}

.btn:hover::before {
    width: 100%;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 5px 15px rgba(128, 128, 128, 0.4);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(128, 128, 128, 0.6);
}

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

.btn-secondary:hover {
    color: white;
    background-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(128, 128, 128, 0.3);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    transition: var(--transition);
    background-color: transparent;
}

.header.scrolled {
    background-color: rgba(10, 14, 23, 0.9);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.logo-link:hover {
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(230, 0, 0, 0.5);
}

.logo-image {
    width: 45px;
    height: 45px;
    transition: all 0.3s ease;
}

.logo-link:hover .logo-image {
    transform: scale(1.05);
}

.logo-text {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 2px;
}



.nav-desktop ul {
    display: flex;
    list-style: none;
}

.nav-desktop ul li {
    margin-left: 30px;
}

.nav-link {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), transparent);
    transition: var(--transition);
}

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

.admin-link {
    color: var(--accent-color);
}

.menu-toggle {
    display: none;
    cursor: pointer;
}

.hamburger {
    width: 30px;
    height: 20px;
    position: relative;
}

.hamburger span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: var(--text-color);
    border-radius: 9px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: var(--transition);
}

.hamburger span:nth-child(1) {
    top: 0px;
}

.hamburger span:nth-child(2) {
    top: 9px;
}

.hamburger span:nth-child(3) {
    top: 18px;
}

.menu-open .hamburger span:nth-child(1) {
    top: 9px;
    transform: rotate(135deg);
}

.menu-open .hamburger span:nth-child(2) {
    opacity: 0;
    left: -60px;
}

.menu-open .hamburger span:nth-child(3) {
    top: 9px;
    transform: rotate(-135deg);
}

/* Menu Mobile */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background-color: var(--bg-darker);
    z-index: 999;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.3);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-container {
    padding: 40px;
}

.mobile-menu ul {
    list-style: none;
    margin-bottom: 40px;
}

.mobile-menu ul li {
    margin-bottom: 20px;
}

.mobile-nav-link {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.3rem;
    font-weight: 500;
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-social {
    display: flex;
    justify-content: center;
}

.mobile-social .social-icon {
    margin: 0 10px;
    font-size: 1.2rem;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.2;
    z-index: -1;
}

.hero-content {
    width: 100%;
    padding: 100px 0;
    position: relative;
    z-index: 1;
}

.hero-content .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-text {
    flex: 1;
    max-width: 600px;
}

.hero-text h1 {
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

/* Hero Typing Animation */
.hero-typing-animation {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
    padding: 20px;
}

.typing-container {
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    font-size: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: white;
}

.typing-static {
    color: white;
    margin-right: 15px;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.typing-dynamic {
    color: #e60000;
    min-width: 200px;
    text-align: left;
    text-shadow: 0 0 30px rgba(230, 0, 0, 0.6);
    filter: drop-shadow(0 0 15px rgba(230, 0, 0, 0.4));
    animation: textGlow 2s ease-in-out infinite;
}

.typing-cursor {
    color: #e60000;
    animation: blink 1s infinite;
    margin-left: 5px;
    text-shadow: 0 0 20px rgba(230, 0, 0, 0.8);
}

@keyframes textGlow {
    0%, 100% {
        filter: drop-shadow(0 0 15px rgba(255, 0, 0, 0.4)) brightness(1);
    }
    50% {
        filter: drop-shadow(0 0 25px rgba(255, 0, 0, 0.8)) brightness(1.2);
    }
}

/* ========================================
   CSS PARA SISTEMA DE DIGITAÇÃO ANIMADA
   ======================================== */

/* Cursor piscante realista */
@keyframes blink {
    0%, 50% {
        opacity: 1;
    }
    51%, 100% {
        opacity: 0;
    }
}

/* Cursor de digitação */
.typing-cursor {
    color: #e60000;
    animation: blink 1s infinite;
    margin-left: 5px;
    text-shadow: 0 0 20px rgba(230, 0, 0, 0.8);
    font-weight: 400;
    display: inline-block;
}

/* Estilo para texto destacado no título */
.hero-text h1 .highlight {
    color: #e60000;
    text-shadow: 0 0 30px rgba(230, 0, 0, 0.6);
    filter: drop-shadow(0 0 15px rgba(230, 0, 0, 0.4));
    font-weight: 700;
}

/* Container de digitação */
.typing-container {
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    font-size: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: white;
    position: relative;
}

/* Texto estático */
.typing-static {
    color: white;
    margin-right: 15px;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

/* Texto dinâmico */
.typing-dynamic {
    color: #e60000;
    min-width: 200px;
    text-align: left;
    text-shadow: 0 0 30px rgba(230, 0, 0, 0.6);
    filter: drop-shadow(0 0 15px rgba(230, 0, 0, 0.4));
    position: relative;
}

/* Animação suave para transições */
.hero-text h1 {
    transition: all 0.3s ease;
}

/* Responsividade para dispositivos móveis */
@media (max-width: 768px) {
    .typing-container {
        font-size: 1.8rem;
        letter-spacing: 1px;
    }
    
    .typing-dynamic {
        min-width: 150px;
    }
    
    .typing-static {
        margin-right: 10px;
    }
}

@keyframes typing {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

@keyframes erasing {
    from {
        width: 100%;
    }
    to {
        width: 0;
    }
}

/* Partículas de fundo para o texto */
.text-loop-container::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    right: -50px;
    bottom: -50px;
    background: radial-gradient(circle at 30% 30%, rgba(255, 0, 0, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 70%, rgba(255, 0, 0, 0.05) 0%, transparent 50%);
    animation: particleMove 8s ease-in-out infinite;
    pointer-events: none;
    z-index: -1;
}

@keyframes particleMove {
    0%, 100% {
        transform: rotate(0deg) scale(1);
    }
    50% {
        transform: rotate(180deg) scale(1.1);
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--text-color);
    border-radius: 20px;
    position: relative;
    margin-bottom: 10px;
}

.wheel {
    width: 6px;
    height: 6px;
    background-color: var(--text-color);
    border-radius: 50%;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

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

.arrows {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.arrow-down {
    width: 20px;
    height: 20px;
    border-right: 2px solid var(--text-color);
    border-bottom: 2px solid var(--text-color);
    transform: rotate(45deg);
    margin: -10px 0;
    animation: arrow 2s infinite;
}

.arrow-down:nth-child(2) {
    animation-delay: 0.2s;
}

@keyframes arrow {
    0%, 100% {
        opacity: 0.2;
    }
    50% {
        opacity: 1;
    }
}

/* Section Styles */
section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

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

.section-header p {
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.8;
}

/* Sobre Section */
.sobre-section {
    background-color: var(--bg-darker);
    position: relative;
}

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

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--primary-color), rgba(255, 0, 0, 0.3));
    transform: translateX(-50%);
    border-radius: 2px;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.3);
}

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

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

.timeline-marker {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.timeline-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), #cc0000);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    box-shadow: 0 0 30px rgba(255, 0, 0, 0.4), 0 0 60px rgba(255, 0, 0, 0.2);
    transition: all 0.3s ease;
    border: 4px solid rgba(255, 255, 255, 0.1);
}

.timeline-content {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
    width: calc(50% - 50px);
    position: relative;
    transition: all 0.4s ease;
    cursor: pointer;
    overflow: hidden;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: auto;
    margin-left: 50px;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: auto;
    margin-right: 50px;
}

.timeline-year {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
    text-shadow: 0 0 20px rgba(255, 0, 0, 0.5);
}

.timeline-content h3 {
    color: var(--text-light);
    font-size: 1.8rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.timeline-content p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 1rem;
}

.timeline-details {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    opacity: 0;
}

.timeline-details ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.timeline-details li {
    color: rgba(255, 255, 255, 0.7);
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    font-size: 0.9rem;
}

.timeline-details li::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-size: 0.8rem;
}

.timeline-content:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--primary-color);
    box-shadow: 0 30px 60px rgba(255, 0, 0, 0.3), 0 0 40px rgba(255, 0, 0, 0.2);
}

.timeline-content:hover .timeline-details {
    max-height: 200px;
    opacity: 1;
    margin-top: 15px;
}

.timeline-content:hover .timeline-icon {
    transform: scale(1.1) rotate(360deg);
    box-shadow: 0 0 40px rgba(255, 0, 0, 0.6), 0 0 80px rgba(255, 0, 0, 0.3);
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent 30%, rgba(255, 0, 0, 0.1) 50%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    border-radius: 20px;
}

.timeline-content:hover::before {
    opacity: 1;
}

/* Animações de entrada da timeline */
.timeline-item {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s ease;
}

.timeline-item.timeline-visible {
    opacity: 1;
    transform: translateY(0);
}

.timeline-item:nth-child(odd).timeline-visible .timeline-content {
    animation: slideInLeft 0.8s ease forwards;
}

.timeline-item:nth-child(even).timeline-visible .timeline-content {
    animation: slideInRight 0.8s ease forwards;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

.timeline-icon {
    animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 40px rgba(255, 0, 0, 0.6), 0 0 80px rgba(255, 0, 0, 0.3);
    }
}

.tech-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.tech-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(128, 128, 128, 0.05) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(128, 128, 128, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.3;
}

.tech-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.particle {
    position: absolute;
    width: 5px;
    height: 5px;
    background-color: var(--primary-color);
    border-radius: 50%;
    opacity: 0.3;
}

.particle:nth-child(1) {
    top: 20%;
    left: 10%;
    animation: particle-float 20s infinite linear;
}

.particle:nth-child(2) {
    top: 70%;
    left: 20%;
    animation: particle-float 25s infinite linear reverse;
}

.particle:nth-child(3) {
    top: 40%;
    left: 70%;
    animation: particle-float 30s infinite linear;
}

.particle:nth-child(4) {
    top: 80%;
    left: 80%;
    animation: particle-float 22s infinite linear reverse;
}

.particle:nth-child(5) {
    top: 30%;
    left: 50%;
    animation: particle-float 28s infinite linear;
}

@keyframes particle-float {
    0% {
        transform: translate(0, 0);
    }
    25% {
        transform: translate(100px, 50px);
    }
    50% {
        transform: translate(50px, 100px);
    }
    75% {
        transform: translate(-50px, 50px);
    }
    100% {
        transform: translate(0, 0);
    }
}

/* Stats Section */
.stats-section {
    background-color: #333333;
    padding: 80px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.stat-item {
    padding: 20px;
}

.stat-icon {
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 15px;
}

.stat-number {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-color);
}

.stat-text {
    font-size: 1.1rem;
    opacity: 0.8;
}

/* Serviços Section */
.servicos-section {
    background-color: var(--bg-dark);
}

.servicos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.servico-card {
    background-color: var(--bg-light);
    border-radius: 10px;
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.servico-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-color: rgba(128, 128, 128, 0.3);
}

.servico-icon {
    background-color: var(--primary-dark);
    padding: 30px;
    text-align: center;
}

.servico-icon i {
    font-size: 3rem;
    color: var(--text-color);
}

.servico-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.servico-content h3 {
    margin-bottom: 15px;
}

.servico-content p {
    margin-bottom: 20px;
    flex-grow: 1;
}

.servico-link {
    align-self: flex-start;
    color: var(--primary-color);
    font-weight: 600;
    display: flex;
    align-items: center;
}

.servico-link i {
    margin-left: 5px;
    transition: var(--transition);
}

.servico-link:hover i {
    transform: translateX(5px);
}

/* Dicas Section */
.dicas-section {
    background-color: var(--bg-darker);
}

.dicas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.dica-card {
    background-color: var(--bg-light);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.dica-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-color: rgba(128, 128, 128, 0.3);
}

.dica-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    transition: var(--transition);
}

.dica-card:hover .dica-icon {
    transform: translateY(-50px);
    opacity: 0;
}

.dica-card h4 {
    transition: var(--transition);
}

.dica-card:hover h4 {
    transform: translateY(-40px);
}

.dica-hover {
    position: absolute;
    bottom: -100px;
    left: 0;
    width: 100%;
    padding: 20px;
    transition: var(--transition);
    opacity: 0;
}

.dica-card:hover .dica-hover {
    bottom: 0;
    opacity: 1;
}

/* Contato Section */
.contato-section {
    background-color: var(--bg-dark);
}

.contato-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
}

.contato-info {
    background-color: var(--bg-light);
    border-radius: 10px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.contato-info h3 {
    margin-bottom: 30px;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.info-icon {
    width: 40px;
    height: 40px;
    background-color: var(--primary-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.info-icon i {
    color: var(--text-color);
    font-size: 1.2rem;
}

.social-media {
    display: flex;
    margin-top: 30px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background-color: var(--bg-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    transition: var(--transition);
}

.social-icon:hover {
    background-color: var(--primary-color);
    transform: translateY(-5px);
}

.contato-form {
    background-color: var(--bg-light);
    border-radius: 10px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.contato-form h3 {
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

input, textarea {
    width: 100%;
    padding: 12px 15px;
    background-color: var(--bg-dark);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    color: var(--text-color);
    font-family: 'Rajdhani', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(128, 128, 128, 0.2);
}

.map-container {
    position: relative;
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    background-color: var(--bg-light);
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 14, 23, 0.7);
    z-index: 1;
    transition: var(--transition);
    cursor: pointer;
}

.map-container:hover .map-overlay {
    opacity: 0;
}

.map-placeholder {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
    transition: var(--transition);
}

.map-container:hover .map-placeholder {
    opacity: 0;
}

.map-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* Footer */
.footer {
    background-color: var(--bg-darker);
    padding: 80px 0 30px;
    position: relative;
    overflow: hidden;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo p {
    margin-top: 10px;
    opacity: 0.7;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-links a {
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
}

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

.footer-bottom p {
    opacity: 0.7;
    font-size: 0.9rem;
}

.footer-tech-lines {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    overflow: hidden;
    pointer-events: none;
}

.tech-line {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    animation: tech-line 8s infinite;
}

.tech-line:nth-child(1) {
    bottom: 20px;
    animation-delay: 0s;
}

.tech-line:nth-child(2) {
    bottom: 40px;
    animation-delay: 2s;
}

.tech-line:nth-child(3) {
    bottom: 60px;
    animation-delay: 4s;
}

@keyframes tech-line {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(128, 128, 128, 0.4);
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--primary-dark);
    transform: translateY(-5px);
}

/* Responsive Styles */
@media (max-width: 992px) {
    html {
        font-size: 15px;
    }

    .nav-desktop {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .logo-image {
        width: 38px;
        height: 38px;
    }
    
    .logo {
        font-size: 1.3rem;
    }

    .hero-content .container {
        flex-direction: column;
        text-align: center;
    }

    .hero-text {
        margin-bottom: 50px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .typing-container {
        font-size: 1.8rem;
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .typing-dynamic {
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .typing-container {
        font-size: 1.5rem;
        padding: 10px;
    }
    
    .hero-typing-animation {
        margin-top: 20px;
        padding: 10px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        margin-top: 20px;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }

    section {
        padding: 80px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .timeline-container {
        padding: 0 15px;
    }
    
    .timeline-line {
        left: 30px;
    }
    
    .timeline-item {
        flex-direction: row !important;
        margin-bottom: 60px;
    }
    
    .timeline-marker {
        left: 30px;
        transform: translateX(-50%);
    }
    
    .timeline-content {
        width: calc(100% - 80px);
        margin-left: 80px !important;
        margin-right: 0 !important;
    }
    
    .timeline-year {
        font-size: 2rem;
    }
    
    .timeline-content h3 {
        font-size: 1.5rem;
    }
    
    .servicos-grid, .dicas-grid {
        grid-template-columns: 1fr;
    }

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

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

@media (max-width: 576px) {
    html {
        font-size: 13px;
    }

    .hero-section {
        height: auto;
        min-height: 100vh;
    }

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

    .mobile-menu {
        width: 100%;
    }

    .typing-content {
        font-size: 2rem;
    }

    .typing-cursor {
        font-size: 2rem;
    }

    .back-to-top {
        right: 20px;
        bottom: 20px;
        width: 40px;
        height: 40px;
    }
    
    .timeline-container {
        padding: 0 10px;
    }
    
    .timeline-line {
        left: 20px;
    }
    
    .timeline-marker {
        left: 20px;
    }
    
    .timeline-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .timeline-content {
        width: calc(100% - 60px);
        margin-left: 60px !important;
        padding: 20px;
    }
    
    .timeline-year {
        font-size: 1.5rem;
    }
    
    .timeline-content h3 {
        font-size: 1.2rem;
    }
    
    .timeline-content p {
        font-size: 0.9rem;
    }
}

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

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

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

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

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