* {
    margin: 0;
    padding: 0;
    border: 0;
    box-sizing: border-box;
    font-family: 'Ubuntu', sans-serif;
    cursor: default;
    user-select: none;
}



body {
    font-size: 3.4rem;
    font-family: "DM sans", sans-serif;
    zoom: 100%;
}

h1 {
    color: white;
}

h4 {
    font-size: 3.4rem;
    font-weight: bold;
    text-align: center;
}

:root {
    font-size: 62.5%;
}

.main {
    background: #5000ca;
    padding-top: 180px;
    padding-bottom: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.desc-p {
    color: rgb(220, 220, 220);
    font-size: 1.4rem;
    padding-top: 40px;
    text-align: center;
}

.desc-p > p {
    margin: 0 40px 0 40px;
}

.social-icons {
    margin: 40px 0 0 0;
}

.social-icons a {
    text-decoration: none;
}

.cv {
    padding: 40px 0 0 0;
    display: flex;
    justify-content: center;
}

@media (max-width: 600px) {
    .cv {
        display: none;
    }
}

.cv button {
    cursor: pointer;
}

.social-icons #sicon,
path {
    cursor: pointer;
}

.sobremim {
    background: #5000ca;
    display: flex;
    flex-direction: column;
    max-width: 100%;
    padding: 0 0 100px;
    margin: -80px 0 0 0;
    align-items: center;
    justify-content: center;
}

.sobremim h4 {
    margin-bottom: 30px;
}

.sobremim>p {
    padding: 20px 40px 0px 40px;
    color: rgb(220, 220, 220);
    font-size: 1.7rem;
    max-width: 500px;
    text-align: center;
}

.sobremim>img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
}

.sobremim-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 30px;
    width: 100%;
    max-width: 560px;
    padding: 0 20px;
}

.sobremim-card {
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: 15px;
    padding: 8px 24px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
}

.sobremim-card-row {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 20px 0;
    border-bottom: 1px solid #f0f0f0;
}

.sobremim-card-row:last-child {
    border-bottom: none;
}

.sobremim-image {
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.sobremim-image:hover {
    transform: translateY(-6px) scale(1.03);
}

.sobremim-card-icon {
    font-size: 2.6rem;
    line-height: 1;
}

.sobremim-card-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sobremim-card-text strong {
    color: #5000ca;
    font-size: 1.6rem;
    font-weight: bold;
}

.sobremim-card-text span {
    color: #666;
    font-size: 1.4rem;
    line-height: 1.5;
}

#social-icon {
    width: 50px;
    cursor: pointer;
    transition: transform 0.2s;
}

#social-icon:hover {
    transform: scale(1.1);
}

.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 999px;
    background: linear-gradient(135deg, #FF7401 0%, #FCDE47 100%);
    color: white;
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: 0.3px;
    border: none;
    cursor: pointer;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
    box-shadow: 0 8px 20px rgba(255, 116, 1, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.btn::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.35) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
    pointer-events: none;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(255, 116, 1, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    filter: brightness(1.05);
}

.btn:hover::before {
    transform: translateX(100%);
}

.btn:active {
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(255, 116, 1, 0.4);
}

.btn:disabled {
    opacity: 0.7;
    cursor: wait;
    transform: none;
}

.btn,
.btn * {
    cursor: pointer;
}

.btn-icon {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}
/* waves */

.wave-top {
    display: block; 
    line-height: 0; 
    margin-top: -1px;
}

.wave-bottom {
    display: block; 
    line-height: 0; 
    margin-bottom: -2px;
}

.projects {
    margin-bottom: 100px;
}

/* Projetos Carousel */
.projects-carousel {
    display: flex;
    align-items: center;
    gap: 15px;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

.projects-viewport {
    flex: 1;
    overflow: hidden;
    min-width: 0;
}

.projects-grid {
    display: flex;
    gap: 30px;
    transition: transform 0.4s ease;
}

.project-card {
    flex: 0 0 calc((100% - 60px) / 3);
    background: white;
    border-radius: 15px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    border: 1px solid #eee;
}

.carousel-btn {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: white;
    border: 2px solid #5000ca;
    color: #5000ca;
    cursor: pointer;
    font-size: 2.6rem;
    line-height: 1;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(80, 0, 202, 0.15);
}

.carousel-btn:hover:not(:disabled) {
    background: #5000ca;
    color: white;
    transform: scale(1.1);
}

.carousel-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.project-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.project-info h5 {
    font-size: 2rem;
    color: #5000ca;
    margin-bottom: 15px;
    font-weight: bold;
}

.project-info p {
    font-size: 1.4rem;
    color: #666;
    margin-bottom: 25px;
    line-height: 1.6;
}

.project-link {
    display: inline-block;
    padding: 10px 25px;
    background-color: transparent;
    color: #5000ca;
    border: 2px solid #5000ca;
    border-radius: 25px;
    font-size: 1.4rem;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
}

.project-link:hover {
    background-color: #5000ca;
    color: white;
    cursor: pointer;
}

.project-techs {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 25px;
    margin-top: -10px;
}

.project-techs img {
    width: 30px;
    height: 30px;
    object-fit: contain;
    opacity: 0.9;
}

@media (max-width: 600px) {
    .projects-carousel {
        display: block;
        padding: 0 20px;
    }
    .carousel-btn {
        display: none;
    }
    .projects-viewport {
        overflow: visible;
    }
    .projects-grid {
        flex-direction: column;
        transform: none !important;
        gap: 24px;
    }
    .project-card {
        flex: 0 0 auto;
        width: 100%;
    }
}

/* new */

.slide-tech {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 30px;
}

.slide {
    width: 90px;
    height: 90px;
    object-fit: contain;
    cursor: pointer;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.slide:hover {
    transform: translateY(-8px) scale(1.1);
}

.slider {
    margin-bottom: 40px;
}

.slider h4 {
    margin-bottom: 30px;
}

@media (max-width: 600px) {

    h4 {
        font-size: 2.6rem;
        font-weight: bold;
        text-align: center;
    }

    h1 {
        font-size: 3.6rem;
    }

    .iam {
        font-size: 1.4rem;
        text-align: center;
    }

    .desc-p {
        padding-top: 40px;
        font-size: 1rem;
    }

    .main {
        padding-top: 180px;
    }

    .sobremim {
        display: flex;
        flex-direction: column;
        padding-top: 40px;
        margin-top: 0;
    }

    .sobremim-info {
        max-width: 88%;
        padding: 0;
    }

    .sobremim>p {
        display: flex;
        text-align: center;
        padding: 0;
        margin: 40px;
        justify-content: center;
        max-width: 500px;
    }

    .projects {
        margin-top: 80px;
    }

    /* Ajuste leve para subir as setas no mobile sem sobrepor */
    .carousel-btn {
        position: static; /* Volta ao fluxo normal */
        transform: translateY(-40px); /* Sobe apenas a seta visualmente */
        margin: 0 10px; /* Garante espaçamento lateral */
        z-index: 10;
    }

    /* Garante que ao clicar/tocar a seta não perca a posição vertical */
    .carousel-btn:hover, 
    .carousel-btn:active, 
    .carousel-btn:focus {
        transform: translateY(-40px) scale(1.1);
        background: none;
    }

    .slide-tech {
        flex-direction: column;
        flex-wrap: nowrap;
        gap: 18px;
    }

    .slide {
        width: 64px;
        height: 64px;
    }
}
