/*
Theme Name: Adriano Ladislau
Theme URI: https://adrianoladislau.com.br
Description: Tema comercial e portfólio de autoridade para Adriano Ladislau — Empreendedor & Arquiteto MarTech.
Version: 1.0.0
Author: Adriano Ladislau
Author URI: https://adrianoladislau.com.br
License: GNU General Public License v2 or later
Text Domain: adrianoladislau
*/

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

:root {
  --primary: #06b6d4;
  --primary-dark: #0891b2;
  --secondary: #3b82f6;
  --accent: #22d3ee;
  --background: #080c14;
  --surface: #0f172a;
  --surface-card: #131d35;
  --border: #1e293b;
  --text: #f8fafc;
  --text-muted: #94a3b8;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-display: 'Outfit', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--background);
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  background: #080c14;
  border-bottom: 1px solid rgba(6, 182, 212, 0.2);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand-link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
}

.brand-badge {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #22d3ee;
}

.brand-text {
  font-size: 1.45rem;
  font-weight: 800;
  color: #ffffff;
  font-family: var(--font-display);
  letter-spacing: -0.02em;
}

.brand-accent {
  background: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-links a {
  padding: 8px 14px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #cbd5e1;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.2s;
}

.nav-links a:hover {
  color: #ffffff;
  background: rgba(2, 132, 199, 0.15);
}

.btn-cta {
  background: #0284c7;
  color: #ffffff;
  font-size: 0.84rem;
  font-weight: 700;
  padding: 9px 20px;
  border-radius: 20px;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
  white-space: nowrap;
  display: inline-block;
  border: none;
  cursor: pointer;
}

.btn-cta:hover {
  background: #0369a1;
  transform: translateY(-1px);
  color: #fff;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: #f8fafc;
  font-weight: 700;
  padding: 12px 26px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  text-decoration: none;
  display: inline-block;
  transition: background 0.2s;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

/* Hero */
.aad-hero {
  padding: 90px 0 60px 0;
  background: radial-gradient(circle at top, rgba(6, 182, 212, 0.08), transparent 70%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.aad-kicker {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.3);
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 18px;
}

.aad-title {
  font-size: 3.2rem;
  line-height: 1.1;
  font-weight: 900;
  color: #ffffff;
  margin: 0 0 16px 0;
  font-family: var(--font-display);
}

.aad-bio {
  font-size: 1.15rem;
  color: #94a3b8;
  line-height: 1.7;
  margin: 0 0 28px 0;
  max-width: 680px;
}

.aad-cta-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Sections */
.aad-section {
  padding: 70px 0;
}

.aad-section-title {
  font-size: 2rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 30px 0;
  font-family: var(--font-display);
}

.aad-skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.aad-skill-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
  transition: transform 0.2s, border-color 0.2s;
}

.aad-skill-card:hover {
  transform: translateY(-3px);
  border-color: var(--primary);
}

.aad-skill-card h3 {
  margin: 0 0 12px 0;
  font-size: 1.25rem;
  color: #ffffff;
}

.aad-skill-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Posts Grid */
.aad-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.post-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.post-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: 0 10px 30px rgba(6, 182, 212, 0.15);
}

.post-card-img-wrap {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #04070d;
}

.post-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.post-card:hover .post-card-img-wrap img {
  transform: scale(1.04);
}

.post-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.post-card-meta {
  font-size: 0.8rem;
  color: #64748b;
  margin-bottom: 8px;
}

.post-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 10px;
}

.post-card-title a {
  color: #f8fafc;
  text-decoration: none;
  transition: color 0.2s;
}

.post-card-title a:hover {
  color: var(--accent);
}

.post-card-excerpt {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 16px;
  flex-grow: 1;
}

.post-card-link {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
}

/* Footer */
.site-footer {
  background: #05080e;
  border-top: 1px solid var(--border);
  padding: 50px 0 30px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 30px;
}

.footer-links {
  display: flex;
  gap: 20px;
  list-style: none;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--text);
}

/* Responsive */
@media (max-width: 900px) {
  .aad-skills-grid, .aad-posts-grid {
    grid-template-columns: 1fr;
  }
  .aad-title {
    font-size: 2.3rem;
  }
  .nav-links {
    display: none;
  }
}
