:root {
    --bg-color: #0a1930;
    --card-bg: rgba(22, 38, 66, 0.8);
    --primary: #0050ff;
    --secondary: #f50057;
    --text: #ffffff;
    --text-secondary: #8892b0;
    --card-border: rgba(255, 255, 255, 0.1);
    --hover-bg: rgba(0, 80, 255, 0.1);
    --gradient-1: linear-gradient(135deg, #0050ff 0%, #0095ff 100%);
    --gradient-2: linear-gradient(135deg, #f50057 0%, #ff0f5b 100%);
}

/* Regra padrão de lowercase, que será sobrescrita pela classe portfolio-page */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    text-transform: lowercase;
}

body {
    background-color: var(--bg-color);
    color: var(--text);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        circle at 50% 50%,
        rgba(0, 80, 255, 0.1) 0%,
        transparent 50%
    );
    pointer-events: none;
    z-index: 0;
}

.container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    flex: 1;
}

.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 4rem 0;
    position: relative;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.hero-section .profile {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out forwards;
}

.hero-section img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin-bottom: 1.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    z-index: 1;
}

.hero-section img::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    background: linear-gradient(45deg, var(--primary), #00a5ff);
    border-radius: 50%;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.4s ease;
}

.hero-section img:hover::before {
    opacity: 1;
}

.hero-section img:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 30px rgba(0, 80, 255, 0.2);
    filter: brightness(1.1) contrast(1.1);
}

.hero-section h1 {
    font-size: 2.5rem;
    margin: 0;
    background: linear-gradient(135deg, var(--primary), #00a5ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
}

.hero-section p {
    color: var(--text-secondary);
    margin: 1rem 0 2rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out 0.4s forwards;
}

.dashboard-grid {
    display: grid;
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.dashboard-links {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out 0.6s forwards;
}

.dashboard-card {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 1rem;
    text-decoration: none;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 4rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--card-border);
}

.dashboard-card:hover {
    transform: translateX(10px);
    background: var(--hover-bg);
    border-color: var(--primary);
    box-shadow: 0 8px 30px rgba(0, 80, 255, 0.15);
}

.card-icon {
    background: linear-gradient(135deg, var(--primary), #00a5ff);
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.card-content {
    flex: 1;
}

.card-content h3 {
    font-size: 1.3rem;
    margin: 0 0 0.5rem 0;
}

.card-content p {
    color: var(--text-secondary);
    margin: 0;
}

.card-arrow {
    font-size: 1.2rem;
    color: var(--primary);
    transition: transform 0.3s ease;
}

.dashboard-card:hover .card-arrow {
    transform: translateX(5px);
}

.social-section {
    padding: 4rem 0;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.footer {
    background: var(--card-bg);
    padding: 1.5rem 0;
    text-align: center;
    border-top: 1px solid var(--card-border);
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
}

.footer a {
    color: var(--text);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.9rem;
}

.footer a i {
    font-size: 1rem;
    transition: transform 0.3s ease;
    color: var(--text);
}

.footer a:hover {
    color: var(--primary);
    background: var(--hover-bg);
    transform: translateY(-2px);
}

.footer a:hover i {
    transform: scale(1.1);
    color: var(--primary);
}

.footer-links .footer-icon {
    width: 24px;
    height: 24px;
    margin-right: 0.5rem;
    vertical-align: middle;
}

.social-grid .social-icon {
    width: 24px;
    height: 24px;
    margin-right: 0.5rem;
    vertical-align: middle;
    filter: brightness(0) invert(1);
}

.social-category {
    margin-bottom: 0;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
}

.social-category h2 {
    font-size: 1.5rem;
    background: linear-gradient(135deg, var(--primary), #00a5ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
    padding: 0.5rem 1.5rem;
    transform-origin: center;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-category h2::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-category:hover h2::before {
    transform: scaleX(1);
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.social-category.visible {
    opacity: 1;
    transform: translateY(0);
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

.social-category:last-child .social-grid {
    grid-template-columns: 1fr;
}

.social-category:last-child .social-card {
    width: 100%;
    justify-content: center;
}

.social-card {
    background: var(--card-bg);
    padding: 1rem;
    border-radius: 12px;
    text-decoration: none;
    color: var(--text);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid var(--card-border);
    position: relative;
    overflow: hidden;
    width: 100%;
    text-align: center;
    animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) both;
    animation-play-state: paused;
}

.social-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0));
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1;
}

.social-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-card i {
    font-size: 1.5rem;
    color: white;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    z-index: 2;
}

.social-card span {
    font-size: 0.9rem;
    color: var(--text);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    z-index: 2;
    font-weight: 500;
}

.social-card:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.social-card:hover::before {
    transform: translateY(0);
}

.social-card:hover::after {
    opacity: 1;
    transform: scale(1);
}

.social-card:hover i {
    transform: scale(1.2) translateY(-2px);
}

.social-card:hover span {
    transform: translateY(2px);
}

.social-card.linkedin:hover {
    background: linear-gradient(135deg, #0077b5, #00a0dc);
    border-color: #0077b5;
}

.social-card.twitter:hover {
    background: linear-gradient(135deg, #1da1f2, #1e98ea);
    border-color: #1da1f2;
}

.social-card.instagram:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    border-color: #e1306c;
}

.social-card.trakt:hover {
    background: linear-gradient(135deg, #ed1c24, #c4161c);
    border-color: #ed1c24;
}

.social-card.lastfm:hover {
    background: linear-gradient(135deg, #d51007, #ba0e06);
    border-color: #d51007;
}

.social-card.letterboxd:hover {
    background: linear-gradient(135deg, #00c030, #00a329);
    border-color: #00c030;
}

.social-card.youtube:hover {
    background: linear-gradient(135deg, #ff0000, #cc0000);
    border-color: #ff0000;
}

.social-card:hover i,
.social-card:hover span {
    color: white;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.social-category.visible .social-card {
    animation-play-state: running;
}

.contact-section {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, var(--card-bg), var(--hover-bg));
    border-radius: 1.5rem;
    margin: 2rem auto;
    max-width: 600px;
    border: 1px solid var(--card-border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
}

.contact-section.visible {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
        rgba(0, 80, 255, 0.1),
        rgba(245, 0, 87, 0.1)
    );
    opacity: 0;
    transition: all 0.4s ease;
}

.contact-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2),
                0 0 20px rgba(0, 80, 255, 0.2),
                0 0 20px rgba(245, 0, 87, 0.2);
}

.contact-section:hover::before {
    opacity: 1;
}

.contact-section h2 {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    background: linear-gradient(135deg, var(--primary), #00a5ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-section p {
    color: var(--text-secondary);
    margin-bottom: 1.2rem;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Container para os dois botões de contato */
.contact-buttons-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    margin-top: 1.5rem;
}

@media (min-width: 550px) {
    .contact-buttons-container {
        flex-direction: row;
        justify-content: center;
    }
}

/* Estilo base dos botões de contato */
.contact-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 1rem 1.5rem;
    font-size: 1.1rem;
    border-radius: 100px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: none;
}

.contact-button i {
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

/* Estilo inicial do botão de e-mail */
.contact-button.email-button {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    color: var(--text-secondary);
}

.contact-button.email-button i {
    color: var(--text-secondary);
}

/* Efeito de hover para o botão de e-mail */
.contact-button.email-button:hover {
    background: var(--hover-bg);
    border-color: var(--primary);
    color: var(--text);
    transform: translateY(-2px);
    animation: pulse-primary 1.5s infinite;
}

.contact-button.email-button:hover i {
    color: var(--text);
    transform: rotate(12deg) scale(1.2);
}

/* Contact Form Styles */
.contact-form {
    display: flex;
    flex-direction: column;
    max-width: 500px;
    margin: 0 auto;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #007bff;
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.submit-button:hover {
    background-color: #0056b3;
}

.submit-button i {
    font-size: 18px;
}

.powerbi-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-color);
}

.powerbi-nav {
    position: fixed;
    top: 1rem;
    left: 1rem;
    z-index: 1000;
    display: flex;
    gap: 0.5rem;
    background: rgba(10, 25, 48, 0.8);
    padding: 0.5rem;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.powerbi-nav a {
    background: var(--card-bg);
    color: var(--text);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--card-border);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: hidden;
    height: 32px;
    width: 32px;
    padding: 0;
}

.powerbi-nav a span {
    display: none;
}

.powerbi-nav:hover a {
    width: auto;
    padding: 0 1rem;
}

.powerbi-nav:hover a span {
    display: inline;
    margin-left: 0.5rem;
}

.powerbi-nav a:hover {
    background: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 80, 255, 0.3);
}

.powerbi-nav a i {
    font-size: 1rem;
    color: var(--primary);
    transition: all 0.3s ease;
    line-height: 1;
}

.powerbi-nav a:hover i {
    color: var(--text);
    transform: rotate(-10deg) scale(1.1);
}

.powerbi-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.scroll-button {
    position: relative;
    margin: 4rem auto 0;
    background: rgba(0, 80, 255, 0.7);
    color: var(--text);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    animation: fadeIn 0.8s ease-out 1s forwards,
               floatUpDown 2s ease-in-out infinite;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes floatUpDown {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-6px);
    }
}

.scroll-button:hover {
    background: var(--secondary);
    transform: translateY(-3px);
}

.scroll-button i {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.scroll-button:hover i {
    transform: translateY(1px);
}

.section-divider {
    width: 100%;
    height: 2px;
    background: var(--card-border);
    margin: 4rem 0;
}

.dashboard-title {
    font-size: 1.2rem;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 1rem;
}

.partners-section,
.partners-grid,
.partner-card {
    display: none;
}

.image-carousel {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.carousel-img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.carousel-img.active {
    opacity: 1;
}

@media (max-width: 768px) {
    .social-grid {
        grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
        gap: 0.6rem;
    }

    .social-card {
        padding: 0.6rem;
    }

    .social-card i {
        font-size: 1.2rem;
    }

    .social-card span {
        font-size: 0.75rem;
    }

    .social-card.lastfm {
        padding: 0.6rem;
    }

    .social-card.lastfm i {
        font-size: 1.2rem;
    }

    .social-card.lastfm span {
        font-size: 0.75rem;
    }

    .contact-section {
        padding: 2rem 1rem;
        margin: 2rem 1rem;
    }

    .footer-links {
        gap: 1rem;
    }

    .footer a {
        padding: 0.4rem;
    }

    .dashboard-card {
        padding: 1rem;
        gap: 0.8rem;
    }

    .card-icon {
        width: 45px;
        height: 45px;
        min-width: 45px;
    }

    .card-content h3 {
        font-size: 1.1rem;
    }

    .card-content p {
        font-size: 0.7rem;
    }

    .social-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }

    .container {
        padding: 0 1rem;
    }

    .social-category .dashboard-card {
        flex-direction: row;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .social-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-card {
        padding: 1.5rem;
    }

    .card-icon {
        width: 40px;
        height: 40px;
        min-width: 40px;
    }

    .card-content h3 {
        font-size: 1rem;
    }

    .card-content p {
        font-size: 0.85rem;
    }
}

#sobre-mim .about-me-content > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

#sobre-mim.visible .about-me-content > * {
    opacity: 1;
    transform: translateY(0);
}

#sobre-mim.visible .about-me-content p:nth-child(1) { transition-delay: 0.1s; }
#sobre-mim.visible .about-me-content p:nth-child(2) { transition-delay: 0.2s; }
#sobre-mim.visible .about-me-content p:nth-child(3) { transition-delay: 0.3s; }
#sobre-mim.visible .about-me-content p:nth-child(4) { transition-delay: 0.4s; }
#sobre-mim.visible .about-me-content .linkedin-button { transition-delay: 0.5s; }

/* --- Botões de Contato --- */

/* Container para os dois botões de contato */
.contact-buttons-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    margin-top: 1.5rem;
}

@media (min-width: 550px) {
    .contact-buttons-container {
        flex-direction: row;
        justify-content: center;
    }
}

/* Estilo base dos botões. Esse estilo é aplicado ao botão da página index.html */
.contact-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 1rem 1.5rem;
    font-size: 1.1rem;
    border-radius: 100px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary), #00a5ff);
    border: none;
    color: var(--text);
    z-index: 10;
}

.contact-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.2), rgba(255,255,255,0));
    transform: translateX(-100%) rotate(45deg);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 80, 255, 0.3);
}

.contact-button:hover::before {
    transform: translateX(100%) rotate(45deg);
}

.contact-button i {
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.contact-button:hover i {
    transform: scale(1.1);
}

/* Estilo para os botões do portfólio - "Agendar" e "E-mail" */
.contact-button.email-button,
.contact-button.schedule-button {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    color: var(--text-secondary);
}

.contact-button.email-button i,
.contact-button.schedule-button i {
    color: var(--text-secondary);
}

/* Hover do botão de E-mail (portfólio) */
.contact-button.email-button:hover {
    background: var(--hover-bg);
    border-color: var(--primary);
    color: var(--text);
    transform: translateY(-2px);
    animation: pulse-primary 1.5s infinite;
}

.contact-button.email-button:hover i {
    color: var(--text);
    transform: rotate(12deg) scale(1.2);
}

/* Estilo inicial do botão de agendar reunião */
.contact-button.schedule-button {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    color: var(--text-secondary);
    animation: pulse-primary 2s infinite; /* A animação agora está aqui */
}

/* Efeito de hover para o botão de agendar */
.contact-button.schedule-button:hover {
    background: var(--hover-bg);
    border-color: var(--primary);
    color: var(--text);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 80, 255, 0.3);
}

/* Animações de brilho pulsante */
@keyframes pulse-primary {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 80, 255, 0.4);
    }
    70% {
        box-shadow: 0 0 0 12px rgba(0, 80, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 80, 255, 0);
    }
}

/* --- Novos estilos para os cards do portfólio subirem ao rolar --- */
.skill-card,
.project-card,
.help-card,
.contact-button,
.subsection-title {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.visible .skill-card,
.visible .project-card,
.visible .help-card,
.visible .contact-button,
.visible .subsection-title {
    opacity: 1;
    transform: translateY(0);
}
/* Fim dos novos estilos */
/* ================== ESTILOS ESPECÍFICOS DO PORTFÓLIO ================== */

/* Para sobrescrever a regra de lowercase do body nas páginas que precisam */
.portfolio-page *,
.portfolio-page body,
.portfolio-page h1,
.portfolio-page h2,
.portfolio-page h3,
.portfolio-page h4,
.portfolio-page p,
.portfolio-page a,
.portfolio-page span,
.portfolio-page div {
    text-transform: none !important;
}

/* Textos e Títulos */
.primary-text { color: var(--primary); }
.white-text { color: var(--text); }
.section-title {
    font-size: 1.8rem;
    margin-bottom: 2.5rem;
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.section-title .line {
    display: none;
}
.subsection-title {
    text-align: center;
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-top: 3rem;
    margin-bottom: 1.5rem;
}
.section-title span.primary-text {
    margin-left: 0.2em;
}

/* Hero Section */
.hero-portfolio {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 90vh;
}
.hero-main-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.profile-portfolio {
    order: -1;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out forwards;
}
.profile-img-portfolio {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    border: 4px solid var(--primary);
    box-shadow: 0 0 20px rgba(0, 80, 255, 0.4);
}
.hero-text-content h1 {
    font-size: 3rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
}

.tag-portfolio {
    background-color: var(--secondary);
    color: var(--text);
    padding: 0.4rem 1rem;
    border-radius: 6px;
    font-size: 0.9rem;
    display: inline-block;
    margin-top: 1.5rem;
    font-weight: bold;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out 0.6s forwards;

}

/* Sobre Mim Section */
.about-me-content {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.about-me-content p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1rem;
    text-align: left;
    width: 100%;
}
.about-me-content .highlight-secondary {
    font-size: 1.2em;
    font-weight: bold;
    color: var(--secondary);
}
.linkedin-button {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    margin-top: 1.5rem;
    padding: 0.8rem 1.5rem;
    border: 1px solid var(--card-border);
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-secondary);
    background: var(--card-bg);
    transition: all 0.3s ease;
    animation: pulse-primary 2.5s infinite;
}
.linkedin-button:hover {
    background: var(--hover-bg);
    color: var(--text);
    border-color: var(--primary);
    transform: translateY(-3px);
}

/* Habilidades Section */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}
.skill-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    border: 1px solid var(--card-border);
    transition: all 0.3s ease;
}
.skill-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2),
                0 0 20px rgba(0, 80, 255, 0.2),
                0 0 20px rgba(245, 0, 87, 0.2);
    position: relative;
    z-index: 2;
}
.card-icon-wrapper {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem auto;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--primary), #00a5ff);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    transition: all 0.3s ease;
}
.skill-card:hover .card-icon-wrapper {
    transform: scale(1.1) rotate(-10deg);
    box-shadow: 0 8px 15px rgba(0, 80, 255, 0.3);
}
.skill-card h3 { font-size: 1.3rem; margin-bottom: 0.5rem; color: var(--text); }
.skill-card p { color: var(--text-secondary); font-size: 0.9rem; }

/* Projetos Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}
.project-card {
    background: var(--card-bg);
    border-radius: 1rem;
    border: 1px solid var(--card-border);
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}
.project-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2),
                0 0 20px rgba(0, 80, 255, 0.2),
                0 0 20px rgba(245, 0, 87, 0.2);
    position: relative;
    z-index: 2;
}
.project-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.project-card.private {
    text-align: center;
    padding-top: 2rem;
}
.project-icon-private {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1rem;
}
.project-card h4 {
    padding: 0 1.5rem;
    margin-top: 1.5rem;
    font-size: 1.2rem;
    color: var(--text);
    text-align: center;
}
.project-card p {
     padding: 0 1.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 0.5rem;
    flex-grow: 1;
}
.project-button {
    display: block;
    margin: 1.5rem;
    padding: 0.7rem;
    background: var(--primary);
    color: var(--text);
    text-align: center;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
}
.project-button:hover {
    background: var(--secondary);
    transform: scale(1.05);
}
.project-button i { margin-left: 0.5rem; font-size: 0.8rem; }

/* Layout da grade de parceiros */
@media (min-width: 768px) {
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Como posso te ajudar Section */
.help-cards-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}
 @media (min-width: 768px) {
    .help-cards-container {
        grid-template-columns: 1fr 1fr;
    }
}
.help-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 1rem;
    text-decoration: none;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: all 0.3s ease;
    border: 1px solid var(--card-border);
}
.help-card:hover {
    transform: translateY(-5px);
    background: var(--hover-bg);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2),
                0 0 20px rgba(0, 80, 255, 0.2),
                0 0 20px rgba(245, 0, 87, 0.2);
    position: relative;
    z-index: 2;
}
.help-card:hover .card-icon-wrapper {
    transform: scale(1.1);
}
.help-card h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }
.help-card p { color: var(--text-secondary); margin: 0; }

/* Media Queries para Responsividade */
@media (max-width: 768px) {
    .hero-main-content {
        flex-direction: column;
    }
    .profile-portfolio {
        order: -1;
        margin-bottom: 2rem;
    }
    .hero-text-content {
        text-align: center;
    }
}