/* ==========================================================================
   BONANZA TECIDOS — Layout Limpo, Leve e Direto ao Ponto
   Baseado no Logo Oficial (Azul Noite #0D1527 & Dourado #C59B38)
   ========================================================================== */

:root {
  --brand-navy: #0D1527;
  --brand-navy-light: #16223B;
  --brand-gold: #C59B38;
  --brand-gold-light: #F3E39C;
  --brand-gold-dark: #96711E;
  --gradient-gold: linear-gradient(135deg, #B5882F 0%, #F3E39C 50%, #C29436 100%);

  --bg-page: #F9FAFB;
  --bg-card: #FFFFFF;
  --bg-subtle: #F1F3F7;

  --text-primary: #0D1527;
  --text-secondary: #475569;
  --text-muted: #64748B;

  --border-color: #E2E8F0;

  --whatsapp: #25D366;
  --whatsapp-hover: #1DA851;

  --shadow-sm: 0 2px 10px rgba(13, 21, 39, 0.05);
  --shadow-md: 0 10px 25px rgba(13, 21, 39, 0.08);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --transition: 0.22s ease;

  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-page);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

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

/* ==========================================================================
   Header Simples (Somente o Logo + Navegação Limpa + Botão WhatsApp)
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--brand-navy);
  border-bottom: 1px solid rgba(243, 227, 156, 0.22);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 132px;
  gap: 1.5rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  margin-left: 2.5rem;
}

.logo__img {
  height: 126px;
  width: auto;
  margin-top: -8px;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35));
}

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

.nav__link {
  font-size: 0.95rem;
  font-weight: 500;
  color: #E2E8F0;
  transition: color var(--transition);
}

.nav__link:hover {
  color: var(--brand-gold-light);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.92rem;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn--whatsapp {
  background-color: var(--whatsapp);
  color: #052212;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.25);
}

.btn--whatsapp:hover {
  background-color: var(--whatsapp-hover);
  color: #FFFFFF;
  transform: translateY(-2px);
}

.btn--outline {
  border: 1.5px solid var(--brand-navy);
  color: var(--brand-navy);
}

.btn--outline:hover {
  background-color: var(--brand-navy);
  color: var(--brand-gold-light);
}

.mobile-menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  border: 1px solid rgba(243, 227, 156, 0.3);
  color: var(--brand-gold-light);
  font-size: 1.25rem;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   Hero Limpo com Imagem de Tecidos
   ========================================================================== */
.hero {
  background: linear-gradient(135deg, #0D1527 0%, #162340 100%);
  color: #FFFFFF;
  padding: 4rem 0;
  border-bottom: 3px solid var(--brand-gold);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 3rem;
  align-items: center;
}

.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2.1rem, 3.8vw, 3.15rem);
  line-height: 1.15;
  margin-bottom: 1rem;
}

.hero__title span {
  color: var(--brand-gold-light);
}

.hero__subtitle {
  font-size: 1.08rem;
  color: #CBD5E1;
  max-width: 460px;
  margin-bottom: 1.85rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.hero__btn-secondary {
  border: 1.5px solid rgba(243, 227, 156, 0.45);
  color: var(--brand-gold-light);
}

.hero__btn-secondary:hover {
  background: rgba(243, 227, 156, 0.12);
}

.hero__image-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1.5px solid rgba(243, 227, 156, 0.35);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.35);
  aspect-ratio: 16 / 10;
  background-color: var(--brand-navy-light);
}

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ==========================================================================
   Seções Limpas
   ========================================================================== */
.section {
  padding: 4.5rem 0;
}

.section--subtle {
  background-color: var(--bg-subtle);
}

.section__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2.5rem;
}

.section__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--brand-gold-dark);
  display: block;
  margin-bottom: 0.4rem;
}

.section__title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  color: var(--brand-navy);
  margin-bottom: 0.5rem;
}

.section__desc {
  color: var(--text-secondary);
  font-size: 0.98rem;
}

/* ==========================================================================
   Catálogo Simples de Malhas e Tecidos
   ========================================================================== */
.filter-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.25rem;
}

.filter-btn {
  padding: 0.55rem 1.2rem;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  transition: all var(--transition);
}

.filter-btn:hover {
  border-color: var(--brand-navy);
  color: var(--brand-navy);
}

.filter-btn.is-active {
  background: var(--brand-navy);
  color: var(--brand-gold-light);
  border-color: var(--brand-navy);
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 1.5rem;
}

.fabric-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}

.fabric-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.fabric-card__visual {
  position: relative;
  height: 190px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: background var(--transition);
}

.fabric-card__texture {
  position: absolute;
  inset: 0;
  opacity: 0.28;
  background-image:
    repeating-linear-gradient(0deg, rgba(255,255,255,0.14) 0px, rgba(255,255,255,0.14) 1px, transparent 1px, transparent 3px),
    repeating-linear-gradient(90deg, rgba(0,0,0,0.12) 0px, rgba(0,0,0,0.12) 1px, transparent 1px, transparent 3px);
}

.fabric-card__tag {
  position: relative;
  z-index: 2;
  align-self: flex-start;
  background: rgba(13, 21, 39, 0.82);
  color: var(--brand-gold-light);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
}

.fabric-card__color-name {
  position: relative;
  z-index: 2;
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.92);
  color: var(--brand-navy);
  font-size: 0.74rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
}

.fabric-card__body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.fabric-card__title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--brand-navy);
  margin-bottom: 0.35rem;
}

.fabric-card__desc {
  font-size: 0.86rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.fabric-card__swatches {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1.2rem;
  margin-top: auto;
}

.color-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid #FFFFFF;
  box-shadow: 0 0 0 1px rgba(13, 21, 39, 0.22);
  transition: transform var(--transition);
}

.color-dot:hover,
.color-dot.is-selected {
  transform: scale(1.2);
  box-shadow: 0 0 0 2px var(--brand-navy);
}

.fabric-card__btn {
  width: 100%;
  padding: 0.7rem 1rem;
  border-radius: var(--radius-sm);
  background-color: var(--whatsapp);
  color: #052212;
  font-weight: 700;
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  transition: background-color var(--transition);
}

.fabric-card__btn:hover {
  background-color: var(--whatsapp-hover);
  color: #FFFFFF;
}

/* ==========================================================================
   Destaques Simples (Peça Fechada / Envio Todo Brasil)
   ========================================================================== */
.info-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.info-box {
  background: var(--bg-card);
  padding: 1.75rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  text-align: center;
}

.info-box__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 0.9rem;
  border-radius: 12px;
  background: var(--brand-navy);
  color: var(--brand-gold-light);
  display: grid;
  place-items: center;
  font-size: 1.3rem;
}

.info-box__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--brand-navy);
  margin-bottom: 0.35rem;
}

.info-box__text {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   Localização & Contato Simples
   ========================================================================== */
.contact-box {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  box-shadow: var(--shadow-sm);
}

.contact-box__info {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.25rem;
}

.contact-item {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.contact-item strong {
  display: block;
  color: var(--brand-navy);
  font-size: 1rem;
  margin-bottom: 0.15rem;
}

.contact-box__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.contact-box__map {
  min-height: 360px;
}

.contact-box__map iframe {
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
}

/* ==========================================================================
   Footer Enxuto
   ========================================================================== */
.footer {
  background-color: var(--brand-navy);
  color: #94A3B8;
  padding: 2.5rem 0;
  border-top: 1px solid rgba(243, 227, 156, 0.2);
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.5rem;
}

.footer__info {
  font-size: 0.86rem;
}

.footer__dev {
  margin-top: 0.35rem;
  font-size: 0.82rem;
  color: #CBD5E1;
}

.footer__dev a {
  color: var(--brand-gold-light);
  font-weight: 600;
}

.footer__dev a:hover {
  text-decoration: underline;
}

/* Botão Flutuante WhatsApp */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 150;
  background: var(--whatsapp);
  color: #052212;
  padding: 0.8rem 1.25rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.32);
  transition: transform var(--transition);
}

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

@media (max-width: 960px) {
  .hero__grid,
  .info-strip,
  .contact-box {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .logo {
    margin-left: 0.5rem;
  }

  .logo__img {
    height: 96px;
    margin-top: -6px;
  }

  .nav {
    position: fixed;
    top: 132px;
    left: 0;
    right: 0;
    background: var(--brand-navy);
    flex-direction: column;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(243, 227, 156, 0.25);
    display: none;
  }

  .nav.is-open {
    display: flex;
  }

  .mobile-menu-btn {
    display: inline-flex;
  }
}
