:root {
    --primary-color: #69d2e7; /* Azul ciano da logo */
    --secondary-color: #ffffff;
    --bg-dark: #0f1113; /* Fundo escuro da logo */
    --bg-card: #1a1d21;
    --text-main: #e0e0e0;
    --text-muted: #a0a0a0;
    --accent-glow: rgba(105, 210, 231, 0.3);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

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

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

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(15, 17, 19, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.logo img {
    border-radius: 10px;
    height: 50px;
    width: auto;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

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

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 100px 10%;
    position: relative;
    background-image: url('hero-bg.jpg');
    background-size: cover;
    background-position: center;
    gap: 4rem;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--bg-dark) 40%, rgba(15, 17, 19, 0.7) 100%);
    z-index: 1;
}

.hero-content {
    flex: 1.2;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    word-wrap: break-word;
}

.highlight {
    color: var(--primary-color);
    text-shadow: 0 0 20px var(--accent-glow);
}

.hero p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

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

.btn {
    padding: 1rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    display: inline-block;
    border: none;
    font-family: inherit;
}

.btn.primary {
    background-color: var(--primary-color);
    color: var(--bg-dark);
}

/* Novo estilo para o botão Ver Site no Portfólio */
.btn-view {
    color: var(--bg-dark);
    text-decoration: none;
    background-color: var(--primary-color);
    padding: 0.8rem 1.8rem;
    border-radius: 50px; /* Formato pílula mais moderno */
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 5px 15px rgba(105, 210, 231, 0.3);
    border: 2px solid var(--primary-color);
}

.btn-view i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.btn-view:hover {
    background-color: transparent;
    color: var(--primary-color);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 25px rgba(105, 210, 231, 0.5);
}

.btn-view:hover i {
    transform: translate(3px, -3px); /* Ícone move levemente para cima e direita */
}


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

.btn.secondary:hover {
    background-color: var(--primary-color);
    color: var(--bg-dark);
}


.hero-image {
    flex: 0.8;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.code-window {
    width: 100%;
    max-width: 450px;
    background: #1e1e1e;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.1);
}

.window-header {
    background: #333;
    padding: 10px 15px;
    display: flex;
    gap: 8px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }

.window-body {
    padding: 20px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    overflow-x: auto;
}

.keyword { color: #c678dd; }
.variable { color: #e06c75; }
.string { color: #98c379; }

/* Section Titles */
.section-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--primary-color);
}

/* About Section */
.about {
    padding: 100px 0;
}

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

.photo-container {
    position: relative;
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    background: var(--bg-card);
}

.about-img-main {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.about-text p {
    margin-bottom: 1rem;
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Services Section */
.services {
    padding: 100px 0;
    background: rgba(255, 255, 255, 0.02);
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Centraliza os cards na linha */
    gap: 2rem;
}

.service-card {
    background: var(--bg-card);
    padding: 3rem 2rem;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(255,255,255,0.05);
    display: flex;
    flex-direction: column;
    height: auto;
    flex: 1 1 280px; /* Permite que cresçam, mas mantém base de 280px */
    max-width: 380px; /* Evita que fiquem largos demais ao centralizar */
}


.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.service-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.service-card p {
    color: var(--text-muted);
    font-size: 1rem;
}

/* Portfolio Section */
.portfolio {
    padding: 100px 0;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.portfolio-item {
    background: var(--bg-card);
    border-radius: 15px;
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.portfolio-img {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.portfolio-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-img img {
    transform: scale(1.1);
}

.img-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 17, 19, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.portfolio-item:hover .img-overlay {
    opacity: 1;
}

.portfolio-info {
    padding: 1.5rem;
    flex-grow: 1;
}

.portfolio-info h3 {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.portfolio-info p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: rgba(255, 255, 255, 0.02);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    background: var(--bg-card);
    padding: clamp(2rem, 5vw, 4rem);
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.05);
    align-items: start;
}

.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.contact-methods {
    margin-bottom: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.method {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
}

.method i {
    color: var(--primary-color);
    font-size: 1.4rem;
}

.contact-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1.2rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: var(--transition);
    width: 100%;
    max-width: 350px;
}

.contact-btn.wpp {
    background-color: #25d366;
    color: white;
}

.contact-btn:hover {
    transform: scale(1.02);
    filter: brightness(1.1);
}

/* Form Styling */
.styled-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group input, 
.form-group textarea {
    width: 100%;
    padding: 1.2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: white;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.08);
}

.full-width {
    width: 100%;
}

/* Footer */
footer {
    padding: 10px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.footer-logo img {
    border-top: 10px; 
    height: 40px;
    border-radius: 10px;
    
}

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

.social-links a {
    color: var(--text-muted);
    font-size: 1.5rem;
    transition: var(--transition);
}

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

/* Animations Classes */
.reveal-text, .reveal-up, .reveal-left, .reveal-right, .fade-in {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-up { transform: translateY(50px); }
.reveal-left { transform: translateX(-50px); }
.reveal-right { transform: translateX(50px); }

.active {
    opacity: 1 !important;
    transform: translate(0, 0) !important;
}
.ff {
        white-space: nowrap;
    }
/* Responsive */
@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 150px;
        height: auto;
        padding-bottom: 80px;
    }
    .hero-bg-overlay {
        background: linear-gradient(180deg, var(--bg-dark) 50%, rgba(15, 17, 19, 0.8) 100%);
    }
    .hero-content {
        max-width: 800px;
    }
    .hero p {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-btns {
        justify-content: center;
    }
    .hero-image {
        width: 100%;
        margin-top: 3rem;
    }
    .contact-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .contact-btn {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .menu-toggle { display: block; }
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
}
