/* ===== BANNER CONSTRUÇÃO ===== */
.construction-banner {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: #fff;
    text-align: center;
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.3px;
    position: relative;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.construction-banner svg { flex-shrink: 0; }
.construction-banner .cb-close {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    opacity: 0.7;
    padding: 4px;
    line-height: 1;
    font-size: 18px;
}
.construction-banner .cb-close:hover { opacity: 1; }
@media (max-width: 600px) {
    .construction-banner { font-size: 11px; padding: 8px 40px 8px 12px; }
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #1a56db;
    --primary-dark: #1242b0;
    --primary-light: #e8f0fe;
    --accent: #f59e0b;
    --accent-dark: #d97706;
    --dark: #111827;
    --gray-900: #1f2937;
    --gray-700: #374151;
    --gray-500: #6b7280;
    --gray-300: #d1d5db;
    --gray-100: #f3f4f6;
    --white: #ffffff;
    --whatsapp: #25d366;
    --whatsapp-dark: #1da851;
    --radius: 12px;
    --radius-sm: 8px;
    --shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.1), 0 6px 10px rgba(0,0,0,0.08);
    --shadow-xl: 0 20px 40px rgba(0,0,0,0.12), 0 8px 16px rgba(0,0,0,0.08);
    --transition: 0.3s ease;
    /* Grapol-style dark theme */
    --header-bg: #141414;
    --header-topbar-bg: #0d0d0d;
    --footer-bg: #363636;
    --footer-bottom-bg: #2a2a2a;
    --gray-200: #e5e7eb;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 120px;
}

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--gray-700);
    line-height: 1.6;
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font: inherit; }

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

/* ===== Top Bar ===== */
.top-bar {
    background: var(--dark);
    color: rgba(255,255,255,0.7);
    font-size: 13px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

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

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 24px;
}

.top-bar-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,0.7);
    transition: var(--transition);
}

.top-bar-item:hover {
    color: var(--white);
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.top-bar-social {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    color: rgba(255,255,255,0.5);
    border-radius: 50%;
    transition: var(--transition);
}

.top-bar-social:hover {
    color: var(--white);
    background: rgba(255,255,255,0.1);
}

/* ===== Header ===== */
.header {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--gray-100);
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

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

.logo-img {
    height: 52px;
    width: auto;
    object-fit: contain;
}

.logo-img-footer {
    height: 46px;
}

.logo-icon {
    width: 42px;
    height: 42px;
    background: var(--primary);
    color: var(--white);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 20px;
}

.logo-text strong {
    display: block;
    font-size: 18px;
    color: var(--dark);
    letter-spacing: 1.5px;
    font-weight: 900;
}

.logo-text small {
    font-size: 11px;
    color: var(--gray-500);
    font-weight: 500;
}

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

.nav-link {
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-700);
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
    background: var(--primary-light);
}

.btn-nav-cta {
    padding: 10px 20px !important;
    font-size: 13px !important;
    margin-left: 8px;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--dark);
    border-radius: 2px;
    transition: var(--transition);
}

/* ===== Hero ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #1a56db 100%);
    overflow: hidden;
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 80% 20%, rgba(245,158,11,0.12) 0%, transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(26,86,219,0.15) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(255,255,255,0.02) 0%, transparent 100%);
}

.hero::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -100px;
    width: 500px;
    height: 500px;
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 50%;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -50px;
    width: 400px;
    height: 400px;
    border: 1px solid rgba(255,255,255,0.03);
    border-radius: 50%;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 100px 0 80px;
}

.hero-text {
    max-width: 680px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 50px;
    color: var(--accent);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 28px;
}

.hero h1 {
    font-size: clamp(34px, 5vw, 56px);
    font-weight: 900;
    color: var(--white);
    line-height: 1.12;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.hero p {
    font-size: 18px;
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 560px;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 72px;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 0;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius);
    padding: 24px 0;
    max-width: 520px;
}

.stat {
    flex: 1;
    text-align: center;
    padding: 0 24px;
}

.stat strong {
    display: block;
    font-size: 30px;
    font-weight: 900;
    color: var(--white);
    line-height: 1.2;
}

.stat span {
    font-size: 12px;
    color: rgba(255,255,255,0.45);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.4;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.15);
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(26,86,219,0.3);
}

.btn-whatsapp {
    background: var(--whatsapp);
    color: var(--white);
}

.btn-whatsapp:hover {
    background: var(--whatsapp-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37,211,102,0.3);
}

.btn-outline {
    border: 2px solid var(--gray-300);
    color: var(--gray-700);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-outline-light {
    border: 2px solid rgba(255,255,255,0.3);
    color: var(--white);
}

.btn-outline-light:hover {
    border-color: var(--white);
    background: rgba(255,255,255,0.1);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 16px;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ===== Sections ===== */
.section {
    padding: 100px 0;
}

.section-alt {
    background: var(--gray-100);
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2.5px;
    margin-bottom: 12px;
}

.section-header h2 {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 900;
    color: var(--dark);
    margin-bottom: 14px;
    letter-spacing: -0.3px;
}

.section-header p {
    font-size: 17px;
    color: var(--gray-500);
    max-width: 560px;
    margin: 0 auto;
}

/* ===== About ===== */
.about-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.about-content .section-tag {
    display: block;
    margin-bottom: 8px;
}

.about-content h2 {
    font-size: 36px;
    font-weight: 900;
    color: var(--dark);
    margin-bottom: 20px;
    letter-spacing: -0.3px;
}

.about-lead {
    font-size: 17px;
    color: var(--gray-700);
    font-weight: 500;
    line-height: 1.7;
    margin-bottom: 16px;
}

.about-content p {
    font-size: 15px;
    color: var(--gray-500);
    line-height: 1.8;
    margin-bottom: 12px;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gray-700);
    font-size: 14px;
    font-weight: 500;
}

.about-feature svg {
    color: var(--primary);
    flex-shrink: 0;
}

.about-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.about-card {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius);
    padding: 28px;
    transition: var(--transition);
}

.about-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.about-icon {
    width: 52px;
    height: 52px;
    background: var(--primary-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-bottom: 16px;
}

.about-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 6px;
}

.about-card p {
    font-size: 13px;
    color: var(--gray-500);
    line-height: 1.6;
}

/* ===== Services ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 36px;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--gray-300);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.service-icon {
    width: 64px;
    height: 64px;
    background: var(--primary-light);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-bottom: 20px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--primary);
    color: var(--white);
}

.service-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
}

.service-card p {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.7;
}

.service-card-highlight {
    border-color: var(--primary);
    background: linear-gradient(135deg, var(--white), var(--primary-light));
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 16px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    transition: var(--transition);
}

.service-link:hover {
    gap: 8px;
}

/* ===== Cavaletti Section ===== */
.cavaletti-section {
    position: relative;
    padding: 120px 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 60%, #1a56db 100%);
    overflow: hidden;
}

.cavaletti-overlay {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 90% 30%, rgba(245,158,11,0.1) 0%, transparent 50%),
        radial-gradient(circle at 10% 70%, rgba(26,86,219,0.12) 0%, transparent 50%);
}

.cavaletti-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.cavaletti-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(245,158,11,0.15);
    border: 1px solid rgba(245,158,11,0.3);
    border-radius: 50px;
    color: var(--accent);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 24px;
}

.cavaletti-content h2 {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 900;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 20px;
}

.cavaletti-content h2 span {
    color: var(--accent);
}

.cavaletti-content > p {
    font-size: 17px;
    color: rgba(255,255,255,0.65);
    line-height: 1.7;
    margin-bottom: 48px;
    font-weight: 300;
}

.cavaletti-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-bottom: 48px;
}

.cavaletti-stat {
    text-align: center;
}

.cavaletti-stat strong {
    display: block;
    font-size: 32px;
    font-weight: 900;
    color: var(--white);
    line-height: 1.2;
}

.cavaletti-stat span {
    font-size: 12px;
    color: rgba(255,255,255,0.45);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.4;
}

.cavaletti-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== Numbers Section ===== */
.numbers-section {
    padding: 80px 0;
    background: var(--white);
}

.numbers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.number-card {
    text-align: center;
    padding: 32px 20px;
    border-radius: var(--radius);
    border: 1px solid var(--gray-100);
    transition: var(--transition);
}

.number-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.number-icon {
    width: 56px;
    height: 56px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin: 0 auto 16px;
}

.number-card strong {
    display: block;
    font-size: 40px;
    font-weight: 900;
    color: var(--dark);
    line-height: 1.1;
    margin-bottom: 8px;
}

.number-suffix {
    font-size: 28px;
}

.number-card span {
    font-size: 13px;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.5;
    font-weight: 500;
}

/* ===== Contact ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.contact-item {
    display: flex;
    gap: 16px;
    margin-bottom: 28px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: var(--primary-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.contact-item h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 4px;
}

.contact-item p {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.6;
}

.contact-item a {
    color: var(--primary);
    font-weight: 600;
}

.contact-socials {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

.contact-social {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: var(--gray-100);
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-700);
    transition: var(--transition);
}

.contact-social:hover {
    background: var(--primary-light);
    color: var(--primary);
}

.contact-form {
    background: var(--white);
    padding: 36px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-100);
}

.contact-form h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 24px;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: var(--transition);
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26,86,219,0.1);
}

/* ===== Footer ===== */
.footer {
    background: var(--dark);
    color: rgba(255,255,255,0.6);
    padding: 64px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 40px;
}

.footer-brand p {
    margin-top: 16px;
    font-size: 14px;
    line-height: 1.7;
}

.footer-brand .logo-icon {
    background: rgba(255,255,255,0.1);
}

.footer-brand .logo-text strong {
    color: var(--white);
}

.footer-brand .logo-text small {
    color: rgba(255,255,255,0.4);
}

.footer-socials {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.footer-socials a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
    color: rgba(255,255,255,0.6);
    transition: var(--transition);
}

.footer-socials a:hover {
    background: var(--primary);
    color: var(--white);
}

.footer-links h4 {
    color: var(--white);
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-links a {
    display: block;
    font-size: 14px;
    padding: 5px 0;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 4px;
}

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

/* ===== WhatsApp Float ===== */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    background: var(--whatsapp);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37,211,102,0.4);
    z-index: 999;
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(37,211,102,0.5);
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 4px 15px rgba(37,211,102,0.4); }
    50% { box-shadow: 0 4px 30px rgba(37,211,102,0.6); }
}

/* ===== Scroll Animations ===== */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-animate="fade-right"] {
    transform: translateX(-30px);
}

[data-animate="fade-left"] {
    transform: translateX(30px);
}

[data-animate].visible {
    opacity: 1 !important;
    transform: translate(0, 0) !important;
}

/* ===== Homepage E-commerce (hp-*) ===== */

/* Hero Carousel */
.hp-hero-carousel {
    position: relative;
    overflow: hidden;
    height: 480px;
    background: #0f172a;
}
.hp-hero-slides {
    display: flex;
    height: 100%;
    transition: transform 0.6s ease;
}
.hp-hero-slide {
    min-width: 100%;
    position: relative;
    display: flex;
    align-items: center;
}
.hp-hero-slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.5;
}
.hp-hero-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(15,23,42,0.95) 25%, rgba(15,23,42,0.6) 55%, transparent 100%);
    z-index: 1;
}
.hp-hero-slide-content {
    position: relative;
    z-index: 2;
    color: #fff;
    max-width: 560px;
    padding: 0 40px;
}
.hp-hero-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    margin-bottom: 12px;
    background: rgba(255,255,255,0.08);
    padding: 6px 14px;
    border-radius: 30px;
}
.hp-hero-slide-content h1 {
    font-size: 42px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 14px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.hp-hero-slide-content p {
    font-size: 16px;
    opacity: 0.8;
    margin-bottom: 24px;
    line-height: 1.5;
}
.hp-hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.hp-hero-actions .btn {
    padding: 14px 28px;
    font-size: 14px;
    font-weight: 700;
}
.hp-hero-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 8px;
}
.hp-hero-dots button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.5);
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s;
}
.hp-hero-dots button.active {
    background: #fff;
    border-color: #fff;
    width: 28px;
    border-radius: 5px;
}
.hp-hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}
.hp-hero-arrow:hover { background: rgba(255,255,255,0.2); }
.hp-hero-prev { left: 16px; }
.hp-hero-next { right: 16px; }

/* Product Sections */
.hp-products-section {
    padding: 50px 0;
}
.hp-products-section:nth-child(even) {
    background: var(--gray-100);
}
.hp-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
}
.hp-section-header h2 {
    font-size: 24px;
    font-weight: 800;
    color: var(--dark);
}
.hp-section-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
}
.hp-section-link:hover { text-decoration: underline; }
.hp-product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* Promo Banner */
.hp-promo-banner {
    background: linear-gradient(135deg, #0f172a 0%, var(--primary) 100%);
    color: #fff;
    padding: 64px 0;
}
.hp-promo-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 48px;
}
.hp-promo-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    margin-bottom: 10px;
}
.hp-promo-inner h2 {
    font-size: 30px;
    font-weight: 800;
    margin-bottom: 12px;
}
.hp-promo-inner p {
    font-size: 15px;
    opacity: 0.85;
    margin-bottom: 24px;
    max-width: 480px;
}
.hp-promo-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.hp-promo-stats {
    display: flex;
    gap: 36px;
    text-align: center;
}
.hp-promo-stat strong {
    display: block;
    font-size: 32px;
    font-weight: 800;
}
.hp-promo-stat span {
    font-size: 12px;
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* About + Services Compact */
.hp-about-section {
    padding: 60px 0;
    background: var(--gray-100);
}
.hp-about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}
.hp-about-grid h2 {
    font-size: 26px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 16px;
}
.hp-about-grid > div:first-child p {
    color: var(--gray-700);
    line-height: 1.7;
    margin-bottom: 12px;
}
.hp-service-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 0;
    border-bottom: 1px solid var(--gray-200);
}
.hp-service-item:last-child { border-bottom: none; }
.hp-service-item svg {
    flex-shrink: 0;
    color: var(--primary);
}
.hp-service-item strong {
    display: block;
    font-size: 14px;
    color: var(--dark);
}
.hp-service-item span {
    font-size: 13px;
    color: var(--gray-500);
}

/* CTA WhatsApp Band */
.hp-cta-section {
    background: var(--dark);
    color: #fff;
    padding: 48px 0;
}
.hp-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}
.hp-cta-inner h2 {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 6px;
}
.hp-cta-inner > div p {
    opacity: 0.7;
    font-size: 14px;
}
.hp-cta-info {
    display: flex;
    gap: 24px;
    margin-top: 14px;
    flex-wrap: wrap;
}
.hp-cta-info span {
    font-size: 13px;
    opacity: 0.6;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .numbers-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* HP Responsive 1024 */
    .hp-hero-carousel { height: 360px; }
    .hp-hero-slide-content h1 { font-size: 30px; }
    .hp-product-grid { grid-template-columns: repeat(3, 1fr); }
    .hp-promo-inner { grid-template-columns: 1fr; text-align: center; }
    .hp-promo-inner p { max-width: 100%; margin-left: auto; margin-right: auto; }
    .hp-promo-actions { justify-content: center; }
    .hp-promo-stats { justify-content: center; margin-top: 32px; }
}

@media (max-width: 768px) {
    .top-bar {
        display: none;
    }

    html {
        scroll-padding-top: 80px;
    }

    .menu-toggle {
        display: flex;
    }

    .nav {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 16px 24px;
        border-bottom: 1px solid var(--gray-100);
        box-shadow: var(--shadow-lg);
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: var(--transition);
    }

    .nav.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .btn-nav-cta {
        margin-left: 0 !important;
        text-align: center;
        justify-content: center;
    }

    .hero-content {
        padding: 80px 0 60px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 0;
        max-width: 100%;
    }

    .stat {
        padding: 16px 24px;
    }

    .stat-divider {
        width: 60%;
        height: 1px;
        margin: 0 auto;
    }

    .stat strong {
        font-size: 24px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        justify-content: center;
    }

    .about-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-cards {
        grid-template-columns: 1fr 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .cavaletti-stats {
        gap: 24px;
        flex-wrap: wrap;
    }

    .cavaletti-actions {
        flex-direction: column;
        align-items: center;
    }

    .numbers-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-socials {
        flex-direction: column;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    /* HP Responsive 768 */
    .hp-hero-carousel { height: 300px; }
    .hp-hero-slide-content { padding: 0 24px; max-width: 100%; }
    .hp-hero-slide-content h1 { font-size: 24px; }
    .hp-hero-slide-content p { font-size: 14px; }
    .hp-hero-arrow { display: none; }
    .hp-hero-actions .btn { padding: 12px 20px; font-size: 13px; }
    .hp-product-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .hp-section-header h2 { font-size: 20px; }
    .hp-products-section { padding: 36px 0; }
    .hp-promo-banner { padding: 40px 0; }
    .hp-promo-inner h2 { font-size: 24px; }
    .hp-promo-stats { gap: 20px; flex-wrap: wrap; }
    .hp-promo-stat strong { font-size: 26px; }
    .hp-about-grid { grid-template-columns: 1fr; gap: 32px; }
    .hp-about-section { padding: 40px 0; }
    .hp-cta-inner { flex-direction: column; text-align: center; }
    .hp-cta-info { justify-content: center; }
    .hp-cta-section { padding: 36px 0; }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 28px;
    }

    .section {
        padding: 64px 0;
    }

    .about-cards {
        grid-template-columns: 1fr;
    }

    .about-content h2 {
        font-size: 28px;
    }

    .cavaletti-content h2 {
        font-size: 28px;
    }

    .number-card strong {
        font-size: 32px;
    }

    /* HP Responsive 480 */
    .hp-hero-carousel { height: 260px; }
    .hp-hero-slide-content h1 { font-size: 20px; }
    .hp-hero-tag { font-size: 10px; padding: 4px 10px; }
    .hp-hero-actions { flex-direction: column; }
    .hp-hero-actions .btn { width: 100%; justify-content: center; }
    .hp-hero-dots button { width: 8px; height: 8px; }
    .hp-hero-dots button.active { width: 22px; }
    .hp-product-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .hp-section-header { flex-direction: column; align-items: flex-start; gap: 8px; }
    .hp-promo-stats { gap: 16px; }
    .hp-promo-stat strong { font-size: 22px; }
    .hp-cta-inner h2 { font-size: 22px; }
}

/* ============================================= */
/* ===== GRAPOL-STYLE REDESIGN                ===== */
/* ============================================= */

/* ===== GP Header Dark ===== */
.gp-topbar {
    background: var(--header-topbar-bg);
    color: rgba(255,255,255,0.7);
    font-size: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.gp-topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 36px;
}
.gp-topbar-left { display: flex; align-items: center; gap: 20px; }
.gp-topbar-left a { display: flex; align-items: center; gap: 6px; color: rgba(255,255,255,0.7); transition: var(--transition); }
.gp-topbar-left a:hover { color: var(--white); }
.gp-topbar-left a svg { width: 14px; height: 14px; }
.gp-topbar-text { color: rgba(255,255,255,0.5); }
.gp-topbar-right { display: flex; align-items: center; gap: 10px; }
.gp-topbar-right a { color: rgba(255,255,255,0.5); transition: var(--transition); display: flex; }
.gp-topbar-right a:hover { color: var(--white); }
.gp-topbar-right a svg { width: 16px; height: 16px; }

.gp-header {
    background: var(--header-bg);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.gp-header-inner {
    display: flex;
    align-items: center;
    height: 72px;
    gap: 30px;
}
.gp-logo img { height: 40px; width: auto; }
.gp-search-bar {
    flex: 1;
    max-width: 520px;
    display: flex;
    border-radius: var(--radius-sm);
    overflow: hidden;
}
.gp-search-bar input {
    flex: 1;
    padding: 10px 16px;
    border: none;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    background: var(--white);
    color: var(--dark);
}
.gp-search-bar button {
    padding: 0 16px;
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}
.gp-search-bar button:hover { background: var(--primary-dark); }
.gp-search-bar button svg { width: 18px; height: 18px; }

.gp-header-icons { display: flex; align-items: center; gap: 12px; }
.gp-icon-btn {
    position: relative;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.7);
    border-radius: 50%;
    transition: var(--transition);
}
.gp-icon-btn:hover { color: var(--white); background: rgba(255,255,255,0.1); }
.gp-icon-btn svg { width: 20px; height: 20px; }
.gp-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50px;
    font-size: 10px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
.gp-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    cursor: pointer;
}
.gp-hamburger span {
    width: 22px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

/* GP Nav */
.gp-nav {
    background: var(--header-bg);
    border-top: 1px solid rgba(255,255,255,0.12);
}
.gp-nav .container {
    display: flex;
    align-items: center;
}
.gp-nav-list {
    display: flex;
    list-style: none;
    gap: 0;
}
.gp-nav-list > li { position: relative; }
.gp-nav-list > li > a {
    display: block;
    padding: 14px 22px;
    color: rgba(255,255,255,0.85);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
    border-bottom: 3px solid transparent;
}
.gp-nav-list > li > a:hover,
.gp-nav-list > li > a.active {
    color: var(--white);
    background: rgba(255,255,255,0.06);
    border-bottom-color: var(--primary);
}
.gp-mega-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 280px;
    background: var(--white);
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    box-shadow: var(--shadow-xl);
    padding: 16px 0;
    z-index: 100;
}
.gp-nav-list > li:hover .gp-mega-menu { display: block; }
.gp-mega-menu a {
    display: block;
    padding: 8px 20px;
    font-size: 13px;
    color: var(--gray-700);
    transition: var(--transition);
}
.gp-mega-menu a:hover {
    background: var(--primary-light);
    color: var(--primary);
}
.gp-mega-menu a .mega-count {
    float: right;
    font-size: 11px;
    color: var(--gray-500);
    font-weight: 600;
}

/* GP Footer Dark */
.gp-footer {
    background: #f0f0f0;
    color: #555;
    padding: 64px 0 0;
    font-size: 14px;
    line-height: 1.7;
}
.gp-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}
.gp-footer-logo { height: 36px; width: auto; margin-bottom: 16px; }
.gp-footer-desc { margin-bottom: 20px; color: #666; }
.gp-footer-socials { display: flex; gap: 10px; }
.gp-footer-socials a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    transition: var(--transition);
}
.gp-footer-socials a:hover { background: var(--primary-dark); }
.gp-footer-socials a svg { width: 18px; height: 18px; }
.gp-footer-col h4 {
    color: #1a1a1a;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 20px;
    padding-bottom: 0;
    border-bottom: none;
}
.gp-footer-col a {
    display: block;
    padding: 4px 0;
    color: #666;
    font-size: 14px;
    transition: var(--transition);
}
.gp-footer-col a:hover { color: var(--primary); padding-left: 4px; }
.gp-footer-newsletter {
    padding: 32px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
}
.gp-footer-newsletter h4 {
    color: var(--white);
    font-size: 16px;
    margin-bottom: 12px;
}
.gp-newsletter-form {
    display: flex;
    max-width: 400px;
    margin: 0 auto;
    gap: 0;
    border-radius: var(--radius-sm);
    overflow: hidden;
}
.gp-newsletter-form input {
    flex: 1;
    padding: 12px 16px;
    border: none;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    background: rgba(255,255,255,0.1);
    color: var(--white);
}
.gp-newsletter-form input::placeholder { color: rgba(255,255,255,0.4); }
.gp-newsletter-form button {
    padding: 12px 24px;
    background: var(--primary);
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}
.gp-newsletter-form button:hover { background: var(--primary-dark); }
.gp-footer-bottom {
    background: #e0e0e0;
    padding: 20px 0;
    text-align: center;
    font-size: 13px;
    border-top: 1px solid #d0d0d0;
    color: #888;
}

/* GP Feature Bar */
.gp-feature-bar {
    background: var(--white);
    padding: 28px 0;
    border-bottom: 1px solid var(--gray-200);
}
.gp-feature-bar-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.gp-feature-item {
    display: flex;
    align-items: center;
    gap: 14px;
}
.gp-feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--primary);
}
.gp-feature-icon svg { width: 24px; height: 24px; }
.gp-feature-item svg { color: var(--primary); width: 24px; height: 24px; flex-shrink: 0; }
.gp-feature-item strong { display: block; font-size: 13px; color: var(--dark); font-weight: 700; text-transform: uppercase; }
.gp-feature-item span { font-size: 12px; color: var(--gray-500); }

/* GP Quote Panel (slide-out) */
.gp-quote-panel {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: var(--white);
    box-shadow: var(--shadow-xl);
    z-index: 2000;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
}
.gp-quote-panel.open { right: 0; }
.gp-quote-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--gray-100);
}
.gp-quote-panel-header h3 { font-size: 16px; font-weight: 700; color: var(--dark); }
.gp-quote-panel-close { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; color: var(--gray-500); cursor: pointer; border-radius: 50%; }
.gp-quote-panel-close:hover { background: var(--gray-100); }
.gp-quote-panel-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px 24px;
}
.gp-quote-item {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-100);
    align-items: center;
}
.gp-quote-item-img { width: 60px; height: 60px; border-radius: var(--radius-sm); background: var(--gray-100); overflow: hidden; flex-shrink: 0; }
.gp-quote-item-img img { width: 100%; height: 100%; object-fit: contain; }
.gp-quote-item-info { flex: 1; }
.gp-quote-item-info h4 { font-size: 13px; font-weight: 600; color: var(--dark); line-height: 1.3; }
.gp-quote-item-info span { font-size: 11px; color: var(--gray-500); }
.gp-quote-item-remove { color: var(--gray-400); cursor: pointer; padding: 4px; }
.gp-quote-item-remove:hover { color: #dc2626; }
.gp-quote-panel-footer {
    padding: 20px 24px;
    border-top: 1px solid var(--gray-100);
}
.gp-quote-panel-footer .btn-send-whatsapp {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px;
    background: var(--whatsapp);
    color: var(--white);
    border: none;
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}
.gp-quote-panel-footer .btn-send-whatsapp:hover { background: var(--whatsapp-dark); }
.gp-quote-panel-footer .btn-clear-list {
    display: block;
    width: 100%;
    text-align: center;
    margin-top: 10px;
    padding: 8px;
    color: var(--gray-500);
    font-size: 13px;
    cursor: pointer;
    transition: var(--transition);
}
.gp-quote-panel-footer .btn-clear-list:hover { color: #dc2626; }
.gp-quote-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1999;
    display: none;
}
.gp-quote-overlay.open { display: block; }
.gp-quote-empty {
    text-align: center;
    padding: 40px 20px;
    color: var(--gray-500);
}
.gp-quote-empty svg { margin-bottom: 12px; opacity: 0.3; }

/* ===== Catálogo Estilo Grapol v2 ===== */

/* Banner */
.catalog-banner {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, var(--primary) 100%);
    color: var(--white);
    padding: 48px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.catalog-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.02) 50%, rgba(255,255,255,0.08) 100%);
    opacity: 1;
}
.catalog-banner-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}
.catalog-banner h1 {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 8px;
}
.catalog-banner p {
    font-size: 16px;
    opacity: 0.85;
}
.catalog-banner .badge-revendedor {
    display: inline-block;
    margin-top: 12px;
    padding: 6px 16px;
    background: var(--accent);
    color: var(--dark);
    font-size: 12px;
    font-weight: 700;
    border-radius: 50px;
    text-transform: uppercase;
}

/* Breadcrumb */
.catalog-breadcrumb {
    padding: 12px 24px;
    font-size: 13px;
    color: var(--gray-500);
    background: var(--white);
    border-bottom: 1px solid var(--gray-100);
}
.catalog-breadcrumb a {
    color: var(--primary);
    font-weight: 500;
}
.catalog-breadcrumb span { margin: 0 6px; }

/* Layout principal: sidebar + conteúdo */
.catalog-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 0;
    min-height: calc(100vh - 200px);
}

/* Sidebar overlay - hidden on desktop, doesn't affect grid */
.sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 199;
}

/* Sidebar */
.catalog-sidebar {
    background: var(--white);
    border-right: 1px solid var(--gray-100);
    padding: 24px 0;
    position: sticky;
    top: 64px;
    height: calc(100vh - 64px);
    overflow-y: auto;
}
.sidebar-section {
    padding: 0 20px;
    margin-bottom: 24px;
}
.sidebar-section h3 {
    font-size: 13px;
    font-weight: 800;
    color: #1a1a1a;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary);
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}
.sidebar-categories {
    list-style: none;
}
.sidebar-categories li {
    margin-bottom: 2px;
}
.sidebar-categories li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    font-size: 13px;
    color: var(--gray-700);
    border-radius: var(--radius-sm);
    transition: var(--transition);
    cursor: pointer;
}
.sidebar-categories li a:hover {
    background: var(--primary-light);
    color: var(--primary);
}
.sidebar-categories li a.active {
    background: var(--primary);
    color: var(--white);
    font-weight: 600;
}
.sidebar-categories li a .cat-count {
    font-size: 11px;
    padding: 2px 8px;
    background: var(--gray-100);
    border-radius: 50px;
    font-weight: 600;
    color: var(--gray-500);
}
.sidebar-categories li a.active .cat-count {
    background: rgba(255,255,255,0.2);
    color: var(--white);
}
.sidebar-search {
    position: relative;
}
.sidebar-search input {
    width: 100%;
    padding: 10px 12px 10px 36px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-family: inherit;
    outline: none;
    transition: var(--transition);
}
.sidebar-search input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26,86,219,0.1);
}
.sidebar-search svg {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-500);
    width: 16px;
    height: 16px;
}
.sidebar-warranty {
    background: linear-gradient(135deg, var(--primary-light), #e0e7ff);
    border-radius: var(--radius-sm);
    padding: 16px;
    text-align: center;
}
.sidebar-warranty .warranty-years {
    font-size: 36px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}
.sidebar-warranty .warranty-text {
    font-size: 12px;
    font-weight: 600;
    color: var(--primary-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Mobile filter toggle */
.filter-toggle-btn {
    display: none;
    width: 100%;
    padding: 12px 16px;
    background: var(--white);
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-700);
    cursor: pointer;
    margin-bottom: 16px;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Área principal de produtos */
.catalog-main {
    background: var(--gray-100);
    padding: 24px;
}

/* Toolbar */
.catalog-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 12px;
}
.toolbar-results {
    font-size: 14px;
    color: var(--gray-700);
    font-weight: 500;
}
.toolbar-results strong {
    color: var(--dark);
}
.toolbar-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}
.toolbar-controls select {
    padding: 8px 14px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-family: inherit;
    background: var(--white);
    outline: none;
    cursor: pointer;
    font-weight: 500;
}
.toolbar-controls select:focus { border-color: var(--primary); }

/* Grid de produtos */
.catalog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 32px;
}

/* Card de produto estilo Grapol v2 */
.product-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--gray-100);
    position: relative;
    display: flex;
    flex-direction: column;
}
.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}
.product-card-img {
    position: relative;
    height: 240px;
    background: #f8f9fa;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.product-card-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 16px;
    transition: transform 0.5s ease;
}
.product-card:hover .product-card-img img {
    transform: scale(1.08);
}
.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 10px;
    background: var(--accent);
    color: var(--white);
    font-size: 10px;
    font-weight: 700;
    border-radius: 50px;
    text-transform: uppercase;
    z-index: 2;
}
/* Favorite heart on card */
.product-favorite {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    background: var(--white);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    color: var(--gray-300);
    cursor: pointer;
    z-index: 2;
    transition: var(--transition);
}
.product-favorite:hover { color: #e53e3e; }
.product-favorite.active { color: #e53e3e; }
.product-favorite svg { width: 16px; height: 16px; }

/* Card body */
.product-card-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.product-brand {
    font-size: 11px;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    margin-bottom: 4px;
}
.product-card-body h3 {
    font-size: 13px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 4px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.product-sku {
    font-size: 11px;
    color: var(--gray-500);
    display: block;
    margin-bottom: 8px;
}

/* Card customization */
.product-customization {
    padding-top: 10px;
    border-top: 1px solid var(--gray-100);
    margin-top: auto;
    margin-bottom: 10px;
}
.custom-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}
.custom-row label {
    font-size: 11px;
    font-weight: 600;
    color: var(--gray-700);
    white-space: nowrap;
}
.material-select {
    flex: 1;
    padding: 4px 8px;
    border: 1px solid var(--gray-300);
    border-radius: 4px;
    font-size: 11px;
    font-family: inherit;
    outline: none;
    background: var(--white);
    cursor: pointer;
}
.material-select:focus { border-color: var(--primary); }
.color-swatches {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 8px;
    margin-bottom: 8px;
}
.swatch {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 2px solid #e0e0e0;
    cursor: pointer;
    transition: 0.2s ease;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
    flex-shrink: 0;
}
.swatch:hover { transform: scale(1.15); z-index: 1; border-color: var(--gray-500); }
.swatch.active { border-color: var(--primary); box-shadow: 0 0 0 2px var(--primary-light); }

/* Card actions */
.product-card-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: auto;
    padding-top: 10px;
}
.btn-solicitar {
    width: 100%;
    padding: 12px 10px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
    text-align: center;
}
.btn-solicitar:hover { background: var(--primary-dark); transform: translateY(-1px); }
.btn-ver-detalhes {
    width: 100%;
    padding: 10px 12px;
    background: var(--white);
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 600;
    color: var(--gray-700);
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    display: block;
}
.btn-ver-detalhes:hover { border-color: var(--primary); color: var(--primary); }

/* Sidebar checkboxes */
.sidebar-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 0;
    font-size: 13px;
    color: var(--gray-700);
    cursor: pointer;
    transition: var(--transition);
}
.sidebar-checkbox:hover { color: var(--primary); }
.sidebar-checkbox input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    border: 2px solid var(--gray-300);
    border-radius: 3px;
    cursor: pointer;
    flex-shrink: 0;
    position: relative;
    transition: var(--transition);
}
.sidebar-checkbox input[type="checkbox"]:checked {
    background: var(--primary);
    border-color: var(--primary);
}
.sidebar-checkbox input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    left: 4px;
    top: 1px;
    width: 5px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
.sidebar-checkbox .cb-name { flex: 1; }
.sidebar-checkbox .cat-count {
    font-size: 11px;
    padding: 2px 8px;
    background: var(--gray-100);
    border-radius: 50px;
    font-weight: 600;
    color: var(--gray-500);
}
.btn-clear-filters {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 10px;
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}
.btn-clear-filters:hover { background: var(--primary-light); }
.btn-clear-filters svg { width: 14px; height: 14px; }

/* Collapsible sidebar sections */
.sidebar-toggle {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
}
.sidebar-toggle svg { width: 14px; height: 14px; transition: transform 0.3s; color: var(--gray-500); }
.sidebar-toggle.collapsed svg { transform: rotate(-90deg); }
.sidebar-collapse-body { max-height: 400px; overflow-y: auto; transition: max-height 0.3s ease; }
.sidebar-collapse-body.collapsed { max-height: 0; overflow: hidden; }

/* View toggle */
.view-toggle {
    display: flex;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-sm);
    overflow: hidden;
}
.view-btn {
    padding: 7px 10px;
    background: var(--white);
    border: none;
    color: var(--gray-500);
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: var(--transition);
}
.view-btn:not(:last-child) { border-right: 1px solid var(--gray-300); }
.view-btn.active { background: var(--primary); color: var(--white); }
.view-btn svg { width: 16px; height: 16px; }

/* List view mode */
.catalog-grid.list-view {
    grid-template-columns: 1fr;
}
.catalog-grid.list-view .product-card {
    flex-direction: row;
}
.catalog-grid.list-view .product-card-img {
    width: 180px;
    height: 160px;
    flex-shrink: 0;
}
.catalog-grid.list-view .product-card-body {
    flex: 1;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
}
.catalog-grid.list-view .product-card-body h3 {
    -webkit-line-clamp: 1;
    flex: 1 1 200px;
}
.catalog-grid.list-view .product-customization {
    border-top: none;
    margin: 0;
    padding: 0;
    flex: 0 0 200px;
}
.catalog-grid.list-view .product-card-actions {
    flex: 0 0 auto;
}

/* Paginação */
.catalog-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 24px 0;
}
.catalog-pagination button {
    min-width: 36px;
    height: 36px;
    padding: 0 8px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-700);
    background: var(--white);
    cursor: pointer;
    transition: var(--transition);
}
.catalog-pagination button:hover {
    border-color: var(--primary);
    color: var(--primary);
}
.catalog-pagination button.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}
.catalog-pagination button:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* No results */
.no-results {
    text-align: center;
    padding: 60px 20px;
    color: var(--gray-500);
    grid-column: 1 / -1;
}
.no-results svg {
    margin-bottom: 16px;
    opacity: 0.4;
}

/* ===== Página do Produto (produto.html) ===== */

.product-page {
    min-height: calc(100vh - 64px);
    background: var(--gray-100);
}

/* Hero do Produto */
.product-hero {
    background: var(--white);
    padding: 40px 0;
    border-bottom: 1px solid var(--gray-100);
}
.product-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}
.product-hero-image {
    position: relative;
    background: #f8f9fa;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}
.product-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 24px;
    transition: transform 0.5s ease;
}
.product-hero-image:hover img {
    transform: scale(1.05);
}
.product-hero-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 14px;
    background: var(--accent);
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    border-radius: 50px;
    text-transform: uppercase;
    z-index: 2;
}

/* Info do Produto */
.product-hero-category {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}
.product-hero-title {
    font-size: 28px;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.3;
    margin-bottom: 24px;
}
.product-hero-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 28px;
    padding: 20px;
    background: var(--gray-100);
    border-radius: var(--radius-sm);
}
.meta-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.meta-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.meta-value {
    font-size: 15px;
    font-weight: 600;
    color: var(--dark);
}

/* Product Gallery */
.product-gallery { display: flex; flex-direction: column; gap: 12px; }
.gallery-main {
    background: #f8f9fa;
    border-radius: var(--radius);
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}
.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 24px;
    transition: transform 0.5s ease;
}
.gallery-main:hover img { transform: scale(1.05); }
.gallery-main .product-hero-badge {
    position: absolute;
    top: 16px;
    left: 16px;
}
.gallery-thumbs { display: flex; gap: 8px; }
.gallery-thumb {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    overflow: hidden;
    cursor: pointer;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    padding: 0;
}
.gallery-thumb:hover { border-color: var(--gray-300); }
.gallery-thumb.active { border-color: var(--primary); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.gallery-thumb-more {
    color: var(--primary);
    font-size: 20px;
    font-weight: 700;
    text-decoration: none;
}

/* Product Configurator */
.product-configurator { margin-bottom: 24px; }
.config-section { margin-bottom: 20px; }
.config-section h4 {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--gray-700);
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}
.config-material-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.config-material-btn {
    padding: 12px 22px;
    border: 2px solid var(--gray-300);
    border-radius: var(--radius-sm);
    font-size: 14px;
    cursor: pointer;
    background: var(--white);
    color: var(--gray-700);
    transition: var(--transition);
    font-family: inherit;
    font-weight: 600;
}
.config-material-btn:hover { border-color: var(--primary); color: var(--primary); }
.config-material-btn.active {
    border-color: var(--primary);
    background: var(--primary-light);
    color: var(--primary);
    font-weight: 600;
}
.config-colors {
    display: grid;
    grid-template-columns: repeat(8, 40px);
    gap: 10px;
}
.config-swatch {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 3px solid #e0e0e0;
    cursor: pointer;
    position: relative;
    transition: 0.2s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12);
    padding: 0;
    background: none;
}
.config-swatch:hover { transform: scale(1.15); border-color: var(--gray-500); }
.config-swatch.active { border-color: var(--primary); box-shadow: 0 0 0 2px var(--primary-light); }
.config-swatch-check {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    opacity: 0;
}
.config-swatch.active .config-swatch-check { opacity: 1; }
.config-swatch-check svg { width: 16px; height: 16px; filter: drop-shadow(0 1px 2px rgba(0,0,0,0.3)); }
.config-color-name {
    display: block;
    margin-top: 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-700);
}

/* Share buttons */
.product-share {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--gray-100);
}
.product-share span {
    font-size: 13px;
    color: var(--gray-500);
    font-weight: 500;
}
.share-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--gray-100);
    color: var(--gray-500);
    transition: var(--transition);
    border: none;
    cursor: pointer;
}
.share-btn:hover { background: var(--primary); color: var(--white); }
.share-btn svg { width: 16px; height: 16px; }
.share-whatsapp:hover { background: var(--whatsapp); }
.share-facebook:hover { background: #1877f2; }

/* Botão CTA */
.product-hero-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px 24px;
    background: #25d366;
    color: var(--white);
    border: none;
    border-radius: var(--radius-sm);
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: var(--transition);
    margin-bottom: 12px;
    font-family: inherit;
}
.product-hero-cta:hover {
    background: #1da851;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}
.product-hero-cta svg {
    flex-shrink: 0;
}

/* Link Cavaletti */
.product-hero-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    color: var(--primary);
    font-size: 14px;
    font-weight: 600;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-sm);
    transition: var(--transition);
    margin-bottom: 24px;
}
.product-hero-link:hover {
    background: var(--primary-light);
    border-color: var(--primary);
}

/* Badges */
.product-hero-badges {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.hero-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: var(--gray-100);
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-700);
}
.hero-badge svg {
    color: var(--primary);
    flex-shrink: 0;
}

/* Tabs */
.product-tabs-section {
    padding: 40px 0;
    background: var(--white);
}
.product-tabs {
    display: flex;
    border-bottom: 2px solid var(--gray-100);
    margin-bottom: 32px;
    gap: 0;
}
.product-tab {
    padding: 14px 28px;
    font-size: 13px;
    font-weight: 700;
    color: var(--gray-500);
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.product-tab:hover {
    color: var(--primary);
}
.product-tab.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
    border-bottom-width: 3px;
}
.product-tab-content {
    display: none;
}
.product-tab-content.active {
    display: block;
}

/* Tab: Detalhes */
.tab-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}
.tab-content-grid h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 16px;
}
.tab-content-grid p {
    font-size: 14px;
    color: var(--gray-700);
    line-height: 1.7;
    margin-bottom: 16px;
}
.detail-list {
    list-style: none;
    padding: 0;
}
.detail-list li {
    padding: 10px 0;
    border-bottom: 1px solid var(--gray-100);
    font-size: 14px;
    color: var(--gray-700);
}
.detail-list li:last-child {
    border-bottom: none;
}
.detail-list li strong {
    color: var(--dark);
}
.detail-highlights h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 16px;
}
.highlight-item {
    display: flex;
    gap: 14px;
    padding: 16px;
    background: var(--gray-100);
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
}
.highlight-icon {
    font-size: 24px;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.highlight-item strong {
    display: block;
    font-size: 14px;
    color: var(--dark);
    margin-bottom: 4px;
}
.highlight-item p {
    font-size: 13px;
    color: var(--gray-500);
    margin: 0;
    line-height: 1.5;
}

/* Tab: Info Técnica */
.btn-cavaletti-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--primary);
    color: var(--white);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
    margin: 16px 0 24px;
}
.btn-cavaletti-link:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}
.tech-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 8px;
}
.tech-card {
    padding: 20px;
    background: var(--gray-100);
    border-radius: var(--radius-sm);
    border: 1px solid var(--gray-200, #e5e7eb);
}
.tech-card h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}
.tech-card p {
    font-size: 13px;
    color: var(--gray-500);
    line-height: 1.5;
    margin: 0;
}

/* Seção produtos relacionados */
.product-related-section {
    padding: 48px 0;
    background: var(--gray-100);
}
.related-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 24px;
    text-align: center;
}
.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}
.related-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--gray-100);
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
    display: block;
}
.related-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}
.related-card-img {
    height: 160px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.related-card-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
    transition: transform 0.4s ease;
}
.related-card:hover .related-card-img img {
    transform: scale(1.06);
}
.related-card-body {
    padding: 12px;
}
.related-card-body h4 {
    font-size: 13px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 4px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.related-card-body span {
    font-size: 11px;
    color: var(--gray-500);
}

/* Botão voltar catálogo */
.btn-voltar-catalogo {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 24px;
    background: var(--white);
    color: var(--primary);
    border: 1px solid var(--primary);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
}
.btn-voltar-catalogo:hover {
    background: var(--primary);
    color: var(--white);
}

/* ===== Auth Pages (login.html) ===== */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #1a56db 100%);
    padding: 24px;
}

.auth-container {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 480px;
    overflow: hidden;
}

.auth-header {
    text-align: center;
    padding: 32px 32px 0;
}

.auth-header .logo {
    justify-content: center;
    margin-bottom: 24px;
}

.auth-tabs {
    display: flex;
    border-bottom: 2px solid var(--gray-100);
    margin: 0 32px;
}

.auth-tab {
    flex: 1;
    padding: 14px;
    font-size: 15px;
    font-weight: 600;
    color: var(--gray-500);
    text-align: center;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: var(--transition);
    cursor: pointer;
}

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

.auth-body {
    padding: 32px;
}

.auth-form {
    display: none;
}

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

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

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

.auth-form .form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: var(--transition);
}

.auth-form .form-group input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26,86,219,0.1);
}

.auth-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.auth-message {
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    margin-bottom: 16px;
    display: none;
}

.auth-message.error {
    display: block;
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.auth-message.success {
    display: block;
    background: #f0fdf4;
    color: #16a34a;
    border: 1px solid #bbf7d0;
}

.auth-message.info {
    display: block;
    background: #eff6ff;
    color: #2563eb;
    border: 1px solid #bfdbfe;
}

.auth-footer {
    text-align: center;
    padding: 0 32px 32px;
}

.auth-footer a {
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
}

/* ===== Catalog Page Header ===== */
.page-header {
    background: var(--white);
    border-bottom: 1px solid var(--gray-100);
    padding: 0 24px;
    position: sticky;
    top: 0;
    z-index: 100;
}
.page-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}
.page-header-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}
.page-header-nav a {
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-700);
    transition: var(--transition);
}
.page-header-nav a:hover,
.page-header-nav a.active {
    color: var(--primary);
}
.page-header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}
.user-menu {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--gray-700);
}
.user-menu .btn-logout {
    padding: 6px 12px;
    font-size: 13px;
    color: var(--gray-500);
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}
.user-menu .btn-logout:hover {
    color: #dc2626;
    border-color: #dc2626;
}

/* ===== Admin Page ===== */
.admin-page {
    padding: 32px 0;
    min-height: calc(100vh - 64px);
    background: var(--gray-100);
}

.admin-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
}

.admin-tab {
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-500);
    border: 1px solid var(--gray-300);
    background: var(--white);
    transition: var(--transition);
    cursor: pointer;
}

.admin-tab.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.admin-panel {
    display: none;
}

.admin-panel.active {
    display: block;
}

.admin-card {
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--gray-100);
    margin-bottom: 12px;
    overflow: hidden;
}

.admin-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    flex-wrap: wrap;
    gap: 12px;
}

.admin-card-header h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--dark);
}

.admin-card-header .badge {
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
}

.badge-pendente {
    background: #fef3c7;
    color: #d97706;
}

.badge-aprovado {
    background: #d1fae5;
    color: #059669;
}

.badge-rejeitado {
    background: #fee2e2;
    color: #dc2626;
}

.badge-novo {
    background: #dbeafe;
    color: #2563eb;
}

.admin-card-body {
    padding: 0 20px 16px;
    font-size: 14px;
    color: var(--gray-500);
}

.admin-card-body p {
    margin-bottom: 4px;
}

.admin-card-actions {
    display: flex;
    gap: 8px;
    padding: 12px 20px;
    border-top: 1px solid var(--gray-100);
    background: var(--gray-100);
}

.btn-approve {
    padding: 6px 16px;
    background: #059669;
    color: var(--white);
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-approve:hover {
    background: #047857;
}

.btn-reject {
    padding: 6px 16px;
    background: #dc2626;
    color: var(--white);
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-reject:hover {
    background: #b91c1c;
}

/* ===== Waiting Approval Message ===== */
.waiting-approval {
    text-align: center;
    padding: 80px 24px;
    max-width: 500px;
    margin: 0 auto;
}

.waiting-approval svg {
    color: var(--accent);
    margin-bottom: 24px;
}

.waiting-approval h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
}

.waiting-approval p {
    font-size: 15px;
    color: var(--gray-500);
    line-height: 1.7;
    margin-bottom: 24px;
}

/* ===== Loading Spinner ===== */
.loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--gray-300);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ===== Responsive for GP header/footer/catalog/product/admin ===== */

@media (max-width: 1024px) {
    /* GP Header */
    .gp-search-bar { max-width: 300px; }
    .gp-nav-list > li > a { padding: 12px 14px; font-size: 12px; }
    /* GP Footer */
    .gp-footer-grid { grid-template-columns: 1fr 1fr; }
    /* GP Feature bar */
    .gp-feature-bar-grid { grid-template-columns: 1fr 1fr; }
    /* Catalog */
    .catalog-layout { grid-template-columns: 1fr; }
    .catalog-sidebar {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        width: 300px;
        z-index: 200;
        box-shadow: var(--shadow-xl);
        height: 100vh;
    }
    .catalog-sidebar.open { display: block; }
    .sidebar-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 199; }
    .sidebar-overlay.open { display: block; }
    .filter-toggle-btn { display: flex; }
    .catalog-grid { grid-template-columns: repeat(2, 1fr); }
    .catalog-grid.list-view { grid-template-columns: 1fr; }
    /* Product page */
    .product-hero-grid { grid-template-columns: 1fr; gap: 24px; }
    .gallery-main { max-height: 400px; }
    .tab-content-grid { grid-template-columns: 1fr; gap: 24px; }
    .tech-info-grid { grid-template-columns: 1fr 1fr; }
    .config-colors { grid-template-columns: repeat(6, 40px); }
    /* Quote panel */
    .gp-quote-panel { width: 340px; right: -340px; }
    .gp-quote-panel.open { right: 0; }
}

@media (max-width: 768px) {
    /* GP Header */
    .gp-topbar { display: none; }
    .gp-hamburger { display: flex; }
    .gp-search-bar { display: none; }
    .gp-nav {
        position: fixed;
        top: 0;
        left: -280px;
        width: 280px;
        height: 100vh;
        background: var(--header-bg);
        z-index: 2000;
        flex-direction: column;
        transition: left 0.3s ease;
        overflow-y: auto;
        padding-top: 60px;
    }
    .gp-nav.open { left: 0; }
    .gp-nav-list { flex-direction: column; }
    .gp-nav-list > li > a { padding: 14px 24px; border-bottom: 1px solid rgba(255,255,255,0.05); }
    .gp-mega-menu { position: static; box-shadow: none; border-radius: 0; }
    .gp-mega-menu a { padding-left: 40px; }
    /* GP Footer */
    .gp-footer-grid { grid-template-columns: 1fr; gap: 24px; }
    .gp-feature-bar-grid { grid-template-columns: 1fr; gap: 12px; }
    /* Auth */
    .auth-form .form-row { grid-template-columns: 1fr; }
    /* Page header (legacy) */
    .page-header-nav { display: none; }
    .page-header-actions { gap: 8px; }
    .user-menu span:not(.btn-logout) { display: none; }
    /* Admin */
    .admin-card-header { flex-direction: column; align-items: flex-start; }
    /* Catalog */
    .catalog-banner h1 { font-size: 24px; }
    .catalog-toolbar { flex-direction: column; align-items: flex-start; }
    .product-card-img { height: 180px; }
    .catalog-grid.list-view .product-card { flex-direction: column; }
    .catalog-grid.list-view .product-card-img { width: 100%; height: 180px; }
    .catalog-grid.list-view .product-card-body { flex-direction: column; }
    /* Product page */
    .product-hero-title { font-size: 22px; }
    .product-hero-meta { grid-template-columns: 1fr; }
    .tech-info-grid { grid-template-columns: 1fr; }
    .product-tabs { overflow-x: auto; }
    .product-tab { white-space: nowrap; padding: 10px 16px; font-size: 13px; }
    .related-grid { grid-template-columns: repeat(2, 1fr); }
    .config-colors { grid-template-columns: repeat(6, 36px); }
    .config-material-btns { flex-wrap: wrap; }
    /* Quote panel */
    .gp-quote-panel { width: 100%; right: -100%; }
    .gp-quote-panel.open { right: 0; }
}

@media (max-width: 480px) {
    .catalog-grid { grid-template-columns: 1fr; }
    .catalog-main { padding: 16px; }
    .catalog-banner { padding: 32px 16px; }
    .product-card-actions { flex-direction: column; }
    .config-colors { grid-template-columns: repeat(5, 32px); gap: 6px; }
    .config-swatch { width: 32px; height: 32px; }
}

/* =============================================================
   Admin - Product Management
   ============================================================= */
.admin-search-box {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 8px 14px;
    flex: 1;
    min-width: 250px;
}
.admin-search-box input {
    border: none;
    outline: none;
    font-size: 14px;
    width: 100%;
    font-family: inherit;
}
.admin-filter-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.admin-filter-row select {
    padding: 8px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 13px;
    font-family: inherit;
    background: #fff;
    color: #374151;
    cursor: pointer;
    min-width: 180px;
}
.admin-filter-row select:focus {
    border-color: var(--primary);
    outline: none;
}
.admin-active-filters {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    padding: 0 0 8px;
}
.admin-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    background: #eff6ff;
    color: var(--primary);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}
.admin-filter-chip button {
    background: none;
    border: none;
    color: var(--primary);
    font-size: 16px;
    cursor: pointer;
    line-height: 1;
    padding: 0 2px;
    opacity: 0.7;
}
.admin-filter-chip button:hover { opacity: 1; }
.admin-products-toolbar {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 16px;
}
.admin-products-info {
    color: #6b7280;
    font-size: 13px;
    white-space: nowrap;
}
.admin-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
}
.admin-product-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.2s;
}
.admin-product-card:hover {
    border-color: var(--primary);
    box-shadow: 0 2px 12px rgba(26,86,219,0.12);
    transform: translateY(-2px);
}
.admin-product-card.edited {
    border-color: #22c55e;
}
.admin-product-img {
    position: relative;
    height: 130px;
    background: #f9fafb;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.admin-product-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    padding: 8px;
}
.edit-badge {
    position: absolute;
    top: 6px;
    right: 6px;
    background: #22c55e;
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 4px;
    text-transform: uppercase;
}
.admin-product-info {
    padding: 10px;
}
.admin-product-info strong {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #111;
    line-height: 1.3;
    margin-bottom: 4px;
}
.admin-product-info small {
    color: #6b7280;
    font-size: 11px;
}
.admin-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 20px;
    padding: 16px 0;
}
.admin-pagination button {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
}
.admin-pagination button:hover { opacity: 0.9; }
.admin-pagination span {
    color: #6b7280;
    font-size: 13px;
}

/* Modal */
.admin-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.admin-modal {
    background: #fff;
    border-radius: 14px;
    width: 100%;
    max-width: 640px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.admin-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    border-bottom: 1px solid #e5e7eb;
}
.admin-modal-header h3 {
    font-size: 16px;
    font-weight: 700;
    color: #111;
    margin: 0;
}
.admin-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #6b7280;
    cursor: pointer;
    padding: 0 4px;
    line-height: 1;
}
.admin-modal-close:hover { color: #111; }
.admin-modal-body {
    padding: 24px;
}
.admin-modal-footer {
    display: flex;
    gap: 12px;
    padding: 16px 24px;
    border-top: 1px solid #e5e7eb;
    justify-content: flex-end;
}

/* Edit sections */
.edit-image-section {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
    align-items: flex-start;
}
.edit-image-section img {
    width: 160px;
    height: 160px;
    object-fit: contain;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    flex-shrink: 0;
}
.edit-image-actions {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.edit-image-actions input[type="text"] {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 13px;
    font-family: inherit;
}
.edit-image-buttons {
    display: flex;
    gap: 8px;
}
.btn-small {
    padding: 7px 14px;
    font-size: 12px;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    white-space: nowrap;
}
.btn-primary {
    background: var(--primary);
    color: #fff;
}
.btn-primary:hover { opacity: 0.9; }
.btn-outline {
    background: #fff;
    color: var(--primary);
    border: 1px solid var(--primary);
}
.btn-outline:hover { background: #f0f4ff; }
.edit-field {
    margin-bottom: 16px;
}
.edit-field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 6px;
}
.edit-field label small {
    font-weight: 400;
    color: #9ca3af;
}
.edit-field input[type="text"] {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    box-sizing: border-box;
}
.edit-field input[readonly] {
    background: #f9fafb;
    color: #6b7280;
}
.edit-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 12px;
    margin-bottom: 16px;
}

/* Gallery */
.edit-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
    gap: 8px;
    margin-bottom: 12px;
}
.edit-gallery-item {
    position: relative;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 1;
}
.edit-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #f9fafb;
}
.edit-gallery-remove {
    position: absolute;
    top: 2px;
    right: 2px;
    background: #ef4444;
    color: #fff;
    border: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.edit-gallery-remove:hover { background: #dc2626; }
.edit-gallery-item.is-primary {
    border: 3px solid #1a56db;
    box-shadow: 0 0 0 2px rgba(26, 86, 219, 0.2);
}
.edit-gallery-badge {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: #1a56db;
    color: #fff;
    text-align: center;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 0;
    letter-spacing: 0.5px;
}
.edit-gallery-set-primary {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.7);
    color: #fff;
    border: none;
    font-size: 10px;
    font-weight: 600;
    padding: 5px 0;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.2s;
}
.edit-gallery-item:hover .edit-gallery-set-primary { opacity: 1; }
.edit-gallery-set-primary:hover { background: #1a56db; }
.edit-add-image {
    display: flex;
    gap: 8px;
    align-items: center;
}
.edit-add-image input[type="text"] {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 13px;
    font-family: inherit;
}

/* Status */
.edit-status {
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 13px;
    margin-top: 8px;
}
.edit-status-info { background: #eff6ff; color: #1e40af; }
.edit-status-success { background: #f0fdf4; color: #166534; }
.edit-status-error { background: #fef2f2; color: #991b1b; }

/* Responsive admin */
@media (max-width: 768px) {
    .admin-product-grid { grid-template-columns: repeat(2, 1fr); }
    .edit-image-section { flex-direction: column; }
    .edit-image-section img { width: 100%; height: 200px; }
    .edit-field-row { grid-template-columns: 1fr; }
    .admin-modal { max-width: 100%; margin: 10px; }
}
