/* ============================================================
   DESIGN SYSTEM — Walter Soares
   Dados • Estatística • IA • Modelagem
   Paleta: Tinta · Ardósia · Terracota · Papel
   ============================================================ */

/* ---------- Variáveis ---------- */
:root {
  /* Paleta principal */
  --tinta:       #14181C;   /* base escura */
  --ardosia:     #2B3A4A;   /* secundária escura */
  --terracota:   #C6491D;   /* ênfase / ação */
  --papel:       #F3EFE7;   /* fundo claro */
  --cinza-morno: #9B9488;   /* apoio / muted */
  --ouro-velho:  #B8963E;   /* destaque secundário */

  /* Escala semântica (compatibilidade com componentes existentes) */
  --primary-900: #14181C;
  --primary-800: #1E2A35;
  --primary-700: #2B3A4A;
  --primary-600: #C6491D;   /* terracota — cor de ação principal */
  --primary-500: #D45A2D;
  --primary-400: #B8963E;   /* ouro-velho */
  --primary-300: #C9A952;
  --primary-200: #E0CFA8;
  --primary-100: #EDE5D0;
  --primary-50:  #F3EFE7;   /* papel */

  --accent:      #C6491D;   /* terracota */
  --accent-dark: #A53A14;

  --success:     #22c55e;
  --warning:     #f59e0b;
  --error:       #ef4444;

  --white:       #ffffff;
  --gray-50:     #F8F6F2;
  --gray-100:    #EDE8DF;
  --gray-200:    #DDD8CE;
  --gray-300:    #C8C2B5;
  --gray-400:    #9B9488;   /* cinza-morno */
  --gray-500:    #7A7368;
  --gray-600:    #5C5650;
  --gray-700:    #3E3A35;
  --gray-800:    #2B2720;
  --gray-900:    #14181C;   /* tinta */

  --font-sans:   'Archivo', system-ui, -apple-system, sans-serif;
  --font-head:   'Source Serif 4', Georgia, serif;
  --font-mono:   'IBM Plex Mono', 'Courier New', monospace;

  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   20px;
  --radius-xl:   32px;
  --radius-full: 9999px;

  --shadow-sm:   0 1px 3px rgba(20,24,28,.08), 0 1px 2px rgba(20,24,28,.04);
  --shadow-md:   0 4px 16px rgba(20,24,28,.10), 0 2px 6px rgba(20,24,28,.06);
  --shadow-lg:   0 12px 40px rgba(20,24,28,.14), 0 4px 12px rgba(20,24,28,.08);
  --shadow-xl:   0 24px 64px rgba(20,24,28,.18);

  --transition:  all .25s cubic-bezier(.4,0,.2,1);

  --max-w:       1200px;
  --nav-h:       72px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-sans);
  color: var(--gray-800);
  background: var(--papel);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, textarea, select { font-family: inherit; }
h1,h2,h3,h4,h5,h6 { font-family: var(--font-head); line-height: 1.25; font-weight: 700; }
code, pre, .mono { font-family: var(--font-mono); }

/* ---------- Tipografia ---------- */
.text-xs   { font-size: .75rem; }
.text-sm   { font-size: .875rem; }
.text-base { font-size: 1rem; }
.text-lg   { font-size: 1.125rem; }
.text-xl   { font-size: 1.25rem; }
.text-2xl  { font-size: 1.5rem; }
.text-3xl  { font-size: 1.875rem; }
.text-4xl  { font-size: 2.25rem; }
.text-5xl  { font-size: 3rem; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold   { font-weight: 700; }
.text-center { text-align: center; }
.text-primary { color: var(--primary-600); }
.text-muted   { color: var(--gray-500); }
.text-white   { color: var(--white); }

/* ---------- Layout ---------- */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: .5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.gap-4 { gap: 2rem; }

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: rgba(243,239,231,.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
  z-index: 1000;
  transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(243,239,231,.99);
  box-shadow: var(--shadow-md);
}
.navbar .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.nav-logo .name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--primary-800);
}
.nav-logo .title {
  font-size: .7rem;
  color: var(--gray-500);
  letter-spacing: .04em;
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  font-size: .9rem;
  font-weight: 500;
  color: var(--gray-600);
  transition: var(--transition);
  position: relative;
  padding-bottom: 2px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--primary-500);
  transition: var(--transition);
  border-radius: 2px;
}
.nav-links a:hover, .nav-links a.active { color: var(--primary-600); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-cta {
  background: var(--primary-600);
  color: var(--white) !important;
  padding: .5rem 1.25rem;
  border-radius: var(--radius-full);
  font-weight: 600 !important;
  transition: var(--transition) !important;
}
.nav-cta:hover { background: var(--primary-700) !important; transform: translateY(-1px); }
.nav-cta::after { display: none !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.hamburger span {
  width: 24px; height: 2px;
  background: var(--gray-700);
  border-radius: 2px;
  transition: var(--transition);
}

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  background: linear-gradient(135deg, var(--primary-900) 0%, var(--primary-700) 50%, var(--primary-500) 100%);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .15;
}
.hero-blob-1 {
  width: 500px; height: 500px;
  background: var(--accent);
  top: -100px; right: -100px;
}
.hero-blob-2 {
  width: 350px; height: 350px;
  background: var(--primary-300);
  bottom: -50px; left: 30%;
}
.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4rem;
  align-items: center;
  width: 100%;
}
.hero-text {}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  color: var(--accent);
  font-size: .8rem;
  font-weight: 600;
  padding: .4rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.5rem;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  color: var(--white);
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.1;
}
.hero-title span { color: var(--accent); }
.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,.75);
  margin-bottom: 2rem;
  max-width: 520px;
  line-height: 1.7;
}
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 2.5rem;
}
.hero-tag {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.85);
  padding: .3rem .85rem;
  border-radius: var(--radius-full);
  font-size: .8rem;
  font-weight: 500;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-avatar {
  flex-shrink: 0;
  width: 280px; height: 280px;
  border-radius: 50%;
  border: 4px solid rgba(255,255,255,.2);
  box-shadow: 0 0 0 8px rgba(255,255,255,.06), var(--shadow-xl);
  overflow: hidden;
  background: var(--primary-600);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-avatar-placeholder {
  font-size: 6rem;
  color: rgba(255,255,255,.5);
}
.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.5);
  font-size: .8rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  animation: bounce 2s infinite;
}
.hero-scroll i { font-size: 1.2rem; }

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.75rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: .95rem;
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--primary-600);
  color: var(--white);
  border-color: var(--primary-600);
}
.btn-primary:hover {
  background: var(--primary-700);
  border-color: var(--primary-700);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26,68,128,.3);
}
.btn-outline {
  background: transparent;
  color: var(--primary-600);
  border-color: var(--primary-600);
}
.btn-outline:hover {
  background: var(--primary-50);
  transform: translateY(-2px);
}
.btn-white {
  background: var(--white);
  color: var(--primary-700);
  border-color: var(--white);
}
.btn-white:hover {
  background: var(--primary-50);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-ghost {
  background: rgba(255,255,255,.12);
  color: var(--white);
  border-color: rgba(255,255,255,.25);
}
.btn-ghost:hover {
  background: rgba(255,255,255,.2);
  transform: translateY(-2px);
}
.btn-sm { padding: .5rem 1.25rem; font-size: .85rem; }
.btn-lg { padding: .9rem 2.25rem; font-size: 1.05rem; }
.btn-block { width: 100%; justify-content: center; }

/* ---------- Section Header ---------- */
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.section-label {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  color: var(--primary-600);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: .75rem;
  padding: .25rem .85rem;
  background: var(--primary-50);
  border-radius: var(--radius-full);
  border: 1px solid var(--primary-100);
}
.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  color: var(--gray-900);
  font-weight: 800;
  margin-bottom: .75rem;
}
.section-title span { color: var(--primary-600); }
.section-desc {
  font-size: 1.05rem;
  color: var(--gray-500);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.7;
}
.divider {
  width: 60px; height: 4px;
  background: linear-gradient(90deg, var(--primary-400), var(--accent));
  border-radius: 4px;
  margin: 1rem auto 0;
}

/* ---------- Sobre / About ---------- */
.about-section { background: var(--gray-50); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  align-items: center;
}
.about-img-wrapper {
  position: relative;
}
.about-img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.about-img-placeholder {
  width: 100%;
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, var(--primary-100), var(--primary-200));
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 6rem;
  color: var(--primary-400);
}
.about-badge {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-lg);
  text-align: center;
}
.about-badge .number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-600);
  font-family: var(--font-head);
  line-height: 1;
}
.about-badge .label {
  font-size: .78rem;
  color: var(--gray-500);
  margin-top: .25rem;
  font-weight: 500;
}
.about-text .section-header { text-align: left; margin-bottom: 1.5rem; }
.about-text .divider { margin: .75rem 0 0; }
.about-text p {
  color: var(--gray-600);
  margin-bottom: 1rem;
  line-height: 1.8;
}
.skills-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .75rem;
  margin: 1.5rem 0;
}
.skill-item {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .9rem;
  color: var(--gray-700);
}
.skill-item i { color: var(--primary-500); font-size: 1rem; }

/* ---------- Serviços ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-400), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-200);
}
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 56px; height: 56px;
  background: var(--primary-50);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.5rem;
  color: var(--primary-600);
  transition: var(--transition);
}
.service-card:hover .service-icon {
  background: var(--primary-600);
  color: var(--white);
}
.service-card h3 {
  font-size: 1.1rem;
  color: var(--gray-900);
  margin-bottom: .5rem;
}
.service-card p {
  font-size: .9rem;
  color: var(--gray-500);
  line-height: 1.6;
}

/* ---------- Cards de Post/Projeto ---------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-200);
}
.card-cover {
  height: 200px;
  background: linear-gradient(135deg, var(--primary-600), var(--primary-400));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: rgba(255,255,255,.6);
  position: relative;
  overflow: hidden;
}
.card-cover img {
  width: 100%; height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}
.card-cover-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,31,60,.6), transparent);
}
.card-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.card-meta {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: .75rem;
  font-size: .8rem;
  color: var(--gray-400);
}
.card-meta i { font-size: .9rem; }
.card-category {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  color: var(--primary-600);
  background: var(--primary-50);
  padding: .2rem .65rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: .05em;
}
.card h3 {
  font-size: 1.1rem;
  color: var(--gray-900);
  margin-bottom: .5rem;
  line-height: 1.4;
}
.card h3 a:hover { color: var(--primary-600); }
.card-excerpt {
  font-size: .9rem;
  color: var(--gray-500);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 1.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--gray-100);
}
.read-more {
  font-size: .85rem;
  font-weight: 600;
  color: var(--primary-600);
  display: flex;
  align-items: center;
  gap: .35rem;
  transition: var(--transition);
}
.read-more:hover { gap: .6rem; }
.card-share { display: flex; gap: .5rem; }
.share-btn {
  width: 30px; height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .8rem;
  transition: var(--transition);
  background: var(--gray-100);
  color: var(--gray-500);
}
.share-btn:hover { transform: translateY(-2px); }
.share-btn.fb:hover  { background: #1877f2; color: var(--white); }
.share-btn.tw:hover  { background: #000; color: var(--white); }
.share-btn.li:hover  { background: #0a66c2; color: var(--white); }
.share-btn.wa:hover  { background: #25d366; color: var(--white); }

/* ---------- Tags ---------- */
.tag {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  padding: .25rem .75rem;
  border-radius: var(--radius-full);
  background: var(--gray-100);
  color: var(--gray-600);
}
.tag-primary { background: var(--primary-50); color: var(--primary-600); }

/* ---------- Formulários ---------- */
.form-group { margin-bottom: 1.5rem; }
.form-label {
  display: block;
  font-size: .875rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: .5rem;
}
.form-label span { color: var(--error); }
.form-control {
  width: 100%;
  padding: .75rem 1rem;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius-md);
  font-size: .95rem;
  color: var(--gray-800);
  background: var(--white);
  transition: var(--transition);
  outline: none;
}
.form-control:focus {
  border-color: var(--primary-400);
  box-shadow: 0 0 0 4px var(--primary-50);
}
.form-control::placeholder { color: var(--gray-400); }
textarea.form-control { resize: vertical; min-height: 140px; }
select.form-control { cursor: pointer; }
.form-row { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.5rem; }
.form-hint { font-size: .8rem; color: var(--gray-400); margin-top: .35rem; }
.form-error { font-size: .8rem; color: var(--error); margin-top: .35rem; display: none; }
.form-success {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #15803d;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  display: none;
  align-items: center;
  gap: .5rem;
  font-weight: 500;
}

/* ---------- Calendário / Agendamento ---------- */
.schedule-hero {
  background: linear-gradient(135deg, var(--primary-800), var(--primary-600));
  padding: 6rem 0 3rem;
  color: var(--white);
  text-align: center;
}
.schedule-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.calendar-wrapper {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.calendar-header {
  background: var(--primary-600);
  color: var(--white);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.calendar-header h3 { font-size: 1rem; font-weight: 600; }
.cal-nav {
  background: rgba(255,255,255,.15);
  border: none;
  color: var(--white);
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  font-size: .85rem;
}
.cal-nav:hover { background: rgba(255,255,255,.25); }
.calendar-grid {
  padding: 1.25rem;
}
.cal-days-header {
  display: grid;
  grid-template-columns: repeat(7,1fr);
  text-align: center;
  font-size: .75rem;
  font-weight: 700;
  color: var(--gray-400);
  text-transform: uppercase;
  margin-bottom: .5rem;
  gap: 2px;
}
.cal-days {
  display: grid;
  grid-template-columns: repeat(7,1fr);
  gap: 2px;
}
.cal-day {
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  cursor: pointer;
  transition: var(--transition);
  color: var(--gray-700);
  border: 2px solid transparent;
  font-weight: 500;
}
.cal-day:hover:not(.disabled):not(.empty) { background: var(--primary-50); color: var(--primary-600); }
.cal-day.today { color: var(--primary-600); font-weight: 700; border-color: var(--primary-300); }
.cal-day.selected { background: var(--primary-600); color: var(--white); border-color: var(--primary-600); }
.cal-day.disabled { color: var(--gray-300); cursor: not-allowed; }
.cal-day.empty { cursor: default; }
.time-slots { padding: 1.25rem; border-top: 1px solid var(--gray-100); }
.time-slots h4 { font-size: .9rem; color: var(--gray-700); margin-bottom: .75rem; font-weight: 600; }
.slots-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: .5rem;
}
.slot {
  padding: .4rem .5rem;
  text-align: center;
  font-size: .8rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--gray-200);
  cursor: pointer;
  transition: var(--transition);
  color: var(--gray-600);
  font-weight: 500;
}
.slot:hover { border-color: var(--primary-400); color: var(--primary-600); }
.slot.selected { background: var(--primary-600); color: var(--white); border-color: var(--primary-600); }
.slot.unavailable { background: var(--gray-50); color: var(--gray-300); cursor: not-allowed; border-color: var(--gray-100); }

/* ---------- Stats ---------- */
.stats-section {
  background: var(--primary-800);
  color: var(--white);
  padding: 4rem 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 2rem;
  text-align: center;
}
.stat-number {
  font-size: 2.8rem;
  font-weight: 800;
  font-family: var(--font-head);
  color: var(--accent);
  line-height: 1;
  margin-bottom: .35rem;
}
.stat-label {
  font-size: .85rem;
  color: rgba(255,255,255,.65);
  font-weight: 500;
}

/* ---------- Depoimentos ---------- */
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
}
.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 1rem; left: 1.5rem;
  font-size: 4rem;
  color: var(--primary-100);
  font-family: Georgia, serif;
  line-height: 1;
}
.testimonial-text {
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-style: italic;
  padding-top: 1.5rem;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: .75rem;
}
.testimonial-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--primary-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--primary-500);
}
.testimonial-name { font-weight: 700; font-size: .95rem; color: var(--gray-800); }
.testimonial-role { font-size: .8rem; color: var(--gray-400); }

/* ---------- CTA Section ---------- */
.cta-section {
  background: linear-gradient(135deg, var(--primary-800), var(--primary-600));
  color: var(--white);
  text-align: center;
  padding: 5rem 0;
}
.cta-section h2 { font-size: 2.2rem; margin-bottom: 1rem; }
.cta-section p { font-size: 1.05rem; color: rgba(255,255,255,.75); margin-bottom: 2rem; max-width: 500px; margin-left: auto; margin-right: auto; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.footer {
  background: var(--gray-900);
  color: var(--gray-400);
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand .name {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: .35rem;
}
.footer-brand .tagline {
  font-size: .85rem;
  color: var(--gray-500);
  margin-bottom: .5rem;
  line-height: 1.6;
}
.footer-bio {
  font-size: .8rem;
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  font-style: italic;
}
/* Select estilizado (blog, admin) */
select.sort-select, .sort-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%239B9488' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .75rem center;
  padding-right: 2rem;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding-left: .75rem;
  padding-top: .45rem;
  padding-bottom: .45rem;
  font-size: .875rem;
  color: var(--gray-700);
  background-color: var(--white);
  cursor: pointer;
  transition: border-color .2s;
}
select.sort-select:hover, .sort-select:hover { border-color: var(--terracota); }
select.sort-select:focus, .sort-select:focus { outline: none; border-color: var(--terracota); box-shadow: 0 0 0 3px rgba(198,73,29,.1); }
/* Substack icon — FA Free não tem, usa SVG mask */
.fa-substack::before { content: '' !important; display: none !important; }
.fa-substack {
  display: inline-block;
  width: 1em; height: 1em;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M22.539 8.242H1.46V5.406h21.08v2.836zM1.46 10.812V24L12 18.11 22.54 24V10.812H1.46zM22.54 0H1.46v2.836h21.08V0z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M22.539 8.242H1.46V5.406h21.08v2.836zM1.46 10.812V24L12 18.11 22.54 24V10.812H1.46zM22.54 0H1.46v2.836h21.08V0z'/%3E%3C/svg%3E") center/contain no-repeat;
  vertical-align: middle;
}

.social-links { display: flex; gap: .75rem; }
.social-link {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  font-size: .9rem;
  transition: var(--transition);
}
.social-link:hover {
  background: var(--primary-600);
  color: var(--white);
  border-color: var(--primary-600);
}
.footer-col h4 {
  font-family: var(--font-head);
  font-size: .85rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 1rem;
}
.footer-links { display: flex; flex-direction: column; gap: .6rem; }
.footer-links a {
  font-size: .875rem;
  color: var(--gray-500);
  transition: var(--transition);
}
.footer-links a:hover { color: var(--primary-300); }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  font-size: .875rem;
  color: var(--gray-500);
  margin-bottom: .6rem;
}
.footer-contact-item i { color: var(--primary-400); margin-top: 3px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.06);
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .8rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom a { color: var(--primary-400); }

/* ---------- Page Hero (interior pages) ---------- */
.page-hero {
  background: linear-gradient(135deg, var(--primary-900), var(--primary-700));
  padding: 8rem 0 4rem;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-hero-content { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; margin-bottom: .75rem; }
.page-hero p { font-size: 1.05rem; color: rgba(255,255,255,.75); max-width: 520px; margin: 0 auto; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: .5rem;
  justify-content: center;
  font-size: .85rem;
  color: rgba(255,255,255,.5);
  margin-bottom: 1rem;
}
.breadcrumb a:hover { color: var(--accent); }

/* ---------- Blog Filter ---------- */
.filter-bar {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 2.5rem;
}
.filter-btn {
  padding: .4rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: .85rem;
  font-weight: 600;
  border: 1.5px solid var(--gray-300);
  color: var(--gray-600);
  background: var(--white);
  cursor: pointer;
  transition: var(--transition);
}
.filter-btn:hover, .filter-btn.active {
  background: var(--primary-600);
  color: var(--white);
  border-color: var(--primary-600);
}

/* ---------- Post Full ---------- */
.post-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 3rem;
  align-items: start;
}
.post-content { font-size: 1.05rem; line-height: 1.8; color: var(--gray-700); }
.post-content h2 { font-size: 1.5rem; color: var(--gray-900); margin: 2rem 0 .75rem; }
.post-content h3 { font-size: 1.2rem; color: var(--gray-900); margin: 1.5rem 0 .5rem; }
.post-content p { margin-bottom: 1.25rem; }
.post-content ul, .post-content ol { margin: 1rem 0 1rem 2rem; }
.post-content li { margin-bottom: .5rem; }
.post-content blockquote {
  border-left: 4px solid var(--primary-400);
  background: var(--primary-50);
  padding: 1rem 1.5rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 1.5rem 0;
  color: var(--primary-700);
  font-style: italic;
}
.post-content pre {
  font-family: var(--font-mono);
  background: var(--gray-900);
  color: var(--gray-200);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  overflow-x: auto;
  margin: 1.5rem 0;
  font-size: .875rem;
}
.post-content code {
  font-family: var(--font-mono);
  background: var(--gray-100);
  padding: .1rem .35rem;
  border-radius: 4px;
  font-size: .875rem;
  color: var(--primary-700);
}
.post-sidebar {}
.sidebar-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}
.sidebar-card h4 {
  font-size: .95rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 1rem;
  padding-bottom: .5rem;
  border-bottom: 2px solid var(--primary-100);
}
.share-buttons { display: flex; gap: .75rem; flex-wrap: wrap; }
.share-btn-lg {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem 1rem;
  border-radius: var(--radius-full);
  font-size: .85rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}
.share-btn-lg.fb { background: #e8f0fe; color: #1877f2; }
.share-btn-lg.fb:hover { background: #1877f2; color: white; }
.share-btn-lg.tw { background: #f0f0f0; color: #000; }
.share-btn-lg.tw:hover { background: #000; color: white; }
.share-btn-lg.li { background: #e8f0fe; color: #0a66c2; }
.share-btn-lg.li:hover { background: #0a66c2; color: white; }
.share-btn-lg.wa { background: #e8fdf0; color: #25d366; }
.share-btn-lg.wa:hover { background: #25d366; color: white; }

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  background: var(--gray-900);
  color: var(--white);
  padding: .75rem 1.25rem;
  border-radius: var(--radius-md);
  font-size: .9rem;
  font-weight: 500;
  box-shadow: var(--shadow-xl);
  transform: translateY(100px);
  opacity: 0;
  transition: var(--transition);
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast.success { background: var(--success); }
.toast.error { background: var(--error); }

/* ---------- Paginação ---------- */
.pagination {
  display: flex;
  justify-content: center;
  gap: .5rem;
  margin-top: 3rem;
}
.page-btn {
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--gray-300);
  background: var(--white);
  color: var(--gray-600);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
}
.page-btn:hover, .page-btn.active {
  background: var(--primary-600);
  color: var(--white);
  border-color: var(--primary-600);
}

/* ---------- Empty State ---------- */
.empty-state {
  text-align: center;
  padding: 4rem 1rem;
  color: var(--gray-400);
}
.empty-state i { font-size: 3rem; margin-bottom: 1rem; }
.empty-state p { font-size: 1rem; }

/* ---------- Loading ---------- */
.loading-spinner {
  width: 40px; height: 40px;
  border: 3px solid var(--primary-100);
  border-top-color: var(--primary-600);
  border-radius: 50%;
  animation: spin .8s linear infinite;
  margin: 3rem auto;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Animações ---------- */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ---------- Utilitários ---------- */
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.w-full { width: 100%; }
.bg-light { background: var(--gray-50); }

/* ---------- Responsividade ---------- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-img-wrapper { max-width: 400px; margin: 0 auto; }
  .post-layout { grid-template-columns: 1fr; }
  .post-sidebar { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
}

@media (max-width: 768px) {
  :root { --nav-h: 64px; }
  .nav-links { display: none; flex-direction: column; position: absolute; top: var(--nav-h); left: 0; right: 0; background: var(--white); padding: 1.5rem; box-shadow: var(--shadow-lg); border-top: 1px solid var(--gray-100); gap: 1rem; }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  .hero-content { grid-template-columns: 1fr; text-align: center; }
  .hero-avatar { width: 200px; height: 200px; margin: 0 auto; }
  .hero-tags { justify-content: center; }
  .hero-actions { justify-content: center; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .cards-grid { grid-template-columns: 1fr; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .schedule-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .post-sidebar { grid-template-columns: 1fr; }
  .about-badge { position: static; margin-top: 1.5rem; display: inline-block; }
}

@media (max-width: 480px) {
  .section { padding: 3rem 0; }
  .stats-grid { grid-template-columns: repeat(2,1fr); gap: 1rem; }
  .stat-number { font-size: 2rem; }
  .hero-title { font-size: 2rem; }
  .section-title { font-size: 1.6rem; }
  .slots-grid { grid-template-columns: repeat(2,1fr); }
}
