/* =========================================
   ESTILOS EXCLUSIVOS - PÁGINA TAPETES E CARPETES
========================================= */

/* HERO ESPECÍFICO (TELA CHEIA IMERSIVA) */
.tapetes-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: 750px;
  height: calc(100vh - 76px);
  max-height: 900px;
  padding: 130px 0 80px 0;
  overflow: hidden;
  background-color: #021328;
}

.tapetes-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  pointer-events: none;
  user-select: none;
}

.tapetes-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    90deg,
    rgba(2, 19, 40, 0.96) 0%,
    rgba(2, 19, 40, 0.88) 42%,
    rgba(2, 19, 40, 0.45) 68%,
    rgba(2, 19, 40, 0.15) 100%
  );
  pointer-events: none;
}

.tapetes-hero .container {
  position: relative;
  z-index: 2;
  width: 100%;
}

.tapetes-hero__content {
  width: 100%;
  max-width: 650px;
  padding-top: 20px;
}

.tapetes-hero .section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  padding: 8px 16px;
  background: rgba(22, 131, 232, 0.2);
  color: #58b5ff;
  border: 1px solid rgba(72, 186, 255, 0.35);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.tapetes-hero h1 {
  color: #ffffff;
  font-size: clamp(2.8rem, 4.2vw, 4.2rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.tapetes-hero h1 span {
  display: block;
  color: #58b5ff;
}

.tapetes-hero p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.125rem;
  line-height: 1.7;
  margin-bottom: 36px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.page-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.tapetes-hero__secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  padding: 16px 32px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  text-decoration: none;
}

.tapetes-hero__secondary:hover {
  background-color: #ffffff;
  color: #021534;
  border-color: #ffffff;
  transform: translateY(-2px);
}

/* FAIXA AZUL DE RESULTADOS (CARPETES) */
.carpet-results-section {
  background: linear-gradient(135deg, #021328 0%, #06264d 100%);
  padding: 100px 0;
  color: #ffffff;
}

.carpet-results-section .section-heading h2 {
  color: #ffffff;
}

.carpet-results-section .section-heading p {
  color: rgba(255, 255, 255, 0.8);
}

.carpet-results-section .section-tag-light {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 8px 16px;
  background: rgba(22, 131, 232, 0.2);
  color: #58b5ff;
  border: 1px solid rgba(72, 186, 255, 0.35);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.carpet-result-card {
  background: #ffffff;
  border: 1px solid rgba(72, 186, 255, 0.2);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(2, 13, 40, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.carpet-result-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px rgba(2, 13, 40, 0.4);
}

.carpet-result-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}

.carpet-result-content {
  padding: 32px 28px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.carpet-result-content span {
  display: inline-block;
  color: #1683e8;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.carpet-result-content h3 {
  color: #021534;
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.carpet-result-content p {
  color: #526176;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

/* FORMULÁRIO DE ORÇAMENTO ULTRA PREMIUM */
.quote-form-section {
  background-color: #f9fbfd;
  padding: 100px 0;
}

.quote-form-wrapper {
  background: linear-gradient(135deg, #021328 0%, #062a52 100%);
  border-radius: 32px;
  padding: 50px;
  box-shadow: 0 25px 60px rgba(2, 21, 52, 0.25);
  border: 1px solid rgba(88, 181, 255, 0.2);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.quote-form-wrapper::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(22, 131, 232, 0.3), transparent 70%);
  pointer-events: none;
}

.quote-form-wrapper h3 {
  color: #ffffff;
  font-size: 2.1rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.quote-form-wrapper p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.05rem;
  margin-bottom: 36px;
  line-height: 1.6;
}

.quote-form-wrapper .form-label {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 8px;
}

.quote-form-wrapper .form-control, 
.quote-form-wrapper .form-select {
  background-color: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  color: #ffffff !important;
  border-radius: 14px;
  padding: 14px 18px;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.quote-form-wrapper .form-control:focus, 
.quote-form-wrapper .form-select:focus {
  background-color: rgba(255, 255, 255, 0.1) !important;
  border-color: #58b5ff !important;
  box-shadow: 0 0 0 4px rgba(88, 181, 255, 0.2) !important;
}

.quote-form-wrapper .form-control::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.quote-form-wrapper .form-select option {
  background-color: #021328;
  color: #ffffff;
}

.quote-form-wrapper .btn-whatsapp {
  margin-top: 10px;
  padding: 16px;
  font-size: 1.05rem;
  font-weight: 700;
  border-radius: 14px;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.quote-form-wrapper .btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(37, 211, 102, 0.45);
}

/* RESPONSIVIDADE MOBILE */
@media (max-width: 991.98px) {
  .tapetes-hero {
    align-items: center;
    min-height: 100svh;
    padding: 120px 0 60px 0;
  }

  .tapetes-hero__overlay {
    background: linear-gradient(
      180deg,
      rgba(2, 19, 40, 0.2) 0%,
      rgba(2, 19, 40, 0.6) 40%,
      rgba(2, 19, 40, 0.96) 100%
    );
  }

  .tapetes-hero h1 {
    font-size: clamp(2.2rem, 8vw, 2.6rem);
    letter-spacing: -1px;
  }

  .page-hero-actions {
    flex-direction: column;
    gap: 12px;
  }

  .page-hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .quote-form-wrapper {
    padding: 30px 20px;
    border-radius: 24px;
  }
  
  .quote-form-wrapper h3 {
    font-size: 1.6rem;
  }
}