html {
    scroll-behavior: smooth;
}

:root {
    --ktrade-blue: #0FBEF9;
    --ktrade-blue-dark: #1F82BF;
    --ktrade-dark: #112234;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--ktrade-dark);
}

.btn-ktrade {
    background: var(--ktrade-blue-dark);
    padding: 9px 16px;
    color: #fff;
    font-weight: 400;
    border: none;
    transition: background 0.3s ease;
}

.btn-ktrade:hover {
    background: var(--ktrade-blue);
    color: #fff;
}

.ktrade-icon,
.custom-icon {
    width: 30px;
    height: auto;
}

.custom-icon {
    padding: 6px;
}

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    background: url("images/bg.jpeg") center center / cover no-repeat;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(31, 130, 191, 0.2), rgba(17, 34, 52, 0.8));
    z-index: 1;
}

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

.hero .hero-content {
    position: relative;
    z-index: 2;
    align-items: center;
    justify-content: flex-end;
    padding-top: 30vh;
    padding-bottom: 10vh;
}

.quem-somos-imagem {
    height: 700px;
    width: auto;
}

.card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    position: relative;
    z-index: 1;
}

.card .img-overlay {
    position: relative;
}

.card .img-overlay::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(31, 130, 191, 0.0), rgba(31, 130, 191, 0.0), rgba(17, 34, 52, 0.2));
    z-index: 2;
}

.card:hover .img-overlay::after {
    opacity: 1;
    /* aparece só ao passar o mouse */
}

.card-hover:hover {
    transform: translateY(-5px);
    transition: transform 0.3s ease;
}

.ktrade-blue {
    color: var(--ktrade-blue-dark) !important;
}

#experiencia h2,
#experiencia h3 {
    color: #0b1720;
}

#experiencia .metric {
    background: var(--surface);
    border-radius: .6rem;
    padding: 1.25rem;
}

@media (max-width: 767px) {
    .quem-somos-imagem {
        max-height: 300px;
    }

    .card img {
        height: 190px;
    }

    .hero {
        min-height: 60vh;
        padding-top: 6rem;
    }
}

/* Fade-in animation */
.fade-section {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s ease, transform 1s ease;
}

.fade-section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsividade */
@media (max-width: 767px) {
    .hero {
        min-height: 60vh;
        padding-top: 6rem;
    }

    .quem-somos-imagem {
        max-height: 300px;
    }
}