/* ==========================================================================
   PROPOSTA COMERCIAL & TÉCNICA DE SONORIZAÇÃO - GENYPAPO / ERIC PIMENTA
   Design System: Ultra-Clean, High-End Minimalist Corporate UI
   - Linhas finas (1px borders), sem degradês pesados, tipografia nítida
   - Foco na clareza do texto, legibilidade e sofisticação profissional
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
  /* Cores Base Clean */
  --bg-page: #F8FAFC;
  --bg-surface: #FFFFFF;
  --bg-subtle: #F1F5F9;

  /* Cores Principais - Azul Corporativo Nobre */
  --primary: #0F172A;
  --accent-blue: #2563EB;
  --accent-blue-light: #EFF6FF;
  --border-line: #E2E8F0;
  --border-dark: #CBD5E1;

  /* Textos */
  --text-primary: #0F172A;
  --text-secondary: #475569;
  --text-muted: #94A3B8;

  /* Status */
  --success: #059669;
  --success-bg: #ECFDF5;
  --success-border: #A7F3D0;

  /* Fontes */
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Plus Jakarta Sans', sans-serif;

  /* Sombras & Raios Minimalistas */
  --shadow-subtle: 0 1px 3px rgba(15, 23, 42, 0.05);
  --shadow-card: 0 4px 12px rgba(15, 23, 42, 0.03);
  --radius: 8px;
  --radius-lg: 12px;
  --transition: all 0.2s ease-in-out;
}

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

html {
  scroll-behavior: smooth;
  font-size: 15px;
}

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

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

/* Header Limpo */
.top-header {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-line);
  padding: 1.25rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand-logo {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.brand-info h1 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
}

.brand-info p {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

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

/* Botões Clean */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition);
  text-decoration: none;
}

.btn-primary {
  background-color: var(--primary);
  color: #FFFFFF;
}

.btn-primary:hover {
  background-color: #1E293B;
}

.btn-outline {
  background: var(--bg-surface);
  color: var(--text-primary);
  border-color: var(--border-dark);
}

.btn-outline:hover {
  background: var(--bg-subtle);
}

.btn-accent {
  background: var(--accent-blue);
  color: #FFFFFF;
}

.btn-accent:hover {
  background: #1D4ED8;
}

/* Hero Executive Section */
.hero-section {
  padding: 3.5rem 0 2.5rem;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-line);
}

.hero-tag {
  display: inline-block;
  color: var(--accent-blue);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.75rem;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: var(--primary);
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 820px;
  line-height: 1.6;
  margin-bottom: 2rem;
}

/* Métricas do Espaço (Sem menção a painéis de madeira) */
.space-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.metric-card {
  background: var(--bg-subtle);
  border: 1px solid var(--border-line);
  padding: 1.25rem;
  border-radius: var(--radius);
}

.metric-card h4 {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  font-weight: 600;
}

.metric-value {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0.25rem 0;
}

.metric-desc {
  font-size: 0.825rem;
  color: var(--text-secondary);
}

/* Seções Principais */
.main-section {
  padding: 3.5rem 0;
  border-bottom: 1px solid var(--border-line);
}

.section-header {
  margin-bottom: 2.5rem;
}

.section-tag {
  color: var(--accent-blue);
  font-size: 0.775rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary);
  margin-top: 0.25rem;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-top: 0.4rem;
}

/* Bloco do Relatório Técnico Completo */
.report-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-card);
}

.report-block {
  margin-bottom: 2.5rem;
}

.report-block:last-child {
  margin-bottom: 0;
}

.report-h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  border-bottom: 1px solid var(--border-line);
  padding-bottom: 0.75rem;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.report-h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  margin: 1.25rem 0 0.5rem;
}

.report-p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 0.75rem;
}

.report-callout {
  background: #F8FAFC;
  border-left: 3px solid var(--accent-blue);
  padding: 1rem 1.25rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1rem 0;
  font-size: 0.925rem;
  color: var(--text-primary);
}

.report-callout strong {
  color: var(--accent-blue);
}

.report-item-box {
  background: var(--bg-subtle);
  border: 1px solid var(--border-line);
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  margin-bottom: 0.85rem;
}

.report-item-title {
  font-weight: 700;
  color: var(--primary);
  font-size: 0.95rem;
}

.report-item-price {
  color: var(--success);
  font-weight: 700;
  font-size: 0.9rem;
  margin-top: 0.25rem;
}

/* Pricing Grid (Cards de Investimento) */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

@media (max-width: 992px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

.pricing-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition);
}

.pricing-card:hover {
  border-color: var(--border-dark);
  box-shadow: var(--shadow-card);
}

.pricing-card.featured {
  border: 2px solid var(--accent-blue);
  background: #FFFFFF;
}

.badge-featured {
  position: absolute;
  top: -13px;
  left: 1.5rem;
  background: var(--accent-blue);
  color: #FFFFFF;
  font-size: 0.725rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
}

.tier-name {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary);
}

.tier-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin: 0.4rem 0 1.25rem;
  min-height: 40px;
}

.tier-price-box {
  background: var(--bg-subtle);
  border: 1px solid var(--border-line);
  padding: 1.25rem;
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
}

.tier-price-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
}

.tier-price {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
  margin: 0.2rem 0;
}

.tier-price span {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.tier-labor-fee {
  font-size: 0.825rem;
  color: var(--accent-blue);
  font-weight: 600;
  margin-top: 0.25rem;
}

.tier-total-badge {
  margin-top: 0.6rem;
  padding-top: 0.6rem;
  border-top: 1px dashed var(--border-dark);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--success);
}

.tier-items-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex-grow: 1;
  margin-bottom: 1.75rem;
}

.tier-items-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.875rem;
  color: var(--text-primary);
}

.check-icon {
  color: var(--accent-blue);
  font-weight: bold;
}

/* Galeria do Auditório */
.gallery-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

.gallery-main-frame {
  background: var(--bg-surface);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.gallery-main-frame img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
}

.gallery-thumbs-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.thumb-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-line);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  height: 180px;
  transition: var(--transition);
}

.thumb-card:hover, .thumb-card.active {
  border-color: var(--accent-blue);
}

.thumb-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Showcase de Equipamentos Cotados */
.equipments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.eq-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.eq-card:hover {
  border-color: var(--border-dark);
  box-shadow: var(--shadow-card);
}

.eq-img-wrapper {
  height: 200px;
  background: #FFFFFF;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border-line);
}

.eq-img-wrapper img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.eq-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.eq-brand {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-blue);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.eq-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0.2rem 0 0.4rem;
}

.eq-spec {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
  flex-grow: 1;
}

.eq-price-tag {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--success);
  background: var(--success-bg);
  border: 1px solid var(--success-border);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius);
  text-align: center;
  margin-bottom: 0.85rem;
}

/* Calculadora Clean */
.calc-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-card);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
}

@media (max-width: 900px) {
  .calc-card {
    grid-template-columns: 1fr;
  }
}

.calc-summary {
  background: var(--bg-subtle);
  border: 1px solid var(--border-line);
  border-radius: var(--radius);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
}

.summary-row.total {
  border-top: 1px solid var(--border-dark);
  padding-top: 1rem;
  margin-top: 1rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
}

.summary-row.total .total-val {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--accent-blue);
}

/* Modal Specs */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background: #FFFFFF;
  border: 1px solid var(--border-line);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 620px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.modal-header {
  padding: 1.25rem 1.75rem;
  border-bottom: 1px solid var(--border-line);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-body {
  padding: 1.75rem;
}

.modal-img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  margin-bottom: 1.25rem;
}

/* Rodapé Final */
.footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-line);
  padding: 3rem 0;
  text-align: center;
}

.footer-logo {
  height: 42px;
  margin-bottom: 1rem;
}

.footer-sig {
  font-weight: 700;
  color: var(--primary);
  font-size: 1.05rem;
}

.footer-sub {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

/* Media Query Print */
@media print {
  body { background: #FFF !important; color: #000 !important; }
  .top-header, .btn, .calc-card, .modal-backdrop { display: none !important; }
  .pricing-card, .report-card { border: 1px solid #999 !important; box-shadow: none !important; }
}
