html {
    scroll-behavior: smooth;
}

body {
    background:
        radial-gradient(circle at 75% 15%,
            rgba(78, 52, 115, .18),
            transparent 30%),

        radial-gradient(circle at 20% 60%,
            rgba(255, 255, 255, .03),
            transparent 25%),

        radial-gradient(circle at 60% 100%,
            rgba(185, 150, 84, .05),
            transparent 35%),

        linear-gradient(180deg,
            #050508 0%,
            #08070d 40%,
            #0b0911 100%);

    color: #f5f5f5;
    min-height: 100vh;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;

    width: 520px;
    height: 520px;

    top: 8%;
    right: 5%;

    background: rgba(78, 52, 115, .16);

    filter: blur(140px);

    border-radius: 50%;

    z-index: -1;

    animation: floatingLight 12s ease-in-out infinite alternate;
}

body::after {
    content: "";

    position: fixed;

    width: 380px;
    height: 380px;

    bottom: 5%;
    left: 8%;

    background: rgba(185, 150, 84, .06);

    filter: blur(130px);

    border-radius: 50%;

    z-index: -1;

    animation: floatingLight2 14s ease-in-out infinite alternate;
}

/* NAVBAR */
.navbar,
.navbar.bg-dark {
    background-color: #050508 !important;
    background: #050508 !important;
    backdrop-filter: none;
}

/* HERO */
.hero-art {
    background: rgba(255, 255, 255, .045);
    border: 1px solid rgba(255, 255, 255, .10);
    backdrop-filter: blur(18px);
    border-radius: 36px;
    position: relative;
    overflow: hidden;
    animation: fadeUp .9s ease both;
    padding: 32px 22px !important;
    min-height: 70vh;
}

.hero-art::before {
    content: "";
    position: absolute;
    width: 460px;
    height: 460px;
    right: -120px;
    top: -130px;
    border-radius: 50%;
    background: rgba(78, 52, 115, .28);
    filter: blur(115px);
    animation: pulseGlow 5s ease-in-out infinite alternate;
}

.hero-subtitle {
    font-size: 1.57rem;
}


.hero-text {
    font-size: 1.2rem;
}

.lead {
    color: #d8bc7b !important;
    font-weight: 400;
    font-family: "Inter", sans-serif;
}

.hero-intro {
    color: #d8bc7b;
    font-weight: 400;
}

.hero-art::after {
    content: "";
    position: absolute;
    width: 280px;
    height: 280px;
    left: -100px;
    bottom: -100px;
    border-radius: 50%;
    background: rgba(212, 175, 55, .10);
    filter: blur(90px);
}

.hero-art * {
    position: relative;
    z-index: 2;
}

.hero-label {
    color: #d8bc7b;
    letter-spacing: 2px;
    font-weight: 600;
}

.hero-title {
    color: #ffffff;
    font-size: clamp(2rem, 4vw, 2.6rem) !important;
    ;
    font-weight: 800;
    line-height: 1;
}




.hero-text,
.text-muted {
    color: #cfc8d8 !important;
}

.profile-frame {
    display: inline-block;
    position: relative;
    animation: floatImg 4s ease-in-out infinite;
}

.profile-frame::before {
    content: "";
    position: absolute;
    inset: -12px;
    border-radius: 50%;
    border: 1px solid rgba(212, 175, 55, .30);
}

.profile-img {
    width: 240px;
    height: 240px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid rgba(212, 175, 55, .35);
    box-shadow:
        0 0 35px rgba(78, 52, 115, .25),
        0 0 30px rgba(212, 175, 55, .10),
        0 22px 55px rgba(0, 0, 0, .45);
}

.art-card {
    background: rgba(255, 255, 255, .045) !important;
    border: 1px solid rgba(255, 255, 255, .10) !important;
    color: #f5f5f5 !important;
    border-radius: 30px !important;
    backdrop-filter: blur(16px);
    transition: .35s ease;
    animation: fadeUp .9s ease both;
}

.art-card:hover {
    transform: translateY(-8px);
    border-color: rgba(212, 175, 55, .35) !important;
    box-shadow:
        0 0 35px rgba(78, 52, 115, .15),
        0 25px 55px rgba(0, 0, 0, .38);
}

.art-card h3,
.art-card h4,
.art-card h5,
.art-card h6 {
    color: #ffffff !important;
}


.badge {
    background: rgba(255, 255, 255, .04) !important;
    color: #f5f5f5 !important;
    border: 1px solid rgba(212, 175, 55, .34);
    border-radius: 999px;
    padding: 8px 14px !important;
    font-weight: 500;
    transition: .3s;
}

.badge:hover {
    border-color: #d8bc7b;
    box-shadow: 0 0 18px rgba(212, 175, 55, .20);
}

.skills-category-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.skill-category-card {
    background: rgba(255, 255, 255, .045);
    border: 1px solid rgba(255, 255, 255, .10);
    border-radius: 30px;
    padding: 28px;
    backdrop-filter: blur(16px);
    transition: .35s ease;
}

.skill-category-card+.skill-category-card {
    margin-top: 20px;
}

.skill-category-card:hover {
    transform: translateY(-8px);
    border-color: rgba(212, 175, 55, .35);
    box-shadow:
        0 0 35px rgba(78, 52, 115, .15),
        0 25px 55px rgba(0, 0, 0, .38);
}

.skill-category-title {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
}

.skill-category-title i {
    color: #d8bc7b;
    font-size: 1.8rem;
}

.skill-category-title h5 {
    color: #fff;
    font-weight: 700;
    margin: 0;
}

@media (max-width: 768px) {
    .skills-category-grid {
        grid-template-columns: 1fr;
    }
}

.btn-primary {
    background: linear-gradient(135deg, #ffffff, #d8bc7b);
    border: none;
    color: #050508 !important;
    transition: .3s;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #d8bc7b, #b68b42);
    transform: translateY(-3px);
    color: #050508 !important;
    box-shadow: 0 0 25px rgba(212, 175, 55, .28);
}

.accordion-item {
    background: transparent !important;
    border-color: rgba(255, 255, 255, .10) !important;
}

.accordion-button {
    background: rgba(255, 255, 255, .04) !important;
    color: #ffffff !important;
}

.accordion-button:not(.collapsed) {
    background: rgba(212, 175, 55, .08) !important;
}

.accordion-button::after {
    filter: invert(1);
}

.accordion-body {
    background: transparent !important;
    color: #cfc8d8 !important;
}

.portfolio-footer {
    margin-top: 90px;
    padding: 45px 0;
    background: rgba(5, 5, 8, .78);
    border-top: 1px solid rgba(255, 255, 255, .08);
    backdrop-filter: blur(14px);
}

.footer-title {
    color: #ffffff;
}

.footer-subtitle,
.footer-copy {
    color: #aaa3b8;
}

.footer-divider {
    height: 1px;
    background: rgba(255, 255, 255, .08);
    margin: 28px 0;
}

.footer-social {
    display: flex;
    gap: 24px;
}

.footer-social a {
    color: #d8bc7b;
    text-decoration: none;
    transition: .3s;
}

.footer-social a:hover {
    color: #fff;
    transform: translateY(-3px);
}

.section-area {
    padding: 70px 0;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}


.section-title {
    font-size: clamp(2.4rem, 5vw, 4.2rem);
    font-weight: 800;
    color: #fff;
}

.typing-text {
    color: #d8bc7b;
    display: inline-block;
    white-space: nowrap;
}

.cursor {
    color: #d8bc7b;
    animation: blink .8s infinite;
}

.section-img {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    border-radius: 32px;
    border: 1px solid rgba(255, 255, 255, .10);
    box-shadow: 0 25px 60px rgba(0, 0, 0, .45);
}

.cta-section {
    text-align: center;
    padding: 90px 30px;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}


@keyframes floatingLight {
    from {
        transform: translate(0, 0) scale(1);
    }

    to {
        transform: translate(-80px, 60px) scale(1.15);
    }
}

@keyframes floatingLight2 {
    from {
        transform: translate(0, 0) scale(1);
    }

    to {
        transform: translate(70px, -50px) scale(1.1);
    }
}

@keyframes pulseGlow {
    from {
        opacity: .45;
        transform: scale(1);
    }

    to {
        opacity: .85;
        transform: scale(1.12);
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(28px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes floatImg {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

.creative-box {
    background: rgba(255, 255, 255, .045);
    border: 1px solid rgba(255, 255, 255, .10);
    border-radius: 30px;
    padding: 32px;
    backdrop-filter: blur(16px);
    animation: fadeUp .9s ease both;
}

.creative-title {
    color: #fff;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 800;
    margin-bottom: 16px;
}

.creative-heading {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 800;
    line-height: 1.1;
    color: #fff;
    margin-bottom: 16px;
}

.creative-subtitle {
    color: #cfc8d8;
    max-width: 580px;
    margin-bottom: 30px;

}

.creative-gallery-pro {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    grid-template-rows: 170px 170px;
    gap: 14px;
}

.art-preview {
    position: relative;
    border: 0;
    padding: 0;
    border-radius: 26px;
    overflow: hidden;
    background: transparent;
    cursor: pointer;
    box-shadow: 0 22px 55px rgba(0, 0, 0, .45);
}

.art-main {
    grid-row: span 2;
}

.art-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .6s ease;
    filter: contrast(1.05) brightness(.88);
}


.art-preview::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, .75), transparent 60%);
}

.art-preview:hover img {
    transform: scale(1.08);
    filter: contrast(1.12) brightness(1);
}

.art-preview:hover {
    outline: 1px solid rgba(212, 175, 55, .45);
    box-shadow:
        0 0 35px rgba(78, 52, 115, .22),
        0 28px 65px rgba(0, 0, 0, .55);
}

.art-preview:hover span::after {
    content: " • ampliar";
    color: #d8bc7b;
    font-weight: 500;
}

.art-preview span {
    position: absolute;
    left: 20px;
    bottom: 18px;
    z-index: 2;
    color: rgba(255, 255, 255, .9);
    font-size: .9rem;
    font-weight: 500;
    opacity: 0;
    transition: .3s;
}

.art-preview:hover span {
    opacity: 1;
}

@media (max-width: 768px) {
    .creative-gallery-pro {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .art-preview,
    .art-main {
        height: 260px;
        grid-row: auto;
    }
}

.art-modal {
    background: rgba(5, 5, 8, .95) !important;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 28px;
    overflow: hidden;
    backdrop-filter: blur(18px);
}

.art-modal img {
    width: 100%;
    max-height: 85vh;
    object-fit: contain;
    padding: 0 24px 24px;
}

.modal-backdrop.show {
    opacity: .85;
}

@media (max-width: 768px) {
    .creative-gallery-pro {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .main-art {
        grid-row: auto;
    }

    .art-preview {
        height: 260px;
    }
}


.curriculo-card .bi-file-earmark-person {
    color: #d8bc7b;
}

.curriculo-card h5 {
    color: #fff;
    margin-bottom: 10px;
}

.curriculo-card p {
    font-size: .95rem;
}

.cta-projects {
    padding: 60px 0 40px;
}

.cta-card {
    position: relative;
    text-align: center;
    padding: 70px 40px;
    border-radius: 40px;

    background:
        radial-gradient(circle at 20% 20%, rgba(212, 175, 55, .08), transparent 30%),
        radial-gradient(circle at 80% 80%, rgba(78, 52, 115, .18), transparent 35%),
        rgba(255, 255, 255, .04);

    border: 1px solid rgba(255, 255, 255, .10);
    backdrop-filter: blur(18px);
    overflow: hidden;
}

.cta-title {
    color: #fff;
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 18px;
}

.cta-text {
    max-width: 700px;
    margin: 0 auto 35px;
    color: #cfc8d8;
    font-size: 1.05rem;
}

.cta-card .btn {
    transition: .35s ease;
}

.cta-card .btn:hover {
    transform: translateY(-4px);
}

.navbar-brand {
    color: #f1e2c0e7 !important;
}

@media (max-width: 992px) {
    .section-area {
        padding: 60px 0;
        margin-bottom: 20px;
    }

    .hero-title {
        font-size: 2.7rem;
    }

    .profile-img {
        width: 190px;
        height: 190px;
    }

    .carousel-item img {
        height: 380px !important;
        max-height: 380px;
    }

    .carousel-caption {
        position: static;
        transform: none;
        margin: 18px auto 0;
        max-width: 100%;
    }

    .creative-gallery-pro {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }

    .art-main {
        grid-column: span 2;
        grid-row: auto;
    }

    .art-preview {
        height: 230px;
    }
}

@media (max-width: 576px) {

    .accordion-item {
        scroll-margin-top: 20px;
    }

    main.container {
        padding-inline: 20px;
    }

    .art-card {
        backdrop-filter: none !important;
        transition: none !important;
    }

    .skill-category-card {
        backdrop-filter: none !important;
        transition: none !important;
    }

    .cta-card {
        backdrop-filter: none !important;
    }

    .navbar-collapse {
        transition: none !important;
    }

    .navbar-collapse.collapsing {
        transition: none !important;
    }

    .accordion-collapse {
        transition: none !important;
    }

    .hero-intro {

        font-weight: 410;
        font-family: "Inter", sans-serif;
        font-size: 0.9rem !important;
    }

    .hero-art .btn {
        font-size: 0.95rem !important;
        padding: 10px 14px !important;
    }

    .hero-art {
        padding: 30px 30px !important;
    }

    .navbar-brand {
        font-size: 1.4rem;
    }

    .hero-title {
        font-size: 1.6rem;
        line-height: 1.1;
        word-break: normal;
    }

    .hero-subtitle {
        font-size: 1.32rem;
        min-height: 5.5rem;
        line-height: 1.2;
    }

    .hero-text {
        font-size: 0.93rem !important;
    }

    .hero-art .d-flex {
        display: flex !important;
        flex-wrap: nowrap !important;
        justify-content: center;
        gap: 10px;
    }

    .hero-art .btn {
        flex: 1;
        font-size: 0.78rem;
        padding: 8px 10px;
        min-width: 0;
        white-space: nowrap;
    }

    .hero-art .btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }




    .section-title,
    .creative-heading,
    .cta-title {
        font-size: 1.8rem;
    }

    .skill-category-card,
    .art-card,
    .curriculo-card,
    .cta-card {
        padding: 22px !important;
        border-radius: 24px !important;
    }

    .badge {
        font-size: .8rem;
        padding: 7px 11px !important;
    }

    .carousel-item img {
        height: 260px !important;
        max-height: 260px;
    }

    .carousel-control-prev,
    .carousel-control-next {
        width: 42px;
    }

    .carousel-arrow,
    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 42px;
        height: 42px;
    }

    .creative-gallery-pro {
        grid-template-columns: 1fr;
    }

    .art-main {
        grid-column: auto;
    }

    .art-preview {
        height: 260px;
    }

    .footer-social,
    .footer-links {
        justify-content: center;
    }
}

@media (min-width: 1400px) {
    .container {
        max-width: 1180px;
    }

    .hero-art {
        min-height: 680px;
        padding: 70px !important;
    }

    .hero-title {
        font-size: 3rem;
    }

    .profile-img {
        width: 280px;
        height: 280px;
    }

    .section-area {
        padding: 80px 0;
    }

    .creative-gallery-pro {
        grid-template-rows: 220px 220px;
    }

    .art-preview {
        min-height: 220px;
    }
}

@media (min-width: 1800px) {
    .container {
        max-width: 1280px;
    }

    .hero-art {
        min-height: 720px;
    }

    .hero-title {
        font-size: 3rem;
    }

    .creative-gallery-pro {
        grid-template-rows: 250px 250px;
    }
}

.about-section .row {
    align-items: flex-start !important;
}

/* textos que estavam ficando cinza */
.hero-subtitle {
    color: #ffffffd7 !important;
}

.about-section .text-muted,
.curriculo-card .text-muted {
    color: #ffffffd7 !important;
}