/* ==========================================================================
   Variaveis & Resets
   ========================================================================== */
:root {
    --primary-color: #0F172A;
    --secondary-color: #E0F2FE;
    --text-color: #1F2937;
    --text-light: #64748B;
    --bg-color: #FFFFFF;
    --bg-light: #F8FAFC;
    --whatsapp-color: #25D366;
    --whatsapp-hover: #1ebd5a;
    --accent-color: #0EA5E9;
    --danger-color: #e74c3c;

    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;

    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);
    --radius: 8px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================================================
   Tipografia
   ========================================================================== */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    line-height: 1.2;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-header p {
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ==========================================================================
   Botões
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 28px;
    font-weight: 600;
    font-size: 1rem;
    border-radius: var(--radius);
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn:hover {
    transform: translateY(-3px);
}

.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
}

.btn-primary:hover {
    background-color: #333;
    box-shadow: var(--shadow-md);
}

.btn-whatsapp,
.btn-buy {
    background-color: var(--whatsapp-color);
    color: #fff;
}

.btn-whatsapp:hover,
.btn-buy:hover {
    background-color: var(--whatsapp-hover);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
}

.btn-outline {
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 8px 20px;
    font-weight: 500;
    border-radius: var(--radius);
    transition: var(--transition);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: #fff;
}

.btn-whatsapp-large {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 40px;
    font-size: 1.2rem;
    font-weight: 600;
    background-color: var(--whatsapp-color);
    color: #fff;
    border-radius: 50px;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp-large:hover {
    background-color: var(--whatsapp-hover);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.4);
}

.btn-buy {
    width: 100%;
    margin-top: 15px;
    padding: 12px;
    font-size: 0.95rem;
}

/* ==========================================================================
   Navbar
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 0;
    box-shadow: 0 1px 10px rgba(0, 0, 0, 0.05);
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    position: relative;
    height: 90vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    background-image: url('https://images.unsplash.com/photo-1489987707023-af843ce6e39c?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding-top: 80px;
    /* Offset navbar */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.2) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    max-width: 600px;
}

.hero-content .subtitle {
    display: inline-block;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    color: var(--secondary-color);
    font-weight: 500;
}

.hero-content h1 {
    color: #fff;
    font-size: 4rem;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.15rem;
    margin-bottom: 35px;
    color: #f4ede4;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
}

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

/* ==========================================================================
   Benefícios
   ========================================================================== */
.benefits {
    padding: 60px 0;
    background-color: var(--bg-light);
    border-bottom: 1px solid #eee;
}

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

.benefit-item {
    text-align: center;
    padding: 20px;
}

.icon-box {
    width: 60px;
    height: 60px;
    background-color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
    color: var(--accent-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.benefit-item:hover .icon-box {
    transform: scale(1.1);
    color: var(--primary-color);
}

.benefit-item h3 {
    font-family: var(--font-body);
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.benefit-item p {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* ==========================================================================
   Produtos
   ========================================================================== */
.products {
    padding: 100px 0;
}

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

.card {
    background-color: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid #f0f0f0;
}

.card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.card-image {
    position: relative;
    padding-top: 130%;
    /* Aspect ratio 3:4 */
    overflow: hidden;
}

.card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 6px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 4px;
    z-index: 2;
    letter-spacing: 1px;
}

.badge.new {
    background-color: var(--primary-color);
    color: #fff;
}

.badge.unique {
    background-color: var(--accent-color);
    color: #fff;
}

.card-body {
    padding: 25px 20px;
}

.product-name {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.price-box {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 5px;
}

.old-price {
    font-size: 0.9rem;
    color: var(--text-light);
    text-decoration: line-through;
}

.price {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
}

/* ==========================================================================
   Prova Social
   ========================================================================== */
.bg-light {
    background-color: var(--bg-light);
}

.testimonials {
    padding: 100px 0;
}

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

.testimonial-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    right: 30px;
    font-family: var(--font-heading);
    font-size: 5rem;
    color: var(--secondary-color);
    line-height: 1;
    opacity: 0.5;
}

.stars {
    color: #f39c12;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 20px;
    color: var(--text-color);
    position: relative;
    z-index: 1;
}

.testimonial-card strong {
    font-family: var(--font-heading);
    color: var(--primary-color);
}

/* ==========================================================================
   CTA Final
   ========================================================================== */
.cta-final {
    padding: 100px 0;
    text-align: center;
    background-color: var(--primary-color);
    color: #fff;
}

.cta-final h2 {
    color: #fff;
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.cta-final p {
    color: #ccc;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 40px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background-color: #111;
    color: #fff;
    padding: 80px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
}

.footer-brand h2 {
    color: #fff;
    font-size: 2rem;
    margin-bottom: 15px;
}

.footer-brand p {
    color: #999;
    max-width: 300px;
}

.footer h3 {
    color: #fff;
    font-family: var(--font-body);
    font-size: 1.1rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links p {
    color: #999;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #222;
    border-radius: 50%;
    color: #fff;
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
}

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

/* ==========================================================================
   WhatsApp Flutuante
   ========================================================================== */
.float-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--whatsapp-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: var(--transition);
}

.float-whatsapp:hover {
    background-color: var(--whatsapp-hover);
    transform: scale(1.1);
}

/* ==========================================================================
   Animações
   ========================================================================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   Responsividade
   ========================================================================== */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 3rem;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .hero {
        background-attachment: scroll;
        /* Melhora performance no mobile */
        padding-top: 60px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
        gap: 30px 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .cta-final h2 {
        font-size: 2.2rem;
    }
}