/* loja/css/index.css */
/* ============================================
   INDEX CSS - QUALIFLEX
   Cores: Laranja #ea4819 | Preto #000000
   ============================================ */

/* ============================================
   HERO SECTION - CAROUSEL COM IMAGEM DIRETA
   ============================================ */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 500px;
    max-height: 800px;
    overflow: hidden;
    background: #ffffff;
}

#carouselBanners {
    width: 100%;
    height: 100%;
}

#carouselBanners .carousel-inner {
    height: 100%;
}

.hero-slide {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* IMAGEM - OCUPA 100% DO SLIDE */
.hero-banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
}

/* OVERLAY DE TEXTO - SOBREPOSTO À IMAGEM */
.hero-overlay-text {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    display: flex;
    align-items: center;
}

/* Conteúdo do texto */
.hero-content {
    width: 100%;
    height: 100%;
    min-height: 500px;
}

.hero-text {
    padding: 20px 40px;
    max-width: 700px;
}

.hero-text .badge-hero {
    background: rgba(234, 72, 25, 0.12);
    color: #ea4819;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 20px;
    border: 1px solid rgba(234, 72, 25, 0.25);
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    text-shadow: 0 2px 20px rgba(255,255,255,0.3);
}

.hero-text h1 .highlight {
    color: #ea4819;
}

.hero-text p {
    color: #000000;
    font-size: 1.15rem;
    max-width: 520px;
    line-height: 1.7;
    margin-bottom: 30px;
    text-shadow: 0 1px 10px rgba(255,255,255,0.2);
    font-weight: 600;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-buttons .btn {
    padding: 14px 36px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.hero-buttons .btn-primary {
    background: #ea4819;
    border-color: #ea4819;
    color: #fff;
    box-shadow: 0 4px 25px rgba(234, 72, 25, 0.3);
}

.hero-buttons .btn-primary:hover {
    background: #c73d15;
    border-color: #c73d15;
    transform: translateY(-3px);
    box-shadow: 0 8px 35px rgba(234, 72, 25, 0.5);
}

.hero-buttons .btn-outline-primary {
    border-color: #ea4819;
    color: #ea4819;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(4px);
}

.hero-buttons .btn-outline-primary:hover {
    background: #ea4819;
    color: #fff;
    transform: translateY(-3px);
}

/* ============================================
   INDICADORES DO CAROUSEL
   ============================================ */
#carouselBanners .carousel-indicators {
    z-index: 3;
    bottom: 30px;
}

#carouselBanners .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #ea4819;
    background: transparent;
    margin: 0 6px;
    transition: all 0.3s ease;
}

#carouselBanners .carousel-indicators button.active {
    background: #ea4819;
    border-color: #ea4819;
    transform: scale(1.2);
}

/* ============================================
   CONTROLES DO CAROUSEL
   ============================================ */
#carouselBanners .carousel-control-prev,
#carouselBanners .carousel-control-next {
    z-index: 3;
    width: 5%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hero-section:hover #carouselBanners .carousel-control-prev,
.hero-section:hover #carouselBanners .carousel-control-next {
    opacity: 1;
}

#carouselBanners .carousel-control-prev-icon,
#carouselBanners .carousel-control-next-icon {
    background-color: rgba(234, 72, 25, 0.6);
    border-radius: 50%;
    padding: 25px;
    background-size: 50% 50%;
    transition: all 0.3s ease;
}

#carouselBanners .carousel-control-prev-icon:hover,
#carouselBanners .carousel-control-next-icon:hover {
    background-color: #ea4819;
    transform: scale(1.1);
}

/* ============================================
   ANIMAÇÃO DO CAROUSEL (FADE)
   ============================================ */
#carouselBanners .carousel-item {
    transition: transform 0.8s ease, opacity 0.8s ease;
}

.carousel-fade .carousel-item {
    opacity: 0;
    transition-duration: .8s;
    transition-property: opacity;
}

.carousel-fade .carousel-item.active,
.carousel-fade .carousel-item-next.carousel-item-start,
.carousel-fade .carousel-item-prev.carousel-item-end {
    opacity: 1;
}

.carousel-fade .active.carousel-item-start,
.carousel-fade .active.carousel-item-end {
    opacity: 0;
}

.carousel-fade .carousel-item-next,
.carousel-fade .carousel-item-prev,
.carousel-fade .carousel-item.active,
.carousel-fade .active.carousel-item-start,
.carousel-fade .active.carousel-item-prev {
    transform: none;
}

/* ============================================
   RESPONSIVO - HERO
   ============================================ */
@media (max-width: 991px) {
    .hero-section {
        height: 80vh;
        min-height: 450px;
        max-height: 650px;
    }
    
    .hero-text h1 {
        font-size: 2.8rem;
    }
    
    .hero-text {
        padding: 20px 30px;
        max-width: 100%;
    }
}

@media (max-width: 767px) {
    .hero-section {
        height: 70vh;
        min-height: 400px;
        max-height: 500px;
    }
    
    .hero-text h1 {
        font-size: 2.2rem;
    }
    
    .hero-text p {
        font-size: 1rem;
        max-width: 100%;
    }
    
    .hero-text {
        padding: 15px 20px;
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-buttons .btn {
        padding: 12px 28px;
        font-size: 0.9rem;
    }
}

@media (max-width: 575px) {
    .hero-section {
        height: 60vh;
        min-height: 350px;
        max-height: 450px;
    }
    
    .hero-text h1 {
        font-size: 1.7rem;
    }
    
    .hero-text .badge-hero {
        font-size: 0.7rem;
        padding: 4px 14px;
        margin-bottom: 12px;
    }
    
    .hero-text p {
        font-size: 0.9rem;
    }
    
    .hero-buttons .btn {
        padding: 10px 20px;
        font-size: 0.8rem;
        width: 100%;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    #carouselBanners .carousel-indicators button {
        width: 8px;
        height: 8px;
        margin: 0 4px;
    }
}

/* ============================================
   DEMAIS SEÇÕES - CORES PRETO E LARANJA
   ============================================ */
.section-header {
    margin-bottom: 48px;
}

.section-header .subtitle {
    color: #ea4819;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    display: block;
}

.section-header h2 {
    font-size: 2.4rem;
    font-weight: 700;
    color: #000000;
    margin-top: 8px;
}

.section-header p {
    color: #6c757d;
    max-width: 500px;
    margin: 10px auto 0;
}

/* Services */
.services-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.service-card {
    background: #fff;
    padding: 32px 24px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    height: 100%;
    border: 1px solid #f0f0f0;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(234, 72, 25, 0.12);
    border-color: rgba(234, 72, 25, 0.2);
}

.service-icon {
    width: 64px;
    height: 64px;
    background: rgba(234, 72, 25, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 1.6rem;
    color: #ea4819;
}

.service-card h5 {
    font-weight: 700;
    font-size: 1rem;
    color: #000000;
}

.service-card p {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 0;
}

/* Products */
.products-section {
    padding: 80px 0;
}

.categories-tabs {
    margin-bottom: 40px;
}

.categories-tabs .nav-pills .nav-link {
    border-radius: 50px;
    padding: 10px 24px;
    color: #383a3e;
    font-weight: 500;
    font-size: 0.9rem;
    border: 1px solid #e8e8e8;
    background: #fff;
    transition: all 0.3s ease;
}

.categories-tabs .nav-pills .nav-link.active {
    background: #ea4819;
    color: #fff;
    border-color: #ea4819;
}

.categories-tabs .nav-pills .nav-link:hover:not(.active) {
    background: #fef0ed;
    border-color: #ea4819;
}

.categories-tabs .nav-pills .nav-link img {
    vertical-align: middle;
    width: 20px;
    height: 20px;
    object-fit: cover;
    border-radius: 4px;
    margin-right: 6px;
}

.product-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid #f0f0f0;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}

.product-image {
    position: relative;
    overflow: hidden;
    background: #f8f9fa;
    padding-top: 10px;
}

.product-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.03);
}

.product-category {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(234, 72, 25, 0.85);
    color: #fff;
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 500;
}

.badge-detalhes {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(234, 72, 25, 0.9);
    color: #fff;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.65rem;
    font-weight: 600;
}

.product-info {
    padding: 16px 20px 20px;
}

.product-info h5 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 44px;
}

.product-desc {
    font-size: 0.8rem;
    color: #6c757d;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 38px;
}

.product-actions {
    display: flex;
    gap: 8px;
}

.product-actions .btn {
    flex: 1;
    font-size: 0.8rem;
    padding: 6px 12px;
    border-radius: 8px;
}

.product-actions .btn-outline-primary {
    color: #ea4819;
    border-color: #ea4819;
}

.product-actions .btn-outline-primary:hover {
    background: #ea4819;
    color: #fff;
}

.product-actions .btn-primary {
    background: #ea4819;
    border-color: #ea4819;
}

.product-actions .btn-primary:hover {
    background: #c73d15;
    border-color: #c73d15;
}

/* Testimonials */
.testimonials-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.testimonial-card {
    background: #fff;
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    border: 1px solid #f0f0f0;
    height: 100%;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}

.testimonial-rating {
    margin-bottom: 12px;
}

.testimonial-rating i {
    font-size: 0.9rem;
}

.testimonial-rating .text-warning {
    color: #f4a100 !important;
}

.testimonial-text {
    color: #495057;
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 16px;
}

.testimonial-author {
    border-top: 1px solid #f0f0f0;
    padding-top: 12px;
    display: flex;
    flex-direction: column;
}

.testimonial-author strong {
    color: #000000;
}

.testimonial-author span {
    font-size: 0.85rem;
    color: #6c757d;
}

.testimonial-author small {
    font-size: 0.8rem;
    color: #ea4819;
}

/* Clients */
.clients-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.clients-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 40px 60px;
}

.client-logo {
    opacity: 0.6;
    transition: opacity 0.3s;
    filter: grayscale(1);
}

.client-logo:hover {
    opacity: 1;
    filter: grayscale(0);
}

.client-logo img {
    max-height: 50px;
    width: auto;
}

/* About */
.about-section {
    padding: 80px 0;
}

.about-section .subtitle {
    color: #ea4819;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.about-section h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #000000;
    margin: 12px 0 20px;
}

.about-section p {
    color: #383a3e;
    line-height: 1.8;
}

.about-buttons {
    margin-top: 24px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.about-buttons .btn-primary {
    background: #ea4819;
    border-color: #ea4819;
    border-radius: 50px;
    padding: 10px 30px;
    font-weight: 600;
}

.about-buttons .btn-primary:hover {
    background: #c73d15;
    border-color: #c73d15;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(234, 72, 25, 0.3);
}

.about-buttons .btn-outline-primary {
    color: #ea4819;
    border-color: #ea4819;
    border-radius: 50px;
    padding: 10px 30px;
    font-weight: 600;
}

.about-buttons .btn-outline-primary:hover {
    background: #ea4819;
    color: #fff;
}

.about-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

/* FAQ */
.faq-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.accordion-item {
    border: 1px solid #e8e8e8;
    margin-bottom: 8px;
    border-radius: 12px !important;
    overflow: hidden;
}

.accordion-button {
    padding: 16px 20px;
    font-weight: 600;
    color: #000000;
    background: #fff;
}

.accordion-button:not(.collapsed) {
    background: rgba(234, 72, 25, 0.05);
    color: #ea4819;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: #ea4819;
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ea4819'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-body {
    color: #383a3e;
    line-height: 1.8;
    background: #fff;
}

/* Contact */
.contact-section {
    padding: 80px 0;
    background: #0d0d1a;
    color: #fff;
}

.contact-section .subtitle {
    color: #ea4819;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.contact-section h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin: 12px 0 20px;
}

.contact-section p {
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
}

.contact-details {
    margin-top: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-item i {
    width: 40px;
    height: 40px;
    background: rgba(234, 72, 25, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ea4819;
    font-size: 1rem;
}

.contact-item strong {
    display: block;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
    font-weight: 500;
}

.contact-item span {
    color: #fff;
}

.contact-form-card {
    background: #1a1a2e;
    padding: 32px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.06);
}

.contact-form-card .form-label {
    color: rgba(255,255,255,0.7);
    font-size: 0.85rem;
}

.contact-form-card .form-control,
.contact-form-card .form-select {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff;
    border-radius: 8px;
    padding: 12px 16px;
}

.contact-form-card .form-control:focus,
.contact-form-card .form-select:focus {
    background: rgba(255,255,255,0.08);
    border-color: #ea4819;
    box-shadow: 0 0 0 3px rgba(234, 72, 25, 0.2);
}

.contact-form-card .form-control::placeholder {
    color: rgba(255,255,255,0.3);
}

.contact-form-card .btn-primary {
    background: #ea4819;
    border-color: #ea4819;
    padding: 14px;
    font-weight: 600;
    border-radius: 50px;
}

.contact-form-card .btn-primary:hover {
    background: #c73d15;
    border-color: #c73d15;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(234, 72, 25, 0.4);
}

/* ============================================
   RESPONSIVO - DEMAIS SEÇÕES
   ============================================ */
@media (max-width: 991px) {
    .section-header h2 {
        font-size: 2rem;
    }
    
    .about-section h2 {
        font-size: 1.8rem;
    }
    
    .contact-section h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 767px) {
    .service-card {
        padding: 24px 16px;
    }
    
    .product-image img {
        height: 160px;
    }
    
    .contact-form-card {
        padding: 20px;
        margin-top: 20px;
    }
    
    .clients-logos {
        gap: 20px 30px;
    }
}

@media (max-width: 575px) {
    .section-header h2 {
        font-size: 1.6rem;
    }
    
    .categories-tabs .nav-pills .nav-link {
        padding: 6px 14px;
        font-size: 0.75rem;
    }
    
    .product-actions {
        flex-direction: column;
    }
    
    .about-section h2 {
        font-size: 1.6rem;
    }
    
    .contact-section h2 {
        font-size: 1.6rem;
    }
}