/* Inicio */

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

@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

[data-reveal] {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
    transition-delay: var(--delay, 0ms);
}

[data-reveal][data-slide="left"] {
    transform: translateX(-50px);
}

[data-reveal][data-slide="right"] {
    transform: translateX(50px);
}

[data-reveal][data-slide="up"] {
    transform: translateY(50px);
}

[data-reveal][data-slide="down"] {
    transform: translateY(-50px);
}

[data-reveal].visible {
    opacity: 1;
    transform: translate(0, 0);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #000;
}


header {
    background-color: #000;
    color: #fff;
    padding: 0;
    text-align: center;
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    margin: 0 auto;
}

header nav a {
    text-decoration: none;
    padding: 10px 15px;
}

header nav a img {
    height: 30px;
    width: auto;
    display: block;
}

header nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

header nav ul li {
    margin-left: 10px;
}

header nav ul li a {
    color: #bdbdbd;
    font-size: 0.85em;
    transition: color 0.3s;
    font-weight: 500;
}

header nav ul li a:hover {
    color: #fff;
}


.nav-icons {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-icons img {
    height: 20px;
    width: auto;
    vertical-align: middle;
}

.nav-icons .menu-toggle img {
    height: 24px;
}

.menu-toggle {
    font-size: 24px;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    display: none;
}

.menu-toggle img {
    pointer-events: auto;
}

@media (max-width: 832px) {

    .menu-toggle {
        display: block;
        position: relative;
        z-index: 200;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: #000;
        flex-direction: column;
        justify-content: start;
        align-items: self-start;
        gap: 30px;
        opacity: 0;
        transform: translateY(-100%);
        visibility: hidden;
        transition: all 0.4s ease-in-out;
        z-index: 100;
        font-size: 2.5em;
        padding-top: 120px;
    }

    .nav-links.active {
        opacity: 1;
        transform: translateY(0);
        visibility: visible;
    }

    .nav-links li a {
        font-weight: 700;
        letter-spacing: 0.5px;
    }

    .menu-toggle {
        background: none;
        border: none;
        cursor: pointer;
    }

    .menu-icon,
    .close-icon {
        height: 26px;
    }
}

/* Hero */

.hero {
    position: relative;
    height: 100vh;
    background:
        linear-gradient(to bottom, rgba(0, 0, 0, 0) 60%, #000 100%),
        url('../img/dot-grid.jpg') center center / cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
    color: #fff;
}

.hero .overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1;
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

#typing-highlight {
    background: linear-gradient(90deg, #ffffff, #00e0ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}


.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: bolder;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #ccc;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center;
}

.hero-buttons a {
    width: 100%;
    max-width: 260px;
}


.btn {
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease, color 0.3s ease;
    border-radius: 50px;

}

.btn.primary {
    background: linear-gradient(135deg, #111, #333);
    color: #fff;
    border: none;
    box-shadow: 0 4px 14px rgba(255, 255, 255, 0.1);
    font-weight: 600;
    padding: 16px 32px;
}

.btn.primary:hover {
    background: linear-gradient(135deg, #000, #222);
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
    background: linear-gradient(135deg, #111, #333);
}

.btn.secondary {
    background: none;
    color: #ccc;
    border: none;
    font-weight: 500;
}

.btn.secondary:hover {
    color: #fff;
    text-decoration: underline;
    text-shadow: 0 0 6px rgba(255, 255, 255, 0.2);
}

.scroll-indicator {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    opacity: 0.7;
}

.scroll-indicator img {
    height: 32px;
    animation: bounce 2.5s infinite ease-in-out;
    cursor: pointer;
}

/* Animação bounce sutil */
@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(10px);
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: clamp(1.8rem, 5vw, 3rem);
        padding: 0 20px;
    }

    .hero-content p {
        font-size: clamp(1rem, 3vw, 1.2rem);
        padding: 0 20px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .btn {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
}

/* Quem somos? */
.section-label {
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.75rem;
    color: #888;
    display: block;
    margin-bottom: 10px;
}

.section-divider {
    width: 60px;
    height: 2px;
    background: linear-gradient(to right, #444, #fff, #444);
    margin: 20px auto 40px;
    opacity: 0.5;
}

.about {
    position: relative;
    background: #000;
    transform: scaleY(-1);
    z-index: 1;
    padding: 100px 20px;
    color: #fff;
    text-align: center;
}

.about::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.02), transparent 80%);
    z-index: 0;
}

.about .overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1;
}

.about .container {
    position: relative;
    transform: scaleY(-1);
    z-index: 1;
    max-width: 1000px;
    margin: 0 auto;
}

.about h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 30px;
}

.about p {
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto 20px auto;
    color: #ccc;
}

.about-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 60px;
}

.card {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 30px;
    width: 280px;
    backdrop-filter: blur(4px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.02);
}

.card-icon {
    height: 24px;
    margin-bottom: 10px;
    opacity: 0.6;
    transition: transform 0.3s ease;
}

.card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #fff;
}

.card p {
    font-size: 1rem;
    color: #ccc;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.05);
    background-color: rgba(255, 255, 255, 0.025);
}

.card:hover .card-icon {
    transform: scale(1.1);
    opacity: 0.8;
}

@media (max-width: 768px) {
    .about h2 {
        font-size: 1.6rem;
    }

    .about p {
        font-size: 1rem;
        padding: 0 10px;
    }

    .about-cards {
        flex-direction: column;
        align-items: center;
    }

    .card {
        width: 100%;
        max-width: 320px;
    }
}

/* Serviços */

.services {
    position: relative;
    background-color: #000;
    padding: 100px 20px;
    text-align: center;
    color: #fff;
    overflow: hidden;
}

.services::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.02), transparent 70%);
    z-index: 0;
}

.services::after {
    content: "";
    position: absolute;
    top: 120px;
    left: 65%;
    width: 400px;
    height: calc(100% - 120px);
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.33) 1px, transparent 1px);
    background-size: 22px 22px;
    opacity: 1;
    z-index: 1;
    pointer-events: none;
    transform: translateX(-50%);
}


.services .container {
    position: relative;
    z-index: 2;
}

.services h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 30px;
    width: 280px;
    backdrop-filter: blur(4px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.05);
    background-color: rgba(255, 255, 255, 0.03);
}

.service-card h3 {
    font-size: 1.2rem;
    margin: 15px 0;
    color: #fff;
}

.service-card p {
    font-size: 0.95rem;
    color: #ccc;
}

.service-icon {
    height: 32px;
    opacity: 0.7;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
    opacity: 0.8;
}

@media (max-width: 768px) {
    .services-grid {
        flex-direction: column;
        align-items: center;
    }

    .service-card {
        width: 100%;
        max-width: 320px;
    }
}

/* Portfolio */

.portfolio-section {
    position: relative;
    background-color: #000;
    padding: 100px 20px;
    text-align: center;
    color: #fff;
    overflow: hidden;
    z-index: 0;
}

.portfolio-section::before {
    content: "";
    position: absolute;
    top: 100px;
    left: 0;
    width: 300px;
    height: 100%;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.3) 1px, transparent 1px);
    background-size: 22px 22px;
    opacity: 1;
    z-index: 1;
    pointer-events: none;
}

.portfolio-section .container {
    position: relative;
    z-index: 2;
}

.portfolio-section h2 {
    margin-bottom: 10px;
}

.portfolio-section p {
    color: #aaa;
    font-size: 0.95rem;
    max-width: 500px;
    margin: 0 auto 30px auto;
}

.github-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 12px;
    background-color: rgba(255, 255, 255, 0.02);
    color: #fff;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: background 0.3s ease;
    font-weight: 500;
}

.github-link:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.github-link img {
    height: 20px;
    opacity: 0.8;
}


.terminal-mockup {
    margin-top: 40px;
    font-family: 'Courier New', monospace;
    color: #0f0;
    font-size: 0.95rem;
    background-color: rgba(255, 255, 255, 0.02);
    padding: 16px 24px;
    border-radius: 10px;
    display: inline-block;
    min-height: 28px;
    white-space: nowrap;
    overflow: hidden;
    position: relative;
}

.cursor {
    display: inline-block;
    margin-left: 5px;
    animation: blink 1s step-start infinite;
    color: #0f0;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

/* Tecnologias */

.tech-section {
    padding: 100px 20px;
    text-align: center;
    background-color: #000;
    color: #fff;
}

.tech-section h2 {
    margin-bottom: 40px;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
    justify-items: center;
}

.tech-icon {
    position: relative;
    width: 64px;
    height: 64px;
    transition: transform 0.3s ease, filter 0.3s ease;
    cursor: pointer;
}

.tech-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: grayscale(100%) brightness(0.8);
    transition: filter 0.3s ease, transform 0.3s ease;
}

.tech-icon:hover img {
    filter: grayscale(0%) brightness(1.2);
    transform: scale(1.15);
}

/* Tooltip */

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 32px;
    max-width: 960px;
    margin: 0 auto;
    justify-items: center;
    align-items: center;
}

.tech-icon {
    position: relative;
    width: 64px;
    height: auto;
    text-align: center;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.tech-icon img {
    width: 100%;
    filter: grayscale(100%) brightness(0.8);
    transition: transform 0.3s ease, filter 0.3s ease;
}

.tech-icon:hover img {
    filter: grayscale(0%) brightness(1.2);
    transform: scale(1.1);
}

.tech-icon small {
    display: block;
    font-size: 0.75rem;
    margin-top: 8px;
    color: #888;
}

/* Tooltip */
.tech-icon::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.06);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.7rem;
    color: #fff;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    white-space: nowrap;
}

.tech-icon:hover::after {
    opacity: 1;
}

/* Carreiras */

.career-section {
    padding: 100px 20px;
    background: #000;
    color: #fff;
    text-align: center;
}

.career-desc {
    max-width: 600px;
    margin: 0 auto 40px;
    color: #aaa;
    font-size: 1rem;
}

.career-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.career-filters button {
    background: none;
    border: 1px solid #333;
    padding: 8px 16px;
    border-radius: 20px;
    color: #fff;
    cursor: pointer;
    font-size: 0.9rem;
    transition: 0.3s;
}

.career-filters .active,
.career-filters button:hover {
    background: #fff;
    color: #000;
}

.career-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 800px;
    margin: 0 auto;
}

.career-card {
    background: #111;
    padding: 24px;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.career-info strong {
    font-size: 1.1rem;
    display: block;
    margin-bottom: 8px;
}

.tag {
    background: #222;
    color: #fff;
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 8px;
    margin-right: 6px;
    display: inline-block;
}

.tag-dev {
    background: #0af;
}

.tag-design {
    background: #ff5edc;
}

.career-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.career-btn {
    background: #fff;
    color: #000;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: bold;
    text-decoration: none;
    transition: 0.3s;
}

.career-btn:hover {
    background: #0af;
    color: #fff;
}

.career-link {
    color: #aaa;
    font-size: 0.85rem;
    text-decoration: underline;
}

.career-search {
    margin-bottom: 30px;
    text-align: center;
}

.career-search input {
    background: transparent;
    border: 1px solid #333;
    padding: 10px 16px;
    border-radius: 20px;
    color: #fff;
    width: 100%;
    max-width: 400px;
    font-size: 1rem;
}

/* Contato */

.modal-left::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(#444 1px, transparent 1px);
    background-size: 22px 22px;
    opacity: 0.8;
    z-index: 0;
}


textarea {
    resize: none;
}

.contact-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(6px);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.contact-modal.active {
    display: flex;
}

.modal-glass {
    display: flex;
    max-width: 1000px;
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 40px;
    color: #fff;
    position: relative;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.modal-left,
.modal-right {
    flex: 1;
    padding: 0 20px;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.modal-left h3,
.modal-right h3 {
    font-size: 1.6rem;
    margin-bottom: 12px;
}

.contact-box {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 12px 0;
}

.contact-box img {
    width: 24px;
    height: 24px;
    filter: invert(100%);
}

.extra-info {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 30px;
    font-size: 0.85rem;
    color: #bbb;
}

form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.form-row {
    display: flex;
    gap: 12px;
}

input,
textarea,
select {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid #444;
    color: #fff;
    padding: 12px;
    border-radius: 10px;
    width: 100%;
    font-size: 0.95rem;
}

.btn-send {
    background: linear-gradient(to right, #fff, #999);
    color: #000;
    font-weight: bold;
    padding: 12px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: 0.3s;
}

.btn-send:hover {
    background: linear-gradient(to right, #0af, #6f0);
}

.close-modal {
    position: absolute;
    top: 16px;
    right: 20px;
    font-size: 26px;
    color: #aaa;
    cursor: pointer;
}

.modal-gradient {
    background: linear-gradient(to right, #ffffff, #d4af37);
    /* branco → dourado */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.modal-logo {
    display: block;
    width: 120px;
    opacity: 0.08;
    margin-top: 40px;
    margin-inline: auto;
    filter: grayscale(100%);
    pointer-events: none;
}

/* Footer */

.footer-pro {
    background: #0a0a0a;
    color: #ccc;
    font-size: 0.95rem;
    padding: 60px 20px 30px;
}

.footer-pro a {
    color: #ccc;
    text-decoration: none;
    transition: 0.2s;
}

.footer-pro a:hover {
    color: #fff;
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto 40px;
}

.footer-col h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #fff;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 6px;
}

.footer-col.brand img {
    width: 160px;
    margin-bottom: 15px;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: #777;
    border-top: 1px solid #1a1a1a;
    padding-top: 20px;
    max-width: 1200px;
    margin: 0 auto;
    gap: 10px;
}

.footer-bottom-center {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.footer-bottom-right {
    display: flex;
    gap: 12px;
}

.footer-bottom-right img {
    width: 18px;
    opacity: 0.7;
    transition: 0.2s;
}

.footer-bottom-right img:hover {
    opacity: 1;
}

/* Mensagem formulario */

#enviar-btn.loading {
    opacity: 0.8;
    cursor: not-allowed;
}

.mensagem {
    margin-top: 20px;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 15px;
    animation: fadeIn 0.5s ease-in-out;
    text-align: center;
}

.mensagem.sucesso {
    background-color: #d1f7c4;
    color: #2e7d32;
}

.mensagem.erro {
    background-color: #ffd6d6;
    color: #c62828;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}