/* =========================================================
   ALAMBIQUE RISADINHA — Páginas Internas (Produtos, Sobre, Contato)
   ========================================================= */

/* ── PRODUTOS PAGE ── */
.products-page { padding: 80px 0; }

.products-filter {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}
.filter-btn {
  padding: 8px 24px;
  border: 2px solid var(--cream-dark);
  background: transparent;
  color: var(--text-mid);
  border-radius: 30px;
  font-family: 'Lato', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: all var(--transition);
}
.filter-btn:hover, .filter-btn.active {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
}

/* Product Detail Cards */
.product-detail-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  margin-bottom: 6rem;
  padding-bottom: 6rem;
  border-bottom: 1px solid var(--cream-dark);
}
.product-detail-card:last-child { border-bottom: none; margin-bottom: 0; }
.product-detail-card.reverse { direction: rtl; }
.product-detail-card.reverse > * { direction: ltr; }

.product-detail-visual {
  aspect-ratio: 1/1;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8rem;
  position: relative;
  overflow: hidden;
}
.product-detail-visual::after {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(
    45deg,
    rgba(255,255,255,0.03) 0px,
    rgba(255,255,255,0.03) 1px,
    transparent 1px,
    transparent 25px
  );
}
.pv-prata { background: linear-gradient(135deg, rgba(61,31,10,0.1), rgba(28,59,31,0.1)),
    url('./../img/products/risadinha-prata-fundo-alambique.png') bottom/cover no-repeat; 
  }
.pv-ouro { background: linear-gradient(135deg, rgba(61,31,10,0.1), rgba(28,59,31,0.1)),
    url('./../img/products/risadinha-ouro-fundo-barril.jpg') center 54%/cover no-repeat; 
  }
.pv-parol { background: linear-gradient(135deg, rgba(61,31,10,0.1), rgba(28,59,31,0.1)),
    url('./../img/products/velho-parol-fundo-barril.jpg') center 66%/cover no-repeat; 
}

.product-detail-icon {
  font-size: 7rem;
  z-index: 1;
  filter: drop-shadow(0 8px 20px rgba(0,0,0,0.15));
  transition: transform var(--transition);
}
.product-detail-visual:hover .product-detail-icon { transform: scale(1.1) rotate(-5deg); }

.product-detail-badge {
  position: absolute;
  top: 20px; right: 20px;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  z-index: 2;
}
.badge-prata { background: rgba(140,160,180,0.9); color: #fff; }
.badge-ouro  { background: var(--gold); color: #fff; }
.badge-parol{ background: var(--green-dark); color: var(--gold-pale); }

.product-detail-info .section-eyebrow { margin-bottom: 0.5rem; }
.product-detail-info h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--brown-dark);
  margin-bottom: 0.5rem;
}
.product-detail-info .product-subtitle {
  font-family: 'Dancing Script', cursive;
  font-size: 1.3rem;
  color: var(--gold);
  margin-bottom: 1.5rem;
}
.product-detail-info p {
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.product-attributes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.75rem 0;
  background: var(--cream);
  padding: 1.5rem;
  border-radius: var(--radius);
  border-left: 4px solid var(--gold);
}
.attr-item { display: flex; flex-direction: column; gap: 2px; }
.attr-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}
.attr-value {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--brown-dark);
}

/* ── SOBRE PAGE ── */
.timeline {
  position: relative;
  padding: 2rem 0;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--gold) 0%, var(--brown-mid) 100%);
}

.timeline-item {
  display: grid;
  grid-template-columns: 1fr 80px 1fr;
  align-items: center;
  margin-bottom: 3rem;
  gap: 1.5rem;
}
.timeline-item:nth-child(odd) .timeline-content  { order: 1; text-align: right; }
.timeline-item:nth-child(odd) .timeline-dot      { order: 2; }
.timeline-item:nth-child(odd) .timeline-empty    { order: 3; }
.timeline-item:nth-child(even) .timeline-empty   { order: 1; }
.timeline-item:nth-child(even) .timeline-dot     { order: 2; }
.timeline-item:nth-child(even) .timeline-content { order: 3; text-align: left; }

.timeline-dot {
  width: 60px; height: 60px;
  background: var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-family: 'Playfair Display', serif;
  font-size: 0.78rem;
  font-weight: 900;
  text-align: center;
  line-height: 1.2;
  box-shadow: 0 4px 16px rgba(201,146,42,0.4);
  border: 3px solid var(--off-white);
  flex-shrink: 0;
  justify-self: center;
}

.timeline-content {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: 0 4px 18px var(--shadow);
}
.timeline-content h4 {
  font-size: 1.05rem;
  color: var(--brown-dark);
  margin-bottom: 0.5rem;
}
.timeline-content p {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.6;
}

/* Team / Values */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.value-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: 0 4px 20px var(--shadow);
  transition: all var(--transition);
  border-top: 4px solid transparent;
}
.value-card:hover {
  transform: translateY(-6px);
  border-top-color: var(--gold);
  box-shadow: 0 16px 40px rgba(61,31,10,0.15);
}
.value-icon {
  font-size: 2.5rem;
  color: var(--gold);
  margin-bottom: 1.25rem;
}
.value-card h3 {
  font-size: 1.2rem;
  color: var(--brown-dark);
  margin-bottom: 0.75rem;
}
.value-card p { font-size: 0.9rem; color: var(--text-mid); line-height: 1.65; }

/* Process Steps */
.process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  position: relative;
}
.process-grid::before {
  content: '';
  position: absolute;
  top: 45px; left: 10%; right: 10%;
  height: 2px;
  background: linear-gradient(to right, var(--gold), var(--gold-light));
  z-index: 0;
}
.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
}
.process-num {
  width: 90px; height: 90px;
  border-radius: 50%;
  background: var(--brown-dark);
  border: 3px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column;
  margin-bottom: 1.25rem;
  color: var(--gold-pale);
  font-size: 1.7rem;
  box-shadow: 0 6px 20px rgba(61,31,10,0.3);
  transition: all var(--transition);
}
.process-step:hover .process-num {
  background: var(--gold);
  color: #fff;
  transform: scale(1.08);
}
.process-step h4 { font-size: 0.92rem; color: var(--brown-dark); margin-bottom: 0.4rem; }
.process-step p  { font-size: 0.8rem; color: var(--text-mid); line-height: 1.5; }

/* ── CONTATO PAGE ── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: start;
}

.contact-info-block h3 {
  font-size: 1.8rem;
  color: var(--brown-dark);
  margin-bottom: 1rem;
}
.contact-info-block > p {
  color: var(--text-mid);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.contact-item-icon {
  width: 48px; height: 48px;
  background: var(--gold);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-item-text h5 {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2px;
}
.contact-item-text p { font-size: 0.92rem; color: var(--text-mid); }

/* Contact Form */
.contact-form-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: 0 8px 40px var(--shadow);
}
.contact-form-card h3 {
  font-size: 1.5rem;
  color: var(--brown-dark);
  margin-bottom: 0.5rem;
}
.contact-form-card > p {
  font-size: 0.9rem;
  color: var(--text-mid);
  margin-bottom: 2rem;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }

.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brown-mid);
  margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--cream-dark);
  border-radius: var(--radius);
  font-family: 'Lato', sans-serif;
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--off-white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  resize: vertical;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,146,42,0.15);
  background: #fff;
}
.form-group textarea { min-height: 120px; }

.form-success {
  display: none;
  text-align: center;
  padding: 2rem;
  background: #f0fdf4;
  border-radius: var(--radius);
  border: 1px solid #22c55e;
}
.form-success i { font-size: 2.5rem; color: #22c55e; margin-bottom: 1rem; display: block; }
.form-success h4 { color: #15803d; margin-bottom: 0.5rem; }
.form-success p  { color: #166534; font-size: 0.9rem; }

/* Map placeholder */
.map-placeholder {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, var(--cream) 0%, var(--cream-dark) 100%);
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1rem;
  color: var(--text-mid);
  border: 2px solid var(--cream-dark);
  margin-top: 2.5rem;
  position: relative;
  overflow: hidden;
}
.map-placeholder i { font-size: 3rem; color: var(--gold); }
.map-placeholder p { font-size: 1rem; font-weight: 600; color: var(--brown-dark); }
.map-placeholder small { color: var(--text-mid); }

/* ── RESPONSIVE INNER PAGES ── */
@media (max-width: 1024px) {
  .product-detail-card { grid-template-columns: 1fr; gap: 3rem; }
  .product-detail-card.reverse { direction: ltr; }
  .process-grid { grid-template-columns: repeat(3, 1fr); }
  .process-grid::before { display: none; }
  .values-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .contact-layout { grid-template-columns: 1fr; }
  .timeline::before { left: 30px; }
  .timeline-item {
    grid-template-columns: 60px 1fr;
    grid-template-rows: auto;
  }
  .timeline-item:nth-child(odd) .timeline-content  { order: 2; text-align: left; }
  .timeline-item:nth-child(odd) .timeline-dot      { order: 1; }
  .timeline-item:nth-child(odd) .timeline-empty    { display: none; }
  .timeline-item:nth-child(even) .timeline-empty   { display: none; }
  .timeline-item:nth-child(even) .timeline-dot     { order: 1; }
  .timeline-item:nth-child(even) .timeline-content { order: 2; text-align: left; }
  .values-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form-card { padding: 2rem 1.5rem; }
}

@media (max-width: 480px) {
  .process-grid { grid-template-columns: 1fr; }
  .product-attributes { grid-template-columns: 1fr; }
}
