/* ============================
   ESTILOS GERAIS E RESET
============================= */

body {
    background-color: #111 !important;
    color: #fff;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}


/* ============================
   HERO SECTION COM VÍDEO
============================= */

.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
    padding: 2rem;
}

.hero-section .video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.hero-section .banner {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero-section h1 {
    font-weight: bold;
    font-size: 3rem;
}

.hero-section p {
    font-size: 1.25rem;
    opacity: 0.85;
}


/* Responsivo para hero */

@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    .hero-section p {
        font-size: 1rem;
    }
}


/* ============================
   NAVBAR TRANSPARENTE COM HOVER
============================= */

.navbar {
    transition: background-color 0.4s, box-shadow 0.4s, backdrop-filter 0.4s;
    border: none !important;
    box-shadow: none !important;
}

.navbar.transparent {
    background-color: rgba(0, 0, 0, 0.2) !important;
    backdrop-filter: blur(10px);
}

.navbar-nav .nav-link {
    position: relative;
    overflow: hidden;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 2px;
    background: #0d6efd;
    transition: width 0.3s ease-in-out;
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
}

.navbar.transparent {
    background-color: rgba(0, 0, 0, 0.05) !important;
    /* fundo super transparente */
    backdrop-filter: none !important;
    /* sem blur */
    box-shadow: none !important;
    /* sem sombra */
    border: none !important;
    /* remove qualquer borda */
}

.navbar.solid {
    background-color: #000 !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}


/* ============================
   CARD COM BORDA GRADIENTE
============================= */

.card {
    border: 3px solid transparent;
    border-image: linear-gradient(45deg, red, yellow, lime, cyan, blue, magenta, red) 1;
    animation: borderAnim 6s ease-in-out infinite;
    padding: 20px;
    margin-bottom: 1rem;
}

.card:hover {
    transform: translateY(-10px);
}

@keyframes borderAnim {
    0% {
        border-image-source: linear-gradient(45deg, red, yellow, lime, cyan, blue, magenta, red);
    }
    25% {
        border-image-source: linear-gradient(90deg, red, yellow, lime, cyan, blue, magenta, red);
    }
    50% {
        border-image-source: linear-gradient(135deg, red, yellow, lime, cyan, blue, magenta, red);
    }
    75% {
        border-image-source: linear-gradient(180deg, red, yellow, lime, cyan, blue, magenta, red);
    }
    100% {
        border-image-source: linear-gradient(225deg, red, yellow, lime, cyan, blue, magenta, red);
    }
}


/* ============================
   ANIMAÇÕES DE ENTRADA
============================= */

.fade-in-up {
    opacity: 0;
    animation-name: fadeInUpCustom;
    animation-duration: 0.8s;
    animation-fill-mode: forwards;
    animation-timing-function: ease;
}

.fade-delay-1 {
    animation-delay: 0.3s;
}

.fade-delay-2 {
    animation-delay: 0.6s;
}

.fade-delay-3 {
    animation-delay: 0.9s;
}

@keyframes fadeInUpCustom {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ============================
   SEÇÃO SOBRE
============================= */

.sobre-img {
    border-radius: 50%;
    width: 250px;
    height: 250px;
    object-fit: cover;
    box-shadow: 0 0 20px rgba(13, 110, 253, 0.5);
    transition: transform 0.4s;
}

.sobre-img:hover {
    transform: scale(1.05);
}

@media (max-width: 576px) {
    .sobre-img {
        width: 180px;
        height: 180px;
    }
}


/* ============================
   DEPOIMENTOS 3D
============================= */

#depoimentos {
    perspective: 1000px;
}

.testimonial-3d {
    transition: transform 0.8s ease, opacity 0.8s ease;
    transform-style: preserve-3d;
    backface-visibility: hidden;
}

.carousel-item-next .testimonial-3d,
.carousel-item-start .testimonial-3d {
    transform: rotateY(30deg) scale(0.95);
    opacity: 0.6;
}

.carousel-item-prev .testimonial-3d,
.carousel-item-end .testimonial-3d {
    transform: rotateY(-30deg) scale(0.95);
    opacity: 0.6;
}

.carousel-item.active .testimonial-3d {
    transform: rotateY(0deg) scale(1);
    opacity: 1;
}


/* ============================
   servicos 3D
============================= */

#servicos {
    perspective: 1500px;
    overflow: hidden;
}

.carousel-3d-wrapper {
    overflow: hidden;
    cursor: grab;
}

.carousel-3d-wrapper:active {
    cursor: grabbing;
}

.carousel-3d {
    display: flex;
    gap: 1.5rem;
    transform-style: preserve-3d;
    transition: transform 0.3s ease;
    user-select: none;
}


/* Desktop: 3 cards lado a lado */

.card-servico {
    flex: 0 0 calc(33.333% - 1rem);
    background: #222;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.6);
    text-align: center;
    color: #fff;
    transform-style: preserve-3d;
    /* altura para ficar quadrado (ajuste conforme conteúdo) */
    height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}


/* ícones maiores */

.card-servico h4 i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    display: inline-block;
    color: #0d6efd;
}


/* MOBILE: 1 card por vez, largura 100%, altura ajustada */

@media (max-width: 768px) {
    .card-servico {
        flex: 0 0 100%;
        height: 300px;
        /* ajuste se quiser mais alto */
    }
}

.custom-alert {
    position: fixed;
    left: 50%;
    top: 40%;
    transform: translate(-50%, -50%);
    background-color: #000;
    color: #3399ff;
    padding: 20px 30px;
    font-size: 1.2rem;
    font-family: Arial, sans-serif;
    border: 2px solid #3399ff;
    border-radius: 10px;
    z-index: 9999;
    box-shadow: 0 0 15px rgba(51, 153, 255, 0.7);
    opacity: 1;
    transition: opacity 0.5s ease, transform 0.5s ease;
    width: 320px;
    text-align: center;
}

.progress-bar {
    position: relative;
    height: 4px;
    background-color: #3399ff;
    margin-top: 15px;
    border-radius: 3px;
    overflow: hidden;
}


/* Animação da barra de tempo que diminui da esquerda para direita */

@keyframes progressBarAnim {
    from {
        width: 100%;
    }
    to {
        width: 0%;
    }
}


/* ============================
   loja btn
============================= */

.btn-loja {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: transparent;
    color: white;
    border: 2px solid #00aaff;
    border-radius: 999px;
    padding: 10px 16px;
    width: 50px;
    height: 50px;
    transition: all 0.3s ease;
    overflow: hidden;
    white-space: nowrap;
    cursor: pointer;
    outline: none;
}

.btn-loja:hover {
    width: 140px;
    border-color: #00aaff;
    color: #00aaff;
    outline: 2px solid #00aaff;
    outline-offset: 4px;
}

.btn-loja:hover .texto {
    opacity: 1;
    max-width: 100px;
}

.btn-loja:focus {
    outline: 2px solid #ffffff;
    outline-offset: 4px;
}

.btn-loja .texto {
    opacity: 0;
    max-width: 0;
    transition: opacity 0.3s ease, max-width 0.3s ease;
}

.btn-loja i {
    font-size: 20px;
}

.loja-section {
    display: flex;
    justify-content: center;
    align-items: center;
}

.fade-out {
    animation: fadeOut 0.5s forwards;
}

@keyframes fadeOut {
    to {
        opacity: 0;
    }
}

.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
    color: white;
    border-radius: 100%;
    padding: 16px;
    font-size: 30px;
    transition: transform 0.2s, box-shadow 0.2s;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: green;
}

.social-icon {
    color: white;
    font-size: 24px;
    transition: transform 0.3s ease, color 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-6px);
    color: #0d6efd;
}