/* Reset e Variáveis */
:root {
    --primary-color: #3a86ff;
    --secondary-color: #8338ec;
    --text-color: #333;
    --bg-color: #f8f9fa;
    --card-bg: #fff;
    --nav-bg: rgba(255, 255, 255, 0.95);
    --border-color: #e9ecef;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.2);
    --transition: all 0.3s ease;
}

[data-theme="dark"] {
    --text-color: #f8f9fa;
    --bg-color: #212529;
    --card-bg: #343a40;
    --nav-bg: rgba(33, 37, 41, 0.95);
    --border-color: #495057;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    --shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.4);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}

html {
    scroll-behavior: smooth;
    font-size: 62.5%;
}

body {
    font-family: 'Poppins', sans-serif;
    font-size: 1.6rem;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    overflow-x: hidden;
}

/* Estilos globais */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 8rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-title {
    font-size: 4rem;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.section-title span {
    color: var(--primary-color);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    border-radius: 3px;
}

.section-subtitle {
    font-size: 1.8rem;
    color: #6c757d;
    max-width: 700px;
    margin: 0 auto;
}

.btn {
    display: inline-block;
    padding: 1.2rem 2.5rem;
    font-size: 1.6rem;
    font-weight: 600;
    text-transform: capitalize;
    border-radius: 5px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--nav-bg);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.header.scrolled {
    background-color: var(--nav-bg);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
}

.logo span {
    color: var(--primary-color);
}

.menu-hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1001;
}

.menu-hamburger .bar {
    height: 3px;
    background-color: var(--text-color);
    border-radius: 3px;
    transition: var(--transition);
}

.menu-hamburger.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.menu-hamburger.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.navbar {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
}

.nav-link {
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--text-color);
    text-decoration: none;
    margin-left: 3rem;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

/* Home Section */
.home {
    padding: 15rem 0 8rem;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at top left, rgba(131, 56, 236, 0.12), transparent 55%),
        radial-gradient(circle at bottom right, rgba(58, 134, 255, 0.12), transparent 55%);
}

.home-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.text-content {
    flex: 1;
    min-width: 300px;
    padding-right: 2rem;
}

.greeting {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.name {
    font-size: 5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: var(--text-color);
}

.profession {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: #6c757d;
}

.company-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.tag-pill {
    padding: 0.6rem 1.4rem;
    font-size: 1.3rem;
    border-radius: 999px;
    background-color: rgba(58, 134, 255, 0.08);
    color: var(--primary-color);
    border: 1px solid rgba(58, 134, 255, 0.25);
    backdrop-filter: blur(6px);
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}

.description {
    font-size: 1.6rem;
    margin-bottom: 3rem;
    color: #6c757d;
}

.social-links {
    display: flex;
    margin-bottom: 3rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(58, 134, 255, 0.1);
    color: var(--primary-color);
    margin-right: 1.5rem;
    transition: var(--transition);
    font-size: 1.8rem;
    text-decoration: none;
}

.social-link:hover {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    color: white;
    transform: translateY(-3px);
}

.btn-group {
    display: flex;
    gap: 2rem;
}

.image-content {
    flex: 1;
    min-width: 300px;
    position: relative;
}

.image-wrapper {
    position: relative;
    max-width: 400px;
    margin: 0 auto;
}

.profile-image {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: var(--shadow-hover);
    position: relative;
    z-index: 1;
}

.tech-icons {
    position: absolute;
    bottom: -20px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    z-index: 2;
}

.tech-icons i {
    font-size: 3.5rem;
    color: white;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
}

.tech-icons i:hover {
    transform: translateY(-5px) scale(1.1);
}

/* About Section */
.about-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 5rem;
}

.about-image {
    flex: 1;
    min-width: 300px;
}

.about-img {
    width: 100%;
    max-width: 400px;
    border-radius: 20px;
    box-shadow: var(--shadow-hover);
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin: 3rem 0;
}

.info-item {
    display: flex;
    align-items: center;
}

.info-item span {
    font-weight: 600;
    margin-right: 1rem;
    color: var(--text-color);
}

.about-description {
    margin-bottom: 3rem;
    color: #6c757d;
}

.skills {
    margin-bottom: 3rem;
}

.skill-item {
    margin-bottom: 2rem;
}

.skill-item h4 {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 1.6rem;
}

.skill-item h4 span {
    color: var(--primary-color);
}

.progress-bar {
    width: 100%;
    height: 10px;
    background-color: rgba(58, 134, 255, 0.1);
    border-radius: 5px;
    overflow: hidden;
}

.progress {
    height: 100%;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    border-radius: 5px;
    transition: width 1s ease-in-out;
}

.about-buttons {
    display: flex;
    gap: 2rem;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.service-card {
    background-color: var(--card-bg);
    padding: 3rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
}

.service-card h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.service-card p {
    color: #6c757d;
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.read-more {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.read-more i {
    margin-left: 0.5rem;
    transition: var(--transition);
}

.read-more:hover {
    color: var(--secondary-color);
}

.read-more:hover i {
    transform: translateX(5px);
}

/* Team Section */
.team {
    padding-top: 6rem;
    padding-bottom: 8rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 3rem;
    align-items: stretch;
}

.team-card {
    background-color: var(--card-bg);
    border-radius: 14px;
    padding: 3rem 2.5rem;
    box-shadow: var(--shadow);
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.team-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(58,134,255,0.12), rgba(131,56,236,0.12));
    opacity: 0;
    transition: var(--transition);
    z-index: 0;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.team-card:hover::before {
    opacity: 1;
}

.team-avatar {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.8rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 3rem;
    font-weight: 600;
    letter-spacing: 1px;
    box-shadow: var(--shadow);
    position: relative;
    z-index: 1;
}

.team-avatar span {
    transform: translateY(1px);
}

.team-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.team-card h3 {
    font-size: 2rem;
    margin-bottom: 0.6rem;
    position: relative;
    z-index: 1;
}

.team-role {
    font-size: 1.4rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1.2rem;
    position: relative;
    z-index: 1;
}

.team-bio {
    font-size: 1.5rem;
    color: #6c757d;
    position: relative;
    z-index: 1;
}

/* Portfolio Section */
.portfolio-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.filter-btn {
    padding: 0.8rem 2rem;
    background-color: transparent;
    border: 2px solid var(--border-color);
    color: var(--text-color);
    font-weight: 600;
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn.active,
.filter-btn:hover {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    color: white;
    border-color: transparent;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 3rem;
}

.portfolio-item {
    transition: var(--transition);
}

.portfolio-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.portfolio-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.portfolio-image {
    position: relative;
    overflow: hidden;
}

.portfolio-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-card:hover .portfolio-image img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(58, 134, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
}

.overlay-content {
    text-align: center;
    padding: 2rem;
    transform: translateY(20px);
    transition: var(--transition);
}

.portfolio-card:hover .overlay-content {
    transform: translateY(0);
}

.overlay-content h3 {
    color: white;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.overlay-content p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
}

.portfolio-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.portfolio-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: white;
    color: var(--primary-color);
    border-radius: 50%;
    font-size: 1.8rem;
    transition: var(--transition);
}

.portfolio-link:hover {
    background-color: var(--text-color);
    color: white;
    transform: rotate(15deg);
}

.portfolio-info {
    padding: 2rem;
    background-color: var(--card-bg);
}

.portfolio-info h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.portfolio-info span {
    font-size: 1.4rem;
    color: #6c757d;
}

.portfolio-more {
    text-align: center;
    margin-top: 5rem;
}

/* Contact Section */
.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 5rem;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.info-box {
    display: flex;
    align-items: flex-start;
    margin-bottom: 3rem;
}

.info-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    margin-right: 2rem;
    flex-shrink: 0;
}

.info-content h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.info-content a, 
.info-content p {
    color: #6c757d;
    text-decoration: none;
    transition: var(--transition);
    display: block;
    margin-bottom: 0.5rem;
}

.info-content a:hover {
    color: var(--primary-color);
}

.contact-social h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.contact-social .social-links {
    margin-bottom: 0;
}

.contact-form {
    flex: 1;
    min-width: 300px;
}

.form {
    background-color: var(--card-bg);
    padding: 3rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.form-group {
    position: relative;
    margin-bottom: 2.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1.5rem 1rem 0.5rem;
    font-size: 1.6rem;
    border: none;
    border-bottom: 2px solid var(--border-color);
    outline: none;
    background-color: transparent;
    color: var(--text-color);
    transition: var(--transition);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-group label {
    position: absolute;
    top: 1.5rem;
    left: 1rem;
    color: #6c757d;
    pointer-events: none;
    transition: var(--transition);
}

.form-group input:focus ~ label,
.form-group input:valid ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:valid ~ label {
    top: 0;
    left: 0;
    font-size: 1.2rem;
    color: var(--primary-color);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
}

/* Footer */
.footer {
    background-color: var(--card-bg);
    color: var(--text-color);
    padding: 8rem 0 0;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 5rem;
    margin-bottom: 5rem;
}

.footer-about .footer-logo {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 2rem;
    display: inline-block;
}

.footer-about .footer-logo span {
    color: var(--primary-color);
}

.footer-about p {
    color: #6c757d;
    margin-bottom: 2rem;
}

.footer-links h3,
.footer-services h3,
.footer-newsletter h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

.footer-links h3::after,
.footer-services h3::after,
.footer-newsletter h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

.footer-links ul,
.footer-services ul {
    list-style: none;
}

.footer-links li,
.footer-services li {
    margin-bottom: 1.5rem;
}

.footer-links a,
.footer-services a {
    color: #6c757d;
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
}

.footer-links a:hover,
.footer-services a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.footer-newsletter p {
    color: #6c757d;
    margin-bottom: 2rem;
}

.newsletter-form {
    display: flex;
}

.newsletter-form input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    outline: none;
    font-size: 1.5rem;
    border-radius: 5px 0 0 5px;
    background-color: var(--bg-color);
    color: var(--text-color);
}

.newsletter-form button {
    padding: 0 1.5rem;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    opacity: 0.9;
}

.footer-bottom {
    padding: 2rem 0;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.copyright {
    margin-bottom: 1.5rem;
    color: #6c757d;
    font-size: 1.4rem;
}

.footer-legal {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.footer-legal a {
    color: #6c757d;
    text-decoration: none;
    font-size: 1.4rem;
    transition: var(--transition);
}

.footer-legal a:hover {
    color: var(--primary-color);
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    cursor: pointer;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-color);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.preloader.fade-out {
    opacity: 0;
}

.loader {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(58, 134, 255, 0.1);
    border-top: 5px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Cursor Personalizado */
.cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--primary-color);
    mix-blend-mode: difference;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 9999;
    transition: transform 0.1s ease;
}

.cursor-follower {
    position: fixed;
    width: 40px;
    height: 40px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 9998;
    transition: transform 0.3s ease, width 0.3s ease, height 0.3s ease;
}

/* Theme Switcher */
.theme-switcher {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999;
    box-shadow: var(--shadow);
}

.theme-switcher i {
    font-size: 1.5rem;
    position: absolute;
    transition: opacity 0.3s;
}

.dark-icon, .light-icon {
    transition: opacity 0.3s;
}

[data-theme="dark"] .dark-icon {
    opacity: 0;
}

[data-theme="light"] .light-icon {
    opacity: 0;
}

/* Notificações */
.notification {
    position: fixed;
    top: 20px;
    right: -100%;
    padding: 15px 25px;
    border-radius: 5px;
    color: white;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 9999;
    max-width: 300px;
}

.notification.show {
    right: 20px;
    opacity: 1;
}

.notification.success {
    background-color: #28a745;
}

.notification.error {
    background-color: #dc3545;
}

/* Responsividade */
@media (max-width: 992px) {
    .home-content,
    .about-content {
        flex-direction: column;
        text-align: center;
    }
    
    .text-content {
        padding-right: 0;
        margin-bottom: 5rem;
    }
    
    .btn-group,
    .about-buttons {
        justify-content: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .tech-icons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .menu-hamburger {
        display: flex;
    }
    
    .navbar {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background-color: var(--card-bg);
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
        transition: var(--transition);
        flex-direction: column;
        justify-content: center;
        z-index: 1000;
    }
    
    .navbar.active {
        right: 0;
    }
    
    .nav-list {
        flex-direction: column;
        align-items: center;
    }
    
    .nav-link {
        margin: 1.5rem 0;
        font-size: 2rem;
    }
    
    section {
        padding: 6rem 0;
    }
    
    .section-title {
        font-size: 3rem;
    }
    
    .name {
        font-size: 4rem;
    }
    
    .profession {
        font-size: 2rem;
    }

    .theme-switcher {
        bottom: 90px;
    }
}

@media (max-width: 576px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .info-box {
        flex-direction: column;
        text-align: center;
    }
    
    .info-icon {
        margin-right: 0;
        margin-bottom: 1.5rem;
    }
    
    .btn-group,
    .about-buttons {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .btn {
        width: 100%;
    }

    .theme-switcher {
        bottom: 80px;
        right: 20px;
    }

    @media (max-width: 400px) {
    /* Ajustes para telas muito pequenas */
    .container {
        padding: 0 1.5rem;
    }

    .section-title {
        font-size: 2.8rem;
    }

    .section-subtitle {
        font-size: 1.6rem;
    }

    /* Home Section */
    .home {
        padding: 12rem 0 6rem;
    }

    .name {
        font-size: 3.2rem;
        line-height: 1.3;
    }

    .profession {
        font-size: 1.8rem;
    }

    .btn-group {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
    }

    .image-content {
        margin-top: 3rem;
    }

    .tech-icons {
        bottom: -15px;
    }

    .tech-icons i {
        width: 45px;
        height: 45px;
        font-size: 2.5rem;
    }

    /* About Section */
    .about-info {
        grid-template-columns: 1fr;
    }

    .info-item {
        justify-content: center;
    }

    /* Portfolio */
    .portfolio-filter {
        flex-direction: column;
        align-items: center;
    }

    .filter-btn {
        width: 100%;
        max-width: 200px;
    }

    /* Contact */
    .info-box {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .info-icon {
        margin-right: 0;
        margin-bottom: 1.5rem;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-links ul,
    .footer-services ul {
        align-items: center;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form input,
    .newsletter-form button {
        width: 100%;
        border-radius: 5px;
    }

    .newsletter-form button {
        margin-top: 1rem;
    }

    /* Elementos fixos */
    .theme-switcher,
    .back-to-top {
        right: 50%;
        transform: translateX(50%);
    }

    .theme-switcher {
        bottom: 80px;
    }

    .back-to-top {
        bottom: 30px;
    }
}

@media (max-width: 400px) {
    /* Ajustes para telas muito pequenas */
    .container {
        padding: 0 1.5rem;
    }

    .section-title {
        font-size: 2.8rem;
    }

    .section-subtitle {
        font-size: 1.6rem;
    }

    /* Home Section */
    .home {
        padding: 12rem 0 6rem;
    }

    .name {
        font-size: 3.2rem;
        line-height: 1.3;
    }

    .profession {
        font-size: 1.8rem;
    }

    .btn-group {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
    }

    .image-content {
        margin-top: 3rem;
    }

    .tech-icons {
        bottom: -15px;
    }

    .tech-icons i {
        width: 45px;
        height: 45px;
        font-size: 2.5rem;
    }

    /* About Section */
    .about-info {
        grid-template-columns: 1fr;
    }

    .info-item {
        justify-content: center;
    }

    /* Portfolio */
    .portfolio-filter {
        flex-direction: column;
        align-items: center;
    }

    .filter-btn {
        width: 100%;
        max-width: 200px;
    }

    /* Contact */
    .info-box {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .info-icon {
        margin-right: 0;
        margin-bottom: 1.5rem;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-links ul,
    .footer-services ul {
        align-items: center;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form input,
    .newsletter-form button {
        width: 100%;
        border-radius: 5px;
    }

    .newsletter-form button {
        margin-top: 1rem;
    }

    /* Elementos fixos */
    .theme-switcher,
    .back-to-top {
        right: 50%;
        transform: translateX(50%);
    }

    .theme-switcher {
        bottom: 80px;
    }

    .back-to-top {
        bottom: 30px;
    }
}
}