@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300..700;1,300..700&family=Cormorant:ital,wght@0,300..700;1,300..700&family=Edu+NSW+ACT+Cursive:wght@400..700&family=Hurricane&family=Istok+Web:ital,wght@0,400;0,700;1,400;1,700&family=Konkhmer+Sleokchher&family=Kranky&family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Questrial&family=Roboto+Mono:ital,wght@0,100..700;1,100..700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
    background: #000000;
    color: #ffffff;
    overflow-x: hidden;
}

/* fundo site */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 50%, rgba(114, 255, 71, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(114, 255, 71, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(114, 255, 71, 0.06) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

/* barra de navegacao */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

header.scrolled {
    background: rgba(0, 0, 0, 0.98);
    border-bottom-color: #1dee934b;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: #1dee93;
    text-decoration: none;
    position: relative;
}

.logo::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #1dee93, transparent);
    transition: width 0.3s ease;
}

.logo:hover::after {
    width: 100%;
}

nav {
    display: flex;
    gap: 2.5rem;
}

nav a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: all 0.3s ease;
    cursor: pointer;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: #1dee93;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

nav a:hover {
    color: #1dee93;
    transform: translateY(-2px);
}

nav a:hover::after {
    width: 100%;
}

/* 1° parte */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 5%;
}

.hero-text {
    flex: 1;
    z-index: 10;
}

.hero-text h2 {
    font-size: 1.1rem;
    color: #1dee93;
    margin-bottom: 0.5rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.2s forwards;
}

#h1-escrita {
    font-size: 5rem;
    color: #ffffff;
    margin-bottom: 1rem;
    font-weight: 900;
    line-height: 1.1;
    position: relative;
    background: linear-gradient(135deg, #ffffff 0%, #1dee93 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    overflow: hidden;
    white-space: nowrap;
    animation: fadeInUp 3.2s ease forwards;
}

.hero-text h3 {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 3rem;
    font-weight: 400;
    letter-spacing: 1px;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.6s forwards;
}

.buttons {
    display: flex;
    gap: 1.5rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.8s forwards;
}

.btn {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2rem;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, #1dee93(255, 71, 87, 0.1), transparent);
    transition: left 0.5s ease;
}

.btn:hover {
    border-color: #1dee93;
    color: #1dee93;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px #1dee93(255, 71, 87, 0.3);
}

.btn:hover::before {
    left: 100%;
}

.btn i {
    font-size: 1.2rem;
}

.img_hero img {
    width: clamp(200px, 40vw, 600px);
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.6), 0 0 15px rgba(0, 255, 0, 0.5);
    animation: fadeInUp 2s ease;
}

/* 2° parte */
.sobre {
    padding: 8rem 0;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 2rem;
    padding-right: 2rem;
    display: flex;
    gap: 4rem;
    align-items: center;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.sobre.visible {
    opacity: 1;
    transform: translateY(0);
}

.sobre-img {
    flex: 0 0 350px;
    position: relative;
}

.image-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(255, 71, 87, 0.1), rgba(0, 0, 0, 0.2));
    padding: 5px;
}

.sobre-img img {
    width: 100%;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.image-container:hover img {
    transform: scale(1.05);
}

.image-container::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #1dee93, transparent, #1dee93);
    border-radius: 20px;
    z-index: -1;
    animation: borderRotate 3s linear infinite;
}

.sobre-text {
    flex: 1;
}

.sobre-text h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #1dee93 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

.local {
    color: #1dee93;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.local::before {
    content: '📍';
    font-size: 1.2rem;
}

.sobre-text p {
    line-height: 1.8;
    margin-bottom: 3rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
}

#btn_curriculo {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 2.5rem;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

#btn_curriculo img {
    width: 20px;
}

#btn_curriculo::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, #1dee93(255, 71, 87, 0.1), transparent);
    transition: left 0.5s ease;
}

#btn_curriculo:hover {
    border-color: #1dee93;
    color: #1dee93;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px #1dee93(255, 71, 87, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 15px 35px #1dee932c;
}

#btn_curriculo:hover::before {
    left: 100%;
}

/* 3° parte */
.experiencia {
    padding: 8rem 0;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 2rem;
    padding-right: 2rem;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.experiencia.visible {
    opacity: 1;
    transform: translateY(0);
}

.experiencia h2 {
    font-size: 3rem;
    margin-bottom: 4rem;
    text-align: center;
    background: linear-gradient(135deg, #ffffff 0%, #1dee93 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

.experiencia-card {
    background: linear-gradient(135deg, #00000000 0%, #0000000a 100%);
    backdrop-filter: blur(20px);
    border: 1px solid #1dee93(255, 71, 87, 0.2);
    border-radius: 25px;
    padding: 3rem;
    position: relative;
    transition: all 0.4s ease;
    overflow: hidden;
}

.experiencia-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #1dee93, #1dee93);
}

.experiencia-card:hover {
    transform: translateX(20px);
    border-color: #ffffff;
}

.quote-icon {
    font-size: 3rem;
    color: #1dee93;
    margin-bottom: 2rem;
    opacity: 0.7;
}

.experiencia-text {
    font-size: 1.3rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.experiencia-note {
    color: #1dee93;
    font-style: italic;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.contact-info {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
}

.contact-info span {
    color: rgb(255, 255, 255);
}

/* 4° parte */

.skills {
    padding: 8rem 0;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 2rem;
    padding-right: 2rem;
    transform: translateY(50px);
    transition: all 0.8s ease;
    opacity: 0;
}

.skills.visible {
    opacity: 1;
    transform: translateY(0);
}

.skills h2 {
    font-size: 3rem;
    margin-bottom: 4rem;
    text-align: center;
    background: linear-gradient(135deg, #ffffff 0%, #1dee93 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.skills-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(0, 0, 0, 0.6) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(29, 238, 147, 0.15);
    border-radius: 25px;
    padding: 2.5rem;
    transition: all 0.4s ease;
    position: relative;
}

.skills-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: #1dee93;
    box-shadow: 0 15px 40px rgba(29, 238, 147, 0.2);
}

.skills-card h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: #1dee93;
    font-weight: 700;
}

.skills-card ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.skills-card li {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.skills-card li i {
    color: #1dee93;
    font-size: 1.2rem;
}

/* 5° parte */
.projetos {
    padding: 8rem 0;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 2rem;
    padding-right: 2rem;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.projetos.visible {
    opacity: 1;
    transform: translateY(0);
}

.projetos h2 {
    font-size: 3rem;
    margin-bottom: 4rem;
    text-align: center;
    background: linear-gradient(135deg, #ffffff 0%, #1dee93 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    margin-bottom: 110px;
}

.projetos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
}

.projeto-card {
    background: linear-gradient(135deg, rgba(255, 71, 87, 0.03) 0%, rgba(0, 0, 0, 0.6) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(73, 255, 185, 0.1);
    border-radius: 25px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.projeto-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #1dee93, #1dee93);
}

.projeto-card:hover {
    transform: translateY(-15px) scale(1.02);
    border-color: #1dee93;
    box-shadow: 0 25px 50px #1dee9334;
}

.projeto-image {
    height: 220px;
    background-color: #1dee93;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.projeto-image img {
    width: 100%;
}

#banner_carro {
    padding-bottom: 90px;
}

.projeto-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    transition: left 0.6s ease;
}

.projeto-card:hover .projeto-image::before {
    left: 100%;
}

.projeto-content {
    padding: 2rem;
}

.projeto-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #ffffff;
    font-weight: 700;
}

.projeto-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.projeto-tech {
    color: #1dee93;
    font-size: 0.9rem;
    margin-bottom: 2rem;
    font-weight: 600;
}

.view-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2rem;
    background: transparent;
    border: 2px solid #1dee93;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.view-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: #1dee931f;

}

.view-btn:hover {
    color: #1dee93;
    transform: translateY(-2px);
}

.view-btn:hover::before {
    left: 100%;
}

/* 6° parte */

#contato {
    margin-top: 90px;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 8rem;
    text-align: center;
    background: linear-gradient(135deg, #ffffff 0%, #1dee93 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

.contact-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-grid {
    display: grid;
    gap: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-intro {
    text-align: center;
}

.contact-intro h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #f5f5f5;
    margin-bottom: 1rem;
}

.contact-intro p {
    font-size: 1rem;
    color: #ccc;
    line-height: 1.6;
}

.contact-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid rgba(29, 238, 147, 0.15);
    border-radius: 1rem;
    margin-bottom: 40px;
    color: #f5f5f5;
    background: #111;
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
    border-color: rgba(29, 238, 147, 0.25);
}

.card-icon {
    width: 3rem;
    height: 3rem;
    background: #222;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.contact-card:hover .card-icon {
    background: #1a1a1a;
}

.card-icon i {
    color: rgba(29, 238, 147, 0.5);
    font-size: 1.2rem;
}

.card-info h4 {
    font-weight: 600;
    color: #f5f5f5;
    margin-bottom: 0.25rem;
}

.card-info p,
.card-info a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.card-info a:hover {
    color: rgba(29, 238, 147, 0.6);
}

.contact-form-container {
    position: relative;
}

.form-border {
    position: absolute;
    inset: 0;
    border: 1px solid rgba(29, 238, 147, 0.15);
    border-radius: 1.5rem;
}

.contact-form {
    position: relative;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(29, 238, 147, 0.1);
    border-radius: 1.5rem;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    background: #111;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: #f5f5f5;
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    padding: 0.75rem 1rem;
    background: #222;
    border: 1px solid rgba(29, 238, 147, 0.1);
    border-radius: 0.75rem;
    color: #f5f5f5;
    font: inherit;
    transition: border-color 0.3s ease;
    resize: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #aaa;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgba(29, 238, 147, 0.5);
}

.btn-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 1rem 2rem;
    background: #222;
    border: 2px solid rgba(29, 238, 147, 0.2);
    color: rgba(29, 238, 147, 0.5);
    border-radius: 0.75rem;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-submit:hover {
    background: #1a1a1a;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(29, 238, 147, 0.3);
}

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }

    .contact-content {
        padding: 0 40px;
    }

    .contact-form {
        padding: 2.5rem;
    }

    .contact-intro {
        text-align: left;
    }

    .social-links {
        justify-content: flex-start;
    }

    .contact-form {
        padding: 2.5rem;
    }
}


/* Ultima parte */
footer {
    text-align: center;
    padding: 2rem 0;
    border-top: 1px solid #1dee932f;
    margin-top: 6rem;
    background: linear-gradient(135deg, rgba(255, 71, 87, 0.02) 0%, rgba(0, 0, 0, 0.8) 100%);
}

footer p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
}

footer .name {
    color: #1dee93;
    font-weight: 700;
}

/* animacoes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes blink {

    0%,
    50% {
        opacity: 1;
    }

    51%,
    100% {
        opacity: 0;
    }
}

@keyframes cardFloat {

    0%,
    100% {
        transform: translateY(0px) rotateY(0deg);
    }

    50% {
        transform: translateY(-20px) rotateY(5deg);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }
}

@keyframes typewriter {
    0% {
        width: 0%;
    }

    50% {
        width: 100%;
    }

    100% {
        width: 0%;
    }
}

@keyframes borderRotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* reponsividade */
@media (max-width: 768px) {
    header {
        padding: 1rem;
    }

    .header-content {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 0.8rem;
        padding: 0 1rem;
    }

    nav {
        display: none;
    }

    .logo {
        font-size: 1.6rem;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
        padding: 2rem 1rem;
        align-items: center;
        justify-content: center;
        margin-top: 40px;
    }

    @keyframes escrever {
        to {
            width: ch;
        }
    }

    @keyframes piscar {
        50% {
            border-color: transparent;
        }
    }

    .hero-text {
        flex: none;
        width: 100%;
    }

    #h1-escrita {
        font-size: 2.5rem;
        width: auto;
        border-right: none;
    }

    .buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .img_hero {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }

    .img_hero img {
        width: 100%;
        height: auto;
        margin-left: 0px;
        margin-top: 50px;
        animation: fadeInUp 2s ease 0s forwards;
    }

    .sobre {
        flex-direction: column;
        text-align: center;
        padding: 4rem 1rem;
        gap: 2rem;
        align-items: center;
    }

    .sobre-text {
        flex: none;
        width: 100%;
        text-align: center;
    }

    #texto-sobre {
        margin-top: 30px;
        text-align: justify;
    }

    .sobre-text h2 {
        margin-top: 30px;
        display: block;
        margin-bottom: 0.5rem;
    }

    .sobre-text .local {
        display: block;
        margin-bottom: 2rem;
        text-align: center;
        font-size: 1.1rem;
    }

    .sobre-img {
        flex: none;
        width: 280px;
        margin: 0 auto;
    }

    .projetos-grid {
        grid-template-columns: 1fr;
        gap: 8rem;
    }

    .projeto-card {
        padding: 1.5rem;
    }

    .projeto-image {
        height: 200px;
    }

    .projeto-title {
        font-size: 1.3rem;
    }

    .projeto-description {
        font-size: 0.95rem;
    }

    .projeto-tech {
        font-size: 0.85rem;
    }

    .experiencia {
        padding: 4rem 1rem;
    }

    .experiencia h2 {
        font-size: 2rem;
    }

    .experiencia-card {
        padding: 2rem;

    }

    .experiencia-card:hover {
        transform: none;
    }

    footer {
        padding: 2rem 1rem;
    }

    #banner_carro {
        padding-bottom: 0px;
    }

    .projeto-image img {
        width: 100%;
        height: 100%;
    }

}
