/**
 * ABrito - Estilos Principais
 * 
 * Powered by MagicBrain - Criamos Soluções
 * Last review: 16/02/2026
 */

/* ==================== VARIÁVEIS E RESET ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2c3e50;
    --secondary-color: #34495e;
    --accent-color: #3498db;
    --light-gray: #ecf0f1;
    --very-light-gray: #f8f9fa;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --border-color: #d5d8dc;
    --white: #ffffff;
    --success-color: #27ae60;
    --danger-color: #e74c3c;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 4px 12px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.16);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    width: 100%;
    padding: 60px 0;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* ==================== SEÇÃO HEADERS ==================== */
.section-header {
    text-align: center;
    margin-bottom: 40px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.section-header h2 {
    font-size: 32px;
    margin-bottom: 8px;
    color: var(--primary-color);
    font-weight: 700;
    letter-spacing: -0.5px;
}

.section-header p {
    font-size: 15px;
    color: var(--text-light);
    font-weight: 400;
}

/* ==================== ANIMAÇÕES ==================== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes slideInRight {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(400px);
        opacity: 0;
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* ==================== LOADER ==================== */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.8s ease, visibility 0.8s ease;
    visibility: visible;
}

.loader.hide {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-content {
    text-align: center;
    animation: slideUp 0.6s ease;
}

.loader-logo {
    width: 200px;
    height: auto;
    margin-bottom: 30px;
}

.spinner {
    border: 4px solid var(--light-gray);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1.2s linear infinite;
    margin: 0 auto;
}

/* ==================== SCROLL TO TOP ==================== */
.scroll-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    z-index: 999;
}

.scroll-to-top.show {
    display: flex;
    animation: slideUp 0.3s ease;
}

.scroll-to-top:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

/* ==================== HEADER ==================== */
.header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--light-gray);
}

.navbar {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 14px 20px;
    gap: 40px;
    position: relative;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    position: absolute;
    left: 20px;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--primary-color);
    border-radius: 1px;
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(10px, 10px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(10px, -10px);
}

.center-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
}

.logo a {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
    letter-spacing: -0.5px;
    white-space: nowrap;
}

.logo a:hover {
    color: var(--secondary-color);
}

.logo img {
    height: 40px;
    width: auto;
    display: block;
    object-fit: contain;
}

.main-menu ul {
    display: flex;
    list-style: none;
    gap: 40px;
}

.main-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 700;
    font-size: 18px;
    transition: var(--transition);
    position: relative;
    letter-spacing: 0.4px;
    white-space: nowrap;
}

.main-menu a:hover {
    color: var(--secondary-color);
}

.main-menu a::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.main-menu a:hover::after {
    width: 100%;
}

.search-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 20px;
    color: var(--text-dark);
    transition: var(--transition);
    position: relative;
    padding: 8px;
    display: flex;
    align-items: center;
}

.search-btn:hover {
    color: var(--secondary-color);
}

.right-menu {
    display: flex;
    gap: 24px;
    align-items: center;
    flex-shrink: 0;
    position: absolute;
    right: 20px;
}

.cart-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 20px;
    color: var(--text-dark);
    transition: var(--transition);
    position: relative;
    padding: 8px;
    display: flex;
    align-items: center;
}

.cart-btn:hover {
    color: var(--secondary-color);
}

.cart-count {
    position: absolute;
    top: -6px;
    right: -6px;
    background: var(--danger-color);
    color: white;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 700;
}

.professional-login-btn {
    background: transparent;
    color: var(--text-dark);
    border: 2px solid var(--border-color);
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 700;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.4px;
    white-space: nowrap;
}

.professional-login-btn:hover {
    background: var(--very-light-gray);
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

/* ==================== USER DROPDOWN MENU ==================== */
.user-menu {
    position: relative;
    display: inline-block;
}

.user-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    min-width: 200px;
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
}

.user-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-dropdown::before {
    content: '';
    position: absolute;
    top: -8px;
    right: 20px;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid white;
}

.user-dropdown a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s ease;
    border-bottom: 1px solid #f0f0f0;
}

.user-dropdown a:last-child {
    border-bottom: none;
}

.user-dropdown a:first-child {
    border-radius: 8px 8px 0 0;
}

.user-dropdown a:last-child {
    border-radius: 0 0 8px 8px;
}

.user-dropdown a:hover {
    background: #f8f9fa;
    color: var(--accent-color);
}

.user-dropdown a i {
    width: 18px;
    text-align: center;
    color: var(--accent-color);
}

/* ==================== LANGUAGE SELECTOR ==================== */
.lang-selector {
    position: relative;
    display: inline-block;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 8px 12px;
    cursor: pointer;
    font-size: 13px;
    color: var(--text-dark);
    transition: all 0.2s ease;
}

.lang-btn:hover {
    background: var(--very-light-gray);
    border-color: var(--accent-color);
}

.lang-btn .lang-flag {
    font-size: 16px;
    line-height: 1;
}

.lang-btn .lang-code {
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 0.5px;
}

.lang-btn i {
    font-size: 10px;
    transition: transform 0.2s ease;
}

.lang-selector.active .lang-btn i {
    transform: rotate(180deg);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    min-width: 160px;
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    overflow: hidden;
}

.lang-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-dropdown::before {
    content: '';
    position: absolute;
    top: -8px;
    right: 16px;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid white;
}

.lang-dropdown a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s ease;
    border-bottom: 1px solid #f0f0f0;
}

.lang-dropdown a:last-child {
    border-bottom: none;
}

.lang-dropdown a:hover {
    background: var(--very-light-gray);
}

.lang-dropdown a.active {
    background: var(--primary-color);
    color: white;
}

.lang-dropdown a.active:hover {
    background: var(--secondary-color);
}

.lang-dropdown .lang-flag {
    font-size: 18px;
}

/* ==================== SEARCH BAR ==================== */
.search-bar {
    background: var(--very-light-gray);
    padding: 16px 20px;
    display: none;
    animation: slideDown 0.3s ease;
    border-bottom: 1px solid var(--light-gray);
}

.search-bar.active {
    display: block;
}

.search-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.search-bar input {
    width: 100%;
    padding: 12px 40px 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    font-size: 14px;
    transition: var(--transition);
    background: var(--white);
}

.search-bar input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(44, 62, 80, 0.1);
}

.search-close {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
    color: var(--text-light);
    padding: 4px;
    transition: var(--transition);
}

.search-close:hover {
    color: var(--text-dark);
}

/* ==================== BANNER ==================== */
.main-banner {
    position: relative;
    height: 540px;
    overflow: hidden;
    background: var(--very-light-gray);
    margin-top: -60px;
    padding-top: 60px;
}

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

.banner-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.banner-slide.active {
    opacity: 1;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 62, 80, 0.4);
}

.banner-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    max-width: 600px;
    padding: 0 20px;
}

.banner-content h1 {
    font-size: 48px;
    margin-bottom: 12px;
    font-weight: 700;
    letter-spacing: -1px;
    line-height: 1.2;
}

.banner-content p {
    font-size: 18px;
    margin-bottom: 28px;
    opacity: 0.95;
    font-weight: 400;
    letter-spacing: 0.3px;
}

.cta-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 32px;
    font-size: 14px;
    font-weight: 700;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    letter-spacing: 0.3px;
}

.cta-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.banner-controls {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 16px;
    align-items: center;
    z-index: 10;
}

.banner-prev,
.banner-next {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

.banner-prev:hover,
.banner-next:hover {
    background: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.banner-dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.dot.active {
    background: white;
    width: 24px;
    border-radius: 4px;
}

/* ==================== CATEGORIAS ==================== */
.featured-categories {
    background: var(--white);
    width: 100%;
    padding: 60px 0;
}

.featured-categories-content {
    max-width: 100%;
    padding: 0 20px;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 28px;
    padding: 0 20px;
    max-width: 100%;
}

.category-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
    border: 1px solid var(--light-gray);
    display: block;
    text-decoration: none;
    color: inherit;
}

.category-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent-color);
}

.category-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: var(--very-light-gray);
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.category-card:hover .category-image img {
    transform: scale(1.08);
}

.category-card h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--primary-color);
    font-weight: 700;
    padding: 20px 20px 0 20px;
}

.category-card p {
    color: var(--text-light);
    margin-bottom: 14px;
    font-size: 13px;
    padding: 0 20px;
}

.category-link {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
    font-size: 13px;
    letter-spacing: 0.3px;
    padding: 0 20px 20px 20px;
}

.category-link:hover {
    color: var(--secondary-color);
}

.category-link i {
    margin-left: 5px;
    transition: var(--transition);
    font-size: 11px;
}

.category-link:hover i {
    transform: translateX(4px);
}

/* ==================== BEST SELLERS ==================== */
.best-sellers {
    background: var(--very-light-gray);
    width: 100%;
    padding: 60px 0;
}

.best-sellers-content-wrapper {
    width: 100%;
    padding: 0 20px;
}

.best-sellers-content-wrapper .section-header {
    margin-bottom: 40px;
    padding: 0 20px;
}

.best-sellers-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 0 20px;
}

@media (min-width: 1024px) {
    .best-sellers-content {
        grid-template-columns: 1.2fr 1fr;
    }
}

.product-display {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--light-gray);
}

.product-image-container {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    background: var(--very-light-gray);
}

.product-img-main {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-image-container:hover .product-img-main {
    transform: scale(1.05);
}

.product-badge,
.product-discount {
    position: absolute;
    background: var(--primary-color);
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.4px;
}

.product-badge {
    top: 12px;
    left: 12px;
}

.product-discount {
    top: 12px;
    right: 12px;
    background: var(--danger-color);
}

.product-description {
    padding: 28px;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.stars {
    font-size: 13px;
    color: #f39c12;
}

.rating-count {
    color: var(--text-light);
    font-size: 12px;
}

.product-description h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--primary-color);
    font-weight: 700;
}

.product-description p {
    color: var(--text-light);
    margin-bottom: 14px;
    line-height: 1.6;
    font-size: 14px;
}

.product-specs {
    display: flex;
    gap: 20px;
    margin-bottom: 16px;
    padding: 14px 0;
    border-top: 1px solid var(--light-gray);
    border-bottom: 1px solid var(--light-gray);
    flex-wrap: wrap;
}

.product-specs span {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-light);
    font-size: 13px;
}

.product-price {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 18px;
    padding: 14px 0;
}

.original-price {
    font-size: 13px;
    color: var(--text-light);
    text-decoration: line-through;
}

.current-price {
    font-size: 28px;
    color: var(--primary-color);
    font-weight: 700;
}

.product-actions {
    display: flex;
    gap: 12px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.quantity-selector {
    display: flex;
    align-items: center;
    border: 2px solid var(--border-color);
    border-radius: 4px;
}

.quantity-selector button {
    background: none;
    border: none;
    padding: 8px 12px;
    cursor: pointer;
    font-size: 16px;
    color: var(--text-dark);
    transition: var(--transition);
    font-weight: 700;
}

.quantity-selector button:hover {
    background: var(--very-light-gray);
    color: var(--secondary-color);
}

.quantity-selector input {
    width: 50px;
    border: none;
    text-align: center;
    font-size: 13px;
    border-left: 2px solid var(--border-color);
    border-right: 2px solid var(--border-color);
    font-weight: 700;
}

.quantity-selector input:focus {
    outline: none;
}

.add-to-cart-btn {
    flex: 1;
    min-width: 140px;
    padding: 10px 16px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    letter-spacing: 0.3px;
}

.add-to-cart-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.product-info {
    padding-top: 14px;
    border-top: 1px solid var(--light-gray);
}

.product-info p {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    color: var(--text-light);
    font-size: 12px;
}

.product-info i {
    color: var(--success-color);
    font-size: 11px;
}

.best-sellers-list {
    background: var(--white);
    border-radius: 8px;
    padding: 24px;
    box-shadow: var(--shadow);
    height: fit-content;
    border: 1px solid var(--light-gray);
}

@media (min-width: 1024px) {
    .best-sellers-list {
        position: sticky;
        top: 120px;
    }
}

.best-sellers-list h4 {
    margin-bottom: 16px;
    color: var(--primary-color);
    font-size: 16px;
    font-weight: 700;
}

.best-sellers-list ul {
    list-style: none;
    max-height: 600px;
    overflow-y: auto;
}

.best-sellers-list ul::-webkit-scrollbar {
    width: 5px;
}

.best-sellers-list ul::-webkit-scrollbar-track {
    background: var(--very-light-gray);
    border-radius: 4px;
}

.best-sellers-list ul::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: 4px;
}

.product-item {
    display: flex;
    gap: 12px;
    padding: 12px;
    cursor: pointer;
    border-radius: 4px;
    transition: var(--transition);
    align-items: center;
    border: 1px solid transparent;
}

.product-item:hover {
    background: var(--very-light-gray);
}

.product-item.active {
    background: var(--very-light-gray);
    border: 1px solid var(--accent-color);
}

.product-item img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
}

.product-item-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.product-item-name {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-item-price {
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 12px;
}

.catalog-download {
    display: flex;
    gap: 14px;
    justify-content: center;
    margin-top: 40px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.download-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.download-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.download-btn.secondary {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.download-btn.secondary:hover {
    background: var(--very-light-gray);
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

/* ==================== DEPOIMENTOS ==================== */
.testimonials {
    background: var(--white);
    width: 100%;
    padding: 60px 0;
}

.testimonials-content {
    max-width: 100%;
    padding: 0 20px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.testimonial-card {
    background: var(--very-light-gray);
    padding: 24px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    border: 1px solid var(--light-gray);
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.testimonial-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    margin: 0 auto 14px;
    border: 2px solid var(--primary-color);
    object-fit: cover;
}

.testimonial-stars {
    font-size: 12px;
    margin-bottom: 12px;
    color: #f39c12;
}

.testimonial-text {
    color: var(--text-light);
    margin-bottom: 14px;
    line-height: 1.6;
    font-size: 13px;
    font-style: italic;
}

.testimonial-author {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 12px;
}

/* ==================== STATIC BANNER ==================== */
.static-banner {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 80px 20px;
    text-align: center;
    color: white;
    position: relative;
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

@media (min-width: 768px) {
    .static-banner {
        padding: 100px 20px;
        min-height: 400px;
    }
}

.static-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(44, 62, 80, 0.5);
}

.static-banner-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    padding: 0 20px;
}

.static-banner-content h2 {
    font-size: 36px;
    margin-bottom: 12px;
    font-weight: 700;
    letter-spacing: -0.8px;
}

@media (min-width: 768px) {
    .static-banner-content h2 {
        font-size: 40px;
    }
}

.static-banner-content p {
    font-size: 16px;
    margin-bottom: 28px;
    opacity: 0.95;
    font-weight: 400;
    letter-spacing: 0.4px;
}

.cta-btn-white {
    background: white;
    color: var(--primary-color);
    border: none;
    padding: 12px 32px;
    font-size: 14px;
    font-weight: 700;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    letter-spacing: 0.4px;
}

.cta-btn-white:hover {
    background: var(--very-light-gray);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    color: var(--secondary-color);
}

/* ==================== PROJETOS ==================== */
.projects-section {
    background: var(--very-light-gray);
    width: 100%;
    padding: 60px 0;
}

.projects-content-wrapper {
    max-width: 100%;
    padding: 0 20px;
}

.projects-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    width: 100%;
}

@media (min-width: 1024px) {
    .projects-content {
        grid-template-columns: 1fr 1.2fr;
        gap: 32px;
    }
}

.projects-list {
    background: var(--white);
    border-radius: 8px;
    padding: 24px;
    height: fit-content;
    box-shadow: var(--shadow);
    border: 1px solid var(--light-gray);
}

@media (min-width: 1024px) {
    .projects-list {
        position: sticky;
        top: 120px;
    }
}

.projects-list ul {
    list-style: none;
}

.project-item {
    padding: 14px;
    margin-bottom: 8px;
    cursor: pointer;
    border-radius: 4px;
    transition: var(--transition);
    border-left: 3px solid transparent;
}

.project-item:hover {
    background: var(--very-light-gray);
    border-left-color: var(--primary-color);
}

.project-item.active {
    background: var(--very-light-gray);
    border-left-color: var(--accent-color);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
}

.project-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
    gap: 10px;
}

.project-item h4 {
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 700;
    flex: 1;
    word-wrap: break-word;
}

.project-year {
    background: var(--primary-color);
    color: white;
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 10px;
    font-weight: 700;
    white-space: nowrap;
}

.project-item p {
    color: var(--text-light);
    font-size: 12px;
    margin-bottom: 6px;
}

.project-client {
    display: block;
    font-size: 11px;
    color: var(--text-light);
    margin-top: 6px;
    padding-top: 6px;
    border-top: 1px solid var(--light-gray);
}

.project-display {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--light-gray);
}

.project-image-container {
    position: relative;
    height: 360px;
    overflow: hidden;
    background: var(--very-light-gray);
}

.project-image-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.project-image {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.project-image.active {
    opacity: 1;
}

.project-image-controls {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.project-prev,
.project-next {
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.project-prev:hover,
.project-next:hover {
    background: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.project-counter {
    position: absolute;
    bottom: 14px;
    right: 14px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
}

.project-description {
    padding: 24px;
}

.project-description h3 {
    font-size: 20px;
    margin-bottom: 8px;
    color: var(--primary-color);
    font-weight: 700;
}

.project-location {
    color: var(--text-light);
    margin-bottom: 12px;
    font-size: 12px;
}

.project-description p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 14px;
    font-size: 13px;
}

.project-stats {
    display: flex;
    gap: 24px;
    padding-top: 14px;
    border-top: 1px solid var(--light-gray);
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-label {
    font-size: 11px;
    color: var(--text-light);
    margin-top: 4px;
}

/* ==================== PARCEIROS ==================== */
.partners {
    background: var(--white);
    width: 100%;
    padding: 60px 0;
}

.partners-content {
    max-width: 100%;
    padding: 0 20px;
}

.partners-content h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
    color: var(--primary-color);
    font-weight: 700;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    width: 100%;
}

.partner-logo {
    background: var(--very-light-gray);
    padding: 28px 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
    border: 1px solid var(--light-gray);
}

.partner-logo:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.partner-logo img {
    width: 80px;
    height: 80px;
    margin: 0 auto 12px;
    border-radius: 50%;
    object-fit: cover;
}

.partner-logo p {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 13px;
}

/* ==================== AGENTES MAP ==================== */
.agents-map {
    background: var(--very-light-gray);
    width: 100%;
    padding: 60px 0;
}

.agents-map-content {
    max-width: 100%;
    padding: 0 20px;
}

.agents-map-image {
    margin-bottom: 60px;
    width: 100%;
    position: relative;
    z-index: 1;
}

.agents-map-image img {
    border-radius: 8px;
    box-shadow: var(--shadow);
    width: 100%;
}

.agents-info {
    display: flex;
    gap: 20px;
    width: 100%;
    transition: transform 0.4s ease;
}

/* Agents Carousel */
.agents-carousel-container {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 15px;
    margin-top: 20px;
    padding-top: 20px;
    position: relative;
    z-index: 10;
}

.agents-carousel-wrapper {
    flex: 1;
    overflow-x: hidden;
    overflow-y: visible;
    padding: 20px 0;
}

.agents-carousel-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    flex-shrink: 0;
}

.agents-carousel-btn:hover {
    background: var(--accent-color);
    transform: scale(1.1);
}

.agents-carousel-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.agents-carousel-btn:disabled:hover {
    transform: none;
}

.agent-card {
    flex: 0 0 calc((100% - 80px) / 5);
    min-width: calc((100% - 80px) / 5);
    background: var(--white);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--light-gray);
    outline: 2px solid #ccc;
    outline-offset: -2px;
    cursor: pointer;
    position: relative;
    z-index: 1;
}

.agent-card:focus,
.agent-card:active {
    outline: 2px solid #ccc;
}

.agent-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    position: relative;
    z-index: 20;
}

.agent-card.highlighted {
    transform: translateY(-6px);
    box-shadow: 0 0 0 3px var(--accent-color), var(--shadow-hover);
    border-color: var(--accent-color);
    outline: none;
}

.agent-icon {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.agent-card h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: 700;
}

.agent-card p {
    color: var(--text-light);
    font-size: 12px;
    line-height: 1.6;
    margin-bottom: 6px;
}

.agent-card strong {
    color: var(--primary-color);
    display: block;
    margin-bottom: 6px;
}

.agent-card a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 700;
}

/* Leaflet map container */
#agentsMap {
    position: relative;
    z-index: 1;
}

.leaflet-container {
    z-index: 1 !important;
}

/* Leaflet popup styles */
.leaflet-popup-content .popup-link {
    display: inline-block;
    margin-top: 8px;
    color: var(--accent-color);
    font-weight: 600;
    font-size: 12px;
}

.leaflet-popup-content .popup-link:hover {
    text-decoration: underline;
}

/* Responsive Agents Carousel */
@media (max-width: 1200px) {
    .agent-card {
        flex: 0 0 calc((100% - 60px) / 4);
        min-width: calc((100% - 60px) / 4);
    }
}

@media (max-width: 992px) {
    .agent-card {
        flex: 0 0 calc((100% - 40px) / 3);
        min-width: calc((100% - 40px) / 3);
    }
}

@media (max-width: 768px) {
    .agent-card {
        flex: 0 0 calc((100% - 20px) / 2);
        min-width: calc((100% - 20px) / 2);
    }
    
    .agents-carousel-btn {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .agent-card {
        flex: 0 0 100%;
        min-width: 100%;
    }
    
    .agents-carousel-container {
        gap: 10px;
    }
    
    .agents-carousel-btn {
        width: 35px;
        height: 35px;
    }
}

/* ==================== NEWSLETTER CTA ==================== */
.newsletter-cta {
    background: var(--primary-color);
    padding: 50px 20px;
    color: white;
    text-align: center;
    width: 100%;
}

.newsletter-cta-content {
    max-width: 100%;
    padding: 0 20px;
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-content h2 {
    font-size: 32px;
    margin-bottom: 10px;
    font-weight: 700;
    letter-spacing: -0.8px;
}

@media (min-width: 768px) {
    .newsletter-content h2 {
        font-size: 36px;
    }
}

.newsletter-content p {
    font-size: 15px;
    margin-bottom: 28px;
    opacity: 0.95;
    font-weight: 400;
    letter-spacing: 0.4px;
}

.newsletter-form-cta {
    display: flex;
    gap: 8px;
    max-width: 100%;
}

.newsletter-form-cta input {
    flex: 1;
    padding: 10px 14px;
    border: none;
    border-radius: 4px;
    font-size: 13px;
    background: white;
    min-width: 0;
}

.newsletter-form-cta button {
    padding: 10px 20px;
    background: var(--accent-color);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 700;
    transition: var(--transition);
    font-size: 13px;
    white-space: nowrap;
}

.newsletter-form-cta button:hover {
    background: #2980b9;
    transform: translateY(-2px);
}

/* ==================== FOOTER ==================== */
.footer {
    background: var(--primary-color);
    color: white;
    padding: 50px 20px 20px;
    width: 100%;
}

.footer-content-wrapper {
    max-width: 100%;
    padding: 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 40px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 640px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-content {
        grid-template-columns: repeat(5, 1fr);
    }
}

.footer-section h4 {
    margin-bottom: 16px;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 10px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
    font-size: 14px;
}

.footer-section a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 12px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    font-size: 18px;
    transition: var(--transition);
}

.social-links a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.newsletter-form {
    display: flex;
    gap: 6px;
    margin-bottom: 8px;
}

.newsletter-form input {
    flex: 1;
    padding: 8px 12px;
    border: none;
    border-radius: 3px;
    font-size: 11px;
    background: white;
    min-width: 0;
}

.newsletter-form button {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 3px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 11px;
}

.newsletter-form button:hover {
    background: rgba(255, 255, 255, 0.3);
}

.newsletter-text {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-bottom p {
    margin-bottom: 8px;
}

.footer-links {
    margin-top: 10px;
}

.footer-links a {
    margin: 0 8px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
    font-size: 14px;
}

.footer-links a:hover {
    color: white;
}

.footer-certifications {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
}

.footer-certifications span {
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ==================== MODALS ==================== */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s ease;
    overflow-y: auto;
}

.modal-content {
    background-color: white;
    margin: 10% auto;
    padding: 28px;
    border-radius: 8px;
    width: 90%;
    max-width: 420px;
    box-shadow: var(--shadow-lg);
    animation: slideUp 0.3s ease;
}

.cart-modal {
    max-width: 520px;
}

@media (max-width: 480px) {
    .modal-content {
        width: 95%;
        margin: 20% auto;
        padding: 24px;
    }
}

.close {
    color: #aaa;
    float: right;
    font-size: 24px;
    font-weight: 300;
    cursor: pointer;
    transition: var(--transition);
    line-height: 20px;
}

.close:hover {
    color: var(--primary-color);
}

.modal-header {
    margin-bottom: 24px;
}

.modal-header h2 {
    color: var(--primary-color);
    margin-bottom: 16px;
    text-align: center;
    font-size: 20px;
    font-weight: 700;
}

.modal-tabs {
    display: flex;
    gap: 8px;
    border-bottom: 1px solid var(--light-gray);
    margin-bottom: 24px;
}

.modal-tab {
    flex: 1;
    padding: 12px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-light);
    font-weight: 600;
    border-bottom: 2px solid transparent;
    transition: var(--transition);
    font-size: 13px;
}

.modal-tab.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.modal-form {
    display: none;
}

.modal-form.active {
    display: block;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 13px;
}

.form-group input {
    width: 100%;
    padding: 10px 12px;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    font-size: 13px;
    transition: var(--transition);
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(44, 62, 80, 0.1);
}

.form-group.checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-group.checkbox input {
    width: auto;
}

.btn-submit {
    width: 100%;
    padding: 10px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    font-size: 13px;
    letter-spacing: 0.3px;
}

.btn-submit:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

.cart-items {
    max-height: 320px;
    overflow-y: auto;
    margin-bottom: 20px;
    padding: 14px 0;
}

.empty-cart {
    text-align: center;
    color: var(--text-light);
    padding: 40px 20px;
    font-size: 13px;
}

.cart-summary {
    border-top: 1px solid var(--light-gray);
    padding-top: 14px;
}

.cart-summary p {
    font-size: 15px;
    margin-bottom: 14px;
    color: var(--primary-color);
    font-weight: 700;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
    .navbar {
        padding: 12px 20px;
    }

    .center-nav {
        gap: 20px;
    }

    .hamburger {
        display: flex;
    }

    .main-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 16px;
        box-shadow: var(--shadow);
        border-bottom: 1px solid var(--light-gray);
        width: 100%;
    }

    .main-menu.active {
        display: flex;
    }

    .main-menu ul {
        flex-direction: column;
        gap: 0;
        margin-left: 0;
    }

    .main-menu li {
        border-bottom: 1px solid var(--light-gray);
        padding: 14px 0;
        text-align: center;
    }

    .main-menu li:last-child {
        border-bottom: none;
    }

    .main-menu a {
        font-size: 16px;
    }

    .search-btn {
        display: none;
    }

    .professional-login-btn {
        display: none;
    }

    .banner-content h1 {
        font-size: 28px;
    }

    .banner-content p {
        font-size: 14px;
    }

    .static-banner-content h2 {
        font-size: 24px;
    }

    .newsletter-content h2 {
        font-size: 24px;
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 0 12px;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 12px 20px;
        gap: 20px;
    }

    .logo img {
        height: 28px;
    }

    .main-menu a {
        font-size: 14px;
    }

    .main-menu ul {
        gap: 0;
    }

    section {
        padding: 30px 0;
    }

    .section-header h2 {
        font-size: 24px;
    }

    .container {
        padding: 0 12px;
    }

    .main-banner {
        height: 480px;
    }

    .center-nav {
        gap: 15px;
    }

    .categories-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 12px;
    }

    .featured-categories-content {
        padding: 0 12px;
    }

    .best-sellers-content-wrapper {
        padding: 0 12px;
    }

    .projects-content-wrapper {
        padding: 0 12px;
    }

    .partners-content {
        padding: 0 12px;
    }

    .agents-map-content {
        padding: 0 12px;
    }

    .newsletter-cta-content {
        padding: 0 12px;
    }

    .footer-content-wrapper {
        padding: 0 12px;
    }
}