/* Estilos personalizados */

/* Base */
body {
    padding-top: 56px;
    scroll-behavior: smooth;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
}

/* Carrossel */
.carousel-item {
    height: 80vh;
    min-height: 400px;
    background: no-repeat center center scroll;
    background-size: cover;
}

.carousel-caption {
    bottom: 30%;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 30px;
    border-radius: 10px;
}

.carousel-caption h1 {
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Cards de Serviços */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 10px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card-img-container {
    height: 200px;
    overflow: hidden;
}

.card-img-top {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card:hover .card-img-top {
    transform: scale(1.05);
}

.card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
}

.card-text {
    flex-grow: 1;
    margin-bottom: 1rem;
}

.card-icon {
    border-radius: 50%;
    width: 80px;
    height: 80px;
    margin: -40px auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.card:hover .card-icon {
    transform: rotate(15deg) scale(1.1);
}

/* Seções */
section {
    padding: 100px 0;
}

.section-title {
    position: relative;
    margin-bottom: 50px;
}

/* Divider */
.divider {
    width: 80px;
    height: 4px;
    background-color: #0d6efd;
    margin: 20px auto;
}

.divider.bg-light {
    background-color: #fff;
}

/* Botões */
.btn {
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #0d6efd;
    border-color: #0d6efd;
    padding: 10px 25px;
    font-weight: 600;
}

.btn-primary:hover {
    background-color: #0b5ed7;
    border-color: #0a58ca;
    transform: translateY(-3px);
}

.btn-outline-primary:hover {
    transform: translateY(-3px);
}

/* Seção Sobre Nós */
#sobre {
    position: relative;
    overflow: hidden;
}

/* Estatísticas */
.counter h2 {
    font-weight: 700;
}

/* Formulário */
.form-control {
    padding: 12px 15px;
    border-radius: 5px;
}

.form-control:focus {
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* Botão WhatsApp */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    transform: scale(1.1);
}

.whatsapp-icon {
    margin-top: 2px;
}

/* Footer */
.bg-darker {
    background-color: #1a1a1a;
}

/* Responsividade */
@media (max-width: 992px) {
    section {
        padding: 80px 0;
    }
    
    .carousel-item {
        height: 60vh;
    }
    
    .carousel-caption {
        bottom: 20%;
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }
    
    .carousel-item {
        height: 50vh;
    }
    
    .card-img-container {
        height: 180px;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 30px;
        right: 30px;
        font-size: 25px;
    }
}