/* ==========================================================================
   1. CONFIGURAÇÕES GLOBAIS E VARIÁVEIS
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Arimo:wght@400;700&family=Lora:wght@400;700&family=Poppins:wght@300;400;600;700&family=Bebas+Neue&display=swap');

:root {
    --main-color: #027bb8;
    --main-color-hover: #36ace7;
    --gray-color: #575757;
    --light-bg: #F6F9FE;
    --dark-footer: #0b0c10;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    max-width: 1920px;
    min-width: 260px; /* Suporte para telas muito pequenas */
    font-size: 16px;
    font-family: 'Lora', serif;
    color: var(--gray-color);
    overflow-x: hidden;
}

/* Tipografia e Resets */
h1, h2, h3, h4, h5 { font-family: 'Poppins', sans-serif; }
p { font-family: 'Arimo', sans-serif; margin: 0; }
a { text-decoration: none; transition: 0.3s; }
li { list-style: none; }

/* ==========================================================================
   2. CLASSES UTILITÁRIAS
   ========================================================================== */
.bg-main-color { background: linear-gradient(90deg, var(--main-color), #42afe6); }
.custom-gray-color { color: var(--gray-color); }
.w-fit { width: fit-content; }

.transition { transition: all 0.3s ease; }
.transition:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.15) !important;
}

/* Animações */
.floating-animation { animation: float 6s ease-in-out infinite; }

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* ==========================================================================
   3. NAVEGAÇÃO E HEADER
   ========================================================================== */
nav { transition: background-color 0.3s ease; height: 70px; }
.navbar .nav-item.dropdown:hover .dropdown-menu { display: block; }
.logo-text { font-size: 15px; font-family: 'Poppins', sans-serif; font-weight: 600; }
.img-logo { width: 100%; height: 100%; }

/* ==========================================================================
   4. SEÇÃO PRINCIPAL (HERO)
   ========================================================================== */
.main-title { font-family: 'Bebas Neue', sans-serif !important; letter-spacing: 2px; }

.bg-circle-decoration {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 80%; height: 80%;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
    z-index: 1;
}

/* ==========================================================================
   5. SEÇÃO DE SERVIÇOS
   ========================================================================== */
.container-servicos .card { border-top: 4px solid var(--main-color) !important; }
.container-servicos .card-body { padding: 2rem 1.5rem !important; }
.container-servicos .card-title { color: var(--main-color); margin-bottom: 15px; }
.container-servicos .btn.bg-main-color {
    border: none; padding: 8px 20px;
    font-size: 13px; font-weight: 600; letter-spacing: 1px;
}

/* ==========================================================================
   6. SEÇÃO PARCEIROS E CLIENTES (ESTILO CARROSSEL)
   ========================================================================== */
.img-partner {
    max-width: 140px;
    max-height: 80px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.4s ease;
    cursor: pointer;
}

.img-partner:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

/* Wrapper para Clientes com Nome */
.cliente-item-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 120px;
}

.cliente-name-hover {
    display: block;
    margin-top: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    color: var(--main-color);
    opacity: 0;
    transform: translateY(5px);
    transition: all 0.3s ease;
    text-align: center;
}

.cliente-item-wrapper:hover .cliente-name-hover {
    opacity: 1;
    transform: translateY(0);
}




/* Ajuste Controles Carrossel */
#carouselParceiros .carousel-control-prev,
#carouselParceiros .carousel-control-next,
#carouselClientes .carousel-control-prev,
#carouselClientes .carousel-control-next {
    width: 5%;
}

/* ==========================================================================
   7. SEÇÃO CONTATO
   ========================================================================== */
.contact-box { background-color: #ffffff; transition: transform 0.3s ease; }
.contact-box:hover { transform: scale(1.02); }

.btn-whatsapp-premium {
    padding: 18px 30px;
    border-radius: 50px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: none;
}

.btn-whatsapp-premium:hover {
    transform: translateY(-3px);
    background-color: #25d366;
}

.social-icon {
    width: 45px; height: 45px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: #f8f9fa;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--main-color);
    color: white;
    transform: rotate(10deg);
}

/* ==========================================================================
   8. RODAPÉ E WHATSAPP FLUTUANTE
   ========================================================================== */

.footer-links a:hover { color: var(--main-color) !important; padding-left: 5px; }

.btn-wpp-floating {
    position: fixed;
    bottom: 20px; right: 20px;
    width: 55px; height: 55px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 28px;
    z-index: 1000;
    transition: all 0.3s ease;
}

.btn-wpp-floating::before {
    content: "";
    position: absolute;
    width: 100%; height: 100%;
    background-color: #25d366;
    border-radius: 50%;
    z-index: -1;
    animation: pulse-wpp 2s infinite;
}

@keyframes pulse-wpp {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(1.6); opacity: 0; }
}

/* ==========================================================================
   9. MEDIA QUERIES (RESPONSIVIDADE)
   ========================================================================== */

/* Ajustes para telas MUITO pequenas (300px) */
@media (max-width: 350px) {
    .main-title { font-size: 1.8rem !important; }
    .img-partner { max-width: 80px; }
    .cliente-item-wrapper { min-width: 90px; }
    .cliente-name-hover { font-size: 0.7rem; }
    .display-6 { font-size: 1.5rem; }
    .carousel-item .gap-4 { gap: 1rem !important; }
}

/* Smartphones pequenos e médios */
@media (max-width: 576px) {
    .img-partner { max-width: 100px; max-height: 60px; }
    .container-principal { padding-top: 2rem !important; }
    .btn-wpp-floating { width: 50px; height: 50px; bottom: 15px; right: 15px; }
}

/* Tablets e Mobile Landscape */
@media (max-width: 991px) {
    .container-sobre, .container-clientes { text-align: center; }
    .container-sobre .row.g-3 div, 
    .container-clientes .d-flex { justify-content: center !important; }
    .main-title { font-size: 2.2rem; }
    
    .container-principal > div > .container-principal-left{
          text-align: center !important;
        display: flex;
        flex-direction: column;
        align-items: center;
      }

      .container-principal-left > div > a{
        width: 80%;
        margin: auto;
      }
    
    /* Garante que o carrossel de clientes não quebre em telas menores */
    .carousel-item .d-flex {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    .hero-section-main-img{
        display: none;
    }


}

/* Ajustes de Desktop */
@media (min-width: 768px) {
    .logo-text { font-size: 18px; }
}

@media (min-width: 992px) {
    .main-title { font-size: 3.5rem; }
}