/*
Theme Name: Lucas Ribeiro
Theme URI: https://lucasribeiro.dev
Author: Lucas Ribeiro
Description: Tema dark institucional focado em tecnologia, IA, SEO e Marketing Digital. Inclui banner de manutenção.
Version: 1.0
Text Domain: lucas-ribeiro
*/

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

:root {
  --bg: #09090b;
  --bg-card: #18181b;
  --border: #27272a;
  --foreground: #fafafa;
  --muted: #a1a1aa;
  --primary: #06b6d4;
  --primary-glow: #22d3ee;
}

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

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover {
  color: var(--primary-glow);
}

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

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

/* === Header === */
.site-header {
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 0;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--foreground);
}
.site-title span {
  color: var(--primary);
}
.site-nav a {
  color: var(--muted);
  margin-left: 2rem;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.site-nav a:hover {
  color: var(--foreground);
}

/* === Maintenance Banner === */
.maintenance-banner {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 1.25rem 2rem;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  max-width: 500px;
  margin: 0 auto;
}
.maintenance-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}
.maintenance-banner p {
  color: var(--muted);
  font-size: 0.875rem;
}

/* === Hero === */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(9,9,11,0.6), rgba(9,9,11,0.85), var(--bg));
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  padding: 2rem 1.5rem;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--border);
  border-radius: 9999px;
  padding: 0.375rem 1rem;
  font-size: 0.75rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 2rem;
}
.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  text-shadow: 0 0 40px rgba(6,182,212,0.25);
}
.hero h1 span {
  color: var(--primary);
}
.hero p {
  font-size: 1.125rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

/* === Services / Cards === */
.services {
  padding: 6rem 0;
}
.section-label {
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  text-align: center;
  margin-bottom: 0.75rem;
}
.section-title {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 4rem;
}
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 2rem;
  transition: border-color 0.3s, transform 0.3s;
}
.card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
}
.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 0.75rem;
  background: rgba(6,182,212,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--primary);
}
.card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.card p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* === Blog / Posts === */
.posts-list {
  padding: 4rem 0;
}
.post-item {
  border-bottom: 1px solid var(--border);
  padding: 2rem 0;
}
.post-item:last-child {
  border-bottom: none;
}
.post-item h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}
.post-item h2 a {
  color: var(--foreground);
}
.post-item h2 a:hover {
  color: var(--primary);
}
.post-meta {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
}
.post-excerpt {
  color: var(--muted);
  font-size: 0.95rem;
}

/* === Single Post === */
.single-post {
  padding: 4rem 0;
  max-width: 750px;
  margin: 0 auto;
}
.single-post h1 {
  font-size: 2.25rem;
  margin-bottom: 1rem;
}
.single-post .post-meta {
  margin-bottom: 2rem;
}
.single-post .entry-content p {
  margin-bottom: 1.25rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.8;
}
.single-post .entry-content h2,
.single-post .entry-content h3 {
  color: var(--foreground);
  margin: 2rem 0 1rem;
}

/* === Page === */
.page-content {
  padding: 4rem 0;
  max-width: 750px;
  margin: 0 auto;
}
.page-content h1 {
  font-size: 2.25rem;
  margin-bottom: 2rem;
}
.page-content p {
  color: var(--muted);
  margin-bottom: 1.25rem;
  line-height: 1.8;
}

/* === Footer === */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 0;
}
.site-footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.site-footer p {
  font-size: 0.8rem;
  color: var(--muted);
}

/* === Responsive === */
@media (max-width: 768px) {
  .site-header .container {
    flex-direction: column;
    gap: 1rem;
  }
  .site-nav a {
    margin-left: 0;
    margin-right: 1.5rem;
  }
}
