/* ===== ESTILOS GERAIS ===== */
:root {
    --primary-color: #005baa;
    --secondary-color: #919191;
    --success-color: #d80000;
    --warning-color: #ffd700;
    --dark-color: #333333;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--dark-color);
    padding-top: 76px; /* Compensa a navbar fixa */
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;  
}

/* ===== NAVBAR ===== */
.navbar-brand {
    font-size: 1.5rem;
}

.navbar-nav .nav-link {
    font-weight: 600;
    margin: 0 0.5rem;
    position: relative;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
}

/* ===== HERO SECTION ===== */
.hero-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-image {
    position: relative;
    height: 400px;
}

/* ===== HERO LOGO ===== */
.hero-logo {
    max-height: 400px;
    width: auto;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.2));

}

@keyframes float-logo {
    0%, 100% { 
        transform: translateY(0) rotate(0deg); 
    }
    50% { 
        transform: translateY(-20px) rotate(2deg); 
    }
}

/* Para telas menores */
@media (max-width: 768px) {
    .hero-logo {
        max-height: 300px;
        margin-top: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-logo {
        max-height: 250px;
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

/* ===== BOTÕES HERO RESPONSIVOS ===== */
@media (max-width: 768px) {
    .hero-section .d-flex.flex-wrap {
        justify-content: center !important;
        text-align: center;
    }
    
    .hero-section .d-flex.flex-wrap .btn {
        width: 100%;
        max-width: 280px;
        margin: 0.25rem 0;
    }
}

/* ===== CARDS ===== */
.product-card, .testimonial-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 15px;
    overflow: hidden;
}

.product-card:hover, .testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1) !important;
}

.product-icon {
    font-size: 3rem;
    color: var(--primary-color);
    height: 80px;
    width: 80px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(13, 110, 253, 0.1);
    border-radius: 50%;
}

.feature-icon {
    font-size: 1.5rem;
    background: rgba(13, 110, 253, 0.1);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* ===== SOBRE ===== */
.about-image {
    position: relative;
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: 20px;
    background: var(--primary-color);
    color: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(13, 110, 253, 0.3);
    min-width: 120px;
}

/* ===== DICAS ===== */
.tips-image {
    position: relative;
}

.tips-image::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--primary-color), transparent);
    opacity: 0.1;
    border-radius: 10px;
}

.tip-item {
    padding-left: 1rem;
    border-left: 3px solid var(--primary-color);
}

/* ===== DICAS RESPONSIVIDADE ===== */
@media (max-width: 992px) {
    #dicas .img-fluid {
        margin-bottom: 2rem;
    }
    
    #dicas h2.fw-bold {
        margin-top: 1rem;
    }
}

/* ===== DEPOIMENTOS ===== */
.testimonial-card {
    border-top: 4px solid var(--primary-color) !important;
}

.client-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(13, 110, 253, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.rating {
    color: var(--warning-color);
}

/* ===== CONTATO ===== */
.contact-form {
    transition: transform 0.3s ease;
}

.contact-form:hover {
    transform: translateY(-5px);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.social-links a {
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--warning-color) !important;
}

/* ===== BOTÃO WHATSAPP ===== */
#btn-whatsapp {
    animation: pulse-whatsapp 2s infinite;
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes pulse-whatsapp {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ===== ANIMAÇÕES SCROLL ===== */
.animar-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animar-scroll.visivel {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 768px) {
    .hero-section {
        text-align: center;
        padding: 100px 0 50px;
    }
    
    .hero-image {
        height: 300px;
        margin-top: 2rem;
    }
    
    .color-circle {
        display: none;
    }
    
    .display-4 {
        font-size: 2.5rem;
    }
}

/* ===== BOTÃO VOLTAR AO TOPO ===== */
.btn-voltar-topo {
    display: none !important;
}

.btn-voltar-topo.show {
    display: flex !important;
    align-items: center;
    justify-content: center;
    position: fixed;
    bottom: 80px;
    right: 20px;
    z-index: 999;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    border: none;
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.3);
    transition: all 0.3s ease;
}

.btn-voltar-topo.show:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(13, 110, 253, 0.4);
}


/* ===== CARROSSEL HERO ===== */
.carousel-hero {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    max-width: 600px;
    margin: 0 auto;
    border: 3px solid white;
}

.carousel-hero .carousel-inner {
    border-radius: 12px;
}

.carousel-hero img {
    height: 400px;
    object-fit: cover;
    transition: transform 8s ease;
}

.carousel-hero .carousel-item.active img {
    transform: scale(1.05);
}

/* Indicadores personalizados */
.carousel-hero .carousel-indicators {
    bottom: 15px;
}

.carousel-hero .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 6px;
    background-color: rgba(255, 255, 255, 0.5);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.carousel-hero .carousel-indicators button.active {
    background-color: var(--primary-color);
    transform: scale(1.3);
    border-color: white;
}

/* Captions */
.carousel-hero .carousel-caption {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(5px);
    border-radius: 10px;
    padding: 10px 20px;
    bottom: 40px;
    left: 20px;
    right: 20px;
    width: auto;
}

.carousel-hero .carousel-caption p {
    font-size: 0.9rem;
    margin: 0;
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Botões de controle */
.carousel-hero .carousel-control-prev,
.carousel-hero .carousel-control-next {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    margin: 0 15px;
    opacity: 0;
    transition: opacity 0.3s ease, background 0.3s ease;
}

.carousel-hero:hover .carousel-control-prev,
.carousel-hero:hover .carousel-control-next {
    opacity: 1;
}

.carousel-hero .carousel-control-prev:hover,
.carousel-hero .carousel-control-next:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Miniaturas 
.carousel-thumbnails {
    padding: 10px;
}

.thumbnail-img {
    width: 60px;
    height: 40px;
    object-fit: cover;
    border-radius: 5px;
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.thumbnail-img:hover,
.thumbnail-img.active {
    opacity: 1;
    border-color: var(--primary-color);
    transform: translateY(-5px);
}
*/
/* Responsividade */
@media (max-width: 992px) {
    .carousel-hero img {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .carousel-hero {
        max-width: 100%;
        margin-top: 2rem;
    }
    
    .carousel-hero img {
        height: 300px;
    }
    
    .carousel-hero .carousel-caption {
        bottom: 20px;
        left: 10px;
        right: 10px;
        padding: 8px 15px;
    }
    
    .carousel-thumbnails {
        display: none !important;
    }
}

@media (max-width: 576px) {
    .carousel-hero img {
        height: 250px;
    }
    
    .carousel-hero .carousel-control-prev,
    .carousel-hero .carousel-control-next {
        width: 40px;
        height: 40px;
        margin: 0 10px;
    }
}

/* Efeito de foco no carrossel */
@keyframes carousel-focus {
    0% { box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15); }
    50% { box-shadow: 0 25px 50px rgba(var(--primary-rgb), 0.2); }
    100% { box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15); }
}

.carousel-hero {
    animation: carousel-focus 6s ease-in-out infinite;
}