@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap');

:root {
    --primary-green: #3BA172;
    --primary-hover: #2b7a55;
    --dark-bg: #3D3D3D;
    --light-bg: #ffffff; /* Fundo limpo para loja */
    --text-dark: #0F0F0F;
    --text-grey: #7A7A7A;
    --text-light: #ffffff;
    --border: #e2e8f0;
    --radius: 8px;
}

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

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--light-bg);
    color: var(--text-dark);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header */
header {
    background-color: transparent;
    position: sticky;
    top: 0;
    z-index: 100;
}

.top-bar {
    background-color: var(--dark-bg);
    color: #ffffff;
    font-size: 14px;
    padding: 10px 0;
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-contacts {
    display: flex;
    gap: 20px;
}

.top-contacts span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-socials {
    display: flex;
    gap: 15px;
}

.top-socials a {
    color: #ffffff;
    font-size: 16px;
    transition: 0.3s;
}

.top-socials a:hover {
    color: var(--primary-green);
}

.main-navbar-container {
    width: 100%;
    position: absolute;
    top: calc(100% - 8px);
    left: 0;
    z-index: 101;
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0;
}

.main-navbar {
    background-color: #ffffff;
    box-shadow: 0 5px 25px rgba(0,0,0,0.15);
    padding: 10px 40px;
    border-radius: 50px;
    width: 95%;
    max-width: 1200px;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.nav-menu {
    display: flex;
    gap: 25px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 15px;
    transition: 0.3s;
}

.nav-menu a:hover {
    color: var(--primary-green);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.search-box {
    display: flex;
    background: #f5f5f5;
    border-radius: 30px;
    padding: 5px 15px;
    align-items: center;
    position: relative;
}

.search-box input {
    border: none;
    background: transparent;
    padding: 8px;
    outline: none;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
}

.search-box button {
    border: none;
    background: transparent;
    color: var(--text-grey);
    cursor: pointer;
}

.search-results {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: 100%;
    min-width: 280px;
    max-height: 330px;
    overflow-y: auto;
    padding: 6px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.16);
    z-index: 110;
}

.search-results.is-visible { display: block; }

.search-result-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    border-radius: 8px;
}

.search-result-item:hover { background: #f2faf6; }

.search-result-item img {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    object-fit: contain;
}

.search-empty {
    padding: 12px;
    color: var(--text-grey);
    font-size: 13px;
}

.btn-catalog {
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.5px;
}

.btn-green {
    background-color: var(--primary-green);
    color: #ffffff;
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 10px rgba(58, 181, 74, 0.2);
}

.btn-green:hover {
    background-color: var(--primary-hover);
    transform: translateY(-1px);
}

/* Hero Slider */
.hero-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    background-color: #1a2a1a;
    padding-top: 0;
}

.slider-track {
    position: relative;
    width: 100%;
}

.slide {
    display: none;
    width: 100%;
    animation: fadeSlide 0.6s ease-in-out;
}

.slide.active {
    display: block;
}

@keyframes fadeSlide {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.slide-img {
    width: 100%;
    height: auto;
    aspect-ratio: 1378 / 768;
    object-fit: contain;
    object-position: center center;
    display: block;
    background-color: #1a2a1a;
}

/* Desktop mostra imagem widescreen, mobile mostra imagem vertical */
.slide-mobile { display: none; }
.slide-desktop { display: block; }

/* Arrows */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255,255,255,0.85);
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 18px;
    color: var(--text-dark);
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
    transition: 0.25s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-arrow:hover {
    background: var(--primary-green);
    color: #fff;
}

.slider-prev { left: 20px; }
.slider-next { right: 20px; }

/* Dots */
.slider-dots {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    border: 2px solid rgba(255,255,255,0.8);
    cursor: pointer;
    transition: 0.3s;
}

.dot.active {
    background: var(--primary-green);
    border-color: var(--primary-green);
    transform: scale(1.15);
}

/* Info Boxes */
.info-boxes {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: -40px;
    padding: 0 15px;
    position: relative;
    z-index: 10;
}

.box-green, .box-dark {
    flex: 1;
    max-width: 450px;
    padding: 25px 30px;
    border-radius: 10px;
    color: white;
    text-align: center;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.box-green { 
    background-color: var(--primary-green); 
}
.box-green:hover {
    background-color: var(--primary-hover);
}
.box-dark { 
    background-color: var(--dark-bg); 
}

/* Section Titles */
.section-title {
    text-align: center;
    color: var(--primary-green);
    font-size: 28px;
    font-weight: 800;
    margin: 60px 0 20px;
}

/* Catalog Tabs */
.catalog-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.tab-item {
    background: #ffffff;
    border: 2px solid var(--primary-green);
    color: var(--primary-green);
    padding: 12px 20px;
    border-radius: 5px;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    transition: 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 140px;
}

.tab-item i {
    font-size: 20px;
}

.tab-item:hover, .tab-item.active {
    background-color: var(--primary-green);
    color: white;
}

/* Featured Product Box */
.featured-product-box {
    display: flex;
    background: #ffffff;
    border-radius: 15px;
    border: 1px solid var(--border);
    overflow: hidden;
    margin-bottom: 60px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.featured-image-box {
    flex: 1;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    border-right: 1px solid var(--border);
}

.featured-image-box img {
    max-width: 100%;
    max-height: 350px;
    object-fit: contain;
}

.featured-info-box {
    flex: 1.2;
    padding: 45px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-tag {
    color: var(--primary-green);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.featured-info-box h3 {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.featured-info-box p {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.8;
}

/* Institutional Section */
.institutional {
    color: white;
    padding: 80px 0;
    margin: 60px 0;
}

.institutional .container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.inst-logo-box {
    background-color: var(--primary-green);
    padding: 50px 40px;
    border-radius: 12px;
    text-align: center;
    min-width: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.inst-text {
    flex: 1;
}

.inst-text h2 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 20px;
}

.inst-text p {
    font-size: 15px;
    opacity: 0.85;
    margin-bottom: 15px;
    line-height: 1.8;
}

/* Homepage specific sections */
.contact-banner {
    background-color: var(--dark-bg);
}

.catalog-details {
    background-color: #ffffff;
}

.tabs-container {
    max-width: 1000px;
    margin: 0 auto;
}

.tabs-header {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.tab-btn {
    background: #f5f5f5;
    border: none;
    padding: 12px 30px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    transition: 0.3s;
    font-family: 'Poppins', sans-serif;
}

.tab-btn.active, .tab-btn:hover {
    background: var(--primary-green);
    color: #ffffff;
}

.tab-pane {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-pane.active {
    display: flex;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.institutional {
    background-color: var(--dark-bg);
}

/* Products Grid & Catalog Layout */
.catalog-layout {
    display: flex;
    gap: 40px;
    margin-top: 20px;
}

.catalog-sidebar {
    width: 280px;
    flex-shrink: 0;
}

.catalog-content {
    flex: 1;
}

.filter-widget {
    background: #ffffff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}

.filter-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.filter-list {
    list-style: none;
}

.filter-list li {
    margin-bottom: 12px;
}

.filter-list label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: var(--text-dark);
    cursor: pointer;
    transition: 0.3s;
}

.filter-list label:hover {
    color: var(--primary-green);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 50px;
}

.page-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: 50%;
    color: var(--text-dark);
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.page-link:hover, .page-link.active {
    background: var(--primary-green);
    color: #ffffff;
}

/* Single Product Page */
.product-details-container {
    padding: 110px 0 80px;
}

.product-columns {
    display: flex;
    gap: 50px;
    margin-bottom: 50px;
}

.product-gallery {
    flex: 1;
    max-width: 50%;
}

.product-gallery .main-image {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.product-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 20px;
}

.product-title-large {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.product-price-consult {
    font-size: 23px;
    font-weight: 600;
    color: var(--text-grey);
    margin-bottom: 30px;
}

.btn-large {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 40px;
    font-size: 16px;
    border-radius: 30px;
}

.product-description-section {
    border-top: 1px solid var(--border);
    padding-top: 40px;
}

.desc-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.product-content {
    font-size: 17px;
    color: var(--text-dark);
    line-height: 1.8;
}

.product-card {
    background: #ffffff;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    border: 1px solid #f0f0f0;
}

.product-card:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transform: translateY(-4px);
}

.product-image {
    width: 100%;
    height: 220px;
    object-fit: contain;
    padding: 10px;
    margin-bottom: 20px;
}

.product-title {
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #1a2a3a; /* Azul escuro/cinza da imagem original */
    text-transform: uppercase;
    line-height: 1.5;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card .btn-green {
    width: 100%;
    justify-content: center;
    border-radius: 4px;
    padding: 10px;
}

/* Footer */
footer {
    background-color: var(--dark-bg);
    color: white;
    padding: 70px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 25px;
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #cccccc;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a i {
    color: var(--primary-green);
    font-size: 12px;
}

.footer-links a:hover {
    color: #ffffff;
    transform: translateX(5px);
}

.newsletter-form {
    display: flex;
    margin-bottom: 20px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    border-radius: 4px 0 0 4px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    outline: none;
}

.newsletter-form button {
    background-color: var(--primary-green);
    color: white;
    border: none;
    padding: 0 20px;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: 0.3s;
}

.newsletter-form button:hover {
    background-color: var(--primary-hover);
}

.payment-icons {
    display: flex;
    gap: 12px;
    font-size: 28px;
    color: #cccccc;
}

.footer-divider {
    height: 1px;
    background-color: rgba(255,255,255,0.1);
    margin-bottom: 25px;
}

.copyright {
    text-align: center;
    color: #888888;
    font-size: 13px;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .hero-slider, .slide-img {
        max-height: 250px;
        height: 250px;
    }
}

/* Detalhes do Catalogo Custom Tabs */
.catalog-details-section {
    font-family: 'Poppins', sans-serif;
}
.custom-tabs-container {
    max-width: 1000px;
    margin: 0 auto;
}
.custom-tabs-header {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
}
.custom-tab-btn {
    background: #ffffff;
    border: 1px solid var(--primary-green);
    color: var(--primary-green);
    padding: 15px 10px;
    width: 140px;
    height: 90px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: 0.3s;
}
.custom-tab-btn i {
    font-size: 24px;
}
.custom-tab-btn.active, .custom-tab-btn:hover {
    background: var(--primary-green);
    color: #ffffff;
}
.custom-tabs-content {
    background: #ffffff;
}
.custom-tab-pane {
    display: none;
    animation: fadeIn 0.5s;
}
.custom-tab-pane.active {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.tab-images {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    width: 100%;
}
.tab-images img {
    max-width: 45%;
    object-fit: contain;
    height: 400px;
}
.tab-info {
    max-width: 800px;
    margin: 0 auto;
}
.tab-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 15px;
}
.tab-subtitle {
    font-size: 16px;
    font-weight: 800;
    color: var(--text-dark);
    margin-top: 20px;
    margin-bottom: 10px;
}
.tab-info p {
    font-size: 15px;
    color: #444;
    line-height: 1.6;
    margin-bottom: 15px;
}
.tab-divider {
    border: 0;
    border-top: 1px solid #ccc;
    margin: 20px 0;
}
.tab-small-text {
    font-size: 14px;
    color: #666;
}
.tab-specs {
    list-style: none;
    padding: 0;
    margin-top: 15px;
    margin-bottom: 15px;
    font-size: 14px;
    color: #444;
}
.tab-specs li {
    margin-bottom: 5px;
}
.tab-support {
    font-size: 14px;
    font-weight: 700;
    color: #444;
}
@media (max-width: 768px) {
    .tab-images {
        flex-direction: column;
        align-items: center;
    }
    .tab-images img {
        max-width: 90%;
        height: auto;
    }
}

/* Institutional Section Redesign */
.institutional-section {
    position: relative;
    padding: 80px 20px;
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    display: flex;
    justify-content: center;
}

.institutional-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.institutional-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* Dark overlay */
    z-index: 2;
}

.institutional-content {
    position: relative;
    z-index: 3;
    max-width: 1100px;
    width: 100%;
    text-align: center;
}

.inst-main-title {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 10px;
    color: #ffffff;
}

.inst-main-subtitle {
    font-size: 16px;
    color: #eeeeee;
    margin-bottom: 50px;
}

.inst-layout {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 50px;
    text-align: left;
}

.inst-logo-card {
    background-color: var(--primary-green);
    padding: 40px;
    border-radius: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 0 0 350px;
    height: 350px;
}

.inst-description {
    flex: 1;
}

.inst-description p {
    font-size: 15px;
    line-height: 1.7;
    color: #dddddd;
    margin-bottom: 20px;
}

@media (max-width: 992px) {
    .inst-layout {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .inst-logo-card {
        flex: auto;
        width: 100%;
        max-width: 350px;
        height: 250px;
        margin-bottom: 30px;
    }
    
    .inst-description {
        text-align: center;
    }
    
    .inst-description .btn-green {
        display: inline-block;
    }
}

/* Responsive */
@media (max-width: 992px) {
    .catalog-layout { flex-direction: column; }
    .catalog-sidebar { width: 100%; margin-bottom: 30px; }
    .products-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .product-columns { flex-direction: column; gap: 30px; }
    .product-gallery { max-width: 100%; }
    
    .nav-menu { display: none; } /* Simples hide para mobile por enquanto */
    .top-contacts, .top-socials { justify-content: center; width: 100%; margin-bottom: 10px; }
    .top-bar-inner { flex-direction: column; }
    
    .tab-pane.active { flex-direction: column; }
    .tab-pane > div { width: 100%; }
    .institutional .container { flex-direction: column; text-align: center; }
}

@media (max-width: 768px) {
    .products-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .newsletter-form { flex-direction: column; gap: 10px; }
    .newsletter-form input { border-radius: 4px; }
    .newsletter-form button { border-radius: 4px; padding: 12px; }
    .payment-icons { justify-content: center; }

    /* Banners mobile */
    .hero-slider { padding-top: 0; }
    .slide-img { height: 380px; }
    .slide-desktop { display: none !important; }
    .slide-mobile { display: block !important; }
    
    .slider-arrow { display: none; }
    .slider-dots { bottom: 15px; }
    
    .search-box { display: none; }
    .btn-catalog { font-size: 12px; padding: 10px 15px; }
}

/* =========================================
   ASSINATURA GESTORON - FUNDO TRANSPARENTE
========================================= */
.gestoron-footer-wrapper * { margin: 0; padding: 0; box-sizing: border-box; }
.gestoron-footer-link {
    display: inline-block; text-decoration: none; background: transparent; outline: none;
    transition: transform 0.2s ease, opacity 0.2s; border-radius: 32px;
}
.gestoron-footer {
    background: transparent; display: flex; flex-direction: column; align-items: center;
    justify-content: center; gap: 0.6rem; width: 100%;
    font-family: 'Segoe UI', system-ui, -apple-system, 'Roboto', sans-serif;
    text-align: center; padding: 0.5rem 1rem; transition: all 0.2s ease;
}
.gestoron-top-area {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
    background: transparent; border-radius: 48px; padding: 0.2rem 0.4rem;
    transition: transform 0.2s ease; cursor: pointer;
}
.gestoron-icon {
    display: flex; align-items: center; justify-content: center; height: 44px; width: auto;
    transition: filter 0.2s ease, transform 0.2s ease;
}
.gestoron-icon img {
    height: 100%; width: auto; display: block; object-fit: contain; pointer-events: none;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.05));
}
.gestoron-dynamic-text {
    display: inline-block; white-space: nowrap; overflow: hidden; width: 0;
    font-weight: 700; font-size: 1rem; vertical-align: middle; background: transparent;
    color: #ffffff; border-right: 2px solid #ffffff; /* Fundo escuro */
    transition: width 0.25s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}
@keyframes typingGesture { from { width: 0; } to { width: 8ch; } }
.gestoron-top-area:hover .gestoron-dynamic-text {
    animation: typingGesture 0.9s steps(8) forwards; width: 8ch;
    border-right-color: transparent; transition: none;
}
.gestoron-static-text { display: block; font-size: 0.8rem; font-weight: 500; color: #a0a0a0; letter-spacing: 0.2px; line-height: 1.4; }
.gestoron-footer-link:hover { transform: translateY(-2px); }
.gestoron-footer-link:hover .gestoron-icon img { filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.1)); transform: scale(1.02); }
@media (max-width: 550px) {
    .gestoron-icon { height: 38px; }
    .gestoron-dynamic-text { font-size: 0.85rem; }
    .gestoron-top-area:hover .gestoron-dynamic-text { width: 8ch; }
    .gestoron-static-text { font-size: 0.7rem; }
}

/* =========================================
   BOTÕES FLUTUANTES E CARRINHO LATERAL
========================================= */
.floating-actions {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
}

.floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: white;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: transform 0.3s, box-shadow 0.3s;
    border: none;
    cursor: pointer;
    position: relative;
}

.floating-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.4);
}

.whatsapp-floating {
    background-color: #25D366;
}

.cart-floating {
    background-color: var(--primary-green);
}

.cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: #ff4444;
    color: white;
    font-size: 12px;
    font-weight: bold;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
}

/* Cart Sidebar (Lateral) */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background-color: white;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    z-index: 1002;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
}

.cart-sidebar.active {
    right: 0;
}

.cart-header {
    padding: 20px;
    background-color: var(--primary-green);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h3 {
    margin: 0;
    font-size: 18px;
}

.close-cart {
    background: none;
    border: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.cart-footer {
    padding: 20px;
    border-top: 1px solid #eee;
}

.send-whatsapp-btn {
    width: 100%;
    padding: 15px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

/* Cart Overlay */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Mobile and tablet layout */
.mobile-menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: #f3f7f5;
    color: var(--primary-green);
    font-size: 20px;
    cursor: pointer;
}

@media (max-width: 992px) {
    body { overflow-x: hidden; }

    .container { width: 100%; padding-right: 20px; padding-left: 20px; }
    .main-navbar { width: calc(100% - 32px); padding: 9px 18px; }
    .navbar-inner { gap: 12px; }
    .logo img { max-width: 190px; max-height: 44px !important; }
    .mobile-menu-toggle { display: inline-flex; order: 3; }

    .nav-menu {
        display: none;
        position: absolute;
        top: calc(100% + 10px);
        right: 0;
        left: 0;
        z-index: 120;
        flex-direction: column;
        gap: 0;
        padding: 8px;
        border-radius: 16px;
        background: #ffffff;
        box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
    }

    .nav-menu.is-open { display: flex; }
    .nav-menu a { padding: 12px 14px; border-radius: 10px; }
    .nav-menu a:hover { background: #f2faf6; }

    .featured-product-box,
    .institutional .container,
    .product-columns { flex-direction: column; }

    .featured-image-box { border-right: 0; border-bottom: 1px solid var(--border); }
    .featured-info-box { padding: 32px; }
    .inst-logo-box { min-width: 0; width: 100%; }

    .catalog-layout { gap: 24px; }
    .catalog-sidebar { width: 240px; }
    .products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }

    .product-gallery { max-width: 100%; }
    .product-info { padding-top: 0; }
    .product-title-large { font-size: 28px; }

    .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 32px 24px !important; }
    .hero-contact-section > .container { gap: 30px !important; }
}

@media (max-width: 768px) {
    .top-bar { padding: 5px 0; }
    .top-bar-inner { flex-direction: row; flex-wrap: nowrap; justify-content: center; gap: 0; }
    .top-contacts { width: auto; margin-bottom: 0; gap: 5px !important; flex-wrap: nowrap; justify-content: center; }
    .top-contacts a { font-size: 9px !important; white-space: nowrap; }
    .top-contacts span { font-size: 8px !important; }
    .top-socials { width: auto; margin-bottom: 0; margin-left: 10px; gap: 8px; }

    .main-navbar-container { top: calc(100% - 5px); }
    .main-navbar { width: calc(100% - 20px); padding: 8px 12px; }
    .logo img { max-width: 145px; max-height: 38px !important; }
    .nav-actions { margin-left: auto; gap: 6px; }
    .nav-actions .search-box { display: none; }
    .btn-catalog { padding: 9px 12px; font-size: 10px; }
    .mobile-menu-toggle { width: 38px; height: 38px; font-size: 18px; }

    .hero-slider,
    .slide-img {
        height: auto;
        max-height: none;
    }

    .slide-img { aspect-ratio: auto; object-fit: contain; }
    .slider-arrow { width: 36px; height: 36px; font-size: 13px; }

    .hero-contact-section { padding: 36px 16px !important; }
    .hero-contact-section > .container > div {
        width: 100%;
        min-width: 0 !important;
        max-width: none !important;
        flex: 0 0 100% !important;
    }

    .hero-contact-section > .container > div:last-child { text-align: center !important; }

    .catalog-layout { flex-direction: column; }
    .catalog-sidebar { width: 100%; margin-bottom: 0; }
    .filter-widget { padding: 18px; }
    .filter-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 14px; }
    .filter-list li { margin-bottom: 0; }

    .featured-image-box,
    .featured-info-box { padding: 24px 20px; }
    .featured-info-box h3,
    .inst-text h2 { font-size: 23px; }
    .institutional { padding: 50px 0; margin: 35px 0; }
    .inst-logo-box { padding: 35px 24px; }

    .product-details-container { padding: 100px 0 55px; }
    .product-columns { gap: 28px; margin-bottom: 35px; }
    .product-title-large { font-size: 24px; margin-bottom: 12px; }
    .product-price-consult { font-size: 19px; margin-bottom: 22px; }
    .btn-large { width: 100%; padding: 14px 20px; }
    .product-description-section { padding-top: 28px; }
    .product-content { font-size: 15px; }

    .section-title { font-size: 24px; margin: 40px 0 18px; }
    .tabs-header { gap: 8px; margin-bottom: 24px; }
    .tab-btn { padding: 10px 16px; font-size: 13px; }
    .custom-tabs-header { gap: 8px; overflow-x: auto; justify-content: flex-start; padding-bottom: 6px; }

    footer { padding: 48px 0 20px; }
    .footer-grid { grid-template-columns: 1fr !important; gap: 28px !important; text-align: center; }
    .footer-links a { justify-content: center; }

    .about-page { padding: 100px 0 55px !important; }
    .about-layout { flex-direction: column; gap: 28px !important; text-align: center !important; }
    .about-layout > div { width: 100%; min-width: 0 !important; }
    .about-logo-card { flex-basis: auto !important; width: 100%; max-width: 360px; padding: 40px 28px !important; }

    .floating-buttons { right: 16px; bottom: 16px; gap: 10px; }
    .floating-btn { width: 50px; height: 50px; font-size: 23px; }
    .cart-sidebar { right: -100vw; max-width: 100%; visibility: hidden; }
    .cart-sidebar.active { right: 0; visibility: visible; }
    .pagination { gap: 6px; margin-top: 32px; flex-wrap: nowrap; }
    .page-link { width: 32px; height: 32px; font-size: 13px; flex: 0 0 32px; }
    .pagination-ellipsis { display: flex; align-items: center; justify-content: center; min-width: 18px; color: var(--text-grey); }
}

@media (max-width: 480px) {
    .top-bar .container { padding-right: 8px; padding-left: 8px; }
    .top-contacts { gap: 3px !important; }
    .top-contacts a { font-size: 8px !important; }
    .top-socials { display: none; }
    .nav-actions .btn-catalog { display: none; }
    .logo img { max-width: 155px; }
    .products-grid { grid-template-columns: 1fr; }
    .product-image { height: 200px; }
    .filter-list { grid-template-columns: 1fr; }
    .tab-item { width: calc(50% - 8px); min-width: 0; padding: 10px 8px; }
    .search-results { left: auto; right: 0; min-width: min(280px, 88vw); }
}
