@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --bg-gradient-start: #1A1A2E;
    --bg-gradient-end: #000000;
    --primary-text: rgba(255, 255, 255, 0.8);
    --secondary-text: #CCCCCC;
    --accent-purple: #8A2BE2;
    --accent-blue: #007BFF;
    --contact-btn-bg: rgba(255, 255, 255, 0.8);
    --contact-btn-text: #1A1A2E;
    --contact-btn-hover-bg: #FFFFFF;
    --nav-bg: rgba(10, 10, 10, 0.7);
    --nav-border: rgba(170, 120, 255, 0.4);
    --nav-shadow: rgba(170, 120, 255, 0.2);
    --placeholder-bg: rgba(0, 0, 0, 0.2);
    --placeholder-border: rgba(255, 255, 255, 0.3);
}

html {
    scroll-behavior: smooth;
}

body, html {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

body {
    background: linear-gradient(135deg, var(--bg-gradient-start), var(--bg-gradient-end));
    color: var(--primary-text);
    font-family: 'Poppins', sans-serif;
    position: relative;
}

.background-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(150px);
}

.shape1 {
    width: 500px;
    height: 500px;
    top: -100px;
    left: -100px;
    background: radial-gradient(circle, rgba(0, 123, 255, 0.3), rgba(138, 43, 226, 0.2));
}

.shape2 {
    width: 400px;
    height: 400px;
    bottom: -150px;
    right: -150px;
    background: radial-gradient(circle, rgba(138, 43, 226, 0.3), rgba(255, 0, 255, 0.2));
}

header {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: 95%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    padding: 0 20px 0 0; /* Removido padding-left, mantido padding-right e padding-bottom/top como 0 */
    margin-top: 20px;
}

header nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background: var(--nav-bg);
    border-radius: 50px;
    padding: 15px 4rem;
    backdrop-filter: blur(10px);
    border: 1px solid var(--nav-border);
    box-shadow: 0 0 25px var(--nav-shadow);
}

.logo {
    font-size: 28px;
    font-weight: 700;
    z-index: 1;
}

.logo img {
    height: 70px; /* Altura mais adequada para o cabeçalho */
    width: auto; /* Mantém a proporção da imagem */
    display: block; /* Ajuda a evitar espaços extras abaixo da imagem */
}

nav ul {
    list-style: none;
    display: flex;
    gap: 60px;
    margin: 0;
    padding: 0;
}

nav ul li a {
    color: var(--secondary-text);
    text-decoration: none;
    font-weight: 400;
    position: relative;
    display: block;
    height: 24px;
    line-height: 24px;
    overflow: hidden;
}

nav ul li a span {
    display: block;
    width: 100%;
    transition: transform 0.4s cubic-bezier(0.76, 0, 0.24, 1);
}

nav ul li a span:last-child {
    color: var(--accent-purple);
    position: absolute;
    top: 0;
    left: 0;
    transform: translateY(-100%);
}

nav ul li a:hover span:first-child {
    transform: translateY(100%);
}

nav ul li a:hover span:last-child {
    transform: translateY(0);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.contact-button {
    background-color: var(--contact-btn-bg);
    color: var(--contact-btn-text);
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.4s ease, color 0.4s ease, box-shadow 0.4s ease;
    z-index: 1;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-button:hover {
    background-color: var(--contact-btn-hover-bg);
    color: var(--accent-purple);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.8), 0 0 30px var(--nav-shadow);
}

.menu-toggle {
    display: none;
    cursor: pointer;
    z-index: 101;
    position: relative;
    width: 25px;
    height: 21px;
    margin-right: 15px;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--contact-btn-hover-bg);
    margin: 5px 0;
    transition: 0.4s;
    position: absolute;
    left: 0;
}

.bar:nth-child(1) {
    top: 0;
}

.bar:nth-child(2) {
    top: 9px;
}

.bar:nth-child(3) {
    top: 18px;
}

.menu-toggle.active .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .bar:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

main {
    display: block; /* Alterado de flex para block */
    min-height: 100vh;
    text-align: center;
    position: relative;
    z-index: 5;
    padding-top: 8em;
    box-sizing: border-box;
}

.hero-content {
    max-width: 1200px;
    margin: 4em auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    padding: 0 20px;
}

.hero-text {
    flex: 1;
    max-width: 55%;
    text-align: left;
}

.hero-title {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.hero-title i {
    font-size: 2.5em;
    color: var(--primary-text);
}

.hero-text h1 {
    font-size: 1.9em;
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
    height: auto !important;
}

.hero-text p {
    font-size: 1.1em;
    color: var(--secondary-text);
    line-height: 1.7;
    max-width: 550px;
    margin: 0 0 30px 0;
}

.hero-image {
    flex: 1;
    max-width: 40%;
}

.hero-image img {
    width: 100%;
    max-width: 400px;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

.hero-buttons {
    margin-bottom: 40px;
    display: flex;
    gap: 15px;
    align-items: center;
    justify-content: flex-start;
}

.cta-button.primary {
    background: linear-gradient(45deg, #e734ff, #8A2BE2);
    box-shadow: 0 0 20px rgba(231, 52, 255, 0.5);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.cta-button.primary i {
    font-size: 1.2em;
}

.hero-metrics {
    display: flex;
    gap: 40px;
    margin-top: 30px;
    align-items: center;
    justify-content: center;
}

.metric-item {
    text-align: center;
}

.metric-item h3 {
    font-size: 2.2em;
    font-weight: 700;
    margin: 0 0 5px 0;
    color: var(--primary-text);
}

.metric-item p {
    margin: 0;
    color: var(--secondary-text);
    font-size: 1em;
}

.powered-by-ia {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.powered-by-ia i {
    font-size: 1.5em;
    color: var(--secondary-text);
}

.powered-by-ia span {
    font-weight: 600;
    color: var(--secondary-text);
    font-size: 0.8em;
}



.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.slide-content .hero-buttons {
    justify-content: flex-start;
}

.cta-button {
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.4s ease;
    border: 1px solid transparent;
    min-width: 12em;
    text-align: center;
}

.cta-button.primary {
    background: linear-gradient(45deg, var(--accent-blue), var(--accent-purple));
    color: var(--contact-btn-hover-bg);
    box-shadow: 0 0 20px rgba(0, 123, 255, 0.5);
}

.cta-button.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(0, 123, 255, 0.8);
}

.cta-button.secondary {
    background-color: transparent;
    color: var(--primary-text);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.cta-button.secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--contact-btn-hover-bg);
    transform: translateY(-3px);
}

.video-placeholder {
    width: 100%;
    max-width: 700px;
    height: 400px;
    background-color: var(--placeholder-bg);
    border: 2px dashed var(--placeholder-border);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}

.video-placeholder p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 16px;
    margin: 0;
}

/* Section 2 inicio */
.slider-container {
    position: relative;
    z-index: 20;
    width: 97%;
    height: calc(100vh - 150px);
    /*margin-top: 15em;*/
    margin-bottom: 170px;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
    border-radius: 11px;
    padding-top: 9em; /* Adicionado para empurrar o conteúdo interno para baixo */
    }

        .slider-wrapper {
            position: relative;
            width: 100%;
            height: 100%;
            transform-style: preserve-3d;
            /* Aumentando a duração da transição para um efeito mais suave */
            transition: transform 1.8s cubic-bezier(0.23, 1, 0.32, 1);
        }

        .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex
;
    align-items: center;
    justify-content: center;
    text-align: left;
    color: white;
    /* background: linear-gradient(135deg, #2d2a42 0%, #4f4a75 100%); */
    background: #000000;
    padding: 2rem;
    box-sizing: border-box;
    border: 1px solid rgb(255 255 255 / 43%);
    border-radius: 12px;
        }

        /* Ajuste do translateZ para a nova altura do container */
        .slide:nth-child(1) {
            transform: rotateX(0deg) translateZ(calc((100vh - 150px) / 2));
        }

        .slide:nth-child(2) {
            transform: rotateX(90deg) translateZ(calc((100vh - 150px) / 2));
        }

        .slide:nth-child(3) {
            transform: rotateX(180deg) translateZ(calc((100vh - 150px) / 2));
        }

        .slide:nth-child(4) {
            transform: rotateX(270deg) translateZ(calc((100vh - 150px) / 2));
        }

        .slide:nth-child(5) {
            transform: rotateX(360deg) translateZ(calc((100vh - 150px) / 2));
        }

        .slide-container-flex {
            display: flex;
            align-items: center;
            justify-content: space-between;
            width: 100%;
            max-width: 1200px;
            gap: 2rem;
        }

        .slide-content {
            flex: 1;
            padding: 2rem;
            max-width: 50%;
            display: flex;
            flex-direction: column;
            align-items: flex-start; /* Align content to the left */
            justify-content: center;
        }

        .slide-image {
            flex: 1;
            max-width: 45%;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .slide-image img {
            width: 420px;
            border-radius: 15px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.3);
        }

        .controls {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            z-index: 100;
            background: rgba(255,255,255,0.1);
            border: 1px solid rgba(255,255,255,0.2);
            border-radius: 50px;
            padding: 1rem;
            transition: all 0.3s ease;
        }

        .controls:hover {
            background: rgba(255,255,255,0.2);
            transform: translateY(-50%) scale(1.1);
        }

        .prev {
            left: 2rem;
        }

        .next {
            right: 2rem;
        }

        .control-btn {
            background: none;
            border: none;
            color: white;
            font-size: 2rem;
            cursor: pointer;
            padding: 0.5rem;
            border-radius: 50%;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            width: 50px;
            height: 50px;
        }

        .control-btn:hover {
            background: rgba(255,255,255,0.2);
            transform: scale(1.2);
        }

        .indicators {
            position: absolute;
            left: 2rem;
            top: 50%;
            transform: translateY(-50%);
            display: flex;
            flex-direction: column;
            gap: 1rem;
            z-index: 100;
        }

        .indicator {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: rgba(255,255,255,0.3);
            cursor: pointer;
            transition: all 0.3s ease;
            border: 2px solid transparent;
        }

        .indicator.active {
            background: white;
            box-shadow: 0 0 20px rgba(255,255,255,0.8);
            transform: scale(1.3);
        }

        .slide-counter {
            position: absolute;
            bottom: 2rem;
            right: 2rem;
            color: white;
            font-size: 1.1rem;
            background: rgba(0,0,0,0.3);
            padding: 0.5rem 1rem;
            border-radius: 25px;
            backdrop-filter: blur(10px);
        }

@media (max-width: 1024px) {
    header {
        width: 100%;
        max-width: 100%;
        left: 0;
        transform: none;
        padding: 0 20px;
        box-sizing: border-box;
    }

    .logo, .header-right {
        z-index: 1001; /* Garante que a logo e o menu fiquem sobre o menu aberto */
    }

    .contact-button {
        display: none; /* Esconde o botão de contato em telas menores */
    }

    .slide-container-flex {
        flex-direction: column;
        text-align: center;
    }

    .slide-content {
        max-width: 100%;
        align-items: center;
    }

    .slide-content h1 {
        font-size: 38px;
    }

    .slide-content p {
        font-size: 16px;
        max-width: 600px;
        margin: 0 auto 30px auto;
    }

    .slide-content .hero-buttons {
        justify-content: center;
    }

    .slide-image {
        display: none;
    }

    /* Estilos para o fundo dos slides no mobile */
    .slide {
        background-size: cover;
        background-position: center;
    }

    .slide::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(26, 26, 46, 0.85);
        z-index: 1;
        border-radius: 12px;
    }

    .slide-container-flex {
        position: relative;
        z-index: 2; /* Garante que o conteúdo fique sobre o overlay */
    }

    /* Imagens de fundo para cada slide */
    .slider-container .slide:nth-child(1) {
        /* Usando a imagem do chatbot para o slide de introdução */
        background-image: url('../Files/chatboot_smart.png');
    }
    .slider-container .slide:nth-child(2) {
        background-image: url('../Files/webdevwithAI.png');
    }
    .slider-container .slide:nth-child(3) {
        background-image: url('../Files/consultingAI.png');
    }
    .slider-container .slide:nth-child(4) {
        background-image: url('../Files/chatboot_smart.png');
    }
    .slider-container .slide:nth-child(5) {
        background-image: url('../Files/integrations.png');
    }

    /* Estilos para o menu hambúrguer */
    header nav {
        display: none; /* Esconde a navegação principal por padrão */
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: linear-gradient(135deg, var(--bg-gradient-start), var(--bg-gradient-end));
        flex-direction: column;
        justify-content: center;
        z-index: 1000; /* Garante que o menu fique sobreposto */
        align-items: center;
        transform: translateX(-100%);
        transition: transform 0.4s ease-in-out;
        padding: 0;
        border-radius: 0;
    }

    header nav.active {
        display: flex; /* Mostra a navegação quando ativa */
        transform: translateX(0);
    }

    header nav ul {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }

    .menu-toggle {
        display: block; /* Mostra o ícone do menu */
    }
}

@media (max-width: 768px) {
    main {
        padding-top: 6em;
    }

    .hero-content {
        flex-direction: column;
        margin-top: 1em;
        margin-bottom: 2em;
        gap: 1rem;
    }

    .hero-text {
        max-width: 100%;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 1.7em;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-image {
        max-width: 250px;
    }

    .slide-content h1 {
        font-size: 22px;
        text-align: center;
        height: auto !important;
        line-height: 1.3;
    }
            
    .slide-content p {
        font-size: 14px;
        text-align: center;
        margin: 0 auto 20px auto;
        max-width: 95%;
    }

    .slide-content .hero-buttons {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .cta-button {
        width: 90%;
        max-width: 400px;
        box-sizing: border-box;
        text-align: center;
    }

    .video-placeholder {
        height: 300px;
    }

    .portfolio-hero h1 {
        font-size: 1.8em; /* Reduzido para melhor ajuste */
    }
    .portfolio-hero p {
        font-size: 0.95em; /* Levemente reduzido */
    }
    .project-grid {
        justify-content: center;
        gap: 20px; /* Reduzindo o espaçamento entre os cards */
    }
    .project-card {
        flex-basis: calc(100% - 20px);
        max-width: 320px; /* Reduzido para melhor encaixe em telas menores */
        margin-left: auto;
        margin-right: auto;
    }
    .project-card h3 {
        font-size: 1.2em; /* Ajustando o tamanho do título do card */
    }
    .project-card p {
        font-size: 0.85em; /* Ajustando o tamanho do texto do card */
    }
    .category-filters {
        display: flex;
        overflow-x: auto; /* Permite rolagem horizontal */
        -webkit-overflow-scrolling: touch; /* Melhora a experiência de rolagem em iOS */
        scrollbar-width: none; /* Oculta a barra de rolagem no Firefox */
        padding-bottom: 15px; /* Espaço para a barra de rolagem não sobrepor o conteúdo */
        justify-content: flex-start; /* Alinha os botões ao início */
    }

    .category-filters::-webkit-scrollbar {
        display: none; /* Oculta a barra de rolagem no Chrome, Safari, etc. */
    }

    .filter-btn {
        flex-shrink: 0; /* Impede que os botões encolham */
        width: auto; /* Largura automática baseada no conteúdo */
        white-space: nowrap; /* Impede a quebra de linha no texto do botão */
    }
    .filter-btn {
        width: 80%;
        margin: 5px 0;
    }

    #sobre-mim .about-hero {
        flex-direction: column;
        text-align: center;
        gap: 30px;
        padding: 60px 15px;
        min-height: auto;
    }
    #sobre-mim .about-hero .image-wrapper {
        width: 90%;
        height: 250px;
    }
    #sobre-mim .about-hero .text-content h2 {
        text-align: center;
    }

    #sobre-mim .timeline-container {
        left: auto;
        right: 20px;
        transform: none;
    }
    #sobre-mim .timeline-section {
        padding: 40px 15px;
        justify-content: flex-start;
    }
    #sobre-mim .timeline-section:nth-child(even) .text-content {
        margin-left: 0;
        margin-right: auto;
    }
    #sobre-mim .timeline-section .timeline-point-wrapper {
        left: auto;
        right: 20px;
        transform: translateX(50%);
    }
    #sobre-mim .timeline-section .text-content {
        max-width: calc(100% - 70px);
        margin-left: 0;
        margin-right: auto;
        padding: 20px;
    }

    #sobre-mim .cta-final { padding: 60px 15px; }
    #sobre-mim .cta-final h2 { font-size: 2em; }
    #sobre-mim .cta-final p { font-size: 1em; }

    #sobre-mim .scroll-indicator.up {
         transform: translateX(-50%) rotate(180deg);
    }

    .modal-content {
        padding: 30px;
    }
    .modal-content h1 {
        font-size: 28px;
    }
    .modal-content p {
        justify-content: center;
    }

    .hero-text p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-image {
        order: -1;
        margin-bottom: 0;
    }
    
    .hero-metrics {
        justify-content: center;
        gap: 20px;
        flex-wrap: wrap;
    }
    
    .metric-item {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 32px;
    }

    .hero-content p {
        font-size: 14px;
    }

    .video-placeholder {
        height: 250px;
    }
}

/* Estilos do Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--bg-gradient-start);
    border-radius: 15px;
    width: 90%;
    max-width: 900px;
    text-align: center;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    border: 1px solid var(--nav-border);
    box-shadow: 0 0 30px var(--nav-shadow);
    height: auto; /* Altura se ajusta ao conteúdo */
    max-height: 90vh; /* Altura máxima antes de rolar */
    overflow-y: auto; /* Scroll no modal inteiro */
    padding: 40px;
    display: block;
}


.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-close-btn {
    position: absolute;
    top: 20px;
    right: 25px;
    background: none;
    border: none;
    color: var(--primary-text);
    font-size: 30px;
    cursor: pointer;
    line-height: 1;
}

.modal-header {
    /* Não mais necessário */
}

.modal-content img {
    width: 100%;
    max-width: 450px; /* Imagem maior */
    height: auto;
    border-radius: 10px;
    margin: 0 auto 25px auto;
    object-fit: cover;
}

.modal-content h1 {
    font-size: 36px;
    font-weight: 700;
    margin: 0 0 25px 0;
    line-height: 1.3;
    color: var(--primary-text);
    padding: 0;
}

.modal-content #modalDescription {
    font-size: 1.1em;
    color: var(--secondary-text);
    line-height: 1.8;
    text-align: left;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

.modal-body {
    padding: 0;
    text-align: left;
    margin-bottom: 0; /* Removido pois o CTA está dentro agora */
}

.service-benefits {
    background-color: rgba(0,0,0,0.2);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.1);
}

.service-benefits h3 {
    color: var(--accent-blue);
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 1.5em;
    text-align: center;
}

.service-benefits ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.service-benefits li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--secondary-text);
}

.service-benefits li i {
    font-size: 1.2em;
    color: var(--accent-purple);
    margin-top: 4px;
    transition: color 0.3s ease;
}

.service-benefits li:hover i {
    color: var(--accent-blue);
}

/* Removido o media query anterior para o modal-body pois a estrutura mudou */

.modal-cta {
    padding-top: 30px;
    margin-top: 40px; /* Espaço acima do botão */
    border-top: none; /* Removida a borda fixa */
}

.modal-cta .cta-button {
    margin: 0 auto; /* Centraliza o botão CTA */
}

@media (max-width: 768px) {
    .modal-content {
        padding: 30px;
    }
    .modal-content h1 {
        font-size: 28px;
    }
    .modal-content p {
        font-size: 14px;
    }
}

/* Estilos da Seção Portfólio Migrados */
.portfolio-section.container { /* Adicionando .container para manter o padding e max-width */
    max-width: 1200px;
    margin: 5em auto;
    padding: 20px;
    /* padding-top: 80px; */ /* Removido para depender do padding-top do main, se aplicável, ou ajustar se necessário */
    scroll-margin-top: 150px; /* Ajuste para o header fixo */
}

#sobre-mim{
    margin: 5em auto;
}

.hero-content { /* Aplicando também à seção hero para consistência no scroll */
    scroll-margin-top: 160px; /* Aumentar um pouco para garantir que não fique colado */
}

#solutions {
    scroll-margin-top: 160px !important; /* Ajustado para acomodar a altura do header (logo 120px + margin-top 20px + 20px de folga) */
}

#portfolio, #sobre-mim, #contato {
    scroll-margin-top: 160px; /* Consistência para outras seções */
}

/* Ajuste específico para o portfolio-section para garantir que o padding-top do main seja respeitado */
.portfolio-section {
    padding-top: 0; /* Resetar se houver algum padding específico que interfira com o do main */
}


.portfolio-hero {
    background: linear-gradient(to right, #8A2BE2, #007bff); /* Gradiente invertido */
    padding: 60px 20px; /* Reduzido o padding vertical */
    text-align: center;
    color: #FFFFFF;
    margin-bottom: 40px;
    border-radius: 8px; /* Cantos arredondados */
}

.portfolio-hero h1 {
    font-size: 2.5em; /* Ajustado tamanho da fonte */
    margin-bottom: 15px;
    color: #FFFFFF; /* Garantindo cor do título */
}

.portfolio-hero p {
    font-size: 1.1em; /* Ajustado tamanho da fonte */
    max-width: 800px;
    margin: 0 auto;
    color: #F5F5F5; /* Garantindo cor do parágrafo */
}

/* Filtros de Categoria */
.category-filters {
    text-align: center;
    margin-bottom: 40px;
}

.filter-btn {
    background-color: rgba(255, 255, 255, 0.1);
    color: #F5F5F5;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px 20px;
    margin: 5px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.filter-btn:hover {
    background-color: rgba(0, 192, 255, 0.2); /* Azul vibrante suave */
    border-color: #00c0ff;
}

.filter-btn.active {
    background: linear-gradient(to right, #007bff, #8A2BE2);
    border-color: #00c0ff;
    color: #FFFFFF;
}

/* Grid de Projetos */
.project-grid {
    display: flex; /* Alterado para flexbox */
    flex-wrap: wrap; /* Permitir quebra de linha */
    justify-content: center; /* Centralizar os cards */
    gap: 30px;
    padding-bottom: 60px;
}

.project-card {
    background-color: rgba(42, 42, 62, 0.7); /* Cor de fundo com mais opacidade */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    flex-basis: calc(33.333% - 40px); /* Para 3 colunas, considerando o gap. Ajuste o 40px conforme o gap total */
    min-width: 300px; /* Largura mínima para responsividade */
    max-width: 360px; /* Largura máxima para consistência */
}

.project-card:hover {
    transform: translateY(-8px);
    border-color: #00c0ff;
}

.project-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.project-card-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.project-card h3 {
    font-size: 1.4em; /* Ajustado */
    margin-bottom: 10px;
    color: #FFFFFF;
}

.project-card .category-tag {
    display: inline-block;
    background-color: #00c0ff;
    color: #1A1A2E;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.8em;
    font-weight: bold;
    margin-bottom: 10px;
}

.project-card p {
    font-size: 0.9em; /* Ajustado */
    color: #CCCCCC;
    margin-bottom: 20px;
    line-height: 1.5; /* Melhorando legibilidade */
}

.project-card .saiba-mais-btn {
    background: linear-gradient(to right, #007bff, #8A2BE2);
    color: #FFFFFF;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 20px;
    font-weight: bold;
    display: inline-block;
    margin-top: auto;
    align-self: center;
    transition: transform 0.3s ease;
}

.project-card .saiba-mais-btn:hover {
    transform: translateY(-2px);
}

/* Estilos do Carrossel de Portfólio */
.portfolio-slider-container {
    position: relative;
}

.slider-nav-btn {
    display: none; /* Escondido por padrão em telas maiores */
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    z-index: 10;
    transition: background-color 0.3s ease;
}

.slider-nav-btn:hover {
    background-color: rgba(255, 255, 255, 0.4);
}

.slider-nav-btn.prev-btn {
    left: -20px;
}

.slider-nav-btn.next-btn {
    right: -20px;
}

/* Responsividade para a seção de portfólio */
@media (max-width: 1024px) {
    .project-card {
        flex-basis: calc(50% - 30px); /* 2 colunas */
    }
}

@media (max-width: 768px) {
    .portfolio-hero h1 {
        font-size: 1.8em;
    }
    .portfolio-hero p {
        font-size: 0.95em;
    }

    /* Filtros roláveis */
    .category-filters {
        display: flex;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 15px;
        justify-content: flex-start;
    }

    .category-filters::-webkit-scrollbar {
        display: none;
    }

    .filter-btn {
        flex-shrink: 0;
        width: auto;
        white-space: nowrap;
        margin: 0 5px;
    }

    /* Carrossel de Projetos */
    .slider-nav-btn {
        display: block; /* Mostra os botões no mobile */
    }

    .project-grid-wrapper {
        overflow-x: auto;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .project-grid-wrapper::-webkit-scrollbar {
        display: none;
    }

    .project-grid {
        display: flex;
        flex-wrap: nowrap;
        justify-content: flex-start;
        gap: 15px;
        padding: 0 10px;
        padding-bottom: 0;
    }

    .project-card {
        flex: 0 0 85%;
        max-width: 85%;
        margin-left: 0;
        margin-right: 0;
    }
}

/* Estilos específicos para o Modal de Portfólio */
#portfolioModal .portfolio-modal-content {
    background-color: #1A1A2E;
    color: #F5F5F5;
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    width: 90%;
    max-width: 1200px;
    height: 90vh;
    overflow-y: auto;
    position: relative;
    border-radius: 8px;
    padding: 0;
}

#portfolioModal .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

#portfolioModal h1, #portfolioModal h2, #portfolioModal h3 {
    color: #FFFFFF;
    font-weight: 700;
    margin-bottom: 10px;
}

#portfolioModal p {
    margin-bottom: 1em;
}

#portfolioModal .banner {
    background: linear-gradient(to right, #007bff, #8A2BE2);
    padding: 80px 20px;
    text-align: center;
    color: #FFFFFF;
    border-radius: 8px;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

#portfolioModal .banner h1 {
    font-size: 3em;
    margin-bottom: 15px;
    line-height: 1.2;
}

#portfolioModal .banner p {
    font-size: 1.3em;
    max-width: 800px;
    margin: 0 auto 30px auto;
}

#portfolioModal .banner img.project-mockup {
    max-width: 90%;
    height: auto;
    margin-top: 40px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

#portfolioModal .case-section {
    padding: 60px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

#portfolioModal .case-section:last-of-type {
    border-bottom: none;
}

#portfolioModal .case-section h2 {
    font-size: 2.2em;
    margin-bottom: 30px;
    color: #00c0ff;
    text-align: center;
}

#portfolioModal .case-section p {
    font-size: 1.1em;
    line-height: 1.7;
    max-width: 900px;
    margin: 0 auto;
    text-align: justify;
}

#portfolioModal .case-section .content-image {
    max-width: 80%;
    height: auto;
    margin: 40px auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

#portfolioModal .results-block {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

#portfolioModal .result-card {
    background-color: rgba(255, 255, 255, 0.05);
    width: 280px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

#portfolioModal .result-card:hover {
    transform: translateY(-5px);
    border-color: #00c0ff;
}

#portfolioModal .result-card h3 {
    font-size: 2.5em;
    color: #00c0ff;
    margin-bottom: 10px;
}

#portfolioModal .result-card p {
    font-size: 1em;
    color: #CCCCCC;
    margin: 0;
}

#portfolioModal .cta-final {
    text-align: center;
    padding: 80px 20px;
    background: linear-gradient(to right, #8A2BE2, #007bff);
    border-radius: 8px;
    margin-top: 40px;
}

#portfolioModal .cta-final h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

#portfolioModal .cta-final p {
    font-size: 1.2em;
    max-width: 700px;
    margin: 0 auto 30px auto;
}

#portfolioModal .cta-final a {
    background-color: #FFFFFF;
    color: #1A1A2E;
    padding: 18px 35px;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

#portfolioModal .cta-final a:hover {
    background-color: #e0e0e0;
    transform: translateY(-3px);
}

.portfolio-modal-close-btn {
    position: fixed;
    top: 20px;
    right: 30px;
    background: rgba(0,0,0,0.5);
    color: white;
    border: 2px solid white;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 25px;
    cursor: pointer;
    z-index: 1010;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* --- Estilos Isolados da Seção Sobre Mim --- */
#sobre-mim .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

#sobre-mim h2, #sobre-mim h3 {
    color: #FFFFFF;
    font-weight: 700;
    margin-bottom: 10px;
}

#sobre-mim p {
    margin-bottom: 1em;
}

#sobre-mim .about-hero {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    text-align: left;
    gap: 60px;
    position: relative;
    min-height: 70vh;
    box-sizing: border-box;
}

#sobre-mim .about-hero .image-wrapper {
    flex-shrink: 0;
    width: 450px;
    height: 350px;
    background-color: #2a2a40;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 1;
}

#sobre-mim .about-hero .image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 15px;
}

#sobre-mim .about-hero .text-content {
    max-width: 600px;
}

#sobre-mim .about-hero .text-content h2 {
    font-size: 2.5em;
    color: #00c0ff;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
#sobre-mim .about-hero .text-content p {
    font-size: 1.1em;
    color: #CCCCCC;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

#sobre-mim .reveal {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

#sobre-mim .timeline-container {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateX(-50%);
    z-index: 0;
}

#sobre-mim .timeline-progress {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(to bottom, #CCFF00, #00c0ff);
    transition: height 1.5s ease-out;
}

#sobre-mim .timeline-dot {
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
    background-color: #CCFF00;
    border-radius: 50%;
    border: 3px solid #1A1A2E;
    box-shadow: 0 0 10px rgba(204, 255, 0, 0.7);
    opacity: 0;
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
    z-index: 1;
}
#sobre-mim .timeline-dot.reveal-dot {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

#sobre-mim .timeline-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 80px 20px;
    position: relative;
    z-index: 2;
}

#sobre-mim .timeline-section .timeline-point-wrapper {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#sobre-mim .timeline-section .text-content {
    max-width: 500px;
    background-color: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    margin-left: auto;
    margin-right: 0;
    position: relative; /* Necessário para o pseudo-elemento */
    overflow: hidden; /* Garante que o overlay não vaze */
}

#sobre-mim .timeline-section .text-content > * {
    position: relative;
    z-index: 2; /* Garante que o texto fique acima do overlay */
}

#sobre-mim .timeline-section[data-section-id="2"] .text-content {
    background-image: url('../Files/stacks.png');
    background-size: cover;
    background-position: center;
}

#sobre-mim .timeline-section[data-section-id="2"] .text-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(26, 26, 46, 0.8); /* Transparência ajustada para 80% */
    z-index: 1;
}

#sobre-mim .timeline-section[data-section-id="3"] .text-content {
    background-image: url('../Files/AIbackground.png');
    background-size: cover;
    background-position: center;
}

#sobre-mim .timeline-section[data-section-id="3"] .text-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(26, 26, 46, 0.8); /* Transparência ajustada para 80% */
    z-index: 1;
}

#sobre-mim .timeline-section[data-section-id="4"] .text-content {
    background-image: url('../Files/Globo.jpg');
    background-size: cover;
    background-position: center;
}

#sobre-mim .timeline-section[data-section-id="4"] .text-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(26, 26, 46, 0.8); /* Transparência de 80% */
    z-index: 1;
}

#sobre-mim .timeline-section[data-section-id="5"] .text-content {
    background-image: url('../Files/confiança.png');
    background-size: cover;
    background-position: center;
}

#sobre-mim .timeline-section[data-section-id="5"] .text-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(26, 26, 46, 0.8); /* Transparência de 80% */
    z-index: 1;
}

#sobre-mim .timeline-section:nth-child(even) .text-content {
    margin-left: 0;
    margin-right: auto;
}

#sobre-mim .timeline-section .text-content.reveal {
    opacity: 1;
    transform: translateY(0);
}

#sobre-mim .scroll-indicator {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: #CCFF00;
    font-size: 2.5em;
    animation: pulse 1.5s infinite ease-in-out;
    cursor: pointer;
    z-index: 100;
    opacity: 1;
    transition: opacity 0.5s ease-out, transform 0.3s ease;
}

#sobre-mim .scroll-indicator.hidden {
    display: none;
}

#sobre-mim .scroll-indicator.up {
    transform: translateX(-50%) rotate(180deg);
}

@keyframes pulse {
    0% { transform: translateX(-50%) translateY(0); opacity: 0.7; }
    50% { transform: translateX(-50%) translateY(10px); opacity: 1; }
    100% { transform: translateX(-50%) translateY(0); opacity: 0.7; }
}
@keyframes pulse-up {
    0% { transform: translateX(-50%) translateY(0) rotate(180deg); opacity: 0.7; }
    50% { transform: translateX(-50%) translateY(-10px) rotate(180deg); opacity: 1; }
    100% { transform: translateX(-50%) translateY(0) rotate(180deg); opacity: 0.7; }
}

#sobre-mim .cta-final {
    text-align: center;
    padding: 80px 20px;
    background: linear-gradient(to right, #8A2BE2, #007bff);
    border-radius: 8px;
    margin-top: 40px;
}

#sobre-mim .cta-final h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

#sobre-mim .cta-final p {
    font-size: 1.2em;
    max-width: 700px;
    margin: 0 auto 30px auto;
}

#sobre-mim .cta-final a {
    background-color: #FFFFFF;
    color: #1A1A2E;
    padding: 18px 35px;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

#sobre-mim .cta-final a:hover {
    background-color: #e0e0e0;
    transform: translateY(-3px);
}

/* --- Responsividade para a Seção Sobre Mim --- */
@media (max-width: 768px) {
    #sobre-mim .about-hero {
        flex-direction: column;
        text-align: center;
        gap: 30px;
        padding: 60px 15px;
        min-height: auto;
    }
    #sobre-mim .about-hero .image-wrapper {
        width: 90%;
        height: 250px;
    }
    #sobre-mim .about-hero .text-content h2 {
        text-align: center;
    }

    #sobre-mim .timeline-container {
        left: auto;
        right: 20px; /* Mover a linha do tempo para a direita */
        transform: none;
    }
    #sobre-mim .timeline-section {
        padding: 40px 15px;
        justify-content: flex-start; /* Alinhar cards à esquerda */
    }
    #sobre-mim .timeline-section:nth-child(even) .text-content {
        margin-left: 0; /* Remover alternância */
        margin-right: auto;
    }
    #sobre-mim .timeline-section .timeline-point-wrapper {
        left: auto;
        right: 20px; /* Alinhar ponto com a linha do tempo */
        transform: translateX(50%);
    }
    #sobre-mim .timeline-section .text-content {
        max-width: calc(100% - 70px); /* Reduzir card e dar espaço para a linha */
        margin-left: 0;
        margin-right: auto;
        padding: 20px; /* Reduzir padding interno */
    }

    #sobre-mim .cta-final { padding: 60px 15px; }
    #sobre-mim .cta-final h2 { font-size: 2em; }
    #sobre-mim .cta-final p { font-size: 1em; }

    #sobre-mim .scroll-indicator.up {
         transform: translateX(-50%) rotate(180deg);
    }
}

/* --- Estilos do Rodapé (AJUSTE FINAL) --- */
.site-footer {
    background: linear-gradient(135deg, var(--bg-gradient-start), var(--bg-gradient-end)); /* Mesmo gradiente do body */
    color: var(--secondary-text);
    padding: 50px 20px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 60px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
}

.social-links a {
    color: var(--secondary-text);
    text-decoration: none;
    font-size: 22px;
    margin: 0 15px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-links a:hover {
    color: var(--accent-blue);
    transform: translateY(-3px);
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px 30px;
}

.footer-nav a {
    color: var(--secondary-text);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
    background: none;
    padding: 0;
    border: none;
    box-shadow: none;
}

.footer-nav a:hover {
    color: var(--primary-text);
}

.copyright {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.tagline {
    font-size: 14px;
    font-style: italic;
    color: rgba(255, 255, 255, 0.5);
}

/* --- Estilos da Seção de Contato --- */
.contact-section.container {
    max-width: 800px;
    margin: 60px auto;
    padding: 20px;
}

.contact-section .contact-header {
    text-align: center;
    margin-bottom: 30px;
}

.contact-header h1 {
    font-size: 2.5em;
    color: var(--primary-text);
    margin-bottom: 15px;
}

.contact-header p {
    font-size: 1.1em;
    color: var(--secondary-text);
    max-width: 600px;
    margin: 0 auto;
}

.contact-section .form-container {
    background-color: rgba(42, 42, 62, 0.7);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.contact-section input[type="text"],
.contact-section input[type="email"],
.contact-section input[type="tel"],
.contact-section textarea {
    width: 100%;
    margin-bottom: 20px;
    padding: 15px;
    background: #111;
    border: 1px solid var(--border-color, #333);
    border-radius: 10px;
    color: var(--text-color, #ffffff);
    font-size: 1rem;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

.contact-section textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-section .button-group {
    margin-top: 20px;
    display: flex;
    justify-content: center;
}

.contact-section .form-btn {
    display: block;
    width: 100%;
    max-width: 300px;
    padding: 15px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.contact-section .btn-submit {
    background: linear-gradient(to right, var(--accent-blue), var(--accent-purple));
    color: #fff;
    border: none;
}

.contact-section .btn-submit:hover {
    opacity: 0.9;
    transform: translateY(-3px);
}

.alternative-contact {
    text-align: center;
    margin-top: 40px;
    color: var(--secondary-text);
}

.contact-options {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.contact-option {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--primary-text);
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.contact-option:hover {
    background-color: var(--accent-blue);
    color: #fff;
    transform: translateY(-3px);
}

.contact-option i {
    font-size: 1.2em;
}

/* Estilização da barra de rolagem personalizada */
html::-webkit-scrollbar {
  width: 12px; /* Largura da barra de rolagem vertical */
  height: 12px; /* Altura da barra de rolagem horizontal */
}

html::-webkit-scrollbar-track {
  background: linear-gradient(to bottom, var(--accent-purple), var(--accent-blue)); /* Novo gradiente solicitado */
  border-radius: 10px; /* Cantos arredondados para a trilha */
}

html::-webkit-scrollbar-thumb {
  background-color: #FFFFFF; /* Cor branca para o marcador */
  border-radius: 10px; /* Cantos arredondados para o marcador */
  border: 5px solid transparent; /* Aumenta a "margem interna" para diminuir o thumb visualmente */
  background-clip: content-box; /* Faz o background respeitar a borda */
}

html::-webkit-scrollbar-thumb:hover {
  background-color: #f0f0f0; /* Cor ao passar o mouse sobre o marcador */
}

/* Para Firefox (estilização mais limitada) */
body, .modal-content, .portfolio-modal-content { /* Aplicar a elementos com overflow */
  scrollbar-width: thin; /* "auto" ou "thin" */
  scrollbar-color:  #ffffff #1A1A2E /* thumb track (marcador branco, trilha com tom do novo gradiente) */
}

/* Estilos para o botão flutuante do WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background-color: #25D366;
    color: #FFF;
    text-decoration: none !important;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: transform 0.3s ease;
    animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    animation: none; /* Pausa a animação no hover */
}

/* Animação de pulso para o WhatsApp */
@keyframes pulse-whatsapp {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Estilos para o Modal de Aviso de Desenvolvimento */
.development-warning {
    max-width: 450px; /* Mais estreito que os outros modais */
    padding: 50px 30px;
    text-align: center;
    background: linear-gradient(145deg, #2c2c4c, #1a1a2e);
}

.development-warning .development-icon {
    font-size: 4em;
    color: var(--accent-blue);
    margin-bottom: 25px;
    display: block;
    animation: spin-wrench 2.5s ease-in-out infinite;
}

@keyframes spin-wrench {
    0% { transform: rotate(0deg); }
    20% { transform: rotate(-15deg); }
    40% { transform: rotate(15deg); }
    60% { transform: rotate(-10deg); }
    80% { transform: rotate(10deg); }
    100% { transform: rotate(0deg); }
}

.development-warning h2 {
    font-size: 2em;
    color: var(--primary-text);
    margin-bottom: 15px;
}

.development-warning p {
    color: var(--secondary-text);
    font-size: 1.1em;
    line-height: 1.6;
}
