/* BASE SETUP & VARIABLES */
:root {
    --color-bg-main: #000000;
    --color-bg-alt: #050505;
    --color-bg-card: rgba(255, 255, 255, 0.05);
    
    --color-primary: #FFE89B;
    --color-primary-dark: #DFCF99;
    --color-accent: #25D366; /* WhatsApp Green */
    
    --color-text-main: #FFFFFF;
    --color-text-muted: #CCCCCC;
    --color-text-dark: #06222D; /* For bright cards */
    
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Roboto', sans-serif;
    
    --transition-fast: 0.2s ease;
    --transition-medium: 0.4s ease;
    
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
}

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

html {
    scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

ul {
    list-style: none;
}

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

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

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

/* UTILITIES */
.text-center { text-align: center; }
.text-white { color: var(--color-text-main); }
.text-green { color: var(--color-accent); }
.show-on-mobile { display: none; }
.highlight, .highlight-line {
    background: linear-gradient(135deg, #FFE89B 0%, #DFCF99 50%, #BDA660 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    display: inline;
}
.highlight-line {
    position: relative;
    z-index: 1;
}
.highlight-line::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 8px;
    background-color: rgba(223, 207, 153, 0.3);
    z-index: -1;
}
.mb-tight { margin-bottom: var(--spacing-sm); }
.mb-loose { margin-bottom: var(--spacing-md); }
.mt-tight { margin-top: var(--spacing-sm); }
.mt-loose { margin-top: var(--spacing-md); }
.mt-extra-loose { margin-top: var(--spacing-lg); }

.flex-row { display: flex; flex-direction: row; gap: var(--spacing-md); }
.flex-col { display: flex; flex-direction: column; gap: var(--spacing-md); }
.align-center { align-items: center; }
.justify-center { justify-content: center; }
.wrap-reverse { flex-wrap: wrap-reverse; }

.grid-2-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
}

.dark-alt { background-color: #08080a; }
.pattern-bg {
    background-color: var(--color-bg-main);
    background-image: radial-gradient(rgba(255, 232, 155, 0.05) 1px, transparent 1px);
    background-size: 20px 20px;
}

/* BUTTONS */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: var(--color-bg-main);
    font-family: var(--font-heading);
    font-weight: 700;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: var(--transition-medium);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.7), transparent);
    transform: skewX(-20deg);
    transition: 0.6s left cubic-bezier(0.19, 1, 0.22, 1);
    z-index: -1;
}

.btn-primary:hover::before {
    left: 150%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(223, 207, 153, 0.3);
}

.btn-nav {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 12px;
}

.btn-pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(223, 207, 153, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(223, 207, 153, 0); }
    100% { box-shadow: 0 0 0 0 rgba(223, 207, 153, 0); }
}

.center-btn-wrap {
    display: flex;
    justify-content: center;
}

/* NAVBAR */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding: 1rem 0;
    transition: var(--transition-medium);
}

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

.logo {
    max-height: 40px;
}

/* HERO SECTION */
.hero-section {
    padding: 150px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at 80% 20%, rgba(223, 207, 153, 0.15) 0%, transparent 40%),
                radial-gradient(circle at 10% 90%, rgba(37, 211, 102, 0.08) 0%, transparent 40%);
    position: relative;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--color-text-muted);
    margin-bottom: var(--spacing-md);
}

.hero-subtitle p {
    margin-bottom: 0.5rem;
}

.hero-image-wrapper {
    position: relative;
}

.hero-image {
    position: relative;
    z-index: 2;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.05);
}

/* SECTION STRUCTURE */
section {
    padding: var(--spacing-xl) 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-lg);
}

/* BENEFITS SECTION */
.benefits-list {
    font-size: 1.1rem;
}

.benefits-list .strong-warn {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.benefits-list ul {
    margin: 1.5rem 0;
}

.benefits-list li {
    margin-bottom: 1rem;
    padding-left: 32px;
    position: relative;
    display: block;
}

.benefits-list i {
    position: absolute;
    left: 0;
    top: 4px;
    font-size: 1.1rem;
}

.benefits-footer {
    padding: 1rem;
    background: var(--color-bg-card);
    border-radius: 8px;
    border-left: 4px solid var(--color-primary);
}

/* COMO FUNCIONA (STEPS) */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-md);
}

.step-card {
    background: linear-gradient(180deg, var(--color-bg-card) 0%, rgba(0,0,0,0) 100%);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: var(--transition-medium);
}

.step-card:hover {
    transform: translateY(-5px);
    border-color: rgba(223, 207, 153, 0.3);
}

.step-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    background: rgba(255, 232, 155, 0.1);
    color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.step-card h3 {
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.bonus-box {
    background: rgba(223, 207, 153, 0.1);
    border: 1px dashed var(--color-primary);
    padding: 1rem;
    border-radius: 8px;
    display: inline-block;
}

/* PRODUTOS */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-md);
}

.product-card {
    background: var(--color-bg-card);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(223, 207, 153, 0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.product-card:hover {
    background: rgba(255,255,255,0.08);
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.6), 0 0 20px rgba(223, 207, 153, 0.15);
    border-color: rgba(223, 207, 153, 0.3);
}

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

.product-img-wrap {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.product-img-wrap img {
    max-height: 100%;
}

.product-title {
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.product-desc {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

/* GARANTIA */
.guarantee-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-md);
}

.glass-card {
    background: #FFFFFF;
    color: var(--color-text-dark);
    padding: 2rem 1.5rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.g-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* DEPOIMENTOS */
.slider-wrapper {
    position: relative;
    overflow: hidden;
    padding: 0 40px;
}

.slides-container {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    gap: 20px;
    padding-bottom: 20px;
}

.slides-container::-webkit-scrollbar {
    display: none;
}

.slide {
    flex: 0 0 calc(25% - 15px);
    scroll-snap-align: start;
    border-radius: 12px;
    overflow: hidden;
}

.slide img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 12px;
}

.slide-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.slide-arrow:hover {
    background: rgba(223, 207, 153, 0.9);
    color: var(--color-bg-main);
    transform: translateY(-50%) scale(1.1);
    border-color: transparent;
    box-shadow: 0 0 20px rgba(223, 207, 153, 0.4);
}

#slide-arrow-prev { left: 0; }
#slide-arrow-next { right: 0; }

/* SOBRE (QUEM SOMOS) */
.josi-img {
    border-radius: 16px;
    box-shadow: -15px 15px 0 rgba(223, 207, 153, 0.2);
}

.about-text-col {
    flex: 1;
    min-width: 300px;
}

.about-image-col {
    flex: 0 0 45%;
}

.author-sign {
    color: var(--color-primary);
    font-family: var(--font-heading);
    font-weight: 600;
}

/* FAQ */
.faq-image-col img {
    max-width: 80%;
    margin: 0 auto;
}

.accordion-item {
    margin-bottom: 1rem;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    overflow: hidden;
}

.accordion-header {
    width: 100%;
    text-align: left;
    padding: 1.25rem;
    background: var(--color-bg-card);
    border: none;
    color: var(--color-primary);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition-fast);
}

.accordion-header:hover {
    background: rgba(255,255,255,0.1);
}

.accordion-icon {
    font-size: 1.5rem;
    font-weight: 400;
    transition: transform var(--transition-medium);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-medium);
    background: rgba(0,0,0,0.3);
}

.accordion-content p {
    padding: 1.25rem;
}

.accordion-item.active .accordion-icon {
    transform: rotate(45deg);
}

/* FOOTER */
.footer {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: var(--spacing-lg) 0 var(--spacing-md);
    background: var(--color-bg-alt);
}

.footer-logo {
    max-width: 200px;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-primary);
    transition: var(--transition-fast);
}
.social-btn:hover { color: var(--color-text-main); }

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: var(--spacing-md);
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.footer-bottom a {
    color: var(--color-primary);
}

/* ANIMATIONS */
.reveal-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

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

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

.float-animation {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* MEDIA QUERIES (RESPONSIVE) */
@media (max-width: 1024px) {
    .hide-on-mobile { display: none !important; }
    .show-on-mobile { display: block !important; }

    .grid-2-col {
        grid-template-columns: 1fr;
    }
    
    .benefits-section .image-col {
        order: 2;
        margin-top: var(--spacing-md);
    }
    .benefits-section .text-col {
        order: 1;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title { font-size: 2.5rem; }
    
    .steps-grid, .products-grid, .guarantee-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .slide {
        flex: 0 0 calc(33.333% - 14px);
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding-top: 120px;
    }
    
    .hero-title { font-size: 2rem; }
    
    .steps-grid, .products-grid, .guarantee-grid {
        grid-template-columns: 1fr;
    }

    .slide {
        flex: 0 0 calc(50% - 10px);
    }
    
    .about-image-col {
        flex: 0 0 100%;
        margin-bottom: var(--spacing-md);
    }
    
    .text-md-left {
        text-align: left !important;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.8rem;
    }

    .slide {
        flex: 0 0 100%;
    }
    
    .logo {
        max-height: 30px;
    }
    
    .btn-nav {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
}
