/* Reset e configurações básicas */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #0f0f23;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(15, 15, 35, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-brand h1 {
    color: #64ffda;
    font-size: 1.5rem;
    font-weight: 700;
}

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

.nav-link {
    color: #ccd6f6;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #64ffda;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #64ffda;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #64ffda;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a3e 100%);
    overflow: hidden;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    z-index: 2;
    position: relative;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: #ccd6f6;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.highlight {
    color: #64ffda;
    background: linear-gradient(45deg, #64ffda, #00d4aa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #8892b0;
    margin-bottom: 2rem;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background: linear-gradient(45deg, #64ffda, #00d4aa);
    color: #0f0f23;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(100, 255, 218, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #64ffda;
    border-color: #64ffda;
}

.btn-secondary:hover {
    background: rgba(100, 255, 218, 0.1);
    transform: translateY(-2px);
}

/* Floating Shapes */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.floating-shapes {
    position: relative;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(100, 255, 218, 0.1), rgba(0, 212, 170, 0.1));
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: 20%;
    right: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 200px;
    height: 200px;
    bottom: 20%;
    left: 10%;
    animation-delay: 2s;
}

.shape-3 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 30%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

/* Sections */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    color: #ccd6f6;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.section-title i {
    color: #64ffda;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #8892b0;
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about {
    padding: 6rem 0;
    background: #1a1a3e;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-text {
    background: rgba(15, 15, 35, 0.8);
    padding: 3rem;
    border-radius: 15px;
    border: 1px solid rgba(100, 255, 218, 0.2);
    backdrop-filter: blur(10px);
}

.about-paragraph {
    font-size: 1.1rem;
    color: #8892b0;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-paragraph:last-child {
    margin-bottom: 0;
}

/* Skills Section */
.skills {
    padding: 6rem 0;
    background: #0f0f23;
}

.skills-content {
    max-width: 1000px;
    margin: 0 auto;
}

.skills-category {
    margin-bottom: 3rem;
}

.category-title {
    font-size: 1.5rem;
    color: #64ffda;
    margin-bottom: 1.5rem;
    text-align: center;
}

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

.skill-card {
    background: rgba(26, 26, 62, 0.8);
    padding: 2rem 1rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(100, 255, 218, 0.2);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.skill-card:hover {
    transform: translateY(-5px);
    border-color: #64ffda;
    box-shadow: 0 10px 25px rgba(100, 255, 218, 0.2);
}

.skill-icon {
    font-size: 2rem;
    color: #64ffda;
    margin-bottom: 1rem;
}

.skill-name {
    font-size: 1.1rem;
    color: #ccd6f6;
    font-weight: 600;
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: #1a1a3e;
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.contact-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 2rem;
    background: rgba(15, 15, 35, 0.8);
    border-radius: 12px;
    text-decoration: none;
    color: #8892b0;
    border: 1px solid rgba(100, 255, 218, 0.2);
    transition: all 0.3s ease;
    min-width: 120px;
}

.contact-link:hover {
    color: #64ffda;
    transform: translateY(-5px);
    border-color: #64ffda;
    box-shadow: 0 10px 25px rgba(100, 255, 218, 0.2);
}

.contact-link i {
    font-size: 2rem;
}

/* Projects Section */
.projects {
    padding: 6rem 0;
    background: #1a1a3e;
}

/* Projects Page Styles */
.projects-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 120px 0 80px;
    text-align: center;
    color: white;
}

.projects-hero .section-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: white;
}

.projects-hero .section-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.projects-grid {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.project-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

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

.project-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

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

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

.project-placeholder {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-placeholder-icon {
    font-size: 3rem;
    color: white;
    opacity: 0.8;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.project-actions {
    display: flex;
    gap: 15px;
}

.action-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: white;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.action-btn:hover {
    background: #007bff;
    color: white;
    transform: scale(1.1);
}

.project-content {
    padding: 25px;
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
    gap: 15px;
}

.project-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #333;
    margin: 0;
    line-height: 1.3;
}

.project-status {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 5px;
}

.status-concluído,
.status-completed {
    background: #d4edda;
    color: #155724;
}

.status-em_andamento,
.status-em-andamento {
    background: #fff3cd;
    color: #856404;
}

.status-pausado {
    background: #f8d7da;
    color: #721c24;
}

.project-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.project-technologies {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.tech-tag {
    background: #e9ecef;
    color: #495057;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.tech-tag:hover {
    background: #007bff;
    color: white;
}

.project-partners {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    color: #666;
    font-size: 0.9rem;
}

.project-partners i {
    color: #007bff;
}

.project-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.project-link {
    padding: 8px 16px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.project-link:not(.github) {
    background: #007bff;
    color: white;
}

.project-link:not(.github):hover {
    background: #0056b3;
    transform: translateY(-2px);
}

.project-link.github {
    background: #333;
    color: white;
}

.project-link.github:hover {
    background: #000;
    transform: translateY(-2px);
}

/* Estado vazio */
.projects-empty {
    text-align: center;
    padding: 60px 20px;
}

.empty-state {
    max-width: 400px;
    margin: 0 auto;
}

.empty-icon {
    font-size: 4rem;
    color: #dee2e6;
    margin-bottom: 20px;
}

.empty-state h3 {
    color: #495057;
    margin-bottom: 10px;
}

.empty-state p {
    color: #6c757d;
    line-height: 1.6;
}

.projects-cta {
    text-align: center;
    margin-top: 50px;
}

/* Estilos para Galeria de Imagens dos Projetos */
.project-gallery {
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
    background: #f8f9fa;
}

.gallery-main {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #f8f9fa;
}

.main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.main-image:hover {
    transform: scale(1.05);
}

.image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: white;
    padding: 20px 15px 10px;
    font-size: 0.9rem;
    font-weight: 500;
}

.gallery-thumbnails {
    display: flex;
    gap: 8px;
    padding: 12px;
    background: white;
    overflow-x: auto;
    scrollbar-width: thin;
}

.gallery-thumbnails::-webkit-scrollbar {
    height: 4px;
}

.gallery-thumbnails::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 2px;
}

.gallery-thumbnails::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 2px;
}

.gallery-thumbnails::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

.thumbnail {
    width: 60px;
    height: 45px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    flex-shrink: 0;
}

.thumbnail:hover {
    transform: scale(1.1);
    border-color: #007bff;
}

.thumbnail.active {
    border-color: #007bff;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.3);
}

/* Responsividade da Galeria */
@media (max-width: 768px) {
    .gallery-main {
        height: 180px;
    }
    
    .thumbnail {
        width: 50px;
        height: 38px;
    }
    
    .gallery-thumbnails {
        padding: 10px;
        gap: 6px;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .project-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .project-links {
        flex-direction: column;
    }
    
    .project-link {
        justify-content: center;
    }
}

/* Status em_andamento */
.status-em_andamento {
    background: #fff3cd;
    color: #856404;
}

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

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: #667eea;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.project-link:hover {
    background: #5a6fd8;
    transform: translateY(-2px);
}

.project-link.github {
    background: #333;
}

.project-link.github:hover {
    background: #555;
}

.error-message, .no-projects {
    text-align: center;
    padding: 3rem;
    color: #6c757d;
}

.error-message i, .no-projects i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #dc3545;
}

.no-projects i {
    color: #6c757d;
}

.error-message h3, .no-projects h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #495057;
}

/* Navigation active state */
.nav-link.active {
    color: #667eea;
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
    .projects-hero .section-title {
        font-size: 2rem;
    }
    
    .projects-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .project-links {
        flex-direction: column;
    }
    
    .project-link {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .gallery-main {
        height: 160px;
    }
    
    .thumbnail {
        width: 45px;
        height: 34px;
    }
    
    .image-caption {
        font-size: 0.8rem;
        padding: 15px 10px 8px;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .project-content {
        padding: 1rem;
    }
    
    .project-links {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .project-link {
        justify-content: center;
    }
}

/* Responsividade do Modal de Imagem */
@media (max-width: 768px) {
    .image-modal-content {
        padding: 10px;
    }
    
    .image-modal #modalImage {
        max-width: calc(100vw - 60px);
        max-height: calc(100vh - 100px);
    }
    
    .modal-image-caption {
        bottom: 20px;
        font-size: 14px;
        padding: 10px 20px;
        max-width: calc(100vw - 40px);
    }
    
    .nav-btn {
        width: 50px;
        height: 50px;
        font-size: 18px;
    }
    
    .prev-btn {
        margin-left: 15px;
    }
    
    .next-btn {
        margin-right: 15px;
    }
    
    .image-modal .close {
        width: 45px;
        height: 45px;
        right: 15px;
        top: 15px;
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .image-modal #modalImage {
        max-width: calc(100vw - 40px);
        max-height: calc(100vh - 80px);
    }
    
    .modal-image-caption {
        bottom: 15px;
        font-size: 12px;
        padding: 8px 16px;
        max-width: calc(100vw - 30px);
    }
    
    .nav-btn {
        width: 45px;
        height: 45px;
        font-size: 16px;
    }
    
    .prev-btn {
        margin-left: 10px;
    }
    
    .next-btn {
        margin-right: 10px;
    }
    
    .image-modal .close {
        width: 40px;
        height: 40px;
        right: 10px;
        top: 10px;
        font-size: 18px;
    }
}

/* Footer */
.footer {
    background: #0f0f23;
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid rgba(100, 255, 218, 0.2);
}

.footer p {
    color: #8892b0;
    margin-bottom: 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(15, 15, 35, 0.95);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        backdrop-filter: blur(10px);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-buttons {
        justify-content: center;
    }

    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

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

    .contact-links {
        gap: 1rem;
    }

    .contact-link {
        padding: 1.5rem;
        min-width: 100px;
    }
}

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

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

    .about-text {
        padding: 2rem;
    }

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

    .section-title {
        font-size: 2rem;
    }
}

/* Estilos para Parceiros */
.partners-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.partner-chip {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.85rem;
}

.partner-chip:hover {
    background: #e9ecef;
    border-color: #007bff;
    transform: translateY(-1px);
}

.partner-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
}

.partner-avatar-placeholder {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 12px;
}

.partner-name {
    font-weight: 500;
    color: #495057;
}

.partner-info-icon {
    color: #007bff;
    font-size: 0.8rem;
    opacity: 0.7;
}

/* Estilos do Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

/* Estilos do Modal de Imagem - Versão Melhorada */
.image-modal {
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-modal-content {
    background: none;
    margin: 0;
    padding: 20px;
    border-radius: 0;
    width: 100vw;
    height: 100vh;
    max-width: none;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    animation: imageModalFadeIn 0.3s ease-out;
}

@keyframes imageModalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.image-modal #modalImage {
    max-width: calc(100vw - 120px);
    max-height: calc(100vh - 120px);
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    display: block;
    margin: 0 auto;
}

.modal-image-caption {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 16px;
    max-width: calc(100vw - 80px);
    text-align: center;
    backdrop-filter: blur(10px);
    z-index: 10001;
}

.image-navigation {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 10001;
}

.nav-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.3s ease;
    pointer-events: all;
    backdrop-filter: blur(10px);
    z-index: 10001;
}

.nav-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.nav-btn:disabled:hover {
    transform: none;
    background: rgba(255, 255, 255, 0.2);
}

.prev-btn {
    margin-left: 30px;
}

.next-btn {
    margin-right: 30px;
}

.image-modal .close {
    color: white;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    right: 30px;
    top: 30px;
    font-size: 24px;
    backdrop-filter: blur(10px);
    z-index: 10001;
    transition: all 0.3s ease;
}

.image-modal .close:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    transform: scale(1.1);
}

/* Cursor pointer para imagens clicáveis */
.main-image, .thumbnail {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.main-image:hover {
    transform: scale(1.02);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 0;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    position: relative;
    animation: modalSlideIn 0.3s ease-out;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.close {
    position: absolute;
    right: 15px;
    top: 15px;
    color: #aaa;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.close:hover {
    color: #000;
    background: #f8f9fa;
}

.partner-modal-header {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 25px;
    border-bottom: 1px solid #e9ecef;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px 12px 0 0;
}

.partner-modal-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.partner-modal-avatar-placeholder {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    border: 3px solid white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.partner-modal-info h3 {
    margin: 0;
    color: #333;
    font-size: 1.4rem;
    font-weight: 600;
}

.partner-role {
    color: #6c757d;
    font-size: 0.95rem;
    margin: 4px 0 0 0;
    font-weight: 500;
}

.partner-modal-body {
    padding: 25px;
}

.partner-modal-body h4 {
    color: #333;
    margin: 0 0 10px 0;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.partner-modal-body h4 i {
    color: #007bff;
}

.partner-modal-body p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.partner-modal-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.partner-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: #f8f9fa;
    color: #495057;
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid #dee2e6;
}

.partner-link:hover {
    background: #007bff;
    color: white;
    border-color: #007bff;
    transform: translateY(-1px);
}

.partner-link i {
    font-size: 0.9rem;
}

/* Responsividade do Modal */
@media (max-width: 768px) {
    .modal-content {
        margin: 10% auto;
        width: 95%;
    }
    
    .partner-modal-header {
        padding: 20px;
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .partner-modal-body {
        padding: 20px;
    }
    
    .partner-modal-links {
        justify-content: center;
    }
    
    .partners-list {
        justify-content: center;
    }
}