/* CARD */
.profile-card-5 {
    margin-top: 20px;
    margin-bottom: 0;
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-card-5:hover {
    transform: translateY(-3px);
}

/* IMAGEM */
.profile-card-5 .card-img-block {
    width: 92%;
    margin: 0 auto;
    position: relative;
    top: -30px;
}

.profile-card-5 .card-img-block img {
    border-radius: 14px;
    box-shadow: 0 8px 28px rgba(0,0,0,0.4);
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.profile-card-5 .card-img-block img:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 36px rgba(0,0,0,0.5);
}

/* TÍTULO */
.profile-card-5 h5 {
    color: var(--card-font-color);
    font-weight: 600;
    margin-bottom: 4px;
    letter-spacing: -0.01em;
}

/* TEXTO */
.profile-card-5 p {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    opacity: 0.85;
}

/* FUNDO */
.bg-image {
    background-size: cover;
    background-position: center;
    position: relative;
    background-repeat: no-repeat;
}

/* HEADER */
.profile-header {
    transform: translateY(4rem);
}

/* COR GLOBAL */
.card-bg-color {
    color: var(--card-font-color);
}

/* ÍCONE */
.contact-details .icon-circle {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--card-font-color);
    color: #fff;
    font-size: 18px;
    height: 42px;
    min-width: 42px;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: border-radius 0.3s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.contact-details .icon-circle:active {
    transform: scale(0.9);
}

/* ITEM DE CONTATO */
.contact-details-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.06);
    background: rgba(255,255,255,0.03);
    text-decoration: none;
    color: inherit;
    transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
    margin-bottom: 9px;
}

.contact-details-item:hover {
    transform: translateX(5px);
    background: rgba(255,255,255,0.07);
    border-color: rgba(255,255,255,0.13);
    text-decoration: none;
    color: inherit;
}

.contact-details-item:hover .icon-circle {
    border-radius: 10px;
    transform: scale(1.08);
    box-shadow: 0 6px 16px rgba(0,0,0,0.3);
}

/* LISTA */
.contact-details {
    display: flex;
    flex-direction: column;
    padding: 8px 14px;
    margin: 0;
    list-style: none;
}

/* BOTÃO DE IDIOMA */
.float-lang {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 99999;
}

.float-lang .btn {
    border-radius: 20px !important;
    font-size: 12px !important;
    padding: 5px 12px !important;
    backdrop-filter: blur(6px);
    background: rgba(0,0,0,0.3) !important;
    border-color: rgba(255,255,255,0.2) !important;
    color: #fff !important;
    transition: all 0.2s ease !important;
}

.float-lang .btn:hover {
    background: rgba(0,0,0,0.5) !important;
    transform: translateY(-1px) !important;
}

/* BOTÕES GERAIS */
.btn-outline-dark {
    border-radius: 50px !important;
    padding: 9px 22px !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    letter-spacing: 0.02em;
    transition: all 0.25s ease !important;
}

.btn-outline-dark:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 18px rgba(0,0,0,0.25) !important;
}

.btn-outline-dark:active {
    transform: scale(0.97) !important;
}

/* FORMULÁRIO */
.form-control {
    border-radius: 10px !important;
    padding: 11px 15px !important;
    transition: border-color 0.25s ease, box-shadow 0.25s ease !important;
}

.form-control:focus {
    box-shadow: 0 0 0 3px rgba(255,255,255,0.07) !important;
    outline: none !important;
}

/* GALERIA */
.gallery.gallery-md {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
}

.gallery-wrapper {
    overflow: hidden;
    width: 100%;
}

.gallery-track {
    display: flex;
    gap: 8px;
    transition: transform 0.35s ease;
}

.gallery-track .gallery-item {
    min-width: calc(33.333% - 6px);
    flex-shrink: 0;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
}

.gallery-arrow {
    background: var(--card-font-color);
    color: #fff;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 16px;
    cursor: pointer;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    transition: transform 0.2s ease, opacity 0.2s ease;
    z-index: 10;
}

.gallery-arrow:hover {
    transform: scale(1.1);
}

.gallery-arrow:disabled {
    opacity: 0.3;
    cursor: default;
    transform: none;
}

/* SWIPER */
.swiper-slide {
    border-radius: 14px !important;
}

.swiper-pagination-bullet-active {
    transform: scale(1.3);
}

/* CARD BASE */
.card {
    background: #222;
    box-shadow: 5px 5px 10px #1f1f1f50, -5px -5px 10px #1f1f1f50;
    border: none;
    overflow: hidden;
    border-radius: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: 8px 8px 24px #1f1f1f80, -8px -8px 24px #1f1f1f80;
}

.card .bg-pink {
    width: 100%;
    height: 100px;
    background-color: #F50057;
    animation: img-top 0.8s linear;
    position: relative;
}

.card .img-container {
    width: 100%;
    display: flex;
    justify-content: center;
    animation: img-top 0.8s linear;
}

.card .img-container img {
    width: 149px;
    height: 149px;
    object-fit: cover;
    z-index: 5;
    border: 8px solid #222;
    margin-top: calc((139px/2)*-1);
    border-radius: 50%;
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.card .img-container img:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 32px rgba(0,0,0,0.55);
}

/* CARD HEADER */
.card-header {
    background: transparent !important;
    border-bottom: 1px solid rgba(255,255,255,0.07) !important;
    padding: 14px 16px !important;
}

.card-header h4 {
    font-size: 14px !important;
    font-weight: 700 !important;
    letter-spacing: 0.07em !important;
    text-transform: uppercase !important;
    margin: 0 !important;
}

/* CARD FOOTER */
.card-footer {
    background: transparent !important;
    border-top: 1px solid rgba(255,255,255,0.07) !important;
}

/* DROPDOWN */
.dropdown-menu {
    border-radius: 14px !important;
    padding: 6px !important;
    overflow: hidden;
    box-shadow: 0 8px 28px rgba(0,0,0,0.35) !important;
}

.dropdown-item {
    border-radius: 8px !important;
    padding: 8px 14px !important;
    font-size: 13px !important;
    transition: background 0.2s ease !important;
}

/* SCROLLBAR */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.15);
    border-radius: 10px;
}

/* ANIMAÇÕES */
.card .user {
    animation: op 1.5s ease-in;
}

.card .details.snippets,
.card .details.project,
.card .details.post {
    transform: translateX(-500px);
    animation: fadeIn 1.5s forwards;
}

.card .details:nth-of-type(2) { animation-delay: 0.5s; }
.card .details:nth-of-type(1) { animation-delay: 1s; }

.card .skills {
    animation: moveTop 1.6s ease-in;
    overflow: hidden;
}

@keyframes img-top {
    0%   { transform: translateY(-100px); opacity: 0; }
    50%  { opacity: 0.5; }
    100% { opacity: 1; }
}

@keyframes op {
    0%   { opacity: 0; }
    100% { opacity: 1; }
}

@keyframes fadeIn {
    0%   { opacity: 0; transform: translateX(-500px); }
    100% { opacity: 1; transform: translateX(0); }
}

@keyframes moveTop {
    0%   { transform: translateY(400px); }
    100% { transform: translateY(0); }
}

@keyframes level {
    0%   { transform: translateX(-500px); opacity: 0; }
    100% { opacity: 1; transform: translateX(0); }
}

/* RESPONSIVO */
@media (max-width: 768px) {
    .profile-card-5 .card-img-block {
        width: 95%;
        top: -25px;
    }

    .contact-details-item {
        padding: 9px 12px;
    }
}
}
/* cores dos ícones dos botões de contato */
html body .contact-details li a span:first-child i,
html body .contact-details li a span:first-child i::before {
    color: #333 !important;
}
html body .contact-details li a[href*="facebook.com"] span:first-child i,
html body .contact-details li a[href*="facebook.com"] span:first-child i::before {
    color: #1877f2 !important;
}
html body .contact-details li a[href*="instagram.com"] span:first-child i,
html body .contact-details li a[href*="instagram.com"] span:first-child i::before {
    color: #e1306c !important;
}
html body .contact-details li a[href*="wa.me"] span:first-child i,
html body .contact-details li a[href*="wa.me"] span:first-child i::before,
html body .contact-details li a[href*="whatsapp"] span:first-child i,
html body .contact-details li a[href*="whatsapp"] span:first-child i::before {
    color: #25d366 !important;
}
html body .contact-details li a[href*="tel:"] span:first-child i,
html body .contact-details li a[href*="tel:"] span:first-child i::before {
    color: #ff9800 !important;
} 