/* --- VARIABLES & RESET --- */
:root {
    --primary-color: #764ba2;
    --secondary-color: #667eea;
    --accent-color: #a78bfa;
    --bg-dark: #0f172a;
    --bg-darker: #020617;
    --bg-card: #1e293b;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --gradient: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    --font-main: 'Inter', sans-serif;
    --transition: all 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* --- UTILITIES --- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    border: none;
    font-family: inherit;
}
.btn-primary {
    background: var(--gradient);
    color: white;
    box-shadow: 0 4px 15px rgba(118, 75, 162, 0.4);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(118, 75, 162, 0.6); }
.btn-outline { border: 2px solid var(--primary-color); color: var(--text-main); background: transparent; }
.btn-outline:hover { background: var(--primary-color); color: white; }
.btn-sm { padding: 8px 20px; font-size: 0.9rem; }
.btn-lg { padding: 16px 40px; font-size: 1.1rem; }
.full-width { width: 100%; }

/* --- HEADER --- */
header {
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.header-content { display: flex; justify-content: space-between; align-items: center; height: 80px; }
.logo { font-size: 1.5rem; font-weight: 700; letter-spacing: -1px; }
.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a:not(.btn), .nav-links button:not(.btn) { color: var(--text-muted); font-size: 0.95rem; transition: var(--transition); }
.nav-links a:not(.btn):hover { color: var(--accent-color); }
.hamburger { display: none; font-size: 1.5rem; cursor: pointer; }

/* --- HERO SECTION --- */
.hero {
    padding: 160px 0 100px;
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at top right, rgba(118, 75, 162, 0.15), transparent 40%);
}
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.hero-text h1 { font-size: 3.5rem; line-height: 1.1; margin-bottom: 20px; }
.hero-text p { font-size: 1.1rem; color: var(--text-muted); margin-bottom: 30px; max-width: 90%; }
.cta-group { display: flex; align-items: center; gap: 20px; }
.trust-badge { font-size: 0.9rem; color: var(--text-muted); display: flex; align-items: center; gap: 8px; }
.hero-image img { border-radius: 20px; box-shadow: 0 20px 50px rgba(0,0,0,0.5); border: 1px solid rgba(255,255,255,0.1); }

/* --- SECTIONS --- */
.section { padding: 80px 0; }
.bg-darker { background-color: var(--bg-darker); }
.section-header { text-align: center; margin-bottom: 60px; max-width: 700px; margin-left: auto; margin-right: auto; }
.section-header h2 { font-size: 2.5rem; margin-bottom: 15px; }
.section-header p { color: var(--text-muted); }

/* --- CARDS & GRID --- */
.benefits-grid, .products-grid, .testimonials-grid { display: grid; gap: 30px; }
.benefits-grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.products-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.testimonials-grid { grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); }

.benefit-card, .testimonial-card {
    background: var(--bg-card); padding: 40px; border-radius: 16px; transition: var(--transition); border: 1px solid rgba(255,255,255,0.05);
}
.benefit-card:hover { transform: translateY(-10px); border-color: var(--primary-color); }
.icon-box { font-size: 2rem; color: var(--accent-color); margin-bottom: 20px; }

/* --- PRODUCT CARD (WITH IMAGE FIX) --- */
.product-card {
    background: var(--bg-card); border-radius: 16px; overflow: hidden; border: 1px solid rgba(255,255,255,0.05); transition: var(--transition);
}
.product-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.3); }

/* === FIX IMAGEM === */
.product-img {
    width: 100%;
    height: 250px; /* Altura fixa */
    overflow: hidden;
    background-color: rgba(255,255,255,0.02);
}
.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Garante o preenchimento sem distorção */
    transition: transform 0.5s ease;
}
.product-card:hover .product-img img { transform: scale(1.1); }
/* ================== */

.product-info { padding: 25px; }
.product-info h3 { font-size: 1.2rem; margin-bottom: 10px; }
.price { margin-bottom: 20px; display: flex; align-items: baseline; gap: 10px; }
.price span { font-size: 1.25rem; font-weight: 700; color: var(--accent-color); }
.price small { color: var(--text-muted); font-size: 0.9rem; }

/* Testimonials */
.testimonial-card p { font-style: italic; margin-bottom: 20px; color: var(--text-muted); }
.author { display: flex; align-items: center; gap: 15px; }
.author img { border-radius: 50%; }

/* --- FOOTER --- */
footer { background: var(--bg-darker); padding: 80px 0 30px; border-top: 1px solid rgba(255,255,255,0.05); }
.footer-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; margin-bottom: 60px; }
.footer-links ul li { margin-bottom: 10px; }
.footer-links a { color: var(--text-muted); transition: var(--transition); }
.footer-links a:hover { color: var(--primary-color); }
.social-icons { display: flex; gap: 15px; }
.social-icons a { width: 40px; height: 40px; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; border-radius: 50%; transition: var(--transition); }
.social-icons a:hover { background: var(--primary-color); }
.copyright { text-align: center; color: var(--text-muted); font-size: 0.9rem; padding-top: 30px; border-top: 1px solid rgba(255,255,255,0.05); }

/* --- ANIMATIONS --- */
.scroll-reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s ease; }
.scroll-reveal.visible { opacity: 1; transform: translateY(0); }
.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .header-content { height: 60px; }
    .hamburger { display: block; }
    .nav-links { position: fixed; top: 60px; right: -100%; width: 100%; height: calc(100vh - 60px); background: var(--bg-dark); flex-direction: column; justify-content: center; transition: var(--transition); border-top: 1px solid rgba(255,255,255,0.05); }
    .nav-links.active { right: 0; }
    .hero-grid { grid-template-columns: 1fr; text-align: center; gap: 40px; }
    .hero { padding-top: 120px; }
    .hero-text h1 { font-size: 2.5rem; }
    .cta-group { justify-content: center; flex-direction: column; }
    .hero-image { order: -1; }
}