@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;700&display=swap');

:root {
    --ikigai-azul-claro: #acbfbc;
    --ikigai-azul-escuro: #2d4e60;
    --ikigai-rosa: #c04279;
    --ikigai-bege: #efb6a3;
    --ikigai-branco: #ffffff;
    --ikigai-preto: #1c1c1c;
    --ikigai-cinza-claro: #f9f9f9;

    --fonte-principal: 'Noto Sans JP', sans-serif;
    --fonte-secundaria: 'Zen Kaku Gothic New', sans-serif;
    --fonte-terciaria: 'Kiwi Maru', serif;
}

/* Reset e base */
* {
    margin: 0;
    padding: 0;
    outline: none;
    text-decoration: none;
    box-sizing: border-box;
}
::before,
::after {
    box-sizing: border-box;
}
ul {
    list-style: none;
}
body,
html {
    line-height: 1.5;
    font-size: 14px;
    font-family: var(--fonte-principal) !important;
    background-color: var(--ikigai-azul-claro);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

body:not(.home-page) {
    overflow-y: hidden;
    height: 100vh;
}

body.home-page .section#home {
    position: relative;
    height: auto;
    min-height: 100vh;
}

/* Secções SPA */
.section {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 0 30px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #111;
    overflow-x: hidden;
    overflow-y: auto;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.8s ease-in-out;
}

.section.active {
    opacity: 1;
    pointer-events: auto;
    animation: slideSection 1s ease;
}

.section::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 0;
}

/* Animação de entrada pela direita */
@keyframes slideSection {
    0% {
        transform: translateX(100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0%);
        opacity: 1;
    }
}

/* Utilitários */
.hidden {
    display: none !important;
}

.padd-15 {
    padding-left: 15px;
    padding-right: 15px;
}

.container {
    max-width: 1100px;
    width: 100%;
    margin: auto;
    padding-left: 15px;
    padding-right: 15px;
}

.section .container {
    padding-top: 60px;
    padding-bottom: 70px;
}

.section-title {
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 28px;
    color: var(--ikigai-cinza-claro);
    font-weight: 700;
    position: relative;
}

.section-title h2::before {
    content: '';
    height: 4px;
    width: 50px;
    background-color: var(--ikigai-bege);
    position: absolute;
    top: 100%;
    left: 0;
}

.section-title h2::after {
    content: '';
    height: 4px;
    width: 25px;
    background-color: var(--ikigai-bege);
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 8px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin-left: -15px;
    margin-right: -15px;
    position: relative;
}

.btn {
    background-color: var(--ikigai-rosa);
    color: #fff;
    border: none;
    padding: 10px 25px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    display: inline-block;
    text-decoration: none;
    font-weight: 600;
}

.btn:hover {
    background-color: var(--ikigai-azul-escuro);
    color: #fff;
}

.shadow-dark {
    box-shadow: 0 0 20px rgba(48, 46, 77, 0.15);
}

/* ASIDE */

.aside {
    width: 270px;
    background: var(--ikigai-azul-claro);
    position: fixed;
    left: 0;
    top: 0;
    z-index: 999;
    height: 100vh;
    border-right: 1px solid var(--ikigai-azul-escuro);
    display: flex;
    flex-direction: column;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.aside.open {
    transform: translateX(0);
}
.aside .logo {
    padding: 30px 0;
    text-align: center;
    flex-shrink: 0;
}

.aside .logo img {
    width: 200px;
    height: auto;
    margin: 0 auto;
}

.aside .logo a {
    color: var(--ikigai-preto);
    font-weight: 700;
    padding: 0;
    font-size: 0;
    letter-spacing: 0;
    position: relative;
}

.aside .logo a::before,
.aside .logo a::after {
    display: none;
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border-top: 5px solid var(--skin-color);
    border-right: 5px solid var(--skin-color);
    top: 0;
    right: 0;
}

.aside .logo a span {
    font-family: 'Clicker Script', cursive;
    font-size: 40px;
}

.aside .nav {
    flex-grow: 1;
    overflow-y: auto;
    padding: 20px 15px;
}

.aside .nav li {
    margin-bottom: 20px;
}

.aside .nav li a {
    font-size: 16px;
    font-weight: 600;
    display: block;
    color: var(--ikigai-azul-escuro);
    padding: 5px 15px;
    border-bottom: 1px solid var(--ikigai-preto);
}

.aside .nav li a.active {
    color: var(--ikigai-cinza-claro);
}

.aside .nav li a i {
    margin-right: 15px;
}

.nav-toggler {
    height: 40px;
    width: 45px;
    border: 1px solid var(--ikigai-azul-escuro);
    cursor: pointer;
    position: fixed;
    left: 15px;
    top: 15px;
    border-radius: 5px;
    background: var(--ikigai-azul-escuro);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 1000;
}

.nav-toggler.open span {
    background-color: transparent;
}
.nav-toggler span {
    height: 2px;
    width: 18px;
    background: var(--ikigai-cinza-claro);
    display: inline-block;
    position: relative;
}

.nav-toggler span::before {
    content: '';
    height: 2px;
    width: 18px;
    background: var(--ikigai-cinza-claro);
    position: absolute;
    top: -6px;
    left: 0;
}
.nav-toggler.open span::before {
    transform: rotate(45deg);
    top: 0;
}

.nav-toggler span::after {
    content: '';
    height: 2px;
    width: 18px;
    background: var(--ikigai-cinza-claro);
    position: absolute;
    top: 6px;
    left: 0;
}
.nav-toggler.open span::after {
    transform: rotate(-45deg);
    top: 0;
}

/* HOME */

.home {
    background-color: rgba(0, 0, 0, 0.04);
    backdrop-filter: blur(6px);
    background-blend-mode: overlay;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    color: var(--ikigai-azul-claro);
    padding: 40px 20px;
    position: relative;
}
.home .home-info {
    flex: 0 0 60%;
    max-width: 60%;
    padding: 20px;
}
h1.hello {
    font-size: 28px;
    margin: 15px 0;
}
h1.hello span {
    font-family: var(--fonte-principal);
    font-size: 30px;
    font-weight: 700;
    color: var(--ikigai-azul-claro);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.name-complete {
    white-space: nowrap;
    display: inline-block;
}

.name {
    color: var(--ikigai-bege); /* ou outra cor desejada */
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

h2.profession {
    font-size: 30px;
    margin: 15px 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.typing {
    color: var(--ikigai-azul-escuro);
}
.typing::after {
    content: '';
    display: inline-block;
    width: 1px;
    height: 1em;
    background-color: var(--ikigai-azul-escuro);
    animation: blink 0.7s infinite;
    vertical-align: middle;
}

@keyframes blink {
    0%,
    100% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
}
/* Oculta o cursor padrão do Typed.js */
.typed-cursor {
    display: none !important;
}

.home-info p {
    margin-bottom: 40px;
    font-size: 20px;
    color: var(--ikigai-azul-claro);
}
.home .home-img {
    flex: 0 0 40%;
    max-width: 40%;
    text-align: center;
    position: relative;
    padding: 20px;
}
.home .home-img img {
    height: 500px;
    max-width: 100%;
    margin: auto;
    border-radius: 4px;
    object-fit: cover;
}

.info-box {
    background-color: rgba(255, 255, 255, 0.25);
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(4px);
    max-width: 600px;
    margin: 0 auto;
    color: var(--ikigai-preto);
}

#headshot {
    opacity: 0;
    transition: opacity 0.6s ease;
}

#headshot.loaded {
    opacity: 1;
}

/* === ABOUT SECTION === */

.about .about-content {
    flex: 0 0 100%;
    max-width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.about a {
    color: var(--ikigai-branco);
    text-decoration: none;
}

.about a:hover {
    color: var(--ikigai-rosa);
    text-decoration: underline;
}

/* === Texto de apresentação === */

.about .about-content .about-text {
    flex: 0 0 100%;
    max-width: 100%;
}

.about .about-content .about-text h3 {
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: 700;
    color: var(--ikigai-azul-claro);
}

.about .about-content .about-text h3 span {
    color: var(--ikigai-rosa);
}

.about .about-content .about-text p {
    font-size: 16px;
    line-height: 25px;
    color: var(--ikigai-cinza-claro);
    text-align: justify;
    word-break: break-word;
}

.about-text p + p {
    margin-top: 20px;
}

/* === Informações pessoais === */

.about .about-content .personal-info {
    flex: 0 0 60%;
    max-width: 60%;
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.about .about-content .personal-info .info-item {
    background-color: rgba(255, 255, 255, 0.03);
    padding: 10px;
    border-radius: 6px;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.05);
    box-sizing: border-box;
    word-break: break-word;
}

.about .about-content .personal-info .info-item p {
    font-weight: 600;
    padding: 10px 0;
    font-size: 16px;
    color: var(--ikigai-bege);
    border-bottom: 1px solid var(--ikigai-azul-escuro);
}

.about .about-content .personal-info .info-item p span {
    font-weight: 400;
    color: var(--ikigai-cinza-claro);
    margin-left: 4px;
    display: inline-block;
}

/* === Botão fora da grid === */

.btn.hire-me {
    background-color: var(--ikigai-rosa);
    color: #fff;
    border: none;
    padding: 10px 25px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    display: inline-block;
    text-decoration: none;
    font-weight: 600;
}

.btn.hire-me:hover {
    background-color: var(--ikigai-azul-escuro);
    color: #fff;
}

.hire-me i {
    margin-right: 8px;
}

/* === Skills === */

.about .about-content .skills {
    flex: 0 0 40%;
    max-width: 40%;
    margin-top: 40px;
}

.about .about-content .skills .skill-item {
    margin-bottom: 25px;
}

.about .about-content .skills .skill-item h5 {
    line-height: 40px;
    font-weight: 600;
    font-size: 16px;
    color: var(--ikigai-cinza-claro);
    text-transform: capitalize;
}

.about .about-content .skills .skill-item .skill-percent {
    position: absolute;
    right: 0;
    top: -40px;
    font-weight: 400;
    line-height: 40px;
    color: var(--ikigai-azul-claro);
}

.about .about-content .skills .skill-item .progress {
    background-color: var(--ikigai-azul-claro);
    height: 7px;
    border-radius: 4px;
    width: 100%;
    position: relative;
}

.about .about-content .skills .skill-item .progress .progress-in {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    border-radius: 4px;
    background-color: var(--ikigai-azul-escuro);
}

/* === Educação e Experiência === */

.about .about-content .education,
.about .about-content .experience {
    flex: 0 0 50%;
    max-width: 50%;
    margin-top: 30px;
}

.about .about-content h3.title {
    font-size: 24px;
    margin-bottom: 30px;
    font-weight: 700;
    color: var(--ikigai-azul-claro);
}

/* === Timeline === */

.about .about-content .timeline-box {
    flex: 0 0 100%;
    max-width: 100%;
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
}

.about .about-content .timeline {
    background-color: var(--ikigai-preto);
    padding: 30px 15px;
    border: 1px solid var(--ikigai-preto);
    border-radius: 10px;
    box-sizing: border-box;
    width: 100%;
    position: relative;
}

.about .about-content .timeline .timeline-item {
    position: relative;
    padding-left: 37px;
    padding-bottom: 50px;
}

.about .about-content .timeline .timeline-item:last-child {
    padding-bottom: 0;
}

.about .about-content .timeline .timeline-item::before {
    content: '';
    width: 1px;
    position: absolute;
    height: 100%;
    left: 7px;
    top: 0;
    background-color: var(--ikigai-rosa);
}

.about .about-content .timeline .circle-dot {
    position: absolute;
    left: 0;
    top: 0;
    height: 15px;
    width: 15px;
    border-radius: 50%;
    background-color: var(--ikigai-rosa);
}

.about .about-content .timeline .timeline-date {
    font-weight: 400;
    font-size: 14px;
    margin-bottom: 12px;
    color: var(--ikigai-bege);
}

.about .about-content .timeline .timeline-date .fa {
    margin-right: 5px;
}

.about .about-content .timeline .timeline-title {
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 15px;
    text-transform: capitalize;
    color: var(--ikigai-azul-claro);
}

.about .about-content .timeline .timeline-text {
    line-height: 25px;
    font-size: 16px;
    text-align: justify;
    color: var(--ikigai-azul-claro);
    word-break: break-word;
}

.timeline-text + .timeline-text {
    margin-top: 15px;
}

.timeline-item.formacao .circle-dot {
    background-color: var(--ikigai-bege);
}

.timeline-item.experiencia .circle-dot {
    background-color: var(--ikigai-rosa);
}

.about .about-content .title {
    font-size: 24px;
    font-weight: 700;
    color: var(--ikigai-cinza-claro);
    margin: 0 15px 30px 15px; /* alinhado com padd-15 */
    padding-top: 10px;
    text-align: left;
}

/* === Progress animation === */

.progress-in {
    width: 0;
    transition: width 1s ease;
}

.section.active .progress-in {
    width: var(--target-width);
}

/* SERVICE */

.service .container {
    padding-bottom: 40px;
}
.service .service-item {
    margin-bottom: 30px;
    flex: 0 0 33.33%;
    max-width: 33.33%;
}
.service .service-item .service-item-inner {
    background-color: rgba(
        255,
        255,
        255,
        0.75
    ); /* Mais opaco para melhor contraste */
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(8px);
    padding: 30px 15px;
    text-align: center;
    transition: all 0.3s ease;
}
.service .service-item .service-item-inner:hover {
    box-shadow: 0 0 20px rgba(48, 46, 77, 0.15);
}
.service .service-item .service-item-inner .icon {
    height: 60px;
    width: 60px;
    border-radius: 50%;
    display: block;
    margin: 0 auto 30px;
    text-align: center;
    transition: all 0.3s ease;
}
.service .service-item .service-item-inner .icon i {
    font-size: 40px;
    line-height: 60px;
    color: var(--ikigai-azul-escuro);
    transition: all 0.3s ease;
}
.service .service-item .service-item-inner:hover .icon {
    background: var(--ikigai-azul-escuro);
}
.service .service-item .service-item-inner:hover .icon i {
    font-size: 25px;
    color: #fff;
}
.service .service-item .service-item-inner h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--ikigai-preto);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
    font-weight: 700;
    text-transform: capitalize;
}
.service .service-item .service-item-inner p {
    font-size: 16px;
    color: var(--ikigai-rosa);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
    line-height: 25px;
}

/* PORTFOLIO */
.portfolio .container {
    padding-bottom: 40px;
}
.portfolio .portfolio-heading {
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 40px;
}
.portfolio .portfolio-heading h2 {
    color: var(--text-black900);
    font-weight: 500;
}

/* CARD */
.card-wrap {
    width: 480px;
    height: 280px;
    perspective: 1000px;
    transform-style: preserve-3d;
    display: inline-block;
    margin-bottom: 30px;
}

.card-wrap:hover .card-info {
    transform: translateY(0);
}
.card-wrap:hover .card-info p {
    opacity: 1;
}
.card-wrap:hover .card-info,
.card-wrap:hover .card-info p {
    transition: 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}
.card-wrap:hover .card-info:after {
    transition: 5s cubic-bezier(0.23, 1, 0.32, 1);
    opacity: 1;
    transform: translateY(0);
}
.card-wrap:hover .card-bg {
    transition: 0.6s cubic-bezier(0.23, 1, 0.32, 1),
        opacity 5s cubic-bezier(0.23, 1, 0.32, 1);
    opacity: 0.8;
}
.card-wrap:hover .card {
    transition: 0.6s cubic-bezier(0.23, 1, 0.32, 1),
        box-shadow 2s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: rgba(255, 255, 255, 0.2) 0 0 40px 5px, white 0 0 0 1px,
        rgba(0, 0, 0, 0.66) 0 30px 60px 0, inset #333 0 0 0 5px,
        inset white 0 0 0 6px;
}

.card {
    width: 100%;
    height: 100%;
    background-color: #333;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: rgba(0, 0, 0, 0.66) 0 20px 40px 0, inset #333 0 0 0 5px,
        inset rgba(255, 255, 255, 0.5) 0 0 0 6px;
    transition: transform 1s cubic-bezier(0.445, 0.05, 0.55, 0.95);
}

.card-bg {
    opacity: 0.5;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-position: top center;
    background-size: cover;
    transition: 1s cubic-bezier(0.445, 0.05, 0.55, 0.95),
        opacity 5s 1s cubic-bezier(0.445, 0.05, 0.55, 0.95);
    pointer-events: none;
}

.card-info {
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
    position: absolute;
    bottom: 0;
    color: #fff;
    transform: translateY(40%);
    transition: 0.6s 1.6s cubic-bezier(0.215, 0.61, 0.355, 1);
    text-align: left;
}

.card-info p {
    opacity: 0;
    text-shadow: black 0 2px 3px;
    transition: 0.6s 1.6s cubic-bezier(0.215, 0.61, 0.355, 1);
    font-size: 15px;
    margin-top: 10px;
    font-family: var(--fonte-principal);
    line-height: 1.6;
    color: var(--ikigai-cinza-claro);
    text-align: left;
    /* Limita o texto a 4 linhas */
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-height: 6.4em; /* 4 linhas × 1.6 line-height */
}

.card-info a.btn {
    margin-top: 15px;
    display: inline-block;
    font-size: 14px;
    padding: 8px 20px;
    background-color: var(--ikigai-rosa);
    color: white;
    border-radius: 20px;
    text-decoration: none;
    transition: transform 0.3s ease;
}
.card-info a.btn:hover {
    transform: scale(1.05);
}

.card-info * {
    position: relative;
    z-index: 1;
}

.card-info:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(0, 0, 0, 0.6) 100%
    );
    background-blend-mode: overlay;
    opacity: 0;
    transform: translateY(100%);
    transition: 5s 1s cubic-bezier(0.445, 0.05, 0.55, 0.95);
}

.card-info h1 {
    font-family: var(--fonte-principal);
    font-size: 22px;
    font-weight: 600;
    color: var(--ikigai-cinza-claro);
    text-align: left;
    margin-bottom: 10px;
    text-shadow: none;
}

/* Portfolio Filters */
.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 10px 25px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.filter-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--ikigai-rosa);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: var(--ikigai-rosa);
    border-color: var(--ikigai-rosa);
    color: #fff;
    box-shadow: 0 4px 15px rgba(192, 66, 121, 0.4);
}

.loading-message,
.no-projects {
    text-align: center;
    color: #fff;
    font-size: 1.2rem;
    padding: 40px;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vue-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    padding: 40px;
    justify-content: center;
    min-height: 300px;
}

/*MODAL*/
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999999;
    padding: 20px;
    overflow-y: auto;
}

.modal-content {
    background: white;
    padding: 2rem;
    max-width: 1000px;
    width: 95%;
    position: relative;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    margin: auto;
}

.modal-content h2 {
    color: var(--ikigai-azul-escuro);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    padding-right: 50px;
}

.modal-content p {
    color: #333;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.tech-info-modal {
    background: var(--ikigai-cinza-claro);
    padding: 12px 16px;
    border-radius: 8px;
    margin: 1rem 0;
    color: var(--ikigai-azul-escuro);
    font-size: 0.95rem;
}

.tech-info-modal strong {
    color: var(--ikigai-rosa);
}

.static-portfolio article {
    margin-bottom: 2rem;
    padding: 1rem;
    background: #f9f9f9;
    border-left: 4px solid #ccc;
    border-radius: 6px;
}
.static-portfolio img {
    max-width: 100%;
    height: auto;
    margin-top: 0.5rem;
}

.close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    background: var(--ikigai-rosa);
    color: white;
    border: none;
    cursor: pointer;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.close-btn:hover {
    background: var(--ikigai-azul-escuro);
    transform: rotate(90deg);
}

/* Botões do carrossel */
.carousel-btn {
    background: var(--ikigai-rosa);
    color: white;
    border: none;
    font-size: 2rem;
    padding: 0.5rem 1rem;
    cursor: pointer;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    transition: all 0.3s ease;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background: var(--ikigai-azul-escuro);
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.prev-btn {
    left: -60px;
}

.next-btn {
    right: -60px;
}

.carousel {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 2rem 0;
    padding: 0 60px;
    min-height: 500px;
    background: transparent;
}

.carousel-slide {
    text-align: center;
    width: 100%;
}

/* Transição suave no fade do Vue com mode="out-in" */
.fade-enter-active,
.fade-leave-active {
    transition: opacity 0.25s ease-in-out;
}

.fade-enter,
.fade-leave-to {
    opacity: 0;
}

.carousel-slide img {
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.caption {
    margin-top: 1rem;
    font-style: italic;
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
    padding: 0 20px;
}

.card-tech {
    margin-top: 10px;
    font-size: 13px;
    color: #ccc;
    font-style: italic;
    text-align: left;
    padding: 0 20px;
}
.tech-info-modal {
    margin: 15px 0;
    font-size: 14px;
    color: #eee;
    font-style: italic;
    background-color: rgba(0, 0, 0, 0.4);
    padding: 10px 15px;
    border-radius: 8px;
}

/* Transição suave */
.fade-enter-active,
.fade-leave-active {
    transition: opacity 0.5s ease;
}
.fade-enter,
.fade-leave-to {
    opacity: 0;
}

/* CONTACT */

.contact-title {
    color: var(--ikigai-cinza-claro);
    text-align: center;
    font-size: 25px;
    margin-bottom: 20px;
}
.contact-subtitle {
    color: var(--ikigai-branco);
    text-align: center;
    font-size: 20px;
    margin-bottom: 60px;
}
.contact .contact-info-item {
    flex: 0 0 25%;
    max-width: 25%;
    text-align: center;
    margin-bottom: 60px;
}
.contact .contact-info-item .icon {
    display: inline-block;
}
.contact .contact-info-item .icon .fa {
    font-size: 25px;
    color: var(--ikigai-rosa);
}
.contact .contact-info-item h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--ikigai-cinza-claro);
    text-transform: capitalize;
    margin: 15px 0 5px;
}
.contact .contact-info-item p {
    font-size: 16px;
    line-height: 25px;
    color: var(--ikigai-cinza-claro);
    font-weight: 400;
}
.contact .contact-form {
    flex: 0 0 100%;
    max-width: 100%;
}
.contact .contact-form .col-6 {
    flex: 0 0 50%;
    max-width: 50%;
}
.contact .contact-form .col-12 {
    flex: 0 0 100%;
    max-width: 100%;
}
.contact .contact-form .form-item {
    margin-bottom: 30px;
}
.contact .contact-form .form-item .form-control {
    width: 100%;
    height: 50px;
    border-radius: 25px;
    background: var(--ikigai-azul-escuro);
    border: 1px solid var(--ikigai-preto);
    padding: 10px 25px;
    font-size: 16px;
    color: var(--ikigai-cinza-claro);
    transition: all 0.3s ease;
    font-family: var(--fonte-principal);
}
.contact .contact-form .form-item .form-control:focus {
    box-shadow: 0 0 20px rgba(48, 46, 77, 0.15);
}
.contact .contact-form .form-item textarea.form-control {
    height: 140px;
    font-family: var(--fonte-principal);
}
.contact .contact-form .btn {
    height: 50px;
    padding: 0 50px;
    cursor: pointer;
    font-family: var(--fonte-principal);
}

.form-note {
    display: block;
    margin-top: 8px;
    font-size: 0.9em;
    color: #666;
}

.alert {
    padding: 20px 15px;
    margin: 20px 0;
    border-radius: 8px;
    font-weight: bold;
    text-align: center;
    animation: fadeInUp 0.6s ease;
    transition: opacity 0.5s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    font-size: 1.1rem;
}
.alert.success {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #155724;
    border-left: 5px solid #28a745;
}
.alert.error {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    color: #721c24;
    border-left: 5px solid #dc3545;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 📱 MEDIA QUERIES ORGANIZADAS */

/* === min-width: 480px === */
@media (min-width: 480px) {
    .btn {
        width: auto;
    }
}

/* === min-width: 768px === */
@media (min-width: 768px) {
    html {
        font-size: 16px;
    }

    .section {
        left: 270px;
    }

    .section-title h2 {
        font-size: 40px;
    }
}

/* === min-width: 992px === */
@media (min-width: 992px) {
    .about .about-content {
        display: flex;
        flex-wrap: wrap;
        gap: 30px;
    }

    .about .about-content .personal-info {
        flex: 0 0 50%;
        max-width: 50%;
        display: flex;
        flex-direction: column;
    }

    .about .about-content .personal-info .buttons {
        margin-top: 20px;
        align-self: flex-start;
    }

    .about .about-content .skills {
        flex: 0 0 50%;
        max-width: 50%;
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .about .about-content .skills .skill-item {
        width: 100%;
    }

    .about .about-content .timeline-box {
        flex: 0 0 100%;
        max-width: 100%;
        padding-left: 15px;
        padding-right: 15px;
        box-sizing: border-box;
    }

    .about .about-content .timeline {
        width: 100%;
        padding: 30px 15px;
        box-sizing: border-box;
    }
}

/* === min-width: 1024px === */
@media (min-width: 1024px) {
    .about .about-content .timeline-box {
        display: flex;
    }

    .about .about-content .timeline {
        width: 100%;
        padding: 30px 15px;
        box-sizing: border-box;
        margin: 0;
    }
}

/* === max-width: 991px === */
@media (max-width: 991px) {
    .about .about-content {
        flex-direction: column;
    }

    .about .about-content .personal-info,
    .about .about-content .buttons,
    .about .about-content .skills {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .about .about-content .buttons {
        margin-top: 20px;
        text-align: center;
    }

    .about .about-content .skills {
        gap: 15px;
    }

    .about .about-content .skills .skill-item {
        width: 100%;
    }
}

/* === min-width: 1200px === */
@media (min-width: 1200px) {
    .nav-toggler {
        display: none;
    }

    .aside {
        transform: translateX(0);
    }
}

/* === max-width: 1199px === */
@media (max-width: 1199px) {
    .aside {
        left: -270px;
    }

    .aside.open {
        left: 0;
    }

    .aside .nav-toggler {
        display: flex;
        left: 30px;
    }

    .aside .nav-toggler.open {
        left: 300px;
    }

    .section {
        left: 0;
    }

    .section.open {
        left: 270px;
    }

    .section .container {
        padding-top: 70px;
    }

    .home-img::before,
    .home-img::after {
        display: none;
    }

    .about .about-content .personal-info .info-item p span {
        display: block;
        margin-left: 0;
    }
}

/* === max-width: 1024px === */
@media (max-width: 1024px) {
    .about .about-content .personal-info,
    .about .about-content .skills,
    .about .about-content .education,
    .about .about-content .experience {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .about .about-content .personal-info .info-item {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .about .about-content .skills .skill-item h5,
    .about .about-content .timeline .timeline-title {
        font-size: 15px;
    }

    .about .about-content .timeline .timeline-text,
    .about .about-content .about-text p {
        font-size: 15px;
        line-height: 1.5;
    }
}

/* === max-width: 992px === */
@media (max-width: 992px) {
    .home {
        flex-direction: column;
        text-align: center;
        padding: 30px 15px;
    }

    .home .home-info,
    .home .home-img {
        flex: 0 0 100%;
        max-width: 100%;
        padding: 10px;
    }

    h1.hello {
        font-size: 24px;
    }

    h1.hello span {
        font-size: 26px;
    }

    h2.profession {
        font-size: 24px;
    }

    .home-info p {
        font-size: 18px;
        margin-bottom: 30px;
    }

    .home .home-img img {
        height: auto;
        max-width: 250px;
        border-radius: 10px;
    }

    .info-box {
        padding: 20px;
        max-width: 100%;
    }

    .about .about-content {
        flex-direction: column;
    }

    .about .about-content .personal-info,
    .about .about-content .skills,
    .about .about-content .about-buttons {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .about .about-content .about-buttons {
        justify-content: center;
        margin-top: 20px;
    }

    .about .about-content .skills {
        gap: 15px;
    }
}

/* === max-width: 991px === */
@media (max-width: 991px) {
    .home .home-info {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .contact .contact-info-item,
    .portfolio .portfolio-item,
    .service .service-item {
        flex: 0 0 50%;
        max-width: 50%;
    }
    .about .about-content {
        flex-direction: column;
    }

    .about .about-content .personal-info,
    .about .about-content .buttons,
    .about .about-content .skills {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .about .about-content .buttons {
        margin-top: 20px;
        text-align: center;
    }

    .about .about-content .skills {
        gap: 15px;
    }

    .about .about-content .skills .skill-item {
        width: 100%;
    }
}

/* === max-width: 768px === */
@media (max-width: 768px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .home .home-img img {
        max-width: 180px;
        height: auto;
        border-radius: 10px;
        margin: 20px auto;
        display: block;
    }

    .home .row {
        flex-direction: column-reverse;
        align-items: center;
        justify-content: center;
    }

    .about .about-content {
        flex-direction: column;
        gap: 20px;
    }

    .about .about-content .about-text h3 {
        font-size: 20px;
    }

    .about .about-content .timeline {
        padding: 10px;
        background-color: transparent;
        border: none;
    }

    .about .about-content .timeline .timeline-item {
        padding: 20px;
        margin-bottom: 20px;
        background-color: var(--ikigai-preto);
        border-radius: 10px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        position: relative;
        padding-left: 20px;
    }

    .about .about-content .timeline .timeline-item::before,
    .about .about-content .timeline .circle-dot {
        display: none;
    }

    .about .about-content .timeline .timeline-date {
        font-size: 13px;
        color: var(--ikigai-cinza-claro);
        font-style: italic;
        margin-bottom: 8px;
        display: block;
    }

    .about .about-content .timeline .timeline-title {
        font-size: 17px;
        font-weight: 700;
        color: var(--ikigai-rosa);
        margin-bottom: 10px;
    }

    .about .about-content .timeline .timeline-text {
        font-size: 15px;
        line-height: 1.6;
        color: var(--ikigai-bege);
        text-align: left;
        padding: 0;
    }

    .about .about-content .personal-info {
        padding: 0 10px;
    }

    .card-info h1 {
        font-size: 18px;
        text-align: center;
    }

    .card-info p {
        font-size: 14px;
        text-align: center;
    }
}

/* === max-width: 767px === */
@media (max-width: 767px) {
    .portfolio .portfolio-item,
    .service .service-item,
    .contact .contact-form .col-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* === max-width: 600px === */
@media (max-width: 600px) {
    .carousel-slide img {
        max-height: 250px;
    }

    .carousel-btn {
        font-size: 1.5rem;
        padding: 0.3rem 0.6rem;
    }

    .modal-content {
        max-width: 90%;
        padding: 1rem;
    }
}

/* === max-width: 460px === */
@media (max-width: 460px) {
    .contact .contact-info-item {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* === max-width: 1440px === */
@media (min-width: 1440px) {
    .home .home-info,
    .home .home-img {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .home .home-img img {
        max-height: 400px;
    }

    h1.hello,
    h2.profession {
        font-size: 26px;
    }

    .home-info p {
        font-size: 18px;
    }

    .info-box {
        max-width: 500px;
    }
}

/* === max-width: 1024px === */
@media (max-width: 1024px) {
    h1.hello,
    h2.profession {
        font-size: 24px;
    }

    .home-info p {
        font-size: 18px;
    }

    .home {
        padding: 30px 15px;
    }
}

@media screen and (min-width: 1280px) and (max-width: 1400px) {
    .home {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        height: 100vh;
        padding: 10px 20px; /* reduzido */
        box-sizing: border-box;
        overflow: hidden;
    }

    .home .home-info {
        flex: 0 0 50%;
        max-width: 50%;
        padding: 10px; /* reduzido */
        box-sizing: border-box;
    }

    .home .home-img {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 10px;
        box-sizing: border-box;
    }

    .home .home-img img {
        max-height: 340px; /* ajustado para equilíbrio visual */
        width: auto;
        object-fit: contain;
        margin: 0 auto;
    }

    h1.hello,
    h2.profession {
        font-size: 18px; /* ligeiramente menor */
        margin-bottom: 8px;
    }

    .home-info p {
        font-size: 14px;
        line-height: 1.4;
        margin-bottom: 12px;
    }

    .info-box {
        max-width: 420px;
        padding: 10px;
        margin: 0 auto;
    }
}
@media screen and (min-width: 1400px) {
    .home-info h1.hello {
        font-size: 24px;
        max-width: 100%;
    }

    .hello .nome {
        white-space: nowrap;
        font-size: 24px;
    }
}

/* ========================================
   FOOTER
======================================== */
.footer {
    background-color: var(--ikigai-azul-escuro);
    padding: 20px 0;
    text-align: center;
    width: 100%;
    position: relative;
    z-index: 1;
    margin-top: 40px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.footer-content p {
    color: var(--ikigai-branco);
    margin: 0 0 10px 0;
    font-size: 14px;
}

.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-links a {
    color: var(--ikigai-bege);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--ikigai-rosa);
}

.footer-links .separator {
    color: var(--ikigai-azul-claro);
    margin: 0 5px;
}

@media (max-width: 768px) {
    .footer-links {
        flex-direction: column;
        gap: 5px;
    }

    .footer-links .separator {
        display: none;
    }
}

/* ========================================
   RGPD CHECKBOX
======================================== */
.rgpd-consentimento {
    margin: 20px 0;
    background: #fff;
    border: 2px solid var(--ikigai-azul-escuro);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(45, 78, 96, 0.1);
}

.rgpd-consentimento label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

.rgpd-consentimento input[type='checkbox'] {
    margin-top: 4px;
    width: 20px;
    height: 20px;
    cursor: pointer;
    flex-shrink: 0;
    accent-color: var(--ikigai-rosa);
}

.rgpd-consentimento span {
    color: var(--ikigai-azul-escuro);
    flex: 1;
    font-weight: 500;
}

.rgpd-consentimento a {
    color: var(--ikigai-rosa);
    text-decoration: underline;
    font-weight: 700;
    transition: color 0.3s ease;
}

.rgpd-consentimento a:hover {
    color: var(--ikigai-azul-escuro);
    text-decoration: none;
}

/* ========================================
   PORTFOLIO DESKTOP FIXES
======================================== */
@media (min-width: 769px) {
    .modal-overlay {
        align-items: center;
        padding-left: 270px; /* Sidebar width */
    }

    .carousel {
        padding: 0 70px;
        margin: 1rem 0;
    }

    .carousel-slide img {
        max-height: 500px;
    }

    .prev-btn {
        left: -65px;
    }

    .next-btn {
        right: -65px;
    }
}
/* ========================================
   PORTFOLIO MOBILE FIXES
======================================== */
@media (max-width: 768px) {
    /* Cards do portfolio */
    .card-wrap {
        width: 100%;
        max-width: 350px;
        height: 250px;
        margin: 0 auto 20px;
    }

    .vue-cards {
        padding: 20px 10px;
        gap: 20px;
    }

    .card-info h1 {
        font-size: 18px;
    }

    .card-info p {
        font-size: 13px;
        line-height: 1.4;
    }

    /* Modal do portfolio */
    .modal-overlay {
        padding: 10px;
        align-items: flex-start;
        padding-top: 20px;
    }

    .modal-content {
        width: auto;
        max-width: none;
        margin: 0 10px;
        padding: 1.2rem;
        max-height: 88vh;
    }

    .modal-content h2 {
        font-size: 1.3rem;
        padding-right: 50px;
        margin-right: 10px;
    }

    .modal-content p {
        font-size: 14px;
        padding-right: 10px;
    }

    .tech-info-modal {
        font-size: 0.85rem;
        padding: 10px;
        margin: 1rem 10px 1rem 0;
    }

    /* Carousel mobile */
    .carousel {
        padding: 0 45px;
        margin: 1.5rem 5px;
    }

    .carousel-slide {
        padding: 0 5px;
    }

    .carousel-slide img {
        max-height: 350px;
        width: calc(100% - 10px);
        height: auto;
    }

    .carousel-btn {
        font-size: 1.4rem;
        width: 38px;
        height: 38px;
    }

    .prev-btn {
        left: 2px;
    }

    .next-btn {
        right: 2px;
    }

    .caption {
        font-size: 0.85rem;
        margin-top: 0.8rem;
        padding: 0 15px 0 5px;
    }

    .close-btn {
        top: 0.8rem;
        right: 0.8rem;
        width: 38px;
        height: 38px;
    }

    /* Filtros do portfolio */
    .portfolio-filters {
        gap: 8px;
        margin: 20px 0;
    }

    .filter-btn {
        padding: 8px 15px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .card-wrap {
        max-width: 100%;
        height: 220px;
    }

    .card-info h1 {
        font-size: 16px;
    }

    .card-info p {
        font-size: 12px;
    }

    .modal-overlay {
        padding: 8px;
        padding-top: 15px;
    }

    .modal-content {
        margin: 0 5px;
        padding: 1rem;
        max-height: 90vh;
    }

    .modal-content h2 {
        font-size: 1.1rem;
        padding-right: 45px;
        margin-right: 8px;
    }

    .modal-content p {
        font-size: 13px;
        padding-right: 8px;
    }

    .tech-info-modal {
        font-size: 0.8rem;
        padding: 8px;
        margin: 1rem 8px 1rem 0;
    }

    .carousel {
        padding: 0 38px;
        margin: 1.2rem 5px;
    }

    .carousel-slide {
        padding: 0 3px;
    }

    .carousel-slide img {
        max-height: 280px;
        width: calc(100% - 10px);
    }

    .carousel-btn {
        width: 34px;
        height: 34px;
        font-size: 1.2rem;
    }

    .prev-btn {
        left: 1px;
    }

    .next-btn {
        right: 1px;
    }

    .caption {
        font-size: 0.8rem;
        padding: 0 12px 0 3px;
    }

    .filter-btn {
        padding: 6px 12px;
        font-size: 12px;
    }

    .close-btn {
        width: 32px;
        height: 32px;
    }
}
