/* ============================================
   CONSTRU X - CSS PRINCIPAL
   Design: Industrial Moderno
   Cores: Cinza Escuro (#2C3E50) + Laranja Queimado (#E67E22)
   ============================================ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #E67E22;
  --primary-dark: #D35400;
  --foreground: #2C3E50;
  --secondary: #34495E;
  --background: #FFFFFF;
  --card-bg: #F8F9FA;
  --border-color: #ECF0F1;
  --text-light: #7F8C8D;
  --text-muted: #BDC3C7;
  --transition: all 0.3s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--foreground);
  background-color: var(--background);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

h1 {
  font-size: 3.5rem;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

h3 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
  color: var(--foreground);
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-dark);
}

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

@media (min-width: 640px) {
  .container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }
}

/* ============================================
   HEADER & NAVEGAÇÃO
   ============================================ */

header {
  background-color: var(--foreground);
  color: white;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: bold;
  font-size: 1.125rem;
  transition: var(--transition);
}

.logo:hover {
  opacity: 0.8;
}

.logo-icon {
  width: 2.5rem;
  height: 2.5rem;
  background-color: var(--primary);
  border-radius: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1rem;
}

.nav-links {
  display: none;
  gap: 2rem;
  align-items: center;
  list-style: none;
}

.nav-links a {
  color: white;
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-links .btn-whatsapp {
  background-color: var(--primary);
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 0.25rem;
  transition: var(--transition);
}

.nav-links .btn-whatsapp:hover {
  background-color: var(--primary-dark);
  color: white;
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }

  .menu-toggle {
    display: none;
  }
}

.menu-toggle {
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition);
}

.menu-toggle:hover {
  color: var(--primary);
}

.mobile-menu {
  display: none;
  background-color: var(--secondary);
  border-top: 2px solid var(--primary);
  padding: 1rem 0;
}

.mobile-menu.active {
  display: block;
}

.mobile-menu a {
  display: block;
  padding: 0.75rem 1rem;
  color: white;
  transition: var(--transition);
}

.mobile-menu a:hover {
  background-color: rgba(230, 126, 34, 0.1);
  color: var(--primary);
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
  position: relative;
  background-size: cover;
  background-position: center;
  padding: 5rem 0;
  overflow: hidden;
  min-height: 500px;
  display: flex;
  align-items: center;
}

@media (min-width: 768px) {
  .hero {
    padding: 8rem 0;
    min-height: 600px;
  }
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: white;
  max-width: 40rem;
}

.hero h1 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .hero h1 {
    font-size: 3.5rem;
  }
}

.hero p {
  color: #f0f0f0;
  font-size: 1.125rem;
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }
}

.btn {
  padding: 0.75rem 2rem;
  border-radius: 0.25rem;
  font-weight: bold;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-size: 1rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

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

.btn-primary:hover {
  background-color: var(--primary-dark);
}

.btn-secondary {
  background-color: transparent;
  color: white;
  border: 2px solid var(--primary);
}

.btn-secondary:hover {
  background-color: var(--primary);
}

/* ============================================
   SEÇÕES GERAIS
   ============================================ */

section {
  padding: 4rem 0;
}

@media (min-width: 768px) {
  section {
    padding: 6rem 0;
  }
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  margin-bottom: 1rem;
}

.section-title p {
  color: var(--text-light);
  max-width: 40rem;
  margin: 0 auto;
  font-size: 1.125rem;
}

/* ============================================
   FEATURES
   ============================================ */

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.feature-card {
  background-color: var(--card-bg);
  padding: 2rem;
  border-radius: 0.25rem;
  border-left: 4px solid var(--primary);
  transition: var(--transition);
}

.feature-card:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  width: 4rem;
  height: 4rem;
  background-color: var(--primary);
  border-radius: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: white;
  font-size: 2rem;
}

.feature-card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.feature-card p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* ============================================
   PRODUTOS
   ============================================ */

.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.product-card {
  background-color: white;
  border-radius: 0.25rem;
  border-left: 4px solid var(--primary);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.product-image {
  width: 100%;
  height: 12rem;
  object-fit: cover;
  transition: var(--transition);
}

.product-card:hover .product-image {
  transform: scale(1.05);
}

.product-content {
  padding: 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.5rem;
}

.product-card p {
  color: var(--text-light);
  flex: 1;
  margin-bottom: 1rem;
}

.product-link {
  color: var(--primary);
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
}

.product-link:hover {
  gap: 1rem;
}

/* ============================================
   FORMULÁRIO
   ============================================ */

.form-group {
  margin-bottom: 1.5rem;
}

label {
  display: block;
  font-weight: bold;
  margin-bottom: 0.5rem;
  color: var(--foreground);
  font-size: 0.875rem;
}

input,
textarea,
select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: 0.25rem;
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(230, 126, 34, 0.1);
}

textarea {
  resize: vertical;
  min-height: 150px;
}

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

@media (min-width: 768px) {
  .form-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================================
   FOOTER
   ============================================ */

footer {
  background-color: var(--foreground);
  color: white;
  padding: 3rem 0 1rem;
  margin-top: 5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer-section h3 {
  color: var(--primary);
  margin-bottom: 1rem;
  font-size: 1.125rem;
}

.footer-section p {
  color: #bbb;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: #bbb;
  transition: var(--transition);
}

.footer-section a:hover {
  color: var(--primary);
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 0.25rem;
  transition: var(--transition);
}

.social-links a:hover {
  background-color: var(--primary);
  color: white;
}

.contact-info {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.contact-info svg {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  margin-top: 0.25rem;
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: center;
  font-size: 0.9rem;
  color: #bbb;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

/* ============================================
   PÁGINA INTERNA
   ============================================ */

.page-header {
  background-color: var(--foreground);
  color: white;
  padding: 3rem 0;
  margin-bottom: 3rem;
}

.page-header h1 {
  margin-bottom: 1rem;
}

.page-header p {
  color: #ccc;
  max-width: 40rem;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: white;
  margin-bottom: 1rem;
  transition: var(--transition);
}

.back-link:hover {
  color: var(--primary);
}

.content-box {
  background-color: var(--card-bg);
  padding: 2rem;
  border-radius: 0.25rem;
  border-left: 4px solid var(--primary);
  margin-bottom: 2rem;
}

.content-box h3 {
  margin-bottom: 1rem;
}

.content-box ul {
  list-style: none;
  padding-left: 0;
}

.content-box li {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  color: var(--text-light);
}

.content-box li::before {
  content: '▸';
  color: var(--primary);
  font-weight: bold;
}

/* ============================================
   UTILITÁRIOS
   ============================================ */

.text-center {
  text-align: center;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.max-w-2xl {
  max-width: 40rem;
}

.max-w-3xl {
  max-width: 48rem;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.hidden {
  display: none;
}

/* ============================================
   RESPONSIVIDADE GERAL
   ============================================ */

@media (max-width: 640px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  h3 {
    font-size: 1.25rem;
  }

  section {
    padding: 2rem 0;
  }
}
