/* style.css - Design Harmônico, Tecnológico e Premium */

/* === Variables & Resets === */
:root {
    --bg-color: #050507;
    --text-main: #f0f4f8;
    --text-muted: #94a3b8;

    /* Neon Accents (Warm Palette) */
    --neon-cyan: #ff0055;
    /* Nova cor principal: Rosa/Pink vibrante */
    --neon-purple: #ffb703;
    /* Nova cor secundária: Amarelo/Dourado */
    --neon-pink: #d90429;
    /* Nova cor de destaque: Vermelho intenso */

    /* Glassmorphism Variables */
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-glow: rgba(255, 0, 85, 0.15);
    /* Brilho agora baseado na cor rosa */

    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* === Background Elements === */
.grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: -2;
    pointer-events: none;
}

.blob {
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    opacity: 0.5;
    animation: float 20s infinite ease-in-out alternate;
}

.blob-1 {
    width: 40vw;
    height: 40vw;
    background: radial-gradient(circle, var(--neon-purple), transparent 70%);
    top: -10%;
    left: -10%;
}

.blob-2 {
    width: 30vw;
    height: 30vw;
    background: radial-gradient(circle, var(--neon-cyan), transparent 70%);
    bottom: 10%;
    right: -10%;
    animation-delay: -5s;
}

@keyframes float {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(5%, 10%) scale(1.1);
    }
}

/* === Utility Classes === */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
}

.glass-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.glass-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 30px var(--glass-glow);
    transform: translateY(-5px);
}

.gradient-text {
    background: linear-gradient(to right, var(--neon-cyan), var(--neon-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.section {
    padding: 100px 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* === Buttons === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    outline: none;
}

.btn-primary {
    background: linear-gradient(45deg, var(--neon-cyan), var(--neon-purple));
    color: #fff;
    box-shadow: 0 4px 15px rgba(255, 0, 85, 0.3);
    /* Rosa */
}

.btn-primary:hover {
    box-shadow: 0 0 25px rgba(255, 183, 3, 0.6);
    /* Amarelo */
    transform: scale(1.05);
}

.btn-secondary {
    color: var(--text-main);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* === Navigation === */
.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    border-radius: 50px;
    z-index: 1000;
    padding: 15px 30px;
    transition: var(--transition-smooth);
}

.navbar.scrolled {
    width: 100%;
    top: 0;
    border-radius: 0;
    border-left: none;
    border-right: none;
    border-top: none;
    background: rgba(5, 5, 7, 0.8);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--text-main);
    text-decoration: none;
    letter-spacing: 1px;
}

.logo span {
    color: var(--neon-cyan);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links li a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
    position: relative;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--neon-cyan);
    transition: width 0.3s ease;
}

.nav-links li a:hover::after,
.nav-links li a.active::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
}

/* === Hero Section === */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 120px;
    gap: 50px;
}

.hero-content {
    flex: 1;
}

.subtitle {
    color: var(--neon-cyan);
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.title {
    font-size: clamp(3rem, 5vw, 5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
}

.description {
    color: var(--text-muted);
    font-size: 1.15rem;
    max-width: 500px;
    margin-bottom: 40px;
}

.cta-group {
    display: flex;
    gap: 20px;
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-card {
    width: 300px;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 30px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 0, 85, 0.05));
    animation: float 6s infinite ease-in-out;
}

.glow-icon {
    font-size: 100px;
    color: rgba(255, 255, 255, 0.8);
    filter: drop-shadow(0 0 20px var(--neon-cyan));
}

.card-glow {
    position: absolute;
    width: 150px;
    height: 150px;
    background: var(--neon-purple);
    filter: blur(80px);
    border-radius: 50%;
    z-index: -1;
    opacity: 0.5;
}

/* === About Section === */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.image-card {
    aspect-ratio: 4/5;
    border-radius: 30px;
    padding: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(145deg, rgba(255, 0, 85, 0.15), rgba(255, 183, 3, 0.15));
}

.author-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    border-radius: 20px;
    transition: var(--transition-smooth);
    filter: brightness(0.95) contrast(1.05);
}

.image-card:hover .author-photo {
    filter: brightness(1) contrast(1.1);
    transform: scale(1.02);
}

.about-text {
    padding: 40px;
    border-radius: 30px;
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.about-text p {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.stats {
    display: flex;
    gap: 30px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--glass-border);
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--neon-cyan);
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
}

/* === Works Section === */
.works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.work-card {
    padding: 40px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.work-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 183, 3, 0.1);
    /* Fundo amarelo suave */
    border-radius: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    color: var(--neon-purple);
    /* Ícone amarelo */
    margin-bottom: 25px;
}

.work-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.work-card p {
    color: var(--text-muted);
    margin-bottom: 30px;
    flex-grow: 1;
}

.read-more {
    display: inline-flex;
    align-items: center;
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.read-more i {
    transition: transform 0.3s;
}

.read-more:hover {
    color: var(--neon-purple);
}

.read-more:hover i {
    transform: translateX(5px);
}

/* === Contact Section === */
.contact-container {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 50px;
    padding: 50px;
    border-radius: 30px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.input-group {
    position: relative;
}

.input-group input,
.input-group textarea {
    width: 100%;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 15px 20px;
    color: var(--text-main);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition-smooth);
    outline: none;
}

.input-group input:focus,
.input-group textarea:focus {
    border-color: var(--neon-cyan);
    box-shadow: 0 0 15px rgba(255, 0, 85, 0.1);
    /* Brilho rosa */
}

.input-group label {
    position: absolute;
    left: 20px;
    top: 15px;
    color: var(--text-muted);
    transition: var(--transition-smooth);
    pointer-events: none;
}

.input-group input:focus~label,
.input-group input:not(:placeholder-shown)~label,
.input-group textarea:focus~label,
.input-group textarea:not(:placeholder-shown)~label {
    top: -10px;
    left: 15px;
    font-size: 0.8rem;
    background: var(--bg-color);
    /* To cover border */
    padding: 0 5px;
    color: var(--neon-cyan);
    border-radius: 4px;
}

.textarea-container label {
    top: 15px;
}

.submit-btn {
    align-self: flex-start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
    justify-content: center;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
}

.info-item i {
    font-size: 24px;
    color: var(--neon-purple);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    color: var(--text-main);
    text-decoration: none;
}

.social-icon:hover {
    color: var(--neon-cyan);
    border-color: var(--neon-cyan);
    transform: translateY(-3px);
}

/* === WhatsApp Link === */
.whatsapp-link {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    padding: 12px 20px;
    border-radius: 12px;
    background: rgba(37, 211, 102, 0.08);
    border: 1px solid rgba(37, 211, 102, 0.2);
    transition: var(--transition-smooth);
}

.whatsapp-link:hover {
    background: rgba(37, 211, 102, 0.15);
    border-color: rgba(37, 211, 102, 0.5);
    transform: translateX(5px);
}

.whatsapp-link i {
    color: #25D366 !important;
    font-size: 26px !important;
}

.whatsapp-icon {
    background: rgba(37, 211, 102, 0.1) !important;
    border-color: rgba(37, 211, 102, 0.3) !important;
}

.whatsapp-icon:hover {
    color: #25D366 !important;
    border-color: #25D366 !important;
    background: rgba(37, 211, 102, 0.2) !important;
}

/* === Email Link === */
.email-link {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    padding: 12px 20px;
    border-radius: 12px;
    background: rgba(234, 67, 53, 0.08);
    border: 1px solid rgba(234, 67, 53, 0.2);
    transition: var(--transition-smooth);
}

.email-link:hover {
    background: rgba(234, 67, 53, 0.15);
    border-color: rgba(234, 67, 53, 0.5);
    transform: translateX(5px);
}

.email-link i {
    color: #EA4335 !important;
    font-size: 26px !important;
}

.email-icon {
    background: rgba(234, 67, 53, 0.1) !important;
    border-color: rgba(234, 67, 53, 0.3) !important;
}

.email-icon:hover {
    color: #EA4335 !important;
    border-color: #EA4335 !important;
    background: rgba(234, 67, 53, 0.2) !important;
}

/* === Footer === */
.footer {
    padding: 30px;
    text-align: center;
    margin-top: 50px;
    border-radius: 30px 30px 0 0;
    border-bottom: none;
    border-left: none;
    border-right: none;
}

.credits {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 10px;
}

/* === Animations (Scroll Reveal) === */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal.left {
    transform: translateX(-50px);
}

.reveal.left.active {
    transform: translateX(0);
}

.reveal.right {
    transform: translateX(50px);
}

.reveal.right.active {
    transform: translateX(0);
}

.reveal.fade-up {
    transform: translateY(50px);
}

.reveal.fade-up.active {
    transform: translateY(0);
}


/* === Responsive Design === */
@media (max-width: 991px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 150px;
    }

    .cta-group {
        justify-content: center;
    }

    .about-grid,
    .contact-container {
        grid-template-columns: 1fr;
    }

    .contact-container {
        padding: 30px;
    }

    .about-image-wrapper {
        order: -1;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        /* Mobile menu needed */
    }

    .menu-toggle {
        display: block;
    }

    .section {
        padding: 60px 5%;
    }

    .title {
        font-size: 2.5rem;
    }

    .stats {
        flex-direction: column;
        gap: 20px;
    }
}