/* --- SHORTCUTS SECTION --- */
.shortcuts-section { padding: 3rem 0; text-align: center; }
.section-title {
    font-size: 1.7rem;
    color: #20022c;
    margin-bottom: 1rem;
    text-align: center;
    min-height: 60px !important; /* Altura aproximada em 2 linhas */
}
.shortcuts-grid {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.btn-shortcut {
    flex: 1;
    min-width: 200px;
    max-width: 250px;
    justify-content: center;
    background: #20022c;
    color: white;
    padding: 1rem;
    border-radius: 8px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: 0.3s;
}
.btn-shortcut:hover { background: #3a0652; transform: scale(1.05); }

/* --- BENEFITS GRID --- */
.benefits-section { padding: 2rem 0; background: #f7f7f7; text-align: center; }
.section-subtitle { margin-bottom: 2rem; color: #484848; font-weight: 400; font-family: 'Poppins'; text-align: center; }

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.benefit-card {
    padding: 1rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}
.benefit-card h4 { margin: 1rem 0 0.5rem; color: #20022c; font-size: 1.1rem; }
.benefit-card p { font-size: 0.9rem; color: #666; }

@media (min-width: 768px) { 
    .benefits-grid { 
        grid-template-columns: repeat(3, 1fr); 
        gap: 2rem;
    } 
    .benefit-card {
        padding: 1.5rem;
    }
    .benefit-card h4 { font-size: 1.2rem; }
    .benefit-card p { font-size: 1rem; }
}

/* --- VIDEOS GRID --- */
.videos-section { padding: 3rem 0; background: #fff; }
.videos-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}
@media (min-width: 768px) { .videos-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .videos-grid { grid-template-columns: repeat(4, 1fr); } }

.video-item video {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    background: #000;
}
.video-item figcaption { text-align: center; margin-top: 0.5rem; font-weight: 500; }

/* --- CTA BANNER --- */
.cta-banner {
    background: linear-gradient(135deg, #1f022b 0%, #2d0340 100%);
    padding: 4rem 0;
    color: white;
    justify-content: center;
    align-items: center;
}

.cta-banner .hero-subline-small {
    display: block;
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: 2rem;
    text-align: center;
    color: #ffcfeb;
}

@media (min-width: 1024px) {
    .cta-banner .hero-subline-small {
        font-size: 1.5rem;
        text-align: left;
    }
}

.hero-image-call img {
    width: 100%;
    max-width: 280px;
    height: auto;
    display: block;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .hero-image-call img {
        max-width: 350px;
        align-items: left;
        margin-right: 43px;
    }
}

/* --- PORTFOLIO (Success Cases) --- */
.portfolio-section { padding: 3rem 0; }
.portfolio-grid {
    display: flex;
    overflow-x: auto;
    gap: 1rem;
    padding-bottom: 1rem;
    scroll-snap-type: x mandatory;
}
.portfolio-item {
    flex: 0 0 80%;
    scroll-snap-align: center;
}
.portfolio-item img {
    width: auto;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.portfolio-extra {
    text-align: center;
    margin-top: 2rem;
}

.portfolio-call {
    font-size: 1.2rem;
    color: #20022c;
    margin-bottom: 1rem;
    font-weight: 500;
}

@media (min-width: 768px) {
    .portfolio-grid {
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        overflow-x: visible;
    }
    .portfolio-item { flex: auto; }
    .portfolio-item:hover img { transform: scale(1.05); }
}

/* --- TESTIMONIALS --- */
.testimonials-section { padding: 2rem 0; overflow: hidden; }
.ratings-imgs { display: flex; flex-direction: column; align-items: center; gap: 1rem; margin-bottom: 2rem; }

.testimonial-carousel-wrapper {
    width: 100%;
    overflow: hidden;
}
.testimonial-carousel-track {
    display: flex;
    width: max-content;
    animation: scroll 40s linear infinite;
}
.slide { width: 451px; padding: 0 10px; flex-shrink: 0; }
.slide img { width: 100%; border-radius: 8px; }

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* --- FEATURES & BUY --- */
.features-buy-section {
    background: linear-gradient(135deg, #1f022b 0%, #2d0340 100%);
    color: white;
    padding: 3rem 0;
}
.features-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}
@media (min-width: 1024px) {
    .features-layout { grid-template-columns: 1fr 1fr; align-items: start; }
}

.feature-list { list-style: none; margin-top: 1rem; }
.feature-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 1rem;
}
.feature-list img { width: 24px; height: 24px; }

.steps-container { display: grid; gap: 1rem; margin-top: 1rem; margin-bottom: 2rem; }
.step-item {
    background: rgba(255,255,255,0.1);
    padding: 1rem;
    border-radius: 8px;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}
.step-item p { text-align: left; font-size: 0.95rem; margin: 0; }

/* --- FEATURES & BUY - Desktop Color Inversion --- */
@media (min-width: 1024px) {
    .features-buy-section {
        background: #f7f7f7 !important;
        color: #20022c !important;
    }
    
    .features-buy-section .section-title {
        color: #20022c !important;
    }
    
    .features-buy-section .feature-list li {
        color: #484848;
        font-weight: 500;
    }
    
    .features-buy-section .feature-list b {
        color: #20022c;
        font-weight: 700;
    }
    
    .features-buy-section .step-item {
        background: #20022c;
        border: 1px solid #e0e0e0;
        color: #484848;
    }
    
    .features-buy-section .step-item p {
        color: #fff;
    }
    
    .features-buy-section .cta-note {
        color: #20022c !important;
    }
    
    .features-buy-section .feature-list img {
        filter: brightness(0.8);
    }
}

/* --- SUSTAINABILITY --- */
.sustainability-section { padding: 4rem 0; text-align: center; background: #fff;}
.stats-grid { display: flex; justify-content: center; gap: 2rem; margin: 2rem 0; }
.stat-number { font-size: 3rem; color: #20022c; font-weight: 700; }

.sustain-content { display: flex; flex-direction: column; gap: 2rem; align-items: center; }
.sustain-text { text-align: left; max-width: 500px; }
.sustain-text ul { list-style: none; padding-left: 1rem; }
.sustain-text li::before { content: "• "; color: #79239d; font-weight: bold; }
.sustain-img img { max-width: 300px; width: 100%; }

.desktop-only {align-items: center; justify-content: center; padding-top: 2rem;}

@media (min-width: 768px) {
    .sustain-content { flex-direction: row; justify-content: center; }
}

/* --- FAQ & FOOTER --- */
.faq-section {
    background: linear-gradient(135deg, #1f022b 0%, #2d0340 100%);
    color: white;
    padding: 3rem 0;
}
.faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 3rem;
}
@media (min-width: 768px) { .faq-grid { grid-template-columns: 1fr 1fr; } }

details {
    background: white;
    color: #333;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 0.5rem;
}
summary { font-weight: 600; cursor: pointer; }
details p { margin-top: 1rem; color: #555; font-size: 0.95rem; }

.main-footer {
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    text-align: center;
}

.footer-contact {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: center;
    text-align: left;
    margin-top: 2rem;
}
.contact-links { display: flex; flex-direction: column; gap: 5px;  }
.contact-links a { color: white; text-decoration: none; font-size: 0.9rem; }
.text-highlight { color: #7cff01 !important; font-weight: bold; cursor: pointer; }

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
}

@media (min-width: 768px) {
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
    }
    
    .footer-text {
        flex: 1;
        text-align: center;
    }
    
    .footer-contact {
        flex: 1;
        margin-top: 0;
        justify-content: center;
    }
    
    .footer-payments {
        flex: 1;
        text-align: center;
    }
}

.footer-payments img {
    max-width: 180px;
    height: auto;
}

/* --- FLOATING UI (WhatsApp) --- */
.wa-fab {
    position: fixed;
    bottom: 75px;
    right: 39px;
    width: 75px;
    height: 75px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 1000;
    cursor: pointer;
    transition: transform 0.3s;
}
.wa-fab:hover { transform: scale(1.1); }
.wa-icon { width: 43px; height: 35px; fill: white; }

@media (max-width: 767px) {
    .wa-fab {
        right: 20px;
    }
}

/* Popup */
.popup-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1001;
}
.popup-content {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    width: 90%;
    max-width: 320px;
    text-align: center;
    position: relative;
}
.status-led {
    display: inline-block; width: 10px; height: 10px; border-radius: 50%;
    margin-right: 5px;
}
.status-online { background: #00c853; box-shadow: 0 0 5px #00c853; }
.status-offline { background: #d32f2f; }

.popup-content input {
    width: 100%; padding: 10px; margin-bottom: 10px;
    border: 1px solid #ddd; border-radius: 6px;
}
.popup-content button {
    width: 100%; padding: 12px; background: #05692a; color: white;
    border: none; border-radius: 6px; font-weight: bold; cursor: pointer;
}
#phone-error { color: red; font-size: 0.8rem; display: none; margin-bottom: 10px; }

/* Loading */
.loading-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(255,255,255,0.9);
    z-index: 1002;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.loading-spinner {
    border: 4px solid #f3f3f3; border-top: 4px solid #05692a;
    border-radius: 50%; width: 40px; height: 40px;
    animation: spin 1s linear infinite;
}
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

/* Cookies */
#aviso-cookies {
    position: fixed; bottom: 0; left: 0; width: 100%;
    background: #333; color: white; padding: 1rem;
    display: none; justify-content: center; align-items: center; gap: 1rem;
    z-index: 999;
}
#btn-aceitar { padding: 5px 15px; background: #05692a; color: white; border: none; cursor: pointer; }