/**
 * ART CLEANER — PAGES SPECIFIC STYLES
 * Hero Chiaroscuro, Invisible Problem, B2B/B2C Split, FAQ, Canvas Container
 */

/* =====================================================================
   1. HERO SECTION (CHIAROSCURO ATMOSPHERE)
   ===================================================================== */
.hero-section {
  position: relative;
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  padding: clamp(4rem, 2.5rem + 4vw, 7rem) 0;
  overflow: hidden;
  background: var(--bg-primary);
}

.hero-background-wrapper {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  pointer-events: none;
}

.hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 82% 40%;
  opacity: 0.90;
}

/* Vinheta de fusão clara e arquitetônica para garantir contraste AAA no texto */
.hero-vignette {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, 
    #FFFFFF 0%, 
    rgba(255, 255, 255, 0.96) 38%, 
    rgba(255, 255, 255, 0.82) 58%, 
    rgba(255, 255, 255, 0.30) 85%, 
    rgba(255, 255, 255, 0.05) 100%);
}

@media (max-width: 767px) {
  .hero-section {
    padding: 1.5rem 0 2rem 0;
    min-height: auto;
  }
  .hero-vignette {
    background: linear-gradient(180deg, 
      rgba(255, 255, 255, 0.94) 0%, 
      rgba(255, 255, 255, 0.98) 55%, 
      #FFFFFF 100%);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.hero-pills-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: var(--space-32);
  margin-bottom: var(--space-40);
}

.hero-trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-primary);
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 2px 8px rgba(18, 19, 22, 0.04);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
}

.hero-trust-icon {
  width: 14px;
  height: 14px;
  fill: var(--color-accent-primary);
}

.hero-actions-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-16);
}

/* =====================================================================
   2. O PROBLEMA INVISÍVEL (ALLERGIES & DUST MITES)
   ===================================================================== */
.problem-card-highlight {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: clamp(2rem, 1.5rem + 2vw, 3.5rem);
  margin-bottom: var(--space-40);
  box-shadow: 0 8px 30px rgba(18, 19, 22, 0.04);
}

.stat-counter-large {
  font-size: clamp(2.5rem, 1.8rem + 3vw, 4.5rem);
  font-weight: 800;
  color: var(--color-accent-primary);
  line-height: 1;
  margin-bottom: var(--space-8);
}

/* =====================================================================
   3. SEGMENTAÇÃO CORPORATIVO VS RESIDENCIAL (DUAL SPLIT)
   ===================================================================== */
.split-banner-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-24);
}

.split-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  padding: clamp(2.5rem, 1.8rem + 2vw, 4rem);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 440px;
  border: 1px solid var(--color-border-default);
}

.split-card-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.split-card-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-technical);
}

.split-card:hover .split-card-bg img {
  transform: scale(1.04);
}

.split-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(18, 19, 22, 0.25) 0%, rgba(18, 19, 22, 0.92) 80%);
  z-index: 2;
}

.split-card-body {
  position: relative;
  z-index: 3;
}

.split-card .heading-lg,
.split-card h3 {
  color: #FFFFFF;
}

.split-card .text-muted {
  color: rgba(255, 255, 255, 0.85);
}

.split-card .btn-outline {
  background: rgba(255, 255, 255, 0.14);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.6);
}

.split-card .btn-outline:hover {
  background: #FFFFFF;
  color: #121316;
  border-color: #FFFFFF;
}

@media (max-width: 767px) {
  .hero-section {
    min-height: auto;
    padding: clamp(2rem, 1.5rem + 3vw, 3.25rem) 0 3rem 0;
  }
  .hero-pills-row {
    margin-top: var(--space-16);
    margin-bottom: var(--space-20);
    gap: 8px;
  }
  .hero-trust-pill {
    padding: 6px 12px;
    font-size: 0.75rem;
  }
  .split-banner-grid {
    grid-template-columns: 1fr;
  }
  .split-card {
    min-height: 380px;
  }
}

/* =====================================================================
   4. MICRO-CANVAS NANO-SHIELD (IMPERMEABILIZAÇÃO)
   ===================================================================== */
.canvas-interactive-box {
  position: relative;
  width: 100%;
  max-width: 800px;
  height: 380px;
  margin: 0 auto var(--space-32);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-default);
  background: var(--bg-secondary);
  box-shadow: 0 12px 36px rgba(18, 19, 22, 0.06);
}

#nanoShieldCanvas {
  width: 100%;
  height: 100%;
  display: block;
  cursor: grab;
}

#nanoShieldCanvas:active {
  cursor: grabbing;
}

.canvas-instruction {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  pointer-events: none;
  max-width: 90%;
  text-align: center;
  box-sizing: border-box;
  box-shadow: 0 4px 14px rgba(18, 19, 22, 0.06);
}

@media (max-width: 480px) {
  .canvas-instruction {
    white-space: normal;
    font-size: 0.6875rem;
    padding: 4px 10px;
    bottom: 8px;
  }
}

/* =====================================================================
   5. ACORDEÕES TÉCNICOS (FAQ)
   ===================================================================== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-12);
  max-width: 840px;
  margin: 0 auto;
}

.faq-item {
  background: var(--color-surface-card);
  border: 1px solid var(--color-border-default);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-item.active {
  border-color: var(--color-border-strong);
}

.faq-button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-20) var(--space-24);
  background: none;
  border: none;
  color: var(--color-text-primary);
  font-family: 'Sora', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.faq-chevron {
  width: 20px;
  height: 20px;
  fill: var(--color-accent-primary);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
}

.faq-content {
  display: none;
  padding: 0 var(--space-24) var(--space-20);
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.faq-item.active .faq-content {
  display: block;
}
