/* =========================================
   1. HERO SLIDER COM ARRASTE HABILITADO
   ========================================= */
.hero-slider { 
    position: relative; 
    width: 100%; 
    overflow: hidden; 
    height: auto; 
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
}

.hero-slider.grabbing {
    cursor: grabbing; /* Mãozinha fechada quando clica */
}

/* Slider Mobile Ajustado */
@media (max-width: 768px) {
    .hero-slider {
        min-height: auto; /* Deixa a altura se adaptar à imagem */
    }
    .slide img.img-mobile {
        width: 100%;
        height: auto; /* Mantém proporção correta */
        object-fit: contain;
        max-height: 80vh; /* Não ocupa mais que 80% da tela vertical */
    }
    
    /* ESCONDER A IMAGEM "SOBRE" NO MOBILE */
    .home-sobre .sobre-img {
        display: none;
    }
    
    .grid-sobre {
        grid-template-columns: 1fr; /* Apenas texto */
        gap: 0;
    }
}

.hero-slider:active { 
    cursor: grabbing; 
}

.slider-container { 
    position: relative; 
    width: 100%; 
    padding: 0; 
}

.slider-wrapper { 
    display: flex; 
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    width: 100%; 
    user-select: none;
    will-change: transform;
}

.slider-wrapper.dragging {
    transition: none;
}

.slide { 
    min-width: 100%; 
    box-sizing: border-box;
    flex-shrink: 0;
}

.slide a {
    display: block;
    width: 100%;
}

.slide img { 
    width: 100%; 
    height: auto; 
    display: block; 
    object-fit: cover;
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
}

.slider-dots { 
    position: absolute; 
    bottom: 30px; 
    left: 50%; 
    transform: translateX(-50%); 
    display: flex; 
    gap: 12px; 
    z-index: 10; 
}

.dot { 
    width: 12px; 
    height: 12px; 
    border-radius: 50%; 
    background-color: rgba(255, 255, 255, 0.5); 
    cursor: pointer; 
    transition: all 0.3s ease; 
    border: 2px solid transparent; 
}

.dot.active { 
    background-color: var(--color-primary); 
    transform: scale(1.3); 
    border-color: white; 
}

.dot:hover {
    background-color: rgba(255, 255, 255, 0.8);
    transform: scale(1.15);
}

/* =========================================
   TÍTULOS PADRONIZADOS (AUMENTADOS)
   ========================================= */
.section-title { 
    margin-bottom: 60px; 
}

.section-title.center { 
    text-align: center; 
}

.section-title h3 { 
    color: var(--color-primary); 
    font-size: 1.3rem;
    text-transform: uppercase; 
    margin-bottom: 15px; 
    font-weight: 700; 
    letter-spacing: 2px; 
}

.section-title h2 { 
    font-size: 2.8rem;
    color: #333; 
    line-height: 1.1; 
    font-weight: 800;
}

.section-title p {
    font-size: 1.2rem;
    color: #666;
    margin-top: 20px;
    line-height: 1.6;
}

/* =========================================
   TEXTURA PADRONIZADA PARA TODAS AS SEÇÕES
   ========================================= */
.home-sobre,
.vantagens,
.como-funciona,
.cta-box,
.depoimentos {
    position: relative;
    background-color: #fafafa;
    background-image: radial-gradient(circle, #e8e8e8 1px, transparent 1px);
    background-size: 25px 25px;
}

.home-sobre::before,
.vantagens::before,
.como-funciona::before,
.cta-box::before,
.depoimentos::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.6);
    z-index: 0;
    pointer-events: none;
}

.home-sobre .container,
.vantagens .container,
.como-funciona .container,
.cta-box > .container,
.depoimentos .container {
    position: relative;
    z-index: 1;
}

/* =========================================
   2. SEÇÃO SOBRE
   ========================================= */
.home-sobre { 
    padding: 100px 0;
}

.grid-sobre { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 80px; 
    align-items: center; 
}

.sobre-text .subtitle { 
    display: block; 
    font-size: 1.3rem; 
    color: var(--color-primary); 
    font-weight: 700; 
    margin-bottom: 20px; 
    text-transform: uppercase; 
    letter-spacing: 2px; 
}

.sobre-text h2 { 
    font-size: 2.8rem; 
    line-height: 1.1; 
    margin-bottom: 35px; 
    color: #333; 
    font-weight: 800; 
}

.sobre-text p { 
    font-size: 1.25rem; 
    line-height: 1.8; 
    color: #555; 
    margin-bottom: 45px; 
}

.img-radius { 
    border-radius: 30px; 
    box-shadow: 0 20px 50px rgba(0,0,0,0.15); 
    width: 100%; 
}

.btn-whatsapp-destaque { 
    display: inline-flex; 
    align-items: center; 
    gap: 12px; 
    background-color: #25d366; 
    color: white !important; 
    font-size: 1.1rem; 
    font-weight: 700; 
    padding: 20px 45px; 
    border-radius: 50px; 
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4); 
    transition: all 0.3s ease; 
    text-transform: uppercase; 
}

.btn-whatsapp-destaque i { 
    font-size: 1.5rem; 
}

.btn-whatsapp-destaque:hover { 
    background-color: #1ebc57; 
    transform: translateY(-5px); 
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.5);
}

/* =========================================
   3. VANTAGENS
   ========================================= */
.vantagens { 
    padding: 80px 0;
}

.grid-cards { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
    gap: 40px; 
}

.service-item { 
    background: white; 
    padding: 50px 35px; 
    border-radius: 30px; 
    border: 1px solid #e5e5e5; 
    transition: 0.3s; 
    position: relative; 
    overflow: hidden; 
}

.icon-box { 
    margin-bottom: 30px; 
} 

.icon-box svg { 
    width: 60px; 
    height: 60px; 
}

.service-content h3 { 
    font-size: 1.5rem; 
    margin-bottom: 20px; 
    color: #333; 
    font-weight: 700; 
}

.service-content p { 
    color: #666; 
    font-size: 1.1rem; 
    line-height: 1.6; 
}

/* =========================================
   4. ACORDEÃO / COMO FUNCIONA
   ========================================= */
.como-funciona { 
    padding: 100px 0; 
}

.grid-funciona { 
    display: grid; 
    grid-template-columns: 1.1fr 0.9fr;
    gap: 80px; 
    align-items: center;
}

.accordion-item {
    background: white; 
    border: 1px solid #eee; 
    border-radius: 12px; 
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03); 
    overflow: hidden;
}

.accordion-header {
    width: 100%; 
    padding: 25px 30px;
    background: white; 
    border: none; 
    text-align: left;
    font-size: 1.25rem;
    font-weight: 700; 
    color: #333;
    display: flex; 
    justify-content: space-between; 
    align-items: center;
    cursor: pointer; 
    font-family: var(--font-primary); 
    transition: 0.3s;
}

.accordion-body { 
    max-height: 0; 
    overflow: hidden; 
    transition: max-height 0.4s ease-out; 
    background-color: #fafafa; 
}

.accordion-content { 
    padding: 30px; 
    border-top: 1px solid #eee; 
}

.accordion-content p { 
    margin: 0; 
    color: #555; 
    font-size: 1.1rem; 
    line-height: 1.7; 
}

.accordion-item.active .accordion-header { 
    color: var(--color-primary); 
    background-color: #f0fdf4; 
}

.accordion-item.active .icon { 
    transform: rotate(180deg); 
    color: var(--color-primary); 
}

.accordion-item.active .accordion-body { 
    max-height: 300px; 
}

.funciona-img { 
    display: flex; 
    justify-content: center; 
    align-items: center; 
}

.funciona-img img { 
    width: 100%; 
    max-width: 500px; 
    height: auto; 
    max-height: 600px; 
    object-fit: cover; 
    object-position: center top; 
    border-radius: 30px; 
    box-shadow: 0 20px 50px rgba(0,0,0,0.15); 
}

/* =========================================
   5. CTA BOX CENTRALIZADO
   ========================================= */
.cta-box { 
    padding: 80px 0;
}

.cta-box > .container { 
    background-color: var(--color-primary); 
    border-radius: 40px;
    padding: 0; 
    overflow: hidden; 
    position: relative; 
    box-shadow: 0 20px 50px rgba(31, 167, 80, 0.3); 
    background-image: linear-gradient(to right, rgba(5, 40, 37, 0.85) 30%, rgba(31, 167, 80, 0.6) 100%), url('https://i.postimg.cc/LX5bqPCg/background-toro.png'); 
    background-size: cover; 
    background-position: center; 
    max-width: 1200px;
    width: 90%;
    margin: 0 auto;
}

/* Remove textura do interior do CTA */
.cta-box > .container::before {
    display: none;
}

.cta-content { 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    min-height: 450px; 
    position: relative;
    z-index: 2;
}

.cta-text { 
    padding: 60px; 
    width: 55%; 
    color: white; 
    z-index: 2; 
    position: relative; 
}

.cta-text h2 { 
    color: white; 
    margin-bottom: 25px; 
    font-size: 3rem; 
    line-height: 1.1; 
}

.cta-text p { 
    color: rgba(255,255,255,0.95); 
    margin-bottom: 40px; 
    font-size: 1.2rem; 
}

.btn-white { 
    background: white; 
    color: var(--color-primary); 
    padding: 18px 45px; 
    border-radius: 50px; 
    font-weight: 700; 
    text-transform: uppercase; 
    display: inline-flex; 
    font-size: 1.1rem; 
    transition: 0.3s; 
    box-shadow: 0 10px 20px rgba(0,0,0,0.1); 
}

.btn-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.cta-img { 
    width: 45%; 
    position: relative; 
    height: 100%; 
    display: flex; 
    align-items: flex-end; 
    justify-content: center; 
    z-index: 1; 
}

.cta-img img { 
    width: 115%; 
    max-width: none; 
    display: block; 
    margin-bottom: -30px; 
    pointer-events: none; 
}

/* =========================================
   6. DEPOIMENTOS
   ========================================= */
.depoimentos { 
    padding: 80px 0;
}

.grid-depoimentos { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); 
    gap: 40px; 
}

.testimonial-item { 
    background: white; 
    padding: 50px 20px; 
    border-radius: 30px; 
    border: 1px solid #e5e5e5; 
    text-align: center; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.05); 
    transition: 0.3s; 
}

.stars { 
    color: #FFB900; 
    margin-bottom: 25px; 
    letter-spacing: 3px; 
    font-size: 1.2rem; 
    display: block; 
}

.testimonial-item p { 
    font-style: italic; 
    color: #555; 
    margin-bottom: 30px; 
    font-size: 1.15rem; 
    line-height: 1.6; 
}

.testimonial-item h4 { 
    color: var(--color-primary); 
    font-weight: 700; 
    margin-bottom: 5px; 
    font-size: 1.2rem; 
}

.testimonial-item span { 
    color: #999; 
    font-size: 0.95rem; 
    display: block; 
}

/* =========================================
   RESPONSIVO
   ========================================= */
@media (max-width: 1200px) {
    .grid-sobre, .grid-funciona { gap: 40px; }
}

@media (max-width: 991px) {
    .grid-sobre, .grid-funciona { 
        grid-template-columns: 1fr; 
        gap: 60px; 
        max-width: 100%; 
    }
    
    .sobre-text h2, .section-title h2 { 
        font-size: 2rem; 
        color: #333;
    }
    
    .cta-content { 
        flex-direction: column; 
        text-align: center; 
    }
    
    .cta-text { 
        width: 100%; 
        padding: 60px 30px 40px; 
    }
    
    .cta-img { 
        width: 90%; 
        margin: 0 auto; 
    }
    
    .cta-img img { 
        width: 100%; 
        margin-bottom: 0; 
    }
    
    .funciona-img { 
        order: -1; 
        margin-bottom: 40px; 
        display: none !important;
    }
}

@media (max-width: 768px) {
    .slider-dots {
        bottom: 15px;
        gap: 8px;
    }
    
    .dot {
        width: 10px;
        height: 10px;
    }
}

/* =========================================
   CONTROLE DE IMAGENS (DESKTOP vs MOBILE)
   ========================================= */

/* Por padrão (Desktop), esconde a imagem mobile */
.img-mobile {
    display: none !important;
}

.img-desktop {
    display: block !important;
    width: 100%;
    height: auto;
    object-fit: cover;
    pointer-events: none; /* Mantém o arraste funcionando */
}

/* Quando a tela for menor que 768px (Celular/Tablet em pé) */
@media (max-width: 768px) {
    .img-desktop {
        display: none !important;
    }

    .img-mobile {
        display: block !important;
        width: 100%;
        height: auto; /* Deixa a altura livre para não cortar o banner vertical */
        object-fit: contain;
        pointer-events: none;
    }
}