html {
    scroll-padding-top: 70px;
    scroll-behavior: smooth;
}

body {
    padding-top: 56px;
    background-color: #343a40;
    color: #f8f9fa;
}

.logo {
    height: 46px;
    width: auto;

}


.navbar {
    background-color: #343a40;
}

.navbar-brand,
.nav-link {
    color: #f8f9fa !important;
}

.nav-item:hover, .nav-link:hover {
    border-top: 2px solid #ffc107;
    color: #ffc107 !important;
    margin-top: -2px;
}

.video-banner {
    position: relative;
    width: 100%;
    height: auto;
    min-height: 400px;
    overflow: hidden;

}

.video-banner video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.video-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.video-banner .container {
    position: relative;
    text-align: center;
    padding-top: 5rem;
    padding-bottom: 5rem;
    color: #343a40;
    height: 100%;
    z-index: 2;
}

.bg-light {
    background-color: #f8f9fa !important;
    color: #343a40;
}

.bg-dark {
    background-color: #343a40 !important;
    color: #f8f9fa;
}

.display-4, .lead {
    color: white;
}

.text-dark {
    color: #343a40 !important;
}

.btn-warning {
    background-color: #ffc107;
    border: none;
    color: #343a40;
}

.social-media {
    text-align: center;
    margin-top: 15px;
}

.social-media img {
    width: 40px;
    height: auto;
    margin: 10px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.social-media img:hover {
    transform: scale(1.1);
    opacity: 0.9;
    cursor: pointer;
}

sup {
    font-size: bolder;
}

footer {
    background-color: #212529;
    color: #f8f9fa;
}


#como-funciona .step-card {
    background: #2b3035;
    border-radius: 12px;
    transition: 0.3s ease;
    position: relative;
    color: #f8f9fa;
}

#como-funciona .step-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

#como-funciona .step-number {
    position: absolute;
    top: 10px;
    left: 15px;
    font-size: 14px;
    background: #ffc107;
    color: #343a40;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

#portfolio .card {
    border: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

#portfolio .card:hover {
    transform: translateY(-5px);
}

#portfolio .card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

#portfolio .card-body .text-muted {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.8em;
}

#portfolio .card-body p {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* estado fechado */
.details-content {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.35s ease;
}

/* estado aberto */
.details-wrapper.active .details-content {
    max-height: 400px;
    opacity: 1;
}

.details-wrapper.active .toggle-details i {
    transform: rotate(180deg);
    transition: 0.3s ease;
}

.btn-portfolio {
    background-color: #212529;
    color: #ffc107;
    border: 1px solid #ffc107;
    transition: all 0.3s ease;
    font-weight: 500;
}

.btn-portfolio:hover {
    background-color: #ffc107;
    color: #212529;
    border-color: #ffc107;
    transform: translateY(-2px);
    box-shadow: 0 0 12px rgba(255, 193, 7, 0.4);
}

#faq .accordion-item {
    border: none;
    margin-bottom: 12px;
    border-radius: 8px;
    overflow: hidden;
}

#beneficios.card {
    transition: 0.3s;
}

#beneficios .card:hover {
    transform: translateY(-5px);
}

#faq .accordion-button {
    font-weight: 600;
}

#faq .accordion-button:not(.collapsed) {
    background-color: #ffc107;
    color: #343a40;
}

#faq .accordion-button:focus {
    box-shadow: none;
}

#contato .form {
    background: #2b3035;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

#contato .form-label {
    font-weight: 500;
    margin-bottom: 6px;
}

#contato .form-control {
    background-color: #212529;
    border: 1px solid #495057;
    color: #f8f9fa;
    border-radius: 8px;
}

#contato .form-control:focus {
    border-color: #ffc107;
    box-shadow: 0 0 0 0.15rem rgba(255, 193, 7, .25);
}

#contato button[type="submit"] {
    width: 100%;
    font-weight: 600;
    padding: 12px;
    border-radius: 8px;
    transition: 0.3s;
}

#contato button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 193, 7, 0.25);
}

#contato .social-media {
    margin-top: 20px;
    opacity: 0.9;
}

footer a {
    color: #ffc107;
    text-decoration: none;
    transition: 0.3s;
}

.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 25px;
    right: 25px;
    background: #343a40;
    color: #ffc107;
    border: 2px solid #ffc107;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    z-index: 999;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, .3);
    transition: all .3s ease;
}

.whatsapp-float:hover {
    background: #ffc107;
    color: #343a40;
    transform: scale(1.08);
}

/* === Estilos para o Swiper === */
.swiper-wrapper {
    align-items: stretch;
}

.swiper-slide {
    height: auto;
    display: flex;
}

.swiper-slide {
    height: auto;
    display: flex;
}

/* === Botões do Swiper === */
.swiper-button-prev,
.swiper-button-next {
    background-color: rgba(0, 0, 0, 0.1);
    color: #000;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

/* Remove o SVG padrão e insere o seu ícone customizado (opcional) */
.swiper-button-prev::after,
.swiper-button-next::after {
    font-size: 18px;
    color: #000;
}

/* Hover */
.swiper-button-prev:hover,
.swiper-button-next:hover {
    background-color: #000;
}

.swiper-button-prev:hover::after,
.swiper-button-next:hover::after {
    color: #fff;
}


/* --- Media Query para Dispositivos Móveis --- */

@media (max-width: 768px) {
    .video-banner {
        /* No celular, remova a altura fixa ou reduza-a */
        height: auto;
    }

    .video-banner .container {
        /* Reduza o espaçamento interno para diminuir o espaço extra */
        padding-top: 3rem;
        padding-bottom: 3rem;
        /* ESTE É O AJUSTE CHAVE PARA O CELULAR */
        top: auto;
        /* Remove a centralização absoluta no celular */
        left: auto;
        transform: none;
        height: auto;
    }

    .video-banner video {
        /* Garanta que o vídeo não estique demais */
        height: 100%;
    }

    #servicos {
        text-align: center;
    }

    #contato .btn {
        text-align: center;
        width: 100%;
    }

    #contato .btn-warning {
        margin-top: -5rem;
    }
}