/* ==========================================================================
   NACIONAL PISO - ESTILOS COMPLEMENTARES & DINÂMICOS
   INTEGRAÇÃO VISUAL BASEADA NA REFERÊNCIA OFICIAL NACIONAL PISO UBERABA
   ========================================================================== */

:root {
  --forest-primary: #003923;
  --forest-dark: #002810;
  --forest-hover: #004d30;
  --gold-accent: #fee402;
  --gold-hover: #ecd300;
  --cream-bg: #fcf6ec;
  --cream-card: #f6f1eb;
  --line-border: #deddd5;
  --text-dark: #002810;
  --text-muted: #5f6c61;
}

/* Navegação do Topo Integrada */
.header-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 0 auto;
}
@media (max-width: 1024px) {
  .header-nav {
    display: none;
  }
}
.header-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--forest-primary);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 999px;
  transition: all 0.2s ease;
}
.header-nav a:hover {
  background: rgba(0, 57, 35, 0.08);
  color: var(--forest-dark);
}

/* Botão de Cidades no Top Strip */
.top-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 24px;
  background: #002810;
  color: #c9c8bc;
  font-size: 12px;
  letter-spacing: 0.1em;
  font-weight: 600;
}
.top-strip-cities {
  display: flex;
  gap: 16px;
}
.top-strip-cities a {
  color: #fee402;
  text-decoration: none;
  transition: opacity 0.2s;
}
.top-strip-cities a:hover {
  text-decoration: underline;
}

/* ==========================================================================
   SEÇÃO CATÁLOGO DE PRODUTOS DINÂMICO
   ========================================================================== */
.catalog-section {
  padding: 60px 48px;
  border-top: 1px solid var(--line-border);
  background: var(--cream-card);
}
@media (max-width: 768px) {
  .catalog-section {
    padding: 40px 20px;
  }
}

.catalog-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 36px;
}
.catalog-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.catalog-title {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(28px, 4vw, 42px);
  color: var(--forest-dark);
  line-height: 1.15;
  margin-bottom: 14px;
}
.catalog-subtitle {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Filtros de Categoria */
.catalog-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 36px;
}
.filter-btn {
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 600;
  color: var(--forest-primary);
  background: #ffffff;
  border: 1px solid var(--line-border);
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.filter-btn:hover {
  background: #f0ece3;
  border-color: #c9c8bc;
}
.filter-btn.active {
  background: var(--forest-primary);
  color: #fee402;
  border-color: var(--forest-primary);
  box-shadow: 0 4px 12px rgba(0, 57, 35, 0.2);
}

/* Grid de Produtos */
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 24px;
}
.product-card {
  background: #ffffff;
  border: 1px solid var(--line-border);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 40, 16, 0.08);
  border-color: #b5b4a4;
}
.product-thumb-wrap {
  position: relative;
  width: 100%;
  padding-top: 75%; /* 4:3 Aspect Ratio */
  background: #f2efe9;
  overflow: hidden;
}
.product-thumb-wrap img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.product-card:hover .product-thumb-wrap img {
  transform: scale(1.04);
}
.product-badge-pill {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--forest-dark);
  color: #fee402;
  border-radius: 999px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
.product-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-brand {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.product-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--forest-dark);
  line-height: 1.3;
  margin-bottom: 10px;
  min-height: 42px;
}
.product-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}
.spec-chip {
  font-size: 12px;
  font-weight: 500;
  padding: 3px 8px;
  background: #f6f3ee;
  color: #4a544d;
  border-radius: 4px;
  border: 1px solid #e3e0d8;
}
.product-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: 16px;
  flex: 1;
}
.product-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 11px 16px;
  background: var(--forest-primary);
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.2s ease;
}
.product-cta-btn:hover {
  background: var(--forest-dark);
  color: #fee402;
  box-shadow: 0 4px 12px rgba(0, 57, 35, 0.25);
}
.product-cta-btn svg {
  width: 18px;
  height: 18px;
}

/* ==========================================================================
   SEÇÃO CALCULADORA DE PISOS & REVESTIMENTOS
   ========================================================================== */
.calculator-section {
  padding: 60px 48px;
  background: #002810;
  color: #f6f1eb;
  border-top: 1px solid #1a4228;
}
@media (max-width: 768px) {
  .calculator-section {
    padding: 40px 20px;
  }
}
.calculator-card {
  max-width: 980px;
  margin: 0 auto;
  background: #00341e;
  border: 1px solid #0a5232;
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.25);
}
@media (max-width: 600px) {
  .calculator-card {
    padding: 24px 18px;
  }
}
.calc-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: center;
}
@media (max-width: 860px) {
  .calc-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}
.calc-header h2 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(26px, 3.5vw, 36px);
  color: #fee402;
  line-height: 1.2;
  margin-bottom: 12px;
}
.calc-header p {
  font-size: 15px;
  color: #cfd8d2;
  line-height: 1.5;
  margin-bottom: 24px;
}
.calc-form-group {
  margin-bottom: 16px;
}
.calc-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #f6f1eb;
  margin-bottom: 6px;
}
.calc-input-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.calc-field {
  width: 100%;
  padding: 12px 14px;
  font-size: 15px;
  background: #002514;
  border: 1px solid #0a5c37;
  color: #ffffff;
  border-radius: 6px;
  outline: none;
  transition: border-color 0.2s;
}
.calc-field:focus {
  border-color: #fee402;
  box-shadow: 0 0 0 2px rgba(254, 228, 2, 0.2);
}
.calc-field::placeholder {
  color: #698375;
}

/* Painel de Resultados */
.calc-results-box {
  background: #002211;
  border: 1px solid #004b2a;
  border-radius: 10px;
  padding: 28px;
  text-align: center;
}
.calc-result-number {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 48px;
  color: #fee402;
  line-height: 1;
  margin-bottom: 6px;
}
.calc-result-unit {
  font-size: 14px;
  color: #a4beaf;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  margin-bottom: 20px;
}
.calc-breakdown {
  display: flex;
  justify-content: space-around;
  padding-block: 16px;
  border-top: 1px solid #0b4528;
  border-bottom: 1px solid #0b4528;
  margin-bottom: 20px;
  font-size: 13px;
  color: #d1ded7;
}
.calc-breakdown strong {
  display: block;
  font-size: 18px;
  color: #ffffff;
  margin-top: 4px;
}
.calc-whatsapp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px 20px;
  background: #fee402;
  color: #002810;
  font-size: 15px;
  font-weight: 700;
  border-radius: 999px;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 4px 16px rgba(254, 228, 2, 0.25);
}
.calc-whatsapp-btn:hover {
  background: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2);
}
.calc-whatsapp-btn img {
  width: 22px;
  height: 22px;
}

/* ==========================================================================
   UNIDADES & SHOWROOMS MULTI-LOJAS (UBERABA & UBERLÂNDIA)
   ========================================================================== */
.stores-tabs-container {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 30px;
}
.store-tab-btn {
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 700;
  border-radius: 999px;
  border: 1px solid var(--line-border);
  background: #ffffff;
  color: var(--forest-primary);
  cursor: pointer;
  transition: all 0.2s ease;
}
.store-tab-btn.active {
  background: var(--forest-primary);
  color: #fee402;
  border-color: var(--forest-primary);
}

/* Créditos no rodapé */
.footer-credits {
  font-size: 12px;
  color: #8c9b90;
  margin-top: 6px;
  font-weight: 500;
}
.footer-credits a {
  color: #b5c7ba;
  text-decoration: underline;
  transition: color 0.2s;
}
.footer-credits a:hover {
  color: #fee402;
}
