/* ================== RESET & GLOBAL ================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
    overflow-x: hidden;
    background-color: #fff;
}

:root {
    --primary: #0b9287;
    --primary-dark: #086d64;
    --accent: #e9bf93;
    --dark: #2d2926;
    --text-muted: #6c757d;
    --border: #e9ecef;
}

/* ================== TYPOGRAPHY ================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* ================== TOP BAR ================== */
.top-bar {
    background: #000;
    color: #d1d1d1;
    font-size: 13px;
    padding: 8px 60px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    
}

.top-bar .right {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.top-bar .right a{
     text-decoration: none;
    color: inherit;
}

.top-bar .separator { color: #555; }
.top-bar i { margin-right: 5px; }


.lang-switch {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-right: 15px;
    font-family: Inter, sans-serif;
}

.lang-item {
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    color: #1a2e1a;
    transition: 0.2s;
}

.lang-item img {
    width: 20px;
    height: 14px;
    object-fit: cover;
    border-radius: 2px;
    display: block;
}

.lang-item:hover {
    opacity: 0.7;
}

.lang-item.active {
    color: #0b9287;
}

.lang-sep {
    color: #999;
    font-weight: 300;
}



@media (max-width: 768px) {
    .top-bar { justify-content: center; padding: 8px 15px; }
    .top-bar .right { justify-content: center; }
}

/* ================== MAIN HEADER ================== */
.main-header {
    width: 100%;
    padding: 15px 60px;
    background: var(--primary);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    gap: 20px;
    flex-wrap: wrap;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid #fff;
    object-fit: cover;
}

.logo-text .name {
    font-size: 1.2rem;
    color: #fff;
    font-weight: 700;
}

.main-menu ul {
    list-style: none;
    display: flex;
    gap: 25px;
    margin: 0;
    padding: 0;
}

.main-menu ul li a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: 0.3s;
}

.main-menu ul li a:hover,
.main-menu ul li a.active { color: #fff; }

.header-right-group {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Container dos ícones */
.icons-social {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
  
}

/* Links */
.icons-social a {
    width: 3px;
    height: 3px;

    display: flex;
    justify-content: center;
    align-items: center;

    text-decoration: none;

    border-radius: 10%;

    background: rgba(255,255,255,0.1);

    color: #ffffff;

    font-size: 20px;

    transition: all 0.3s ease;

    border: 1px solid rgba(255,255,255,0.15);
}

/* Efeito ao passar o mouse */
.icons-social a:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

/* Instagram */
.icons-social a:nth-child(1):hover {
    background: #E4405F;
    border-color: #E4405F;
}

/* Facebook */
.icons-social a:nth-child(2):hover {
    background: #1877F2;
    border-color: #1877F2;
}

/* LinkedIn */
.icons-social a:nth-child(3):hover {
    background: #0A66C2;
    border-color: #0A66C2;
}

.cta-btn {
    background: var(--accent);
    padding: 8px 20px;
    border-radius: 25px;
    color: var(--dark) !important;
    font-weight: bold;
    text-decoration: none;
    font-size: 0.85rem;
    transition: 0.3s;
    cursor: pointer;
    border: none;
}

.cta-btn:hover {
    background: #fff;
    transform: scale(1.05);
}

.hamburger {
    display: none;
    color: #fff;
    font-size: 26px;
    cursor: pointer;
}

@media (max-width: 1024px) {
    .main-header { padding: 15px 20px; }
    .main-menu, .cta-btn { display: none; }
    .hamburger { display: block; }
}

@media (max-width: 480px) {
    .logo img { width: 40px; height: 40px; }
    .logo-text .name { font-size: 1rem; }
}

/* ================== MOBILE SIDEBAR ================== */
.mobile-sidebar {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: var(--primary-dark);
    z-index: 2000;
    transition: right 0.4s ease;
    display: flex;
    flex-direction: column;
    padding: 25px;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
}

.mobile-sidebar.active { right: 0; }

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.sidebar-header h3 { color: #fff; font-size: 1.2rem; }
.close-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
}

.mobile-links { list-style: none; padding: 0; }
.mobile-links li { margin-bottom: 20px; }
.mobile-links a { color: #fff; text-decoration: none; font-size: 1.1rem; display: block; }

.btn-mobile {
    background: var(--accent);
    text-align: center;
    padding: 12px;
    border-radius: 5px;
    color: var(--dark);
    font-weight: bold;
    margin-top: 30px;
    cursor: pointer;
    border: none;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1500;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ================== HERO ================== */
.hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(rgba(11, 93, 59, 0.56), rgba(11, 93, 59, 0.47)),
                url("../img/partners.jpg");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 80px 60px;
    gap: 50px;
    flex-wrap: wrap;
}

.content { flex: 1; color: #fff; }
.content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--accent);
    color: var(--dark);
    text-decoration: none;
    font-weight: 600;
    border-radius: 5px;
    transition: 0.3s;
}

.images { flex: 1; position: relative; height: 400px; }
.images img {
    position: absolute;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.img-back { width: 300px; height: 350px; left: 0; top: 30px; }
.img-front {
    width: 320px;
    height: 370px;
    left: 150px;
    top: 0;
    border: 4px solid rgba(255, 255, 255, 0.3);
}

@media (max-width: 1024px) {
    .hero { flex-direction: column; text-align: center; padding: 60px 20px; }
    .images { width: 100%; height: 350px; }
    .img-back { left: 20%; }
    .img-front { left: 50%; transform: translateX(-50%); }
    .content h1 { font-size: 2.2rem; }
}
@media (max-width: 768px) { .images { display: none; } }

/* ================== FLOATING METRICS ================== */
/* ==================================================
   FLOATING METRICS
================================================== */

.floating-metrics {
    width: 100%;
    padding: clamp(20px, 4vw, 50px);
    display: flex;
    justify-content: center;
    margin-bottom: 5px;
}

.floating-metrics-container {

    width: 100%;

    display: flex;
    align-items: center;
    justify-content: space-around;

    padding: clamp(18px, 3vw, 35px);

    border-radius: clamp(16px, 2vw, 28px);

   

    border: 1px solid rgba(255,255,255,0.08);

    
}

/* ==================================================
   MÉTRICAS
================================================== */

.metric {

    flex: 1;

    display: flex;
    flex-direction: column;
    align-items: center;

    text-align: center;
}

.metric strong {

    font-size: clamp(1.6rem, 2vw, 3.3rem);

    font-weight: 800;

    line-height: 1;

    color: #000000;
}

.metric span {

    margin-top: 8px;

    font-size: clamp(0.75rem, 1.3vw, 1rem);

    font-weight: 500;

    color: #6c757d;

    letter-spacing: .3px;
}

/* ==================================================
   DIVISOR
================================================== */

.metric-divider {

    width: 1px;

    align-self: stretch;

    background:
        linear-gradient(
            transparent,
            rgb(0, 0, 0),
            transparent
        );
}

/* ==================================================
   TABLETS
================================================== */

@media (max-width: 768px) {

    .floating-metrics-container {

        padding: 18px;

        gap: 15px;
    }

    .metric-divider {
        display: none;
    }
}

/* ==================================================
   SMARTPHONES
================================================== */

@media (max-width: 480px) {

    .floating-metrics-container {

        gap: 12px;

        padding: 15px;

        border-radius: 18px;
    }

    .metric strong {

        font-size: 1.5rem;
    }

    .metric span {

        font-size: 0.72rem;
    }
}

/* ==================================================
   MONITORES GRANDES
================================================== */

@media (min-width: 1600px) {

    .floating-metrics-container {

        max-width: 1300px;

        padding: 40px 50px;
    }

    .metric strong {

        font-size: 4rem;
    }

    .metric span {

        font-size: 1.1rem;
    }
}

/* ================== CATEGORIES SECTION (TABS) ================== */
.cats-section { padding: 64px 24px 80px; }
.cats-container { max-width: 1000px; margin: 0 auto; }
.cats-header { text-align: center; margin-bottom: 48px; }
.cats-title {
    font-size: 2rem;
    font-weight: 600;
    color: #0a0f14;
    margin: 0 0 14px;
}
.cats-line {
    width: 48px;
    height: 2px;
    background: #2c7da0;
    margin: 0 auto;
}
.cats-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 36px;
}
.cat-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 20px;
    background: transparent;
    border: 1px solid #e2e8f0;
    border-radius: 40px;
    font-size: 0.875rem;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}
.cat-btn:hover {
    border-color: #2c7da0;
    color: #2c7da0;
}
.cat-btn.active {
    background: rgba(44,125,160,0.08);
    border-color: #2c7da0;
    color: #2c7da0;
    font-weight: 500;
}
.cat-btn svg { transition: transform 0.25s ease; opacity: 0.5; }
.cat-btn.active svg { transform: rotate(180deg); opacity: 1; }
.cats-panel { max-width: 640px; margin: 0 auto; }

.product-drop {
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid #eef2f4;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.product-drop.active {
    max-height: 700px;
    opacity: 1;
    visibility: visible;
    margin-top: 20px;
}
.drop-head {
    display: flex;
    justify-content: space-between;
    padding: 14px 20px;
    border-bottom: 1px solid #f1f5f9;
    background: #f8fafc;
}
.drop-title { font-size: 0.875rem; font-weight: 600; color: #0f172a; }
.drop-count {
    font-size: 0.7rem;
    color: #94a3b8;
    background: #f1f5f9;
    padding: 3px 9px;
    border-radius: 20px;
}
.prod-list { list-style: none; padding: 0; margin: 0; }
.prod-item {
    padding: 11px 20px;
    font-size: 0.875rem;
    color: #1e293b;
    border-bottom: 1px solid #f8fafc;
    transition: background 0.15s;
}
.prod-item::before {
    content: '';
    display: inline-block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #2c7da0;
    margin-right: 10px;
}
.prod-item:hover { background: #f8fafc; }

/* ================== CAROUSEL (DESTAQUES) ================== */
.categories-section { max-width: 1200px; margin: 40px auto; padding: 0 20px; }
.section-title { text-align: center; font-size: 2rem; margin-bottom: 30px; }
.carousel-container { position: relative; overflow: hidden; padding: 10px 0; }
.carousel-track { display: flex; transition: transform 0.3s ease; gap: 15px; }

.category-card {
    flex: 0 0 calc(33.333% - 10px);
    background: #fffffff0;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}
.category-card:hover { transform: translateY(-5px); box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15); }
.category-image {
    height: 200px;
    width: 100%;
    margin-bottom: 15px;
    border-radius: 6px;
    overflow: hidden;
}
.category-image img { width: 100%; height: 100%; object-fit: cover; }
.category-title { font-size: 18px; font-weight: 600; color: #333; margin-bottom: 10px; }
.category-desc { color: #666; font-size: 14px; margin-bottom: 15px; }
.view-btn {
    display: inline-block;
    color: #010307;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    padding: 8px 0;
    border-top: 1px solid #eee;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
}
.carousel-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    border: 1px solid #ddd;
    cursor: pointer;
}
.carousel-btn:hover { background: #2563eb; color: white; }
.carousel-dots { display: flex; gap: 8px; }
.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
}
.dot.active { background: #2563eb; }

@media (max-width: 768px) {
    .category-card { flex: 0 0 calc(50% - 8px); }
    .category-image { height: 100px; }
}
@media (max-width: 480px) { .category-card { flex: 0 0 100%; } }




/* ================== STATS SECTION ================== */
.stats-premium-section {
    background: #0e3536;
}
.stat-item { text-align: center; }
.stat-item h2 { font-size: 2.5rem; font-weight: 800; color: white; margin-bottom: 0.5rem; }
.stat-item p { color: rgba(255,255,255,0.85); text-transform: uppercase; font-size: 0.8rem; letter-spacing: 1px; }

/* ================== AGENTES STRIP ================== */
#agentes-comercio .agentes-text { text-align: justify; font-size: 0.8rem; color: #555; }

/* ================== POPUP ================== */
.quote-popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}
.quote-popup-box {
    background: white;
    max-width: 500px;
    width: 90%;
    padding: 25px;
    border-radius: 12px;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}
.quote-close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
}
.quote-field { margin-bottom: 15px; }
.quote-field input, .quote-field textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 6px;
}
.quote-send-btn {
    background: var(--primary);
    color: white;
    padding: 10px;
    border: none;
    width: 100%;
    border-radius: 6px;
    cursor: pointer;
}
.quote-success-msg {
    display: none;
    color: green;
    text-align: center;
    margin-top: 15px;
}

/* ================== CHATBOT ================== */
#lucy-bubble {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #0ea5e9;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    cursor: pointer;
    z-index: 9998;
}
#lucy-chatbox {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 320px;
    height: 420px;
    background: white;
    border-radius: 14px;
    display: none;
    flex-direction: column;
    overflow: hidden;
    z-index: 9998;
}
#lucy-header { background: #16a34a; color: white; padding: 10px; display: flex; justify-content: space-between; }
#lucy-messages { flex: 1; padding: 10px; overflow-y: auto; background: #f9fafb; }
.bot { background: #e5e7eb; padding: 8px; border-radius: 10px; margin: 5px 0; max-width: 80%; }
.user { background: #0ea5e9; color: white; padding: 8px; border-radius: 10px; margin: 5px 0 5px auto; max-width: 80%; }
#lucy-input-area { display: flex; border-top: 1px solid #ddd; }
#lucy-input { flex: 1; padding: 10px; border: none; outline: none; }
#lucy-input-area button { background: #16a34a; color: white; border: none; padding: 10px; }

/* ================== UTILITY CLASSES ================== */
.bg-red { background-color: #f8f9fa; }
.hover-green:hover { color: var(--primary) !important; }
.tracking-wider { letter-spacing: 1px; }
.z-index-2 { z-index: 2; }