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

/* Reset básico e fontes */
body,
h1,
h2,
h3,
p,
ul,
li,
a {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
    scroll-behavior: smooth;
}

body {
    color: #E1E1E6;
    background: #0a0a0a;
    /* fallback for old browsers */
    background: -webkit-linear-gradient(to right, #16181d, #1a1d24);
    /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to right, #16181d, #1a1d24);
    /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
}

/* Header moderno com glassmorphism */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(18, 18, 20, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(130, 87, 229, 0.2);
    transition: all 0.3s ease;
}

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

.name {
    background-color: #8257E5;
    color: #000;
    font-weight: 100;
    padding: 0.3rem;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1rem;
    font-weight: 700;
    color: #8257E5;
    border: 1px solid #8257E5;
    padding: 0.5rem;

}

.name-title {
    padding-right: 0.2rem;
}

.logo img {
    width: 3rem;
    height: auto;
}

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

nav ul li a {
    color: #E1E1E6;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

nav ul li a:hover {
    color: #fff;
    transform: translateY(-2px);
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: #8257E5;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

nav ul li a:hover::after {
    width: 80%;
}

.focus {
    color: #8257E5;
    font-weight: bold;
}

/* Seção Hero (Início) */
.hero {
    color: #fff;
    height: 90vh;
    /* Altura total da tela */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: 60px;
    /* Espaço para o header fixo */
}

.hero-content-wrapper {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
    align-content: center;
    text-align: left;
    max-width: 1100px;
    gap: 3rem;
}

.hero-image {
    position: relative;
    flex: 1;
    text-align: center;
    height: 100%;
}

.hero-content {
    max-width: 700px;
}

.hero h1 {
    font-size: 3.3rem;
    text-transform: none;
    line-height: 120%;
    color: #fff;
    padding-right: 1rem;
}

.hero p {
    font-size: 1.5rem;
    color: #f8f8f8;
    padding: 1rem 0;
    text-transform: none;
    width: 65%;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #8257E5, #a855f7);
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(130, 87, 229, 0.4);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(130, 87, 229, 0.6);
}

.btn-small {
    text-decoration: none;
    color: #121214;
    padding: 8px 15px;
    font-size: 0.9em;
    background-color: #04D361;
}

.btn-small:hover {
    background-color: #39d680;
}

/* Estilos gerais para seções */
section {
    padding-top: 80px;
    /* Ajuste para o header fixo */
}

section h2 {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #8257E5, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1em;
    color: #a0a0a0;
    margin-bottom: 3rem;
}

.container {
    max-width: 1100px;
    margin: auto;
    padding: 8rem 2rem;
    overflow: hidden;
}

/* Seção Sobre Mim */
#sobre {
    position: relative;
    overflow: hidden;
}

#sobre::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

#sobre h2 {
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #8257E5, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.sobre-content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* =============================================
   SEÇÃO EXPERIÊNCIAS PROFISSIONAIS MODERNIZADA
   ============================================= */

#experiencias {
    position: relative;
    backdrop-filter: blur(10px);
}

#experiencias h2 {
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #8257E5, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

#experiencias .section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #a0a0a0;
    margin-bottom: 3rem;
    font-weight: 300;
}

.experiencias-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.experiencia-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(130, 87, 229, 0.2);
    border-radius: 24px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.experiencia-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #8257E5, #a855f7, #ec4899);
    border-radius: 24px 24px 0 0;
}

.experiencia-card:hover {
    transform: translateY(-8px);
    border-color: rgba(130, 87, 229, 0.4);
    box-shadow: 0 20px 40px rgba(130, 87, 229, 0.2);
}

.experiencia-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.experiencia-header h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

.experiencia-periodo {
    background: linear-gradient(135deg, #8257E5, #a855f7);
    color: white;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
}

.experiencia-cargo {
    font-size: 1.3rem;
    font-weight: 600;
    color: #8257E5;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.experiencia-cargo::before {
    content: '👨‍💻';
    font-size: 1.2rem;
}

.experiencia-descricao {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #d0d0d0;
    margin-bottom: 2rem;
    text-align: justify;
}

/* =============================================
   SEÇÃO CONTATO MODERNIZADA
   ============================================= */

#contato h2 {
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #8257E5, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

#contato .section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #a0a0a0;
    margin-bottom: 3rem;
    font-weight: 300;
}

.contato-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contato-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contato-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(130, 87, 229, 0.2);
    border-radius: 16px;
    transition: all 0.3s ease;
    backdrop-filter: blur(20px);
    line-height: 0.47 !important;
}

.contato-item:hover {
    transform: translateX(8px);
    border-color: rgba(130, 87, 229, 0.4);
    background: rgba(130, 87, 229, 0.05);
}

.contato-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #8257E5, #a855f7);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
    flex-shrink: 0;
}

.contato-details {
    margin-bottom: 1.3rem;
}

.contato-details h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.7rem;
    color: #ffffff;
}

.contato-details p {
    color: #a0a0a0;
    font-size: 0.95rem;
}

.contato-details a {
    color: #8257E5;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contato-details a:hover {
    color: #a855f7;
}

.contato-form {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(130, 87, 229, 0.2);
    border-radius: 24px;
    padding: 2.5rem;
    backdrop-filter: blur(20px);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #ffffff;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 92%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(130, 87, 229, 0.2);
    border-radius: 12px;
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

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

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-enviar {
    width: 100%;
    padding: 1.2rem;
    background: linear-gradient(135deg, #8257E5, #a855f7);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-enviar:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(130, 87, 229, 0.3);
}

/* =============================================
   RESTANTE DO CSS ORIGINAL
   ============================================= */

.profile-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
}

.profile-pic-container {
    position: relative;
    margin-bottom: 20px;
}

.profile-pic {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid transparent;
    background: linear-gradient(135deg, #8257E5, #a855f7, #ec4899);
    padding: 4px;
    transition: all 0.3s ease;
    box-shadow: 0 20px 40px rgba(130, 87, 229, 0.3);
}

.profile-pic:hover {
    transform: scale(1.05);
    box-shadow: 0 25px 50px rgba(130, 87, 229, 0.5);
}

.profile-pic-container::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: conic-gradient(from 0deg, #8257E5, #a855f7, #ec4899, #8257E5);
    border-radius: 50%;
    z-index: -1;
    opacity: 0.7;
    animation: rotate 8s linear infinite;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.profile-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: #8257E5;
    margin-bottom: 8px;
}

.img-portfolio {
    height: 266px !important;
}

.profile-role {
    font-size: 1.1rem;
    color: #9ca3af;
    font-weight: 300;
}

.text-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.text-content p {
    font-size: 1.1rem;
    line-height: 2;
    color: #e5e7eb;
    text-align: justify;
    position: relative;
    padding-left: 20px;
    border-left: 3px solid transparent;
    background: linear-gradient(90deg, rgba(130, 87, 229, 0.1), transparent);
    padding: 20px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.text-content p:hover {
    border-left-color: #8257E5;
    background: linear-gradient(90deg, rgba(130, 87, 229, 0.15), transparent);
    transform: translateX(10px);
}

.highlight {
    color: #8257E5;
    font-weight: 600;
}

.devicon {
    font-size: 1.5rem;
    color: #fff;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 2rem;
}

.tech-stack2 {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: flex-end;
}

.tech-stack2 a {
    text-decoration: none;
}

.tech-tag {
    background: rgba(130, 87, 229, 0.1);
    border: 1px solid rgba(130, 87, 229, 0.3);
    color: #8257E5;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.tech-tag:hover {
    background: rgba(130, 87, 229, 0.2);
    transform: translateY(-2px);
}

/* Mobile menu */
.mobile-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-menu div {
    width: 25px;
    height: 3px;
    background: #8257E5;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Portfolio moderno com cards */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1rem;
}

.portfolio-item {
    background: linear-gradient(180deg, rgba(130, 87, 229, 0.1), transparent);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(130, 87, 229, 0.2);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(130, 87, 229, 0.2);
    border-color: #8257E5;
}

.portfolio-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

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

.portfolio-item h3 {
    font-size: 1.5rem;
    color: #8257E5;
    margin-bottom: 1rem;
    font-weight: 600;
}

.portfolio-item p {
    color: #9ca3af;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.btn-small {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #04D361;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-small:hover {
    background: #39d680;
    transform: translateY(-2px);
}

/* Rodapé */
footer {
    text-align: center;
    padding: 20px;
    background: #121214;
    color: #fff;
    margin-top: 0;
}

.copy {
    font-size: 1rem;
    color: #a281f0;
    font-weight: bold;
}

/* =============================================
   RESPONSIVIDADE
   ============================================= */

@media (max-width: 768px) {

    .hero h1 {
        font-size: 1.8rem !important;
        padding: 1.2rem;
    }

    .hero-image {
        display: none;
    }

    .hero p {
        font-size: 1.2em;
        width: 90%;
    }

    .focus {
        font-size: 2rem;
    }

    .hero-text {
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        align-content: center;
        justify-content: center;
        align-items: center;
    }

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

    .profile-pic {
        margin-bottom: 20px;
        width: 200px;
        height: 200px;
    }

    /* Experiências - Mobile */
    .experiencia-header {
        flex-direction: column;
        align-items: flex-start;
    }

    /* Contato - Mobile */
    .contato-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .tech-stack {
        justify-content: center;
        justify-content: space-evenly;
        gap: 0.6rem;
    }

    .tech-tag {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }

    .mobile-menu {
        display: flex;
    }

    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(18, 18, 20, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 2rem;
        gap: 1rem;
    }

    nav ul.active {
        display: flex;
    }

    .hero-content-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .sobre-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

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

    .hero-text p {
        font-size: 1.1rem;
    }

    .sobre-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .profile-pic {
        width: 200px;
        height: 200px;
    }

    #sobre h2 {
        font-size: 2.5rem;
        margin-bottom: 3rem;
    }

    #experiencias h2 {
        font-size: 2.5rem;
        margin-bottom: 3rem;
    }

    #contato h2 {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }

    .text-content p {
        text-align: left;
        padding: 15px;
    }

    .container {
        padding: 6rem 2rem;
    }

    .experiencia-descricao {
        font-size: 1rem;
        line-height: 1.7;
        color: #d0d0d0;
        text-align: left !important;
    }
}

@media (max-width: 480px) {

    .container {
        padding: 2rem 1rem !important;
    }

    .btn-enviar {
        font-size: 1rem;
    }

    .hero h1 {
        font-size: 2em;
    }

    .hero p {
        font-size: 0.9rem;
        padding: 0rem 2rem 2rem 2rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 1em;
    }

    section h2 {
        font-size: 2rem;
    }

    .profile-pic {
        width: 180px;
        height: 180px;
    }

    .portfolio-item .img-portfolio2 {
        width: 70% !important;
    }

    .portfolio-item .img-portfolio3 {
        width: 70% !important;
    }

    #experiencias h2 {
        margin: 4rem 0 2rem 0;
    }

    #experiencias .section-subtitle {
        text-align: center;
        font-size: 1.1rem;
        color: #a0a0a0;
        margin-bottom: 4rem;
        font-weight: 300;
    }

    .experiencia-header {
        flex-direction: column;
        align-items: center;
        margin: 1rem 0 2rem 0;
    }

    .experiencia-header h3 {
        font-size: 1.5rem;
        font-weight: 700;
        color: #ffffff;
        margin: 0;
    }

    .experiencia-cargo::before {
        display: none;
        content: '👨‍💻';
        font-size: 1.2rem;
    }

    .experiencia-cargo {
        justify-content: center;
    }

    .experiencia-periodo {
        background: linear-gradient(135deg, #8257E5, #a855f7);
        color: white;
        padding: 0.5rem 1rem;
        border-radius: 50px;
        font-size: 0.8rem;
        font-weight: 500;
        white-space: nowrap;
    }

    .experiencia-descricao {
        font-size: 0.95rem;
        line-height: 1.5;
        color: #d0d0d0;
        text-align: left;
        padding: 0.5rem;
        margin: rem;
    }

    .tech-stack {
        justify-content: center;
        justify-content: center;
        gap: 0.6rem;
    }

    #portfolio h2 {
        margin: 4rem 0 2rem 0;
    }

    #sobre h2 {
        font-size: 2rem;
    }

    #experiencias h2 {
        font-size: 2rem;
    }

    #contato h2 {
        font-size: 2rem;
    }

    .text-content p {
        font-size: 1rem;
    }

    .container {
        padding: 0 15px;
    }

    .profile-pic {
        width: 200px;
        height: 200px;
    }

    .text-content p {
        font-size: 1rem;
        padding: 1rem;
    }

    .experiencia-descricao {
        font-size: 1rem;
        line-height: 1.7;
        color: #d0d0d0;
        text-align: left !important;
    }

    .experiencia-card {
        padding: 1.5rem;
    }

    #contato h2 {
        margin: 4rem 0 2rem 0;
    }

    .contato-form {
        padding: 1.5rem;
    }
}