/* ESTADO INICIAL */
body {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.45s ease, transform 0.45s ease;
}

/* QUANDO CLICAR */
body.page-leave {
    opacity: 0;
    transform: translateY(20px);
}


.navbar {
    background-color: #74026e;
}

/* SEÇÃO SERVIÇOS */
#servicos {
    background: linear-gradient(180deg, #f8f6f8, #ede1ec);
}

#servicos h2 {
    font-weight: 700;
    color: #4a0046;
    letter-spacing: 0.5px;
    margin-bottom: 2rem;
}

/* CARDS */
#servicos .card {
    border: none;
    border-radius: 18px;
    background: #ffffff;
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}

/* Efeito de luz suave */
#servicos .card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        120deg,
        rgba(116, 2, 110, 0.08),
        rgba(255, 255, 255, 0.0)
    );
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

/* Hover do card */
#servicos .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 55px rgba(0, 0, 0, 0.18);
}

#servicos .card:hover::before {
    opacity: 1;
}

/* CONTEÚDO */
#servicos .card-body {
    padding: 2rem 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Garante o espaçamento adequado entre o conteúdo */
    height: 100%; /* Para que o conteúdo ocupe toda a altura do card */
}

/* TÍTULOS E DESCRIÇÃO */
#servicos h5 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #74026e;
    margin-bottom: 1rem; /* Ajuste de espaço */
}

#servicos p {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem; /* Adicionando espaço entre a descrição e o botão */
}

/* BOTÃO */
#servicos .btn-outline-primary {
    border-radius: 50px;
    padding: 6px 18px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #74026e;
    border: 2px solid #74026e;
    transition: all 0.3s ease;
    margin-top: auto; /* Garante que o botão fique alinhado no final do card */
}

#servicos .btn-outline-primary:hover {
    background-color: #74026e;
    color: #fff;
    box-shadow: 0 8px 20px rgba(116, 2, 110, 0.35);
}

/* RESPONSIVO */
@media (max-width: 768px) {
    #servicos .card {
        transform: none;
    }

    #servicos h2 {
        font-size: 1.8rem;
    }

    #servicos .card-body {
        padding: 1.5rem; /* Ajuste de espaçamento */
    }

    #servicos .btn-outline-primary {
        width: 100%; /* Botões ocupando toda a largura no mobile */
    }
}


/* HERO COM GIF */
.hero {
    height: 90vh;
    background:
        linear-gradient(
            rgba(0,0,0,0.55),
            rgba(0,0,0,0.55)
        ),
        url("../gifs/LD_cortina01.gif") center/cover no-repeat;
    position: relative;
}

/* Texto acima do GIF */
.hero .container {
    position: relative;
    z-index: 2;
}

.hero h1,
.hero p {
    text-shadow: 2px 2px 12px rgba(0,0,0,0.8);
}

/* FOOTER */
footer {
    background-color: #74026e;
}

/* Container futurista */
#sobre .img-futurista {
    position: relative;
    display: inline-block;
}

/* Imagem */
#sobre .img-futurista img {
    width: 100%;
    max-width: 420px;
    border-radius: 16px;

    animation: float3d 8s ease-in-out infinite;

    box-shadow:
        0 0 25px rgba(116, 2, 110, 0.35),
        0 20px 50px rgba(0, 0, 0, 0.35);

    transition: transform 0.4s ease;
}

/* Glow futurista */
#sobre .img-futurista::before {
    content: "";
    position: absolute;
    inset: -8px;
    border-radius: 20px;

    background: linear-gradient(
        120deg,
        #ff00cc,
        #74026e,
        #30d1e3
    );

    filter: blur(25px);
    opacity: 0.6;
    z-index: -1;

    animation: glowPulse 6s ease-in-out infinite;
}

/* Hover 3D */
#sobre .img-futurista:hover img {
    transform: rotateX(8deg) rotateY(-8deg) scale(1.05);
}

/* Animações */
@keyframes float3d {
    0% {
        transform: translateY(0) rotateX(0) rotateY(0);
    }
    50% {
        transform: translateY(-14px) rotateX(4deg) rotateY(-4deg);
    }
    100% {
        transform: translateY(0) rotateX(0) rotateY(0);
    }
}

@keyframes glowPulse {
    0% {
        opacity: 0.4;
    }
    50% {
        opacity: 0.8;
    }
    100% {
        opacity: 0.4;
    }
}

/* Botões com ícones */
#contato .btn {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* WhatsApp */
#contato .btn.whatsapp {
    background-color: #25D366;
}

/* Instagram */
#contato .btn.instagram {
    background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af);
}

/* Hover elegante */
#contato .btn:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.25);
}

#contato .btn i {
    color: #fff;
}


