/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* Remove qualquer margem/padding do Bootstrap container em mobile */
@media (max-width: 767.98px) {
    .container {
        padding-left: 15px !important;
        padding-right: 15px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        max-width: 100% !important;
        width: 100% !important;
    }
    
    section {
        width: 100% !important;
        margin: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    
    .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    .col-12, .col-lg-8, .col-lg-4, .col-md-6 {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
}

/* Variáveis CSS */
:root {
    --primary-color: #4A90E2;
    --secondary-color: #F39C12;
    --success-color: #27AE60;
    --danger-color: #E74C3C;
    --warning-color: #F1C40F;
    --dark-color: #2C3E50;
    --light-color: #ECF0F1;
    --gradient-primary: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
    --gradient-secondary: linear-gradient(135deg, #F39C12 0%, #E67E22 100%);
    --gradient-newsletter: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --shadow-light: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-medium: 0 5px 20px rgba(0,0,0,0.15);
    --shadow-heavy: 0 10px 30px rgba(0,0,0,0.2);
}

/* Utilitários */
.text-primary { color: var(--primary-color) !important; }
.bg-primary { background-color: var(--primary-color) !important; }
.btn-primary { 
    background: var(--gradient-primary);
    border: none;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* Animações */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 53%, 80%, 100% { transform: translateY(0); }
    40%, 43% { transform: translateY(-10px); }
    70% { transform: translateY(-5px); }
    90% { transform: translateY(-2px); }
}

.pulse { animation: pulse 2s infinite; }
.fade-in-up { animation: fadeInUp 0.8s ease-out; }
.bounce { animation: bounce 2s infinite; }

/* Logo */
.logo-container {
    text-align: center;
    padding: 2rem 0 0.5rem;
}

.site-logo {
    height: 100px;
    width: auto;
    max-width: 90%;
}

@media (min-width: 768px) {
    .logo-container {
        padding: 2.5rem 0 0.5rem;
    }
    
    .site-logo {
        height: 140px;
    }
}

@media (min-width: 1200px) {
    .logo-container {
        padding: 3rem 0 0.5rem;
    }
    
    .site-logo {
        height: 160px;
    }
}

/* Hero Section */
.hero-section {
    background: var(--gradient-newsletter);
    color: white;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    z-index: 1;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" fill="white" opacity="0.1"><polygon points="1000,100 1000,0 0,100"/></svg>');
    background-size: cover;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 1rem 0 2rem;
}

/* Mobile First - Hero */
.hero-title {
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-align: center;
    margin-top: 0;
}

.hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    text-align: center;
    line-height: 1.5;
}

/* Tablet e Desktop */
@media (min-width: 768px) {
    .hero-title {
        font-size: 3rem;
        margin-bottom: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
        margin-bottom: 2.5rem;
    }
}

@media (min-width: 1200px) {
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.4rem;
    }
}



/* Botões */
.btn-cta {
    font-weight: 600;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    font-size: 1rem;
    text-decoration: none;
    display: inline-block;
}

.btn-cta:hover {
    transform: translateY(-2px);
    text-decoration: none;
}

/* About Section */
.about-section {
    background: var(--light-color);
    padding: 4rem 0;
    position: relative;
    z-index: 2;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
    text-align: center;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 2.5rem;
        margin-bottom: 2rem;
    }
}

.lead {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
    text-align: center;
}

@media (min-width: 768px) {
    .lead {
        font-size: 1.2rem;
    }
}

/* Info Cards */
.info-card {
    background: white;
    padding: 2rem 1.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    height: 100%;
    margin-bottom: 2rem;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.info-icon {
    background: var(--gradient-primary);
    color: white;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.info-icon .fas {
    font-size: 2rem;
}

.info-card h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.info-card p {
    font-size: 1rem;
    line-height: 1.5;
    color: #666;
}

@media (min-width: 768px) {
    .info-card {
        padding: 2.5rem 2rem;
        margin-bottom: 0;
    }
    
    .info-card h4 {
        font-size: 1.4rem;
    }
}

/* Products Section */
.products-section {
    padding: 4rem 0;
    background: white;
    position: relative;
    z-index: 2;
}

.product-card {
    background: white;
    border-radius: 20px;
    padding: 2rem 1.5rem;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    margin-bottom: 2rem;
    text-align: center;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
}

.product-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: var(--warning-color);
    color: var(--dark-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.product-icon {
    background: var(--gradient-primary);
    color: white;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.product-icon .fas {
    font-size: 2rem;
}

.product-card h4 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.product-card p {
    font-size: 1rem;
    line-height: 1.5;
    color: #666;
    margin-bottom: 1.5rem;
}

.product-features {
    margin: 1.5rem 0;
}

.feature {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
}

.product-price {
    margin: 1.5rem 0;
}

.old-price {
    text-decoration: line-through;
    color: #999;
    font-size: 1rem;
    display: block;
    margin-bottom: 0.5rem;
}

.current-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--success-color);
    display: block;
}

.btn-product {
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    width: 100%;
    max-width: 200px;
}

.btn-product:hover {
    transform: translateY(-2px);
    text-decoration: none;
}

@media (min-width: 768px) {
    .product-card {
        padding: 2.5rem 2rem;
        margin-bottom: 0;
    }
    
    .product-card h4 {
        font-size: 1.5rem;
    }
    
    .current-price {
        font-size: 2rem;
    }
}

/* Newsletter Section */
.newsletter-section {
    background: var(--gradient-newsletter);
    color: white;
    padding: 4rem 0;
    position: relative;
    z-index: 2;
}

.newsletter-content {
    text-align: center;
}

.newsletter-form {
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form .input-group {
    border-radius: 50px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
}

.newsletter-form .form-control {
    border: none;
    padding: 1rem 1.5rem;
    font-size: 1rem;
}

.newsletter-form .btn {
    padding: 1rem 2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Footer */
.footer-section {
    background: var(--dark-color);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-brand {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.footer-text {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
    line-height: 1.6;
}

.footer-links {
    margin-bottom: 1rem;
}

.footer-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    margin-right: 1.5rem;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: white;
    text-decoration: none;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: white;
    text-decoration: none;
}

.copyright {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0;
    font-size: 0.9rem;
}

/* Responsive adjustments */
@media (max-width: 576px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .product-card {
        padding: 1.5rem 1rem;
    }
    
    .info-card {
        padding: 1.5rem 1rem;
    }
    
    .newsletter-form .form-control,
    .newsletter-form .btn {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
    }
    
    .footer-link {
        margin-right: 1rem;
        display: inline-block;
        margin-bottom: 0.5rem;
    }
}

/* Scroll suave */
html {
    scroll-behavior: smooth;
}

/* Prevent section overlapping */
section {
    position: relative;
    z-index: 1;
}

/* Ensure proper stacking context */
.hero-section {
    z-index: 1;
}

.about-section,
.products-section,
.newsletter-section,
.footer-section {
    z-index: 2;
}

/* Loading states */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--light-color);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--dark-color);
}