/* ============================================================
   ZARTTE BRASÍLIA — linha.css
   ============================================================ */

/* ---- 1. HERO: FOTO FULL-WIDTH COM NOME ---- */
.linha-hero {
  position: relative;
  width: 100%;
  height: 70vh;
  min-height: 420px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.linha-hero__bg {
  position: absolute;
  inset: 0;
  background: var(--preto3);
}
.linha-hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.linha-hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.72) 0%,
    rgba(0,0,0,0.25) 50%,
    rgba(0,0,0,0.1) 100%
  );
}

.linha-hero__titulo {
  position: relative; z-index: 2;
  padding: 0 0 48px;
}
.linha-hero__titulo .container {
  display: flex;
  align-items: center;
  gap: 20px;
}
.linha-hero__titulo-linha {
  width: 40px; height: 2px;
  background: var(--branco); flex-shrink: 0;
}
.linha-hero__titulo h1 {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 400;
  color: var(--branco);
  letter-spacing: 0.02em;
}

/* ---- 2. SOBRE A LINHA ---- */
.linha-sobre {
  background: #1a1a1a;
  padding: 72px 0;
}
.linha-sobre__inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  align-items: center;
}
.linha-sobre__label {
  color: var(--branco);
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 300;
  line-height: 1.2;
}
.linha-sobre__label em {
  display: block;
  font-style: italic;
  font-weight: 400;
  font-size: 1.3em;
}
.linha-sobre__desc {
  font-size: 1rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.85;
}

/* ---- 3. LISTA DE PRODUTOS ---- */
.linha-produtos {
  background: #ffffff;
  padding: 80px 0 100px;
}
.linha-produtos__titulo {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #111;
  text-align: center;
  margin-bottom: 60px;
}

.linha-prod-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px 32px;
}

.linha-prod-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.linha-prod-card__img-wrap {
  width: 100%;
  aspect-ratio: 3/4;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  overflow: hidden;
}
.linha-prod-card__img-wrap img {
  max-height: 100%;
  max-width: 80%;
  object-fit: contain;
  transition: transform 0.4s ease;
}
.linha-prod-card:hover .linha-prod-card__img-wrap img {
  transform: scale(1.05);
}

.linha-prod-card__nome {
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 12px;
  line-height: 1.35;
}

.linha-prod-card__desc {
  font-size: 0.85rem;
  color: #555;
  line-height: 1.7;
  margin-bottom: 20px;
  max-width: 280px;
}

.linha-prod-card__divisor {
  width: 100%;
  height: 1px;
  background: #ddd;
  margin-bottom: 20px;
}

.linha-prod-card__cta {
  display: inline-block;
  background: #111;
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 12px 28px;
  border-radius: 999px;
  transition: background 0.25s;
}
.linha-prod-card__cta:hover { background: #333; }

/* ---- 4. CTA DISTRIBUIDOR ---- */
.linha-distribuidor {
  background: #fff;
  padding: 60px 0 80px;
  border-top: 1px solid #eee;
}
.linha-distribuidor__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.linha-distribuidor p {
  font-size: 0.95rem;
  color: #444;
  max-width: 500px;
  line-height: 1.7;
}
.btn-distribuidor {
  display: inline-block;
  border: 2px solid #111;
  color: #111;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 16px 40px;
  border-radius: 999px;
  white-space: nowrap;
  transition: all 0.25s;
  flex-shrink: 0;
}
.btn-distribuidor:hover {
  background: #111;
  color: #fff;
}

/* ---- VOLTAR ---- */
.linha-voltar {
  padding: 24px 0;
  background: var(--preto2);
  border-bottom: 1px solid var(--linha);
}
.linha-voltar__link {
  font-size: 0.68rem; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--cinza);
  transition: color 0.2s;
  display: inline-flex; align-items: center; gap: 8px;
}
.linha-voltar__link:hover { color: var(--branco); }

/* ---- RESPONSIVE ---- */
@media (max-width: 960px) {
  .linha-hero { height: 50vw; min-height: 300px; }
  .linha-sobre__inner { grid-template-columns: 1fr; gap: 24px; }
  .linha-prod-grid { grid-template-columns: repeat(2, 1fr); }
  .linha-distribuidor__inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 600px) {
  .linha-prod-grid { grid-template-columns: 1fr; }
  .linha-hero { height: 60vw; }
}

/* ---- BOTÃO VER PRODUTO (dispara modal) ---- */
.linha-prod-card__cta-modal {
  display: inline-block;
  background: #111;
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 12px 28px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: background 0.25s;
  width: auto;
}
.linha-prod-card__cta-modal:hover { background: #333; }
