/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    height: 100%;
    font-family: 'Segoe UI', sans-serif;
}

/* Seção Hero */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

/* Vídeo de fundo */
.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

/* Escurecer vídeo */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: -1;
}

/* Conteúdo principal */
.hero-content {
    max-width: 800px;
    padding: 0 20px;
    z-index: 1;
}

.hero-title {
    font-size: 3rem;
    background: linear-gradient(90deg, #00f7ff, #ff00c8, #00f7ff);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 4s linear infinite;
}

@keyframes shine {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-top: 1rem;
    color: #ddd;
}

.hero-buttons {
    margin-top: 2rem;
}

.btn {
    padding: 12px 24px;
    text-decoration: none;
    font-size: 1rem;
    border-radius: 4px;
    margin: 0 10px;
    transition: 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background-color: #00f7ff;
    color: black;
    border: none;
}

.btn-primary:hover {
    background-color: #00c3cc;
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline:hover {
    background: white;
    color: black;
}

/* Responsividade para mobile */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
        margin: 8px 5px;
    }
}


.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

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

/* Features Section */
.features-section {
    padding: 80px 0;
    background-color: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background: white;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--dark);
}

.feature-card p {
    color: var(--gray);
    font-size: 0.95rem;
}

/* Products Section - Estilos Atualizados */
.products-section {
    padding: 80px 0;
    background-color: var(--light);
}

.products-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.section-subtitle {
    font-size: 1.5rem;
    color: var(--dark);
    margin-bottom: 5px;
}

.products-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 8px 15px;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    font-weight: 600;
    color: var(--gray);
    transition: all 0.3s ease;
}

.tab-btn.active, .tab-btn:hover {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

/* Estilos Consistente para Produtos */
.product-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid #e0e0e0;
}

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

.product-card-img {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.product-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.product-actions {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-actions {
    opacity: 1;
}

.action-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: white;
    border: none;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.action-btn:hover {
    background: var(--primary);
    color: white;
}

.card-body {
    padding: 20px;
}

.product-card-category {
    display: block;
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 5px;
}

.product-card-title {
    font-size: 1.1rem;
    margin: 0 0 8px;
    color: #333;
}

.product-card-desc {
    font-size: 0.9rem;
    color: #666;
    margin: 0 0 10px;
    min-height: 40px;
}

.product-card-price {
    margin: 10px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.current-price {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--primary);
}

.old-price {
    font-size: 0.9rem;
    color: #999;
    text-decoration: line-through;
}

.product-rating {
    color: #ffc107;
    margin: 8px 0;
    font-size: 0.9rem;
}

.btn-add-to-cart {
    width: 100%;
    padding: 10px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-add-to-cart:hover {
    background: var(--primary-dark);
}

.btn-add-to-cart.added {
    background: #28a745;
}

/* Popup de notificação */
.notification-popup {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #28a745;
    color: white;
    padding: 15px 20px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 1000;
}

.notification-popup.show {
    transform: translateY(0);
    opacity: 1;
}

.notification-popup i {
    margin-right: 10px;
    font-size: 20px;
}

.close-popup {
    margin-left: 15px;
    cursor: pointer;
    font-size: 18px;
}

/* Brands Section */
.brands-section {
    padding: 60px 0;
    background-color: white;
}

.brands-slider {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 40px;
}

.brand-item {
    flex: 0 0 calc(20% - 30px);
    min-width: 150px;
    opacity: 0.7;
    transition: all 0.3s ease;
    filter: grayscale(100%);
}

.brand-item:hover {
    opacity: 1;
    filter: grayscale(0);
}

.brand-item img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* =============================================
   CARROSSEL DE DEPOIMENTOS - HOME
   ============================================= */

.testimonials-section {
    padding: 5rem 0;
    background: linear-gradient(rgba(0, 86, 179, 0.9), rgba(0, 86, 179, 0.9)), url('../img/testimonials-bg.jpg') center/cover no-repeat;
    color: white;
    position: relative;
}

.testimonials-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.testimonials-slider {
    position: relative;
    height: 350px;
    overflow: hidden;
}

.testimonial-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    opacity: 0;
    transition: all 0.5s ease;
}

.testimonial-slide.active {
    opacity: 1;
}

.testimonial-content {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    position: relative;
    font-style: italic;
}

.testimonial-content:before,
.testimonial-content:after {
    content: '"';
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.2);
    position: absolute;
    font-family: serif;
}

.testimonial-content:before {
    top: -1.5rem;
    left: -1rem;
}

.testimonial-content:after {
    bottom: -2.5rem;
    right: -1rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.author-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid white;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info {
    text-align: left;
}

.author-name {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.author-role {
    font-size: 0.9rem;
    opacity: 0.8;
}

.testimonial-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.testimonial-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonial-dot.active {
    background-color: white;
    transform: scale(1.2);
}

.testimonial-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    z-index: 10;
}

.testimonial-arrow:hover {
    background: rgba(255, 255, 255, 0.4);
}

.testimonial-arrow.prev {
    left: 1rem;
}

.testimonial-arrow.next {
    right: 1rem;
}

@media (max-width: 768px) {
    .testimonials-slider {
        height: 400px;
    }
    
    .testimonial-author {
        flex-direction: column;
        text-align: center;
    }
    
    .testimonial-arrow {
        width: 30px;
        height: 30px;
        font-size: 1rem;
    }
}

/* Newsletter Section */
.newsletter-section {
    padding: 80px 0;
    background-color: white;
}

.newsletter-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-form {
    display: flex;
    max-width: 600px;
    margin: 30px auto 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 50px;
    overflow: hidden;
}

.newsletter-input {
    flex: 1;
    padding: 15px 25px;
    border: none;
    outline: none;
    font-size: 1rem;
}

.newsletter-btn {
    padding: 15px 30px;
    background-color: var(--primary);
    color: white;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-btn:hover {
    background-color: var(--primary-dark);
}


@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }
    
    .brand-item {
        flex: 0 0 calc(33.333% - 20px);
    }
    
    .product-actions {
        opacity: 1; /* Mostrar sempre em mobile */
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .product-card {
        max-width: 320px;
        margin: 0 auto;
    }
}

