﻿/* wwwroot/css/site.css */

/* =========================
   VARIÁVEIS E RESET
========================= */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --bg-900: #0b1220;
    --bg-800: #0f1726;
    --surface: #0a1622;
    --primary: #00BCD4;
    --primary-hover: #26E0F4;
    --accent: #0fd9cf;
    --muted: #8892b0;
    --card: #0f1a25;
    --white: #e6f0ff;
    --glass: rgba(255,255,255,0.03);
    --radius: 14px;
    --max-w: 1200px;
    --text: #e5e7eb;
    --text-muted: #9ca3af;
}

html {
    height: 100%;
    scroll-behavior: smooth;
    font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}


body {
    min-height: 100vh;
    background: radial-gradient(circle at 20% 20%, #1e2a4a 0%, transparent 30%), radial-gradient(circle at 80% 80%, #142042 0%, transparent 30%), linear-gradient(180deg, #0b1120 0%, #0f1726 100%);
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
    color: var(--text);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.7;
    font-size: 18px;
    font-family: "Poppins", sans-serif;
}

.site-header::before {
    content: "";
    position: absolute;
    inset: 0;
    height: 100%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.05), transparent);
    pointer-events: none;
}

/* Cria um leve brilho translúcido nas sections */
.section {
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: var(--radius);
    padding: 64px 4%;
    backdrop-filter: blur(6px);
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.2);
    transition: transform .25s ease;
    padding-top: 60px;
    padding-bottom: 60px;
}

.nav-link.active {
    color: var(--accent);
    position: relative;
}

    .nav-link.active::after {
        content: "";
        position: absolute;
        bottom: -4px;
        left: 0;
        width: 100%;
        height: 2px;
        background: var(--accent);
        border-radius: 4px;
    }

.muted, .text-muted {
    color: var(--text-muted);
}

    .section:hover {
        transform: translateY(-4px);
    }

/* Destaca títulos com leve brilho */

h1, h2, h3, h4 {
    font-weight: 700;
    color: var(--text);
    margin-bottom: 12px;
}

h1 {
    font-size: clamp(48px, 6vw, 56px);
}

h2 {
    font-size: clamp(36px, 4vw, 42px);
}

p, li, a, span {
    font-weight: 400;
}
/* =========================
   GLASSMORPHISM NOS CARDS
========================= */
.project-card,
.contact-card {
    backdrop-filter: blur(8px);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

    .project-card:hover,
    .contact-card:hover {
        border-color: var(--primary);
        transform: translateY(-6px);
    }

/* =========================
   CYAN VARIATION HOVERS
========================= */
a, .btn-link {
    color: var(--primary);
    transition: 0.25s ease;
}

    a:hover, .btn-link:hover {
        color: var(--primary-hover);
    }

/* =========================
   CURSOR PERSONALIZADO (sutil)
========================= */
a, button {
    cursor: pointer;
}

.interactive:hover {
    cursor: url('images/cursor-pointer.svg'), pointer;
}

/* =========================
   FADE-IN AO SCROLL
========================= */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

    .fade-in.visible {
        opacity: 1;
        transform: translateY(0);
    }




/* =========================
   CONTAINER
========================= */
.container {
    width: 90%;
    max-width: var(--max-w);
    margin: 0 auto;
}

/* =========================
   HEADER
========================= */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(6px);
    background: linear-gradient(180deg, rgba(8,12,20,0.72), rgba(8,12,20,0.38));
    border-bottom: 1px solid rgba(255,255,255,0.03);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
}

.brand {
    color: var(--white);
    font-weight: 700;
    text-decoration: none;
    font-size: 1.05rem;
}

    .brand:hover {
        color: var(--accent);
    }

.nav-list {
    display: flex;
    gap: 20px;
    list-style: none;
}

    .nav-list a {
        color: var(--muted);
        text-decoration: none;
        padding: 6px 8px;
        border-radius: 8px;
        transition: all .18s ease;
    }

        .nav-list a:hover, .nav-list a.active {
            color: var(--primary);
            background: rgba(255,255,255,0.02);
            transform: translateY(-2px);
        }

/* Buttons */
.btn {
    display: inline-block;
    cursor: pointer;
    border: 0;
}

.btn-primary {
    background: linear-gradient(90deg, var(--accent), var(--primary));
    color: #04121a;
    padding: 10px 18px;
    border-radius: 10px;
    font-weight: 700;
}

.btn-outline {
    border: 1px solid rgba(255,255,255,0.06);
    background: transparent;
    color: var(--white);
    padding: 9px 14px;
    border-radius: 10px;
}

.btn-ghost {
    background: transparent;
    color: var(--primary);
    border: 1px solid rgba(255,255,255,0.03);
    padding: 8px 14px;
    border-radius: 10px;
}

/* =========================
   HERO
========================= */
.hero {
    padding: 80px 0;   
}
.hero-media {
    display: flex;
    justify-content: flex-end;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 40px;
    align-items: center;
}

.eyebrow {
    color: var(--muted);
    font-weight: 600;
    letter-spacing: .6px;
    margin-bottom: 6px;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.hero-text h1 {
    font-size: 2.75rem; /* mais impacto */
    line-height: 1.05;
    margin: 0 0 6px 0;
    color: var(--white);
    font-weight: 700;
}
.hero-metrics {
    display: flex;
    gap: 12px;
    align-items: center;
    margin: 12px 0;
    font-weight: 600;
    color: var(--muted);
    font-size: 0.95rem;
}
.hero-metrics .metric {
  background: rgba(255,255,255,0.02);
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--white);
}
.hero-metrics .separator {
  color: rgba(255,255,255,0.15);
}

.hero-ctas {
    display: flex;
    gap: 12px;
    margin-top: 18px;
    align-items: center;
}

.btn-cv {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.06);
    color: var(--white);
    text-decoration: none;
}

.profile-wrapper {
    width: 320px;
    height: 320px;
    position: relative;
    display: inline-block;
    border-radius: 50%;
    padding: 6px; /* espaço para o anel */
    transition: transform .35s cubic-bezier(.2,.9,.2,1);
    will-change: transform;
}

    .profile-wrapper::before {
        content: "";
        position: absolute;
        inset: 0;
        border-radius: 50%;
        padding: 3px;
        background: linear-gradient(90deg, rgba(19,200,185,0.6), rgba(58,190,246,0.6));
        -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 8px), black calc(100% - 7px));
        mask: radial-gradient(farthest-side, transparent calc(100% - 8px), black calc(100% - 7px));
        filter: blur(6px);
        opacity: 0.95;
        transform: scale(0.98);
        transition: transform .45s ease, filter .45s ease, opacity .35s ease;
        pointer-events: none;
    }
.subtitle {
    color: var(--muted);
    font-weight: 600;
    margin-bottom: 12px;
}

.lead {
    color: rgba(230,240,255,0.85);
    margin-bottom: 18px;
    max-width: 680px;
}

.tech-list {
    display: flex;
    gap: 12px;
    margin-top: 12px;
    list-style: none;
    padding-left: 0;
    color: var(--muted);
}

    .tech-list li {
        background: rgba(255,255,255,0.02);
        padding: 6px 10px;
        border-radius: 10px;
        font-size: 0.9rem;
    }

/* profile image */
.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
    position: relative;
    z-index: 2;
    box-shadow: 0 18px 50px rgba(2,8,15,0.6);
    border: 1px solid rgba(255,255,255,0.04);
    transition: transform .4s ease, box-shadow .35s ease;
}

/* hover microanimação */
.profile-wrapper:hover {
    transform: translateY(-6px) scale(1.01);
}

    .profile-wrapper:hover::before {
        transform: scale(1.04) rotate(4deg);
        filter: blur(4px);
        opacity: 1;
    }

    .profile-wrapper:hover .profile-img {
        transform: translateY(-3px) scale(1.02);
    }

/* sutil floating animation (opcional) */
@keyframes float-hero {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-10px);
    }
}

.profile-wrapper {
    animation: float-hero 6s ease-in-out infinite alternate;
}

/* mobile adjustments */
@media (max-width: 900px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-media {
        order: -1;
        margin-bottom: 16px;
    }

    .profile-wrapper {
        margin: 0 auto;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

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


/* =========================
   SOBRE MIM
========================= */
#about {
    margin-top: 20px;
}
.sobreMim > span {
    color: var(--accent);
}
.about-grid {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 40px;
    align-items: start;
}

.about-text h2 {
    font-size: 2rem;
    margin-bottom: 12px;
    color: var(--white);
}

.about-text p {
    color: var(--muted);
    margin-bottom: 16px;
    line-height: 1.6;
}

.about-text .lead {
    color: var(--white);
    font-weight: 500;
    font-size: 1.05rem;
}

/* Soft skills */
.soft-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

    .soft-skills span {
        background: rgba(255,255,255,0.03);
        border: 1px solid rgba(255,255,255,0.06);
        padding: 6px 12px;
        border-radius: 20px;
        color: var(--white);
        font-size: 0.9rem;
        transition: all 0.3s ease;
    }

        .soft-skills span:hover {
            background: rgba(0,188,212,0.1);
            border-color: rgba(0,188,212,0.4);
            transform: translateY(-2px);
        }

/* Timeline */
.timeline {
    position: relative;
    padding-left: 24px;
    border-left: 2px solid rgba(255,255,255,0.05);
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.timeline-item {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.timeline-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border-radius: 50%;
    overflow: hidden;
    background: rgba(255,255,255,0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.08);
}

    .timeline-icon img {
        width: 70%;
        height: 70%;
        object-fit: contain;
        filter: brightness(0.9);
    }

.timeline-content {
    flex: 1;
}

    .timeline-content h3 {
        color: var(--white);
        font-size: 1.05rem;
        margin: 0 0 4px 0;
    }

    .timeline-content p {
        margin: 4px 0;
        color: var(--muted);
        font-size: 0.95rem;
    }

@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr;
    }

    .timeline {
        margin-top: 24px;
        padding-left: 0;
        border: none;
    }

    .timeline-item {
        flex-direction: row;
        align-items: center;
    }

    .timeline-icon {
        width: 40px;
        height: 40px;
    }
}

/* =========================
   PROJETOS DESTAQUE
========================= */
.projects {
    margin-top: 120px;
}

.section-title {
    font-size: 2.2rem;
    text-align: center;
    color: var(--white);
    margin-bottom: 48px;
}

    .section-title span {
        color: var(--accent);
    }

.section-subtitle {
    text-align: center;
    color: var(--muted);
    margin-bottom: 48px;
    font-size: 1rem;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.project-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
    transition: all 0.35s ease;
    backdrop-filter: blur(6px);
}

    .project-card:hover {
        transform: translateY(-8px);
        border-color: rgba(0,188,212,0.4);
        box-shadow: 0 0 20px rgba(0,188,212,0.15);
    }

.project-bg {
    width: 100%;
    height: 180px;
    background-size: cover;
    background-position: center;
    filter: brightness(0.8);
}

.project-content {
    padding: 20px;
}

    .project-content h3 {
        color: var(--white);
        font-size: 1.2rem;
        margin-bottom: 8px;
    }

    .project-content p {
        color: var(--muted);
        font-size: 0.95rem;
        line-height: 1.5;
        margin-bottom: 16px;
    }

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

    .tags span {
        background: rgba(255,255,255,0.05);
        border-radius: 20px;
        padding: 4px 10px;
        color: var(--white);
        font-size: 0.85rem;
    }

.actions {
    display: flex;
    gap: 10px;
}

.btn-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

    .btn-link:hover {
        color: var(--white);
        text-decoration: underline;
    }

.see-more {
    text-align: center;
    margin-top: 40px;
}

.btn-primary {
    background: var(--accent);
    color: var(--white);
    padding: 10px 22px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.3s ease;
}

    .btn-primary:hover {
        background: #00a6b8;
    }

/* Badge no canto superior direito */
.project-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(0, 188, 212, 0.15);
    color: #0066cc; 
    font-size: 0.8rem;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 20px;
    border: 1px solid rgba(0, 188, 212, 0.4);
    backdrop-filter: blur(4px);
    transition: all 0.3s ease;
}

.project-card:hover .project-badge {
    background: rgba(0, 188, 212, 0.25);
    transform: translateY(-2px);
}


/* =========================
   COMO POSSO AJUDAR
========================= */
#services {
    padding: 100px 0;
    margin-top: 120px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
}

.service-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 16px;
    padding: 28px;
    text-align: left;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
}

    .service-card i {
        font-size: 2rem;
        color: var(--accent);
        margin-bottom: 16px;
        display: inline-block;
    }

    .service-card h3 {
        color: var(--white);
        font-size: 1.1rem;
        margin-bottom: 8px;
        font-weight: 600;
    }

    .service-card p {
        color: var(--muted);
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .service-card:hover {
        transform: translateY(-6px);
        border-color: rgba(0,188,212,0.4);
        background: rgba(0,188,212,0.06);
    }


/* =========================
   CONTATO
========================= */

#contact {
    margin-top: 120px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 32px;
    align-items: start;
}

.contact-card {
    background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.015));
    padding: 32px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.04);
    backdrop-filter: blur(8px);
}

.contact-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    margin-bottom: 12px;
}

.availability-badge {
    background: rgba(0, 255, 100, 0.15);
    border: 1px solid rgba(0, 255, 100, 0.4);
    color: #65ffb5;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
}

.response-time {
    font-size: 0.85rem;
    color: var(--muted);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 16px;
}

    .contact-form input,
    .contact-form textarea {
        background: rgba(255,255,255,0.02);
        border: 1px solid rgba(255,255,255,0.05);
        padding: 12px;
        border-radius: 10px;
        color: var(--white);
        outline: none;
        font-size: 0.95rem;
    }

        .contact-form input::placeholder,
        .contact-form textarea::placeholder {
            color: var(--muted);
        }

.contact-info {
    background: transparent;
    padding: 20px;
    color: var(--muted);
    text-align: left;
}

    .contact-info h3 {
        color: var(--white);
        margin-bottom: 12px;
    }

.contact-list {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

    .contact-list li {
        margin-bottom: 10px;
        font-size: 0.95rem;
    }

    .contact-list a {
        color: var(--accent);
        text-decoration: none;
        transition: 0.3s;
    }

        .contact-list a:hover {
            color: var(--primary);
        }

/* Social Icons */
.socials {
    display: flex;
    gap: 16px;
    margin-top: 8px;
}

    .socials a {
        color: var(--white);
        font-size: 1.6rem;
        transition: transform 0.25s ease, color 0.25s ease;
    }

        .socials a:hover {
            color: var(--accent);
            transform: translateY(-4px);
        }

@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-info {
        text-align: center;
    }

    .socials {
        justify-content: center;
    }
}



/* Responsividade */
@media (max-width: 760px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}


/* =========================
   FOOTER
========================= */
.site-footer {
    padding: 30px 0;
    margin-top: 40px;
    background: transparent;
    text-align: center;
    color: var(--muted);
    border-top: 1px solid rgba(255,255,255,0.02);
}

/* =========================
   RESPONSIVIDADE
========================= */
@media (max-width: 1100px) {
    .hero-grid {
        grid-template-columns: 1fr 360px;
    }

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

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

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

@media (max-width: 820px) {
    .header-inner{
        padding: 20px;
    }
    .nav-list {
        display: none;
    }

    .container {
        width: 100% !important;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

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

    .profile-img {
        max-width: 420px;
    }

    .about-card {
        order: 2;
    }

    .brand {
        font-size: 1rem;
    }
    .lead{
        max-width: none;
    }
}

@media (max-width: 380px) {
    .hero {
        padding: 40px 8px;
    }

    .hero-text h1 {
        font-size: 1.6rem;
    }

    .subtitle {
        font-size: 0.85rem; 
    }

    .lead {
        font-size: 0.85rem;
        max-width: 100%;
    }

    .hero-metrics {
        flex-direction: column; 
        gap: 6px;
    }

    .hero-ctas {
        flex-direction: column;
        gap: 8px;
    }

    .tech-list {
        flex-direction: column;
        gap: 6px;
        font-size: 0.8rem;
    }

    .profile-wrapper {
        width: 200px; 
        height: 200px;
        margin: 0 auto;
    }

    .hero-grid {
        gap: 16px; 
    }

    .header-inner {
        padding: 20px;
    }
}

