/*
Theme Name: PEDLIZ GPI
Theme URI: https://pedlizgpi.com.br
Author: PEDLIZ
Author URI: https://pedlizgpi.com.br
Description: Tema personalizado para PEDLIZ Gestão de Projetos Industriais
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: pedliz-gpi
*/

/* ===== RESET & BASE ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #0a0a0a;
  --fg: #ffffff;
  --card: #0f0f0f;
  --muted: #a1a1a1;
  --text-muted: #707070;
  --accent-blue: #3b82f6;
  --accent-green: #10b981;
  --border: rgba(255,255,255,0.08);
  --border-hover: rgba(255,255,255,0.2);
  --radius: 0.75rem;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg);
  color: var(--fg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s;
}

img {
  max-width: 100%;
  height: auto;
}

/* ===== UTILITIES ===== */
.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.section-padding {
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.gradient-blue {
  background: linear-gradient(to right, #60a5fa, #2563eb);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-green {
  background: linear-gradient(to right, #34d399, #059669);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.card-dark {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.card-dark:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  transition: all 0.3s;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 0.5rem;
  background: var(--fg);
  color: var(--bg);
  border: none;
  cursor: pointer;
  transition: transform 0.2s;
}

.btn-primary:hover {
  transform: translateY(-2px);
}

/* ===== HEADER ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: all 0.3s;
}

.site-header.scrolled {
  background: rgba(10,10,10,0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

.site-header nav a {
  font-size: 0.875rem;
  color: var(--muted);
}

.site-header nav a:hover {
  color: var(--fg);
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 4rem;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.hero p {
  color: var(--muted);
  font-size: 1.125rem;
  max-width: 600px;
  margin-top: 1.5rem;
}

/* ===== SECTIONS ===== */
.section-title {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent-blue);
  margin-bottom: 0.75rem;
}

.section-heading {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

/* ===== FOOTER ===== */
.site-footer {
  border-top: 1px solid var(--border);
}

.site-footer .grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2.5rem;
}

.site-footer h4 {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

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

.site-footer li {
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.site-footer li a:hover {
  color: var(--fg);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 1.5rem 0;
  font-size: 0.75rem;
  color: var(--text-muted);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

/* ===== PAGE CONTENT ===== */
.page-content {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--muted);
}

.page-content h2, .page-content h3 {
  color: var(--fg);
  margin: 2rem 0 1rem;
}

.page-content p {
  margin-bottom: 1rem;
}

.page-content a {
  color: var(--accent-blue);
}

.page-content img {
  border-radius: var(--radius);
  margin: 1.5rem 0;
}

/* ===== FORMS ===== */
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--accent-blue) !important;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hide-mobile { display: none !important; }
  .section-padding { padding-top: 4rem; padding-bottom: 4rem; }
  .contact-grid { grid-template-columns: 1fr !important; }
}

@media (min-width: 769px) {
  .show-mobile-only { display: none !important; }
  .section-container { padding-left: 2rem; padding-right: 2rem; }
}
