/* ============================================================
   Nova Era Confecções — Design System
   ============================================================ */

/* --- CSS Custom Properties --- */
:root {
    --primary: #0f2b46;
    --primary-light: #1a3d5c;
    --primary-dark: #091e33;
    --accent: #e87a1e;
    --accent-hover: #d06a14;
    --accent-light: #fef0e5;
    --surface: #ffffff;
    --surface-alt: #f7f8fa;
    --surface-elevated: #ffffff;
    --text-primary: #1a1a2e;
    --text-secondary: #5a5a72;
    --text-muted: #8e8ea0;
    --border: #e2e4e9;
    --border-light: #f0f1f3;
    --success: #16a34a;
    --success-bg: #f0fdf4;
    --error: #dc2626;
    --error-bg: #fef2f2;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --max-width: 1200px;
}

/* --- Animation Classes (Intersection Observer) --- */
.animate-hidden {
    opacity: 0 !important;
    transform: translateY(20px);
}

.animate-hidden.animate-in {
    opacity: 1 !important;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden;
}

/* --- Proteção de Imagens: bloquear download, arraste e abertura em nova guia --- */

body {
    font-family: var(--font-sans);
    color: var(--text-primary);
    background: var(--surface-alt);
    line-height: 1.7;
    font-size: 16px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-tap-highlight-color: transparent;
    padding-top: env(safe-area-inset-top);
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
    overflow-x: hidden;
}

main {
    flex: 1;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
    -webkit-touch-callout: none;
    pointer-events: none;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--accent);
}

ul, ol {
    list-style: none;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-primary);
}

h1 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.35rem); }

p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* --- Layout --- */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-padding {
    padding: 5rem 0;
}

/* --- Section Header --- */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    margin-bottom: 0.75rem;
}

.section-header .subtitle {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 550px;
    margin: 0 auto;
}

.section-header .line {
    width: 60px;
    height: 3px;
    background: var(--accent);
    margin: 0.75rem auto;
    border-radius: 2px;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    background: rgba(255,255,255,0.95);
}

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

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--primary);
    letter-spacing: -0.02em;
    flex-shrink: 0;
}

.navbar-brand .brand-logo {
    height: 48px;
    width: auto;
    object-fit: contain;
}

/* Menu desktop (dentro do navbar) */
.nav-menu-desktop {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* ============================================
   MOBILE MENU PANEL — escondido em desktop
   Painel fullscreen simples com 4 links.
   Só aparece em telas <= 768px.
   ============================================ */
.mobile-menu-panel {
    display: none;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-menu a,
.nav-dropdown-toggle {
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all var(--transition);
    white-space: nowrap;
    text-decoration: none;
    background: none;
    border: none;
    font-family: var(--font-sans);
    min-height: 44px;
    display: flex;
    align-items: center;
}

.nav-menu a:hover,
.nav-menu a.active,
.nav-dropdown-toggle:hover {
    color: var(--primary);
    background: var(--surface-alt);
}

.nav-dropdown {
    position: relative;
}

.nav-dropdown-toggle {
    cursor: pointer;
    gap: 0.35rem;
}

.nav-dropdown-toggle .arrow {
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    transition: transform var(--transition);
}

.nav-dropdown:hover .nav-dropdown-toggle .arrow {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    min-width: 240px;
    padding: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
    z-index: 100;
    max-height: 400px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    top: calc(100% + 2px);
}

.nav-dropdown-menu a {
    display: block;
    padding: 0.55rem 0.85rem;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    min-height: 44px;
    display: flex;
    align-items: center;
}

.nav-dropdown-menu a:hover {
    background: var(--surface-alt);
    color: var(--primary);
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: var(--radius-sm);
    transition: background var(--transition);
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
}

.mobile-toggle:hover {
    background: var(--surface-alt);
}

.mobile-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition);
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}
.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    line-height: 1.4;
    font-family: var(--font-sans);
    min-height: 44px;
}

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

.btn-primary:hover {
    background: var(--accent-hover);
    color: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

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

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

.btn-outline-light {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.4);
}

.btn-outline-light:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
    border-color: rgba(255,255,255,0.7);
}

.btn-block {
    width: 100%;
}

.btn-sm {
    padding: 0.5rem 1.25rem;
    font-size: 0.85rem;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 50%, #1e4d6e 100%);
    padding: 5rem 0 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(232,122,30,0.12) 0%, transparent 70%);
    border-radius: 50%;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.hero-content {
    max-width: 600px;
    padding-bottom: 4rem;
}

.hero-image {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    position: relative;
}

.hero-image img {
    max-height: 520px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.3));
    animation: heroFloat 4s ease-in-out infinite;
}

@keyframes heroFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.85);
    margin-bottom: 1.5rem;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.hero h1 {
    color: #fff;
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
}

.hero h1 .highlight {
    color: var(--accent);
}

.hero p {
    color: rgba(255,255,255,0.8);
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 520px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    margin-top: 3.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.12);
}

.hero-stat {
    text-align: left;
}

.hero-stat .number {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
}

.hero-stat .label {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
    margin-top: 0.35rem;
}

/* ============================================================
   BENEFITS / FEATURES
   ============================================================ */
.benefits {
    padding: 5rem 0;
    background: var(--surface);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.benefit-card {
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    transition: all var(--transition);
    background: var(--surface);
}

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

.benefit-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    background: var(--accent-light);
    color: var(--accent);
}

.benefit-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.benefit-card p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ============================================================
   CATALOG / CATEGORY GRID (Home)
   ============================================================ */
.catalog-section {
    padding: 5rem 0;
    background: var(--surface-alt);
}

.home-cat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.25rem;
}

.home-cat-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    text-align: center;
    min-height: 200px;
    padding: 0;
    background-color: var(--surface);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center 30%;
    border: 2px solid var(--primary);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition);
    text-decoration: none;
}

.cat-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(255,255,255,0.55) 0%,
        rgba(255,255,255,0.70) 40%,
        rgba(255,255,255,0.92) 75%,
        rgba(255,255,255,1) 100%
    );
    transition: all var(--transition);
    z-index: 1;
}

.home-cat-card:hover .cat-card-overlay {
    background: linear-gradient(
        to bottom,
        rgba(15,43,70,0.15) 0%,
        rgba(15,43,70,0.30) 40%,
        rgba(15,43,70,0.80) 75%,
        rgba(15,43,70,0.92) 100%
    );
}

.cat-card-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem 1.25rem;
    width: 100%;
}

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

.home-cat-card .icon-box {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: rgba(255,255,255,0.85);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
    transition: all var(--transition);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.home-cat-card:hover .icon-box {
    background: var(--accent);
    color: #fff;
    transform: scale(1.1);
}

.home-cat-card h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.4rem;
    transition: color var(--transition);
    text-shadow: 0 1px 2px rgba(255,255,255,0.6);
}

.home-cat-card:hover h3 {
    color: #fff;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.home-cat-card .link-text {
    font-size: 0.8rem;
    color: var(--accent);
    font-weight: 600;
    opacity: 0;
    transform: translateY(4px);
    transition: all var(--transition);
}

.home-cat-card:hover .link-text {
    opacity: 1;
    transform: translateY(0);
    color: var(--accent-light);
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    padding: 4.5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-section .container {
    position: relative;
    z-index: 1;
}

.cta-section h2 {
    color: #fff;
    margin-bottom: 0.75rem;
    font-size: clamp(1.5rem, 3vw, 2rem);
}

.cta-section p {
    color: rgba(255,255,255,0.75);
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

.cta-section .btn {
    background: var(--accent);
    color: var(--primary-dark);
    font-weight: 700;
}

.cta-section .btn:hover {
    background: #fff;
    color: var(--primary);
}

/* ============================================================
   PRODUCT GRID (Category Page)
   ============================================================ */
.page-header {
    background: var(--primary);
    padding: 3rem 0 2.5rem;
    margin-bottom: 0;
}

.page-header h1 {
    color: #fff;
    font-size: clamp(1.5rem, 3vw, 2rem);
}

.page-header .breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
    flex-wrap: wrap;
}

.page-header .breadcrumb a {
    color: rgba(255,255,255,0.6);
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}

.page-header .breadcrumb a:hover {
    color: var(--accent);
}

.page-header .breadcrumb .separator {
    color: rgba(255,255,255,0.3);
}

.page-header .breadcrumb .current {
    color: rgba(255,255,255,0.85);
}

.product-section {
    padding: 3rem 0 5rem;
    background: var(--surface-alt);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.75rem;
}

.product-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
}

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

.product-card .img-wrapper {
    height: 260px;
    background: var(--surface-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--border-light);
    overflow: hidden;
    position: relative;
    padding: 1rem;
}

.product-card .img-wrapper img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: transform var(--transition);
}

.product-card:hover .img-wrapper img {
    transform: scale(1.05);
}

.product-card .badge-ref {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    background: var(--primary);
    color: #fff;
    padding: 0.25rem 0.65rem;
    border-radius: var(--radius-sm);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    z-index: 2;
    text-transform: uppercase;
}

.product-card .card-body {
    padding: 1.25rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-card .product-title {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.product-card .product-description {
    font-size: 0.88rem;
    color: var(--text-primary);
    line-height: 1.55;
    margin-bottom: 0.85rem;
    background: var(--accent-light);
    padding: 0.65rem 0.85rem;
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--accent);
    font-weight: 500;
}

.product-card .product-specs {
    background: var(--surface-alt);
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.product-card .spec-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.product-card .spec-item svg {
    flex-shrink: 0;
    margin-top: 1px;
    color: var(--accent);
}

.product-card .spec-item strong {
    color: var(--text-primary);
    font-weight: 600;
}

.product-card .product-form-wrapper {
    margin-top: auto;
    padding-top: 0.5rem;
}

.product-card .input-qty {
    max-width: 80px;
}

.page-subtitle {
    font-size: 1rem;
    color: rgba(255,255,255,0.7);
    margin-top: 0.5rem;
    font-weight: 400;
}

/* ============================================================
   FORMS
   ============================================================ */
.input-field {
    width: 100%;
    padding: 0.7rem 1rem;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 16px;
    font-family: var(--font-sans);
    color: var(--text-primary);
    background: var(--surface);
    transition: all var(--transition);
    outline: none;
    min-height: 44px;
    -webkit-appearance: none;
    appearance: none;
}

.input-field:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(15,43,70,0.08);
}

.input-field::placeholder {
    color: var(--text-muted);
}

textarea.input-field {
    resize: vertical;
    min-height: 120px;
}

.form-row {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* Feedback Messages */
.feedback-msg {
    display: none;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    margin-top: 0.75rem;
    text-align: center;
}

.feedback-msg.success {
    background: var(--success-bg);
    color: var(--success);
    border: 1px solid rgba(22,163,74,0.2);
}

.feedback-msg.error {
    background: var(--error-bg);
    color: var(--error);
    border: 1px solid rgba(220,38,38,0.2);
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-section {
    padding: 4rem 0 5rem;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.about-content h2 {
    margin-bottom: 1rem;
}

.about-content p {
    margin-bottom: 1rem;
    font-size: 1rem;
}

.about-highlights {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
}

.about-highlights h3 {
    margin-bottom: 1.25rem;
    font-size: 1.15rem;
}

.highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-light);
}

.highlight-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.highlight-item .hl-icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
    border-radius: var(--radius-sm);
    background: var(--accent-light);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 700;
}

.highlight-item h4 {
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
}

.highlight-item p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-section {
    padding: 4rem 0 5rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 2.5rem;
    align-items: start;
}

.contact-info-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
}

.contact-info-card h3 {
    margin-bottom: 1.5rem;
    font-size: 1.15rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-item .ci-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: var(--radius-sm);
    background: var(--accent-light);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.contact-item h4 {
    font-size: 0.9rem;
    margin-bottom: 0.15rem;
}

.contact-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
}

.contact-item a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}

.contact-form-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
}

.contact-form-card h3 {
    margin-bottom: 1.5rem;
    font-size: 1.15rem;
}

/* --- Contact Map --- */
.contact-map {
    margin-top: 2.5rem;
}

.contact-map h3 {
    font-size: 1.15rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.map-wrapper {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
}

.map-wrapper iframe {
    display: block;
    width: 100%;
}

/* ============================================================
   EMPTY STATE
   ============================================================ */
.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    background: var(--surface);
    border-radius: var(--radius-lg);
    border: 2px dashed var(--border);
}

.empty-state .empty-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.4;
}

.empty-state h3 {
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.empty-state p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background: var(--primary-dark);
    color: rgba(255,255,255,0.7);
    padding: 3rem 0 2rem;
    margin-top: auto;
    padding-bottom: calc(2rem + env(safe-area-inset-bottom));
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2.5rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-brand .footer-logo {
    height: 44px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.footer-about p {
    color: rgba(255,255,255,0.55);
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer h4 {
    color: #fff;
    font-size: 0.95rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-links a {
    display: block;
    color: rgba(255,255,255,0.55);
    font-size: 0.9rem;
    padding: 0.3rem 0;
    transition: all var(--transition);
    min-height: 44px;
    display: flex;
    align-items: center;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.4);
}

/* ============================================================
   SOCIAL LINKS — Footer & Contact
   ============================================================ */

/* --- Footer Social Icons --- */
.footer-social-label {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: var(--radius-sm);
    color: #fff;
    transition: all 0.25s ease;
    text-decoration: none;
}

.social-link.social-instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.social-link.social-facebook {
    background: #1877F2;
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

/* --- Contact Page Social --- */
.contact-social {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

.contact-social h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.contact-social-links {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.contact-social-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.7rem 1.25rem;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    transition: all 0.25s ease;
    min-height: 44px;
}

.contact-social-btn.social-instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.contact-social-btn.social-facebook {
    background: #1877F2;
}

.contact-social-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    filter: brightness(1.1);
}

.contact-social-btn svg {
    flex-shrink: 0;
}

/* ============================================================
   RESPONSIVE — Tablet Landscape (max-width: 992px)
   ============================================================ */
@media (max-width: 992px) {
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

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

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .hero-stats {
        gap: 2rem;
    }

    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

/* ============================================================
   RESPONSIVE — Tablet Portrait / Mobile Landscape (max-width: 768px)
   ============================================================ */
@media (max-width: 768px) {
    /* Esconder menu desktop em mobile */
    .nav-menu-desktop {
        display: none !important;
    }

    /* Mostrar botão hamburger */
    .mobile-toggle {
        display: flex;
    }

    /* ============================================
       MOBILE MENU PANEL — Painel Fullscreen
       4 links simples: Início, Produtos, Sobre Nós, Contato
       ============================================ */
    .mobile-menu-panel {
        display: block;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        background: var(--primary);
        z-index: 99999;
        padding: 0;
        margin: 0;
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
        -ms-scroll-chaining: none;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.25s ease, visibility 0.25s ease;
    }

    /* Bloquear scroll da página quando menu está aberto */
    body.mobile-menu-open,
    html.mobile-menu-open {
        overflow: hidden !important;
        position: fixed !important;
        width: 100% !important;
        height: 100% !important;
        touch-action: none;
    }

    .mobile-menu-panel.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .mobile-menu-link {
        display: block;
        width: 100%;
        padding: 1.1rem 1.5rem;
        font-size: 1.15rem;
        font-weight: 600;
        font-family: var(--font-sans);
        color: #ffffff;
        text-decoration: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
        transition: background 0.2s ease;
    }

    .mobile-menu-link:last-child {
        border-bottom: none;
    }

    .mobile-menu-link:hover,
    .mobile-menu-link:active {
        background: rgba(255, 255, 255, 0.1);
    }

    /* --- Submenu Produtos (expansível) --- */
    .mobile-submenu-wrapper {
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    }

    .mobile-submenu-toggle {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        background: none;
        border: none;
        border-bottom: none;
        cursor: pointer;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
    }

    .mobile-submenu-arrow {
        transition: transform 0.3s ease;
        flex-shrink: 0;
        margin-left: 0.5rem;
    }

    .mobile-submenu-toggle.open .mobile-submenu-arrow {
        transform: rotate(180deg);
    }

    .mobile-submenu {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s ease;
        background: rgba(0, 0, 0, 0.15);
    }

    .mobile-submenu.open {
        max-height: 1200px;
    }

    .mobile-submenu-item {
        display: block;
        padding: 0.85rem 1.5rem 0.85rem 2.5rem;
        font-size: 1rem;
        font-weight: 500;
        font-family: var(--font-sans);
        color: rgba(255, 255, 255, 0.85);
        text-decoration: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        transition: background 0.2s ease, color 0.2s ease;
    }

    .mobile-submenu-item:last-child {
        border-bottom: none;
    }

    .mobile-submenu-item:hover,
    .mobile-submenu-item:active {
        background: rgba(255, 255, 255, 0.08);
        color: #ffffff;
    }

    .hero {
        padding: 3rem 0 0;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        padding-bottom: 2rem;
        max-width: 100%;
    }

    .hero h1 {
        font-size: clamp(1.5rem, 6vw, 2rem);
    }

    .hero p {
        max-width: 100%;
        font-size: 1rem;
    }

    .hero-stats {
        flex-direction: row;
        justify-content: center;
        gap: 1.5rem;
        flex-wrap: wrap;
    }

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

    .hero-stat .number {
        font-size: 1.5rem;
    }

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

    .hero-image img {
        max-height: 300px;
    }

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

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

    .home-cat-card {
        min-height: 170px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .section-padding {
        padding: 3.5rem 0;
    }

    .benefits,
    .catalog-section {
        padding: 3.5rem 0;
    }

    .cta-section {
        padding: 3rem 0;
    }

    .about-section,
    .contact-section {
        padding: 3rem 0 4rem;
    }

    .map-wrapper iframe {
        height: 300px;
    }
}

/* ============================================================
   RESPONSIVE — Mobile (max-width: 480px)
   ============================================================ */
@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .home-cat-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .home-cat-card {
        min-height: 150px;
    }

    .home-cat-card .icon-box {
        width: 46px;
        height: 46px;
        font-size: 1.05rem;
    }

    .home-cat-card h3 {
        font-size: 0.82rem;
    }

    .cat-card-content {
        padding: 1rem 0.75rem;
    }

    .form-row {
        flex-direction: column;
    }

    .product-card .input-qty {
        max-width: 100%;
    }

    .page-header {
        padding: 2rem 0;
    }

    .page-header h1 {
        font-size: 1.35rem;
    }

    .product-card .card-body {
        padding: 1rem 1.15rem 1.25rem;
    }

    .product-card .img-wrapper {
        height: 220px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-actions .btn {
        text-align: center;
        width: 100%;
    }

    .hero-stats {
        gap: 1rem;
    }

    .hero-stat .number {
        font-size: 1.35rem;
    }

    .hero-stat .label {
        font-size: 0.75rem;
    }

    .section-header {
        margin-bottom: 2rem;
    }

    .section-header .subtitle {
        font-size: 0.95rem;
    }

    .benefit-card {
        padding: 1.5rem;
    }

    .contact-info-card,
    .contact-form-card {
        padding: 1.5rem;
    }

    .map-wrapper iframe {
        height: 250px;
    }

    .empty-state {
        padding: 3rem 1.5rem;
    }
}

/* ============================================================
   RESPONSIVE — Small Mobile (max-width: 360px)
   ============================================================ */
@media (max-width: 360px) {
    body {
        font-size: 15px;
    }

    .container {
        padding: 0 0.75rem;
    }

    .navbar .container {
        height: 60px;
    }

    .navbar-brand .brand-logo {
        height: 38px;
    }

    .mobile-menu-panel {
        top: 60px;
    }

    .hero h1 {
        font-size: 1.35rem;
    }

    .hero p {
        font-size: 0.9rem;
    }

    .hero-badge {
        font-size: 0.75rem;
        padding: 0.3rem 0.75rem;
    }

    .home-cat-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }

    .home-cat-card {
        min-height: 130px;
    }

    .home-cat-card .icon-box {
        width: 40px;
        height: 40px;
        font-size: 0.95rem;
        margin-bottom: 0.5rem;
    }

    .home-cat-card h3 {
        font-size: 0.75rem;
    }

    .cat-card-content {
        padding: 0.75rem 0.5rem;
    }

    .product-card .img-wrapper {
        height: 200px;
    }

    .btn {
        padding: 0.65rem 1.25rem;
        font-size: 0.88rem;
    }
}

/* ============================================================
   ACCESSIBILITY — Reduced Motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .hero-image img {
        animation: none;
    }

    .animate-hidden {
        opacity: 1 !important;
        transform: none;
    }
}

/* ============================================================
   PRINT STYLESHEET
   ============================================================ */
@media print {
    .navbar,
    .mobile-toggle,
    .hero-image,
    .cta-section,
    .footer,
    .product-form-wrapper,
    .feedback-msg,
    .map-wrapper,
    .btn {
        display: none !important;
    }

    body {
        background: #fff;
        color: #000;
        font-size: 12pt;
        padding: 0;
    }

    .hero {
        background: none !important;
        padding: 1rem 0;
    }

    .hero h1,
    .hero p,
    .hero-stat .number {
        color: #000 !important;
    }

    .hero-stat .label {
        color: #333 !important;
    }

    .product-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ccc;
    }

    .home-cat-card {
        border: 1px solid #ccc;
        box-shadow: none;
    }

    a {
        color: #000;
        text-decoration: underline;
    }

    .container {
        max-width: 100%;
        padding: 0;
    }
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-in {
    animation: fadeInUp 0.5s ease forwards;
}

/* Loading spinner */
.btn.loading {
    position: relative;
    color: transparent;
    pointer-events: none;
}

.btn.loading::after {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

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

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--surface-alt);
}

::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* Focus visible (keyboard navigation) */
:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

button:focus:not(:focus-visible),
a:focus:not(:focus-visible) {
    outline: none;
}

/* ============================================================
   WHATSAPP FLOATING BUTTON
   ============================================================ */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: all 0.3s ease;
    text-decoration: none;
}

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

.whatsapp-float:active {
    transform: scale(0.95);
}

.whatsapp-float svg {
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.15));
}

@media (max-width: 480px) {
    .whatsapp-float {
        bottom: 16px;
        right: 16px;
        width: 52px;
        height: 52px;
    }

    .whatsapp-float svg {
        width: 24px;
        height: 24px;
    }
}

@media print {
    .whatsapp-float {
        display: none !important;
    }
}
