/* Reset e Variáveis */
:root {
    --primary-color: #2563eb;
    --secondary-color: #3b82f6;
    --dark-color: #1e293b;
    --light-color: #f8fafc;
    --gray-color: #64748b;
    --gradient: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

/* Layout Base */
.interface {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
}

.flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 1rem 0;
}

header .interface {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.5rem;
}

.logo {
    flex: 1;
}

.logo img {
    max-height: 50px;
    width: auto;
}

/* Menu Desktop */
.menu-desktop ul {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}

.menu-desktop a {
    color: var(--dark-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0;
}

.menu-desktop a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: var(--transition);
}

.menu-desktop a:hover::after {
    width: 100%;
}

/* Menu Mobile */
.btn-abrir-menu,
.menu-mobile {
    display: none;
}

/* Botões */
.btn-contato button,
.btn-primary,
.btn-secondary {
    padding: 0.8rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 500;
    transition: var(--transition);
    cursor: pointer;
}

.btn-contato button,
.btn-primary {
    background: var(--gradient);
    color: white;
    border: none;
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-contato button:hover,
.btn-primary:hover,
.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.2);
}

/* Hero Section */
.topo-do-site {
    padding: 8rem 0 4rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(255,255,255,0.9), rgba(255,255,255,0.9));
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content h2 {
    font-size: 2rem;
    color: var(--gray-color);
    margin-bottom: 1.5rem;
}

.hero-content p {
    color: var(--gray-color);
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Skills Section */
.skills {
    padding: 5rem 0;
    background: white;
}

.skills .flex {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.skills-box {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    text-align: center;
}

.skills-box:hover {
    transform: translateY(-10px);
}

.skills-box i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.skills-box h3 {
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.skills-box p {
    color: var(--gray-color);
    font-size: 0.9rem;
}

/* Sobre Section */
.sobre {
    padding: 5rem 0;
    background: var(--light-color);
}

.sobre .flex {
    display: flex;
    align-items: flex-start;
    gap: 4rem;
    padding: 2rem 0;
}

.img-sobre {
    flex: 1;
    max-width: 500px;
}

.img-sobre img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.txt-sobre {
    flex: 1;
    padding-right: 2rem;
}

.txt-sobre h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.txt-sobre p {
    color: var(--gray-color);
    margin-bottom: 1rem;
    line-height: 1.8;
}

/* Portfolio Section */
.portfolio {
    padding: 5rem 0;
    background: var(--light-color);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.project-card {
    position: relative;
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    height: 100%;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.project-image {
    position: relative;
    overflow: hidden;
    height: 250px;
    background: #f5f5f5;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(37, 99, 235, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    padding: 1.5rem;
    overflow-y: auto;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-content {
    color: white;
    text-align: center;
}

.project-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.project-content p {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    opacity: 0.9;
}

.project-tech {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.project-tech span {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.3rem 0.8rem;
    border-radius: 2rem;
    font-size: 0.8rem;
    font-weight: 500;
}

.project-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn-github {
    background: white;
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.btn-github:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* Contato Section */
.contato {
    padding: 5rem 0;
    background: var(--light-color);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    margin-top: 3rem;
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Informações de Contato */
.contact-info {
    background: var(--gradient);
    padding: 3rem;
    color: white;
    position: relative;
    overflow: hidden;
}
.contact-title{
    margin-bottom: 20px;
}
.contact-info-footer{
    color: white;
    position: relative;
    overflow: hidden;
}
.contact-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255,255,255,0.1), transparent);
    z-index: 1;
}

.contact-header {
    position: relative;
    z-index: 2;
    margin-bottom: 2.5rem;
}

.contact-header h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.contact-header p {
    opacity: 0.9;
    line-height: 1.6;
}

.info-items {
    position: relative;
    z-index: 2;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.info-icon {
    background: rgba(255, 255, 255, 0.1);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.info-content h4 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.info-content a,
.info-content p {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition);
}

.info-content a:hover {
    color: white;
    text-decoration: underline;
}

.contact-social {
    position: relative;
    z-index: 2;
    margin-top: 3rem;
}

.contact-social h4 {
    margin-bottom: 1rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon {
    background: rgba(255, 255, 255, 0.1);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.social-icon:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* Formulário */
.contact-form {
    padding: 3rem;
    background: white;
}

.form-header {
    margin-bottom: 2rem;
}

.form-header h3 {
    font-size: 1.8rem;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.form-header p {
    color: var(--gray-color);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    transition: var(--transition);
    font-size: 0.95rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #94a3b8;
}

.btn-submit {
    background: var(--gradient);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
    width: 100%;
    justify-content: center;
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2);
}

/* Footer Styles */
.footer {
    background: var(--dark-color);
    color: white;
}

.footer-top {
    padding: 4rem 0 3rem;
    background: linear-gradient(to right, rgba(37, 99, 235, 0.1), transparent);
}

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

.footer-brand {
    max-width: 400px;
}

.footer-brand img {
    margin-bottom: 1.5rem;
}

.footer-brand p {
    color: var(--gray-color);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer h4 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background: var(--primary-color);
}

.footer-nav nav {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-nav a {
    color: var(--gray-color);
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-nav a::before {
    content: '→';
    opacity: 0;
    transform: translateX(-5px);
    transition: var(--transition);
}

.footer-nav a:hover {
    color: white;
    transform: translateX(5px);
}

.footer-nav a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.footer-contact .contact-info p {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--gray-color);
    margin-bottom: 1rem;
}

.footer-contact .contact-info i {
    color: var(--primary-color);
}

.footer-contact .contact-info a {
    color: var(--gray-color);
    text-decoration: none;
    transition: var(--transition);
}

.footer-contact .contact-info a:hover {
    color: white;
}

.footer-bottom {
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom .interface {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: var(--gray-color);
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-links a {
    color: var(--gray-color);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links span {
    color: var(--gray-color);
}

.footer-links a:hover {
    color: white;
}

/* Responsividade do Footer */
@media (max-width: 968px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .footer-brand {
        grid-column: 1 / -1;
        text-align: center;
        max-width: 100%;
    }

    .footer-social {
        justify-content: center;
    }

    .footer h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
        padding: 2rem 1rem;
    }

    .footer-brand {
        margin: 0 auto;
        max-width: 300px;
    }

    .footer-brand img {
        margin: 0 auto 1rem;
    }

    .footer-social {
        justify-content: center;
        margin-top: 1.5rem;
    }

    .footer-nav {
        margin: 0 auto;
        width: 100%;
        max-width: 300px;
    }

    .footer-nav nav {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .footer-nav a::before {
        display: none;
    }

    .footer-contact {
        margin: 0 auto;
        width: 100%;
        max-width: 300px;
    }

    .contact-info-footer {
        align-items: center;
    }

    .contact-item {
        justify-content: center;
        width: 100%;
        text-align: center;
        padding: 0.8rem;
    }

    .footer-bottom {
        text-align: center;
        padding: 1.5rem 1rem;
    }

    .footer-bottom .interface {
        flex-direction: column;
        gap: 1rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 0.5rem;
    }

    .footer-links span {
        display: none;
    }

    /* Ajuste dos títulos do footer */
    .footer h4 {
        text-align: center;
    }

    .footer h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

/* Responsividade */
@media (max-width: 968px) {
    .flex {
        flex-direction: column;
    }

    .menu-desktop {
        display: none;
    }

    .btn-abrir-menu {
        display: block;
        position: relative;
        z-index: 1001;
    }

    header .interface {
        justify-content: space-between;
        align-items: center;
        gap: 1rem;
    }

    .logo {
        flex: 0;
    }

    .menu-mobile {
        display: block;
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: white;
        padding: 2rem;
        transition: var(--transition);
    }

    .menu-mobile.active {
        right: 0;
    }

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

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

    .sobre .flex {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .img-sobre {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }

    .txt-sobre {
        padding-right: 0;
        text-align: center;
    }

    .txt-sobre h2 {
        text-align: center;
    }

    .btn-social {
        justify-content: center;
    }

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

    .contact-info {
        padding: 2rem;
    }

    .contact-form {
        padding: 2rem;
    }

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

@media (max-width: 480px) {
    .interface {
        padding: 0 1rem;
    }

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

    .hero-content h2 {
        font-size: 1.5rem;
    }

    .skills-box {
        padding: 1.5rem;
    }

    .contact-info,
    .contact-form {
        padding: 1.5rem;
    }

    .info-item {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }

    .social-icons {
        justify-content: center;
    }
}

/* Responsividade para a seção de projetos */
@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }
    
    .project-content h3 {
        font-size: 1.2rem;
    }
    
    .project-content p {
        font-size: 0.85rem;
    }
}

/* Estilização dos itens de contato no footer */
.contact-info-footer {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: var(--transition);
    padding: 0.5rem;
    border-radius: 0.5rem;
    cursor: pointer;
}

.contact-item i {
    font-size: 1.2rem;
    color: var(--primary-color);
    min-width: 24px;
    transition: var(--transition);
}

.contact-item a,
.contact-item span {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition);
    line-height: 1.4;
    display: inline-block;
    width: 100%;
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(5px);
}

.contact-item:hover i {
    color: white;
}

.contact-item:hover a,
.contact-item:hover span {
    color: white;
}

.contact-item a {
    pointer-events: auto;
    cursor: pointer;
    z-index: 1;
}

.footer-contact {
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .contact-info-footer {
        align-items: center;
    }
    
    .contact-item {
        justify-content: center;
        width: 100%;
    }
    
    .contact-item:hover {
        transform: translateY(-3px);
    }
}

.btn-social {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.btn-social button {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: none;
    background: var(--gradient);
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.2);
}

.btn-social button:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

.btn-social button i {
    transition: transform 0.3s ease;
}

.btn-social button:hover i {
    transform: scale(1.2);
}

/* Cores específicas para cada rede social no hover */
.btn-social a:nth-child(1) button:hover {
    background: linear-gradient(45deg, #833AB4, #E1306C);
}

.btn-social a:nth-child(2) button:hover {
    background: #333;
}

.btn-social a:nth-child(3) button:hover {
    background: #0077B5;
}

/* Responsividade */
@media (max-width: 768px) {
    .btn-social {
        justify-content: center;
    }
    
    .btn-social button {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
}

/* Ajustes para o overlay dos projetos */
.project-card {
    position: relative;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(37, 99, 235, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    padding: 1.5rem;
    overflow-y: auto;
}

/* Ajustes para telas menores */
@media (max-width: 768px) {
    .project-overlay {
        opacity: 1;
        position: relative;
        background: var(--primary-color);
        height: auto;
        padding: 1.5rem;
    }

    .project-content {
        transform: none;
    }

    .project-card {
        display: flex;
        flex-direction: column;
    }

    .project-image {
        height: 200px;
    }

    .project-content h3 {
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
    }

    .project-content p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }

    .project-tech {
        gap: 0.5rem;
        margin-bottom: 1rem;
    }

    .project-tech span {
        font-size: 0.75rem;
        padding: 0.2rem 0.6rem;
    }

    .project-links {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .btn-github,
    .btn-demo {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }
}

/* Ajustes para telas muito pequenas */
@media (max-width: 480px) {
    .project-image {
        height: 180px;
    }

    .project-overlay {
        padding: 1rem;
    }

    .project-content h3 {
        font-size: 1.1rem;
    }

    .project-content p {
        font-size: 0.85rem;
    }

    .project-tech span {
        font-size: 0.7rem;
    }
}

/* Ajustes de responsividade */
@media (max-width: 768px) {
    /* Header mobile */
    header {
        padding: 0.8rem 0;
    }

    .logo img {
        width: 80px;
    }

    .hero-content {
        padding: 2rem 1rem;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-content h2 {
        font-size: 1.3rem;
    }

    .hero-content p {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }

    .cta-buttons a {
        width: 100%;
        text-align: center;
    }

    /* Skills em mobile */
    .skills .flex {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }

    .skills-box {
        padding: 1.5rem;
    }

    /* Projetos em mobile */
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .project-card {
        margin-bottom: 1rem;
    }

    .project-image {
        height: 200px;
    }

    .project-overlay {
        position: relative;
        opacity: 1;
        height: auto;
        background: var(--primary-color);
    }

    .project-content {
        padding: 1.2rem;
    }

    .project-tech {
        flex-wrap: wrap;
        justify-content: center;
    }

    /* Contato em mobile */
    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin: 2rem 1rem;
    }

    .contact-info {
        padding: 2rem 1.5rem;
        border-radius: 1rem 1rem 0 0;
    }

    .contact-form {
        padding: 1.5rem;
    }

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

    .form-group input,
    .form-group textarea {
        padding: 0.8rem;
        font-size: 0.9rem;
    }

    /* Footer em mobile */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
        padding: 0 1rem;
    }

    .footer-brand {
        margin: 0 auto;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-nav nav {
        align-items: center;
    }

    .footer-bottom .interface {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
        text-align: center;
    }

    /* Menu mobile */
    .menu-mobile {
        width: 100%;
        max-width: none;
        padding: 2rem 1.5rem;
    }

    .menu-mobile nav ul {
        gap: 1.5rem;
    }

    .menu-mobile nav a {
        font-size: 1.1rem;
    }

    /* Botões sociais em mobile */
    .btn-social {
        justify-content: center;
        margin-top: 1.5rem;
    }

    /* Ajustes gerais para mobile */
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
        padding: 0 1rem;
    }

    .interface {
        padding: 0 1rem;
    }
}

/* Ajustes para telas muito pequenas */
@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-content h2 {
        font-size: 1.1rem;
    }

    .project-tech span {
        font-size: 0.7rem;
        padding: 0.2rem 0.5rem;
    }

    .btn-social button {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .contact-info h3 {
        font-size: 1.5rem;
    }

    .info-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer h4 {
        font-size: 1.1rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* Ajustes para altura da tela em mobile */
@media (max-height: 700px) {
    .topo-do-site {
        min-height: auto;
        padding: 6rem 0 3rem;
    }

    .hero-content {
        padding: 1rem;
    }
}

/* Menu Mobile Styles */
.btn-abrir-menu {
    display: none;
    font-size: 1.8rem;
    color: var(--primary-color);
    cursor: pointer;
    transition: var(--transition);
    margin-left: auto;
}

.btn-abrir-menu:hover {
    color: var(--secondary-color);
}

/* Esconde o botão quando o menu está aberto */
body.menu-open .btn-abrir-menu {
    opacity: 0;
    visibility: hidden;
}

.menu-mobile {
    display: none;
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 320px;
    height: 100vh;
    background: var(--dark-color);
    padding: 2rem;
    transition: 0.5s ease;
    z-index: 1000;
}

.menu-mobile.active {
    right: 0;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
}

.btn-fechar {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 1.5rem;
    color: white;
    cursor: pointer;
    transition: var(--transition);
}

.btn-fechar:hover {
    color: var(--primary-color);
    transform: rotate(90deg);
}

.menu-mobile nav {
    margin-top: 3rem;
}

.menu-mobile nav ul {
    list-style: none;
}

.menu-mobile nav ul li {
    margin-bottom: 1rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.menu-mobile nav ul li:last-child {
    border-bottom: none;
}

.menu-mobile nav a {
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    transition: var(--transition);
    padding: 0.5rem 0;
}

.menu-mobile nav a:hover {
    color: var(--primary-color);
    padding-left: 10px;
}

.overlay-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    visibility: hidden;
    opacity: 0;
    transition: 0.3s ease;
    z-index: 999;
}

.overlay-menu.active {
    visibility: visible;
    opacity: 1;
}

/* Responsividade do Menu */
@media (max-width: 968px) {
    .menu-desktop, .btn-contato {
        display: none;
    }

    .btn-abrir-menu {
        display: block;
        position: relative;
        z-index: 1001;
    }

    header .interface {
        justify-content: space-between;
        align-items: center;
        gap: 1rem;
    }

    .logo {
        flex: 0;
    }

    .menu-mobile {
        display: block;
    }
}

@media (max-width: 480px) {
    .menu-mobile {
        padding: 2rem 1.5rem;
    }

    .menu-mobile nav a {
        font-size: 1rem;
    }
}

.btn-contato {
    margin-left: 1rem; 
}

.btn-contato button {
    padding: 0.8rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 500;
    transition: var(--transition);
    cursor: pointer;
    background: var(--gradient);
    color: white;
    border: none;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    justify-content: center;
}

.btn-primary, .btn-secondary {
    padding: 15px 30px;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
    min-width: 200px;
}

/* Media query para telas de celular */
@media screen and (max-width: 768px) {
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        padding: 0 20px;
        width: 100%;
    }

    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 300px;
        min-width: auto;
        padding: 12px 20px;
    }
}