/* inter-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/inter-v20-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* inter-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  src: url('fonts/inter-v20-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* inter-800 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  src: url('fonts/inter-v20-latin-800.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth; 
    font-size: 16px;
    color: #333;
}

body {
    background-color: #f9fbfd; 
    line-height: 1.6;
    font-family: 'Inter', sans-serif; 
    font-optical-sizing: auto; 
    font-weight: 400; 
    font-style: normal;
}

h1, h2, h3 {
    color: #1a202c; 
    font-weight: 800; 
    letter-spacing: -0.02em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease; 
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
}

.container, main section, footer .container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 40px;
    text-align: center;
    position: relative;
    padding-bottom: 20px;
    margin-bottom: 60px;
    margin-top: 80px;

}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: #0d9488; 
    border-radius: 2px;
}

#hero {
    height: 100vh; 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: #ffffff;
    position: relative;
}

.hero-name {
    font-size: clamp(2.5rem, 8vw, 4.5rem); 
    color: #134e4a;
    margin-bottom: 30px;
    letter-spacing: -2px;
}

/* Container dos Ícones */
.hero-social {
    display: flex;
    gap: 40px;
    align-items: center;
    justify-content: center;
}

.hero-social a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: #134e4a;
    font-size: 2rem; 
    transition: transform 0.3s ease, color 0.3s ease;
}

.hero-social a:hover {
    color: #0d9488;
    transform: translateY(-5px);
}

.icon-label {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #64748b;
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    font-size: 1.5rem;
    color: #94a3b8;
    animation: bounce 2s infinite; 
}

.pergunta {
    color: #134e4a;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
    40% {transform: translateY(-10px);}
    60% {transform: translateY(-5px);}
}

main {
    padding: 60px 0;
}

section {
    padding: 80px 0;
}

#about {
    text-align: center;
    background: linear-gradient(135deg, #e0f2f1 0%, #f9fbfd 100%); 
    border-radius: 20px;
}

#about h2 {
    margin-bottom: 20px;
}

#about p {
    font-size: 1.25rem;
    color: #4b5563;
    max-width: 800px;
    margin: 0 auto 15px;
}

#about p:first-of-type {
    font-weight: 500;
    color: #134e4a;
}

.education-item, .experience-item {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease; 
}

.education-item:hover, .experience-item:hover, .skill-item:hover, .project-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05);
}

.education-item-header, .experience-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 15px;
}

.curso {
    font-size: 1.3rem;
    margin: 0;
}

.education-dates, .periodo {
    font-size: 0.95rem;
    color: #64748b;
    background-color: #f1f5f9;
    padding: 5px 12px;
    border-radius: 20px;
    font-weight: 500;
}

.institution {
    font-weight: 600;
    color: #0d9488;
    margin-bottom: 10px;
}

.skill-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 30px;
}

.skill-item {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.skill-item h3 {
    font-size: 1.4rem;
    margin-bottom: 20px;
    color: #134e4a;
    display: flex;
    align-items: center;
    gap: 10px;
}

.skill-item ul li {
    background-color: #f1f5f9;
    padding: 8px 15px;
    margin-bottom: 8px;
    border-radius: 8px;
    color: #4b5563;
    font-weight: 500;
    font-size: 0.95rem;
}

.project-item {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    max-width: 600px;
    margin: 0 auto; 
    text-align: center;
}

#contact {
    background-color: #134e4a; 
    color: #ffffff;
    border-radius: 20px;
    height: 1052px;
}

#contact .section-title, #contact h2, #contact p {
    color: #ffffff;
}

#contact .contact-header p {
    text-align: center;
    margin-bottom: 50px;
    opacity: 0.9;
}

.contact-form {
    max-width: 700px;
    margin: 0 auto;
    background-color: #ffffff;
    padding: 40px;
    border-radius: 12px;
    color: #333;
    box-shadow: 0 20px 25px rgba(0,0,0,0.1);
}

.contact-form fieldset {
    border: none;
    margin-bottom: 25px;
}

.contact-form legend {
    font-weight: 600;
    font-size: 1.1rem;
    color: #1a202c;
    margin-bottom: 15px;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-group {
    margin-bottom: 15px;
    flex: 1; 
}

.contact-form label {
    display: block;
    font-weight: 500;
    margin-bottom: 5px;
    color: #4b5563;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.contact-form input:focus, .contact-form textarea:focus {
    outline: none;
    border-color: #0d9488;
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
}

.captcha-wrapper {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.form-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

button {
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
}

.btn-submit {
    background-color: #0d9488;
    color: white;
}

.btn-submit:hover {
    background-color: #0f766e;
    transform: translateY(-2px);
}

.btn-reset {
    background-color: #f1f5f9;
    color: #4b5563;
}

.btn-reset:hover {
    background-color: #e2e8f0;
}

.back-to-top {
    text-align: center;
    padding: 60px 0; 
    background-color: #f9fbfd; 
}

.scroll-up {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: #0d9488; 
    transition: all 0.3s ease;
    cursor: pointer;
}

.scroll-up i {
    font-size: 1.5rem;
    background: #ffffff;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%; 
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

/* Ajuste da frase "Voltar ao topo" */
.scroll-up .pergunta {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    margin: 0; 
    color: #64748b; 
}

.scroll-up:hover {
    transform: translateY(-5px); 
}

.scroll-up:hover i {
    background-color: #0d9488;
    color: #ffffff; 
    box-shadow: 0 8px 15px rgba(13, 148, 136, 0.2);
}

.scroll-up:hover .pergunta {
    color: #0d9488; 
}

footer {
    background-color: #1a202c; 
    color: #cbd5e1;
    padding: 30px 0;
    text-align: center;
}

@media (max-width: 768px) {
    header {
        flex-direction: column; 
        gap: 15px;
        padding: 15px;
    }

    .nav-header {
        flex-wrap: wrap; 
        justify-content: center;
        gap: 15px;
    }

    .section-title {
        font-size: 2rem;
    }

    .education-item-header, .experience-item-header {
        flex-direction: column; 
        align-items: flex-start;
        gap: 10px;
    }

    .form-row {
        flex-direction: column; 
        gap: 0;
    }

    .contact-form {
        padding: 20px;
    }

    .form-buttons {
        flex-direction: column;
        width: 100%;
    }

    button {
        width: 100%;
    }
}