/* ==========================================================================
   MONTAXX - HIGH-END RETAIL & SERVICES (HOMY CASA STYLE DESIGN SYSTEM)
   Estética: Clean Scandinavian E-Commerce / Loja de Móveis & Serviços Técnicos
   Cores: Branco Puro (#FFFFFF), Areia Suave (#F8F9FA, #F3F4F6), Grafite (#111827),
   Acentos Ouro/Amarelo MONTAXX (#FFB800, #D97706)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800;900&display=swap');

:root {
  /* Brand Accents */
  --primary: #FFB800;
  --primary-dark: #D97706;
  --primary-subtle: rgba(255, 184, 0, 0.12);
  --primary-pill: #FEF3C7;
  --primary-pill-text: #92400E;

  /* Surfaces & Backgrounds */
  --bg-page: #FFFFFF;
  --bg-subtle: #F9FAFB;
  --bg-light: #F3F4F6;
  --bg-card: #FFFFFF;
  --bg-dark-accent: #0F172A;

  /* Borders */
  --border-light: #E5E7EB;
  --border-subtle: #F3F4F6;
  --border-focus: #111827;

  /* Typography */
  --text-dark: #111827;
  --text-body: #374151;
  --text-muted: #6B7280;
  --text-subtle: #9CA3AF;
  --text-white: #FFFFFF;

  /* Status */
  --sale-red: #EF4444;
  --sale-red-bg: #FEE2E2;
  --success: #10B981;

  /* Sizing & Radius */
  --font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-pill: 9999px;

  /* Shadows */
  --shadow-subtle: 0 2px 10px rgba(0, 0, 0, 0.04);
  --shadow-hover: 0 12px 30px rgba(0, 0, 0, 0.08);
  --shadow-modal: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

  --transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  color-scheme: light;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-page);
  color: var(--text-body);
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.menu-locked {
  overflow: hidden;
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button, input, select, textarea {
  font-family: inherit;
}

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

/* ==========================================================================
   TOP ANNOUNCEMENT BAR (HOMY STYLE)
   ========================================================================== */
.top-notice-bar {
  background: var(--bg-dark-accent);
  color: #F1F5F9;
  font-size: 0.76rem;
  font-weight: 600;
  padding: 8px 0;
  text-align: center;
  letter-spacing: 0.3px;
}

.top-notice-bar span {
  color: var(--primary);
  margin-right: 4px;
}

/* ==========================================================================
   MAIN HEADER / NAVIGATION
   ========================================================================== */
.site-header {
  background: var(--bg-page);
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--transition);
}

.site-header.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo-img {
  height: 42px;
  width: auto;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.header-nav a {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  position: relative;
  padding: 6px 0;
}

.header-nav a:hover,
.header-nav a.active {
  color: var(--primary-dark);
}

.header-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-dark);
  transition: width 0.2s ease;
}

.header-nav a:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.btn-header-quote {
  background: var(--text-dark);
  color: #FFF;
  font-size: 0.84rem;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.btn-header-quote:hover {
  background: var(--primary-dark);
  color: #FFF;
  transform: translateY(-1px);
}

.mobile-menu-btn {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-dark);
  cursor: pointer;
}

/* ==========================================================================
   HERO BANNER SECTION (CINEMATIC / CLEAN)
   ========================================================================== */
.hero-banner {
  position: relative;
  background: #0B0F19;
  color: #FFF;
  overflow: hidden;
  height: 520px;
  display: flex;
  align-items: center;
}

.hero-banner-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
  opacity: 0.5;
  filter: saturate(1.08) contrast(1.02);
}

.hero-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11, 15, 25, 0.95) 0%, rgba(11, 15, 25, 0.72) 45%, rgba(11, 15, 25, 0.25) 100%);
}

.hero-banner-content {
  position: relative;
  z-index: 10;
  max-width: 640px;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 20px;
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  color: #FFF;
}

.hero-title span {
  color: var(--primary);
}

.hero-desc {
  font-size: 1.1rem;
  color: #CBD5E1;
  line-height: 1.6;
  margin-bottom: 28px;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-hero-primary {
  background: var(--primary);
  color: #111827;
  font-weight: 800;
  font-size: 0.92rem;
  padding: 13px 28px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.btn-hero-primary:hover {
  background: #FFA200;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 184, 0, 0.35);
}

.btn-hero-secondary {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #FFF;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.btn-hero-secondary:hover {
  background: #FFF;
  color: #111827;
  transform: translateY(-2px);
}

/* ==========================================================================
   PRINCIPAIS CATEGORIAS (HOMY CASA CARD GRID)
   ========================================================================== */
.section-categories {
  padding: 60px 0 40px;
}

.section-headline-clean {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}

.section-headline-clean h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.02em;
}

.section-headline-clean a {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-dark);
  text-decoration: underline;
}

.categories-story-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.category-story-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  group;
}

.category-story-thumb {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-light);
  margin-bottom: 12px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-subtle);
  transition: var(--transition);
}

.category-story-card:hover .category-story-thumb {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--text-dark);
}

.category-story-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.category-story-card:hover .category-story-thumb img {
  transform: scale(1.06);
}

.category-story-name {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

/* ==========================================================================
   PRODUCT SHOWCASE (NOVIDADES & MAIS VENDIDOS)
   ========================================================================== */
.section-products {
  padding: 40px 0 70px;
}

.products-slider-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.product-clean-card {
  background: var(--bg-page);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
}

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

.product-image-container {
  height: 240px;
  position: relative;
  background: #FAFBFB;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  overflow: hidden;
}

.product-image-container img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.product-clean-card:hover .product-image-container img {
  transform: scale(1.04);
}

.discount-circle-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  background: var(--primary);
  color: #111827;
  font-size: 0.72rem;
  font-weight: 900;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(255, 184, 0, 0.4);
}

.product-tag-pill {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(17, 24, 39, 0.85);
  color: #FFF;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
}

.product-clean-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-color-swatches {
  display: flex;
  gap: 6px;
  margin-bottom: 10px;
}

.swatch-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.15);
}

.product-clean-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.35;
  margin-bottom: 10px;
  min-height: 38px;
}

.product-clean-meta {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.product-clean-meta span.free-assembly {
  color: var(--primary-dark);
  font-weight: 700;
  display: block;
  margin-top: 2px;
}

.product-pricing-clean {
  margin-bottom: 16px;
  margin-top: auto;
}

.price-row-clean {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.current-price {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--text-dark);
}

.old-price {
  font-size: 0.88rem;
  color: var(--text-subtle);
  text-decoration: line-through;
}

.installments-text {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.btn-buy-clean {
  width: 100%;
  background: var(--text-dark);
  color: #FFF;
  font-size: 0.84rem;
  font-weight: 700;
  padding: 10px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn-buy-clean:hover {
  background: #25D366;
}

/* ==========================================================================
   AMBIENT & SERVICES MOSAIC BANNER (HOMY CASA STYLE 6-BLOCK)
   ========================================================================== */
.section-mosaic {
  padding: 40px 0 60px;
}

.mosaic-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 190px;
  gap: 16px;
}

.mosaic-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #111827;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  cursor: pointer;
  box-shadow: var(--shadow-subtle);
}

.mosaic-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.75;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.mosaic-item:hover img {
  transform: scale(1.08);
  opacity: 0.9;
}

.mosaic-overlay-title {
  position: absolute;
  z-index: 2;
  font-size: 1.25rem;
  font-weight: 900;
  color: #FFF;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

/* ==========================================================================
   SPECIAL CAMPAIGN SECTION (SPLIT BANNER + 2x2 PRODUCTS)
   ========================================================================== */
.section-campaign {
  padding: 40px 0 70px;
}

.campaign-split-layout {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 28px;
  align-items: stretch;
}

.campaign-hero-box {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #E5E7EB;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 36px;
  min-height: 480px;
}

.campaign-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.campaign-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0.85) 100%);
}

.campaign-hero-content {
  position: relative;
  z-index: 5;
  color: #FFF;
}

.campaign-hero-tag {
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary);
  margin-bottom: 8px;
}

.campaign-hero-title {
  font-size: 2.8rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 18px;
}

.campaign-hero-btn {
  background: #FFF;
  color: #111827;
  font-size: 0.88rem;
  font-weight: 800;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
}

.campaign-hero-btn:hover {
  background: var(--primary);
  color: #111827;
}

.campaign-products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

/* ==========================================================================
   INSTITUCIONAL / SOBRE A MONTAXX (HOMY CASA BOTTOM BOX)
   ========================================================================== */
.section-institutional {
  padding: 40px 0 60px;
}

.institutional-box {
  background: #FFF9EE;
  border: 1px solid #FED7AA;
  border-radius: var(--radius-md);
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 40px;
  align-items: center;
}

.institutional-media {
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
  height: 320px;
}

.institutional-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.institutional-content h3 {
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary-dark);
  margin-bottom: 6px;
}

.institutional-content h2 {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--text-dark);
  margin-bottom: 16px;
  line-height: 1.2;
}

.institutional-content p {
  font-size: 0.92rem;
  color: var(--text-body);
  line-height: 1.65;
  margin-bottom: 16px;
}

.institutional-actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.btn-inst-dark {
  background: var(--text-dark);
  color: #FFF;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
}

.btn-inst-dark:hover {
  background: var(--primary-dark);
}

.btn-inst-outline {
  border: 1px solid var(--text-dark);
  color: var(--text-dark);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
}

.btn-inst-outline:hover {
  background: var(--text-dark);
  color: #FFF;
}

/* ==========================================================================
   CALCULADORA DE ORÇAMENTO (CLEAN & INTEGRADA)
   ========================================================================== */
.section-calculator-clean {
  padding: 60px 0 80px;
  background: var(--bg-subtle);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.calc-box-clean {
  background: #FFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 36px;
  box-shadow: var(--shadow-subtle);
}

.calc-filter-pills {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.calc-filter-pill {
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  color: var(--text-body);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: var(--transition);
}

.calc-filter-pill.active {
  background: var(--text-dark);
  color: #FFF;
  border-color: var(--text-dark);
}

.calc-grid-split {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
}

.calc-items-list {
  max-height: 480px;
  overflow-y: auto;
  padding-right: 8px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.calc-item-card {
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  transition: var(--transition);
}

.calc-item-card:hover {
  border-color: #D1D5DB;
  background: #FFF;
}

.calc-item-card.active {
  border-color: var(--primary);
  background: #FFFBEB;
}

.calc-item-name {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-dark);
}

.calc-item-meta {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.calc-qty-control {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #FFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 2px 6px;
}

.btn-qty {
  width: 28px;
  height: 28px;
  border: none;
  background: var(--bg-light);
  color: var(--text-dark);
  font-weight: 800;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.btn-qty:hover {
  background: var(--primary);
  color: #111827;
}

.qty-display {
  min-width: 20px;
  text-align: center;
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--text-dark);
}

.calc-summary-clean {
  background: #F9FAFB;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.calc-summary-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-dark);
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 12px;
  margin-bottom: 16px;
}

.calc-summary-items {
  max-height: 180px;
  overflow-y: auto;
  margin-bottom: 16px;
  font-size: 0.88rem;
}

.calc-input-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 12px;
}

.calc-input-group label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-dark);
}

.calc-input-group input,
.calc-input-group select {
  background: #FFF;
  border: 1px solid var(--border-light);
  padding: 9px 12px;
  border-radius: var(--radius-xs);
  font-size: 0.88rem;
  color: var(--text-dark);
}

.calc-total-banner {
  border-top: 1px solid var(--border-light);
  padding-top: 16px;
  margin-top: auto;
  margin-bottom: 16px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.calc-total-banner span {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
}

.calc-total-banner strong {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--primary-dark);
}

/* ==========================================================================
   VALUE PROPOSITION / TRUST BAR (THE 4 HOMY CASA ICONS)
   ========================================================================== */
.section-trust-bar {
  padding: 50px 0;
  background: var(--bg-page);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.trust-bar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.trust-item-clean {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.trust-icon-box {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #FFFBEB;
  border: 1px solid #FDE68A;
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 14px;
}

.trust-item-clean h4 {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.trust-item-clean p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* ==========================================================================
   NEWSLETTER STRIP (HOMY CASA STYLE)
   ========================================================================== */
.section-newsletter {
  background: #EAE6DF;
  padding: 44px 0;
  text-align: center;
}

.newsletter-title {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.newsletter-sub {
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.newsletter-form {
  max-width: 520px;
  margin: 0 auto;
  display: flex;
  gap: 8px;
}

.newsletter-input {
  flex-grow: 1;
  background: #FFF;
  border: 1px solid #D1D5DB;
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 0.9rem;
  outline: none;
}

.newsletter-btn {
  background: var(--text-dark);
  color: #FFF;
  font-weight: 800;
  font-size: 0.88rem;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.newsletter-btn:hover {
  background: var(--primary-dark);
}

/* ==========================================================================
   FULL RETAIL FOOTER (HOMY CASA STYLE)
   ========================================================================== */
.site-footer-clean {
  background: var(--bg-page);
  padding: 60px 0 24px;
}

.footer-columns-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr 1fr 1.2fr;
  gap: 32px;
  margin-bottom: 48px;
}

.footer-col-title-clean {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.footer-menu-clean {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-menu-clean a {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-menu-clean a:hover {
  color: var(--primary-dark);
}

.footer-contacts-list {
  font-size: 0.82rem;
  color: var(--text-body);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-bottom-bar {
  border-top: 1px solid var(--border-light);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 14px;
}

.payment-flags-strip {
  display: flex;
  gap: 8px;
  align-items: center;
}

.flag-badge {
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  padding: 4px 8px;
  border-radius: 4px;
  font-weight: 800;
  font-size: 0.72rem;
  color: var(--text-dark);
}

/* Floating WhatsApp Minimal */
.whatsapp-float-btn {
  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 8px 24px rgba(37, 211, 102, 0.4);
  z-index: 1500;
  color: #FFF;
  transition: var(--transition);
}

.whatsapp-float-btn:hover {
  transform: scale(1.08);
}

/* ==========================================================================
   MODAL DE DETALHES
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal-dialog {
  background: #FFF;
  border-radius: var(--radius-md);
  width: 100%;
  max-width: 820px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow-modal);
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--bg-light);
  border: none;
  color: var(--text-dark);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  z-index: 10;
}

.modal-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 32px;
  padding: 32px;
}

.modal-gallery {
  background: #F9FAFB;
  border-radius: var(--radius-sm);
  overflow: hidden;
  height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-gallery img {
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
}

/* ==========================================================================
   PROJETOS EXECUTADOS (GALERIA DE OBRAS REAIS + LIGHTBOX)
   ========================================================================== */
.section-gallery {
  padding: 40px 0 64px;
  background: var(--bg-subtle);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.gallery-headline-sub {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-top: 4px;
  max-width: 560px;
}

.gallery-filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.gallery-filter-pill {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  color: var(--text-body);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: var(--transition);
}

.gallery-filter-pill:hover {
  border-color: var(--text-dark);
  color: var(--text-dark);
}

.gallery-filter-pill.active {
  background: var(--text-dark);
  border-color: var(--text-dark);
  color: var(--text-white);
}

.gallery-masonry {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 18px;
  grid-auto-rows: 4px;
}

.gallery-item {
  position: relative;
  /* span default para quem abre o site sem JS; o script refina com a proporcao real */
  grid-row-end: span 78;
  margin: 0 0 18px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #0F172A;
  cursor: pointer;
  box-shadow: var(--shadow-subtle);
  transition: var(--transition);
  border: 0;
  padding: 0;
  width: 100%;
  display: block;
  text-align: left;
  font-family: inherit;
}

.gallery-item:hover,
.gallery-item:focus-visible {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  outline: none;
}

.gallery-item:focus-visible {
  box-shadow: 0 0 0 3px var(--primary), var(--shadow-hover);
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item-caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 46px 16px 14px;
  background: linear-gradient(to top, rgba(9, 12, 20, 0.94) 15%, rgba(9, 12, 20, 0.65) 55%, transparent 100%);
  color: #FFF;
  pointer-events: none;
}

.gallery-item-tag {
  display: inline-block;
  background: var(--primary);
  color: #111827;
  font-size: 0.63rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 3px 8px;
  border-radius: var(--radius-xs);
  margin-bottom: 7px;
}

.gallery-item-title {
  display: block;
  font-size: 0.97rem;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.gallery-item-desc {
  display: block;
  font-size: 0.78rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.78);
  margin-top: 4px;
}

.gallery-zoom-hint {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #FFF;
  opacity: 0;
  transform: scale(0.85);
  transition: var(--transition);
  pointer-events: none;
}

.gallery-item:hover .gallery-zoom-hint,
.gallery-item:focus-visible .gallery-zoom-hint {
  opacity: 1;
  transform: scale(1);
}

.gallery-empty {
  text-align: center;
  padding: 36px 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.gallery-cta-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 8px;
  padding: 20px 24px;
  background: var(--bg-dark-accent);
  border-radius: var(--radius-md);
  color: #FFF;
}

.gallery-cta-strip p {
  font-size: 0.95rem;
  font-weight: 700;
}

.gallery-cta-strip small {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  color: #94A3B8;
  margin-top: 2px;
}

.gallery-cta-btn {
  background: var(--primary);
  color: #111827;
  font-size: 0.87rem;
  font-weight: 800;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

.gallery-cta-btn:hover {
  background: #FFF;
}

/* Lightbox ---------------------------------------------------------------- */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(7, 10, 17, 0.94);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox-overlay.open {
  display: flex;
}

.lightbox-figure {
  max-width: 1000px;
  width: 100%;
  max-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.lightbox-figure img {
  max-width: 100%;
  max-height: 74vh;
  width: auto;
  border-radius: var(--radius-md);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}

.lightbox-caption {
  text-align: center;
  color: #FFF;
  max-width: 640px;
}

.lightbox-caption strong {
  display: block;
  font-size: 1.08rem;
  font-weight: 800;
}

.lightbox-caption span {
  display: block;
  font-size: 0.85rem;
  color: #94A3B8;
  margin-top: 4px;
}

.lightbox-counter {
  font-size: 0.75rem;
  color: #64748B;
  font-weight: 700;
  letter-spacing: 1px;
  margin-top: 8px;
}

.lightbox-btn {
  position: absolute;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #FFF;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.lightbox-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #111827;
}

.lightbox-close { top: 20px; right: 20px; }
.lightbox-prev  { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-next  { right: 20px; top: 50%; transform: translateY(-50%); }

/* ==========================================================================
   RESPONSIVO (TABLETS E MOBILE)
   ========================================================================== */
@media (max-width: 1024px) {
  .categories-story-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .gallery-masonry {
    grid-template-columns: repeat(2, 1fr);
  }
  .products-slider-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .campaign-split-layout {
    grid-template-columns: 1fr;
  }
  .institutional-box {
    grid-template-columns: 1fr;
  }
  .calc-grid-split {
    grid-template-columns: 1fr;
  }
  .footer-columns-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .trust-bar-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: block;
  }
  .header-nav {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    bottom: 0;
    background: #FFF;
    flex-direction: column;
    padding: 30px;
    gap: 20px;
    transform: translateX(100%);
    transition: var(--transition);
  }
  .header-nav.open {
    transform: translateX(0);
  }
  .hero-banner {
    height: 440px;
  }
  .hero-title {
    font-size: 2.2rem;
  }
  .categories-story-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .products-slider-grid {
    grid-template-columns: 1fr;
  }
  .mosaic-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 150px;
  }
  .gallery-masonry {
    grid-template-columns: 1fr;
  }
  .gallery-cta-strip {
    flex-direction: column;
    align-items: flex-start;
  }
  .lightbox-figure img {
    max-height: 62vh;
  }
  .lightbox-prev { left: 10px; }
  .lightbox-next { right: 10px; }
  .campaign-products-grid {
    grid-template-columns: 1fr;
  }
  .modal-grid {
    grid-template-columns: 1fr;
    padding: 20px;
  }
  .footer-columns-grid {
    grid-template-columns: 1fr;
  }
  .trust-bar-grid {
    grid-template-columns: 1fr;
  }
  .newsletter-form {
    flex-direction: column;
  }
}
