/* --- Variáveis de Design (Paleta Capacelmania) --- */
:root {
    --primary-color: #00aae4;
    /* Azul das capas e promoções */
    --accent-color: #e53935;
    /* Vermelho urgente/promoções */
    --bg-color: #f4f6f8;
    /* Cinza claro bem digital */
    --card-bg: #ffffff;
    --text-dark: #202020;
    --text-muted: #666666;
    --border-color: #e0e0e0;
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 8px 15px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 15px 30px rgba(0, 170, 228, 0.2);
    --radius-md: 12px;
    --radius-lg: 20px;
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-dark);
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* --- Typography & Buttons --- */
h1,
h2,
h3,
h4 {
    color: var(--text-dark);
    font-weight: 800;
}

a {
    text-decoration: none;
    color: inherit;
}

.btn-primary,
.btn-secondary,
.btn-whatsapp-header {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-weight: 700;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--text-dark);
    color: white;
}

.btn-primary:hover {
    background: #000;
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

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

.btn-secondary:hover {
    background: #0096cc;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-whatsapp-header {
    background: #25D366;
    color: white;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-whatsapp-header:hover {
    background: #128C7E;
    transform: translateY(-2px);
}

/* --- Navbar --- */
.navbar {
    background: linear-gradient(90deg, #1e293b 0%, #0f172a 100%);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid var(--primary-color);
    padding: 15px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: inline-flex;
    align-items: center;
}

.logo img {
    height: 60px;
    /* Aumentado para melhor visibilidade sem o fundo */
    width: auto;
    object-fit: contain;
}

.links {
    display: flex;
    gap: 20px;
}

.links a {
    font-weight: 600;
    color: #f8fafc;
    transition: color 0.3s;
}

.links a:hover {
    color: var(--primary-color);
}

/* --- Hero Section (Banners) --- */
.hero-slider {
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
    display: block;
}

.banner-link {
    display: block;
    width: 100%;
}

.hero-banner-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    object-position: center;
}

/* --- Filters & Vitrine --- */
.vitrine-section,
.services-section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
    text-transform: uppercase;
}

.section-title p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.category-filters {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.filter-btn {
    background: white;
    border: 1px solid var(--border-color);
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    color: var(--text-muted);
    transition: all 0.3s;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

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

/* --- Product Cards --- */
.product-card {
    background: var(--card-bg);
    border-radius: var(--radius-md);
    padding: 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid transparent;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--primary-color);
}

.product-image {
    height: 180px;
    width: 100%;
    object-fit: contain;
    margin-bottom: 15px;
    border-radius: 8px;
}

.product-cat {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 700;
    margin-bottom: 5px;
    display: block;
}

.product-model {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.product-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.btn-buy {
    display: block;
    width: 100%;
    background: #25D366;
    color: white;
    padding: 12px;
    border-radius: var(--radius-md);
    font-weight: 700;
}

.btn-buy:hover {
    background: #128C7E;
}

/* Skeleton Loader Animation */
.skeleton {
    background: #e0e0e0;
    height: 350px;
    animation: pulse 1.5s infinite;
    border-radius: var(--radius-md);
}

@keyframes pulse {
    0% {
        opacity: 0.6;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.6;
    }
}

/* --- Services Grid --- */
.services-section {
    background: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    padding: 40px 30px;
    text-align: center;
    border-radius: var(--radius-lg);
    background: var(--bg-color);
    transition: all 0.3s;
}

.service-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-card h4 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.service-card:hover {
    background: var(--primary-color);
    color: white;
}

.service-card:hover h4,
.service-card:hover p,
.service-card:hover i {
    color: white;
}

/* --- Social Proof (Depoimentos) --- */
.testimonials-section {
    background-color: var(--card-bg);
    padding: 80px 0;
}

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

.testimonial-card {
    background: var(--bg-color);
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    text-align: left;
    transition: transform 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonial-card .stars {
    color: #ffbc00;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.testimonial-card .review {
    font-style: italic;
    margin-bottom: 20px;
    color: var(--text-dark);
    font-size: 1.05rem;
}

.testimonial-card .author strong {
    display: block;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.testimonial-card .author span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* --- FAQ Section --- */
.faq-section {
    background-color: var(--bg-color);
    padding: 80px 0;
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: var(--card-bg);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.faq-item summary {
    padding: 20px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    color: var(--text-dark);
    list-style: none;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '\f078';
    font-family: 'FontAwesome';
    color: var(--primary-color);
    transition: transform 0.3s;
}

.faq-item[open] summary::after {
    transform: rotate(180deg);
}

.faq-item p {
    padding: 0 20px 20px 20px;
    color: var(--text-muted);
    border-top: 1px solid var(--border-color);
    margin-top: 10px;
    padding-top: 20px;
}

/* --- Lead Magnet (CTA Final) --- */
.lead-magnet-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0077a3 100%);
    padding: 80px 0;
    text-align: center;
    color: white;
}

.lead-magnet-content h2 {
    color: white;
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 15px;
}

.lead-magnet-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.btn-giant-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #25D366;
    color: white;
    padding: 18px 40px;
    font-size: 1.3rem;
    font-weight: 800;
    border-radius: 50px;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.5);
    transition: all 0.3s ease;
    text-transform: uppercase;
    text-decoration: none;
}

.btn-giant-whatsapp:hover {
    background: #fff;
    color: #25D366;
    transform: translateY(-5px) scale(1.05);
}

/* --- Footer --- */
footer {
    background: linear-gradient(90deg, #1e293b 0%, #0f172a 100%);
    color: #f8fafc;
    padding: 60px 0 20px;
    border-top: 3px solid var(--primary-color);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-brand h2 span {
    color: var(--primary-color);
}

.footer-links h4 {
    color: #ffffff;
    margin-bottom: 15px;
}

.footer-brand p,
.footer-links p {
    margin-top: 10px;
    color: #cbd5e1;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #334155;
    padding-top: 20px;
    color: #94a3b8;
    font-size: 0.9rem;
}

/* --- Floating Button --- */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.4);
    transition: transform 0.3s;
    z-index: 100;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
}

/* --- Responsive --- */
@media(max-width: 768px) {
    .nav-content {
        flex-direction: column;
        gap: 15px;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-text h2 {
        font-size: 2.5rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
}