/*
Theme Name: Stella Mkt
Theme URI: https://stellamkt.com.br
Author: Stella Mkt · Christian Silva
Description: Tema oficial Stella Mkt — Edição Obsidian 2026. Otimizado para Elementor, com identidade visual completa, suporte a PT/EN (Polylang) e blog. Logo, paleta, tipografia e componentes integrados.
Version: 2026.1
License: GPL v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: stella-mkt
Tags: editor-style, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, elementor, full-site-editing
*/

/* ─────────── Stella Mkt — Sistema Obsidian ─────────── */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500;600&family=Instrument+Serif&display=swap');

:root {
  --navy: #050A1F;
  --navy-2: #0A1433;
  --navy-3: #132152;
  --ember: #D95A1E;
  --ember-hi: #F27A3D;
  --bone: #EFEBE2;
  --bone-2: #DAD4C6;
  --line: rgba(239,235,226,0.14);
  --line-dark: rgba(5,10,31,0.12);
  --font-sans: 'Space Grotesk', ui-sans-serif, system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
  --font-serif: 'Instrument Serif', ui-serif, Georgia, serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--navy);
  color: var(--bone);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  margin: 0;
}

a { color: var(--ember); text-decoration: none; transition: opacity 200ms; }
a:hover { opacity: 0.8; }

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

.container { max-width: 1440px; margin: 0 auto; padding: 0 56px; }

.mono { font-family: var(--font-mono); letter-spacing: 0.04em; }
.serif { font-family: var(--font-serif); font-weight: 400; }
.em { color: var(--ember); }

/* Eyebrow / Headings / Buttons */
.eyebrow { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ember); display: inline-flex; align-items: center; gap: 14px; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--ember); }

h1, h2, h3, h4 { font-weight: 500; letter-spacing: -0.025em; line-height: 0.95; }
h1 em, h2 em, h3 em { font-family: var(--font-serif); font-style: italic; font-weight: 400; color: var(--ember); }

.btn { display: inline-flex; align-items: center; gap: 10px; padding: 16px 26px; font-family: var(--font-sans); font-weight: 600; font-size: 15px; border: none; cursor: pointer; transition: all 200ms; text-decoration: none; }
.btn-primary { background: var(--ember); color: var(--navy); }
.btn-primary:hover { background: var(--ember-hi); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--bone); border: 1px solid rgba(239,235,226,0.3); }
.btn-ghost:hover { border-color: var(--ember); color: var(--ember); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 100; backdrop-filter: blur(16px); background: rgba(5,10,31,0.78); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; }
.nav-logo { height: 30px; width: auto; }
.nav-links { display: flex; gap: 36px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--bone); font-size: 14px; font-weight: 500; opacity: 0.75; }
.nav-links a:hover { opacity: 1; color: var(--ember); }
.nav-cta { display: flex; gap: 14px; align-items: center; }
.nav-cta .mono { font-size: 12px; opacity: 0.6; color: var(--bone); }
.lang-switch { display: flex; gap: 6px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.15em; }
.lang-switch a { color: var(--bone); opacity: 0.5; padding: 4px 8px; border: 1px solid transparent; }
.lang-switch a.active { opacity: 1; color: var(--ember); border-color: var(--ember); }

/* Section system */
.section { padding: 120px 0; position: relative; }
.section-bone { background: var(--bone); color: var(--navy); }
.section-bone .eyebrow { color: var(--ember); }
.section-bone a { color: var(--ember); }

/* Footer */
.site-footer { background: var(--navy); border-top: 1px solid var(--line); padding: 80px 0 40px; color: var(--bone); }
.foot-grid { display: grid; grid-template-columns: 1.8fr 1fr 1fr; gap: 48px; margin-bottom: 80px; }
.foot-brand img { height: 32px; margin-bottom: 24px; }
.foot-brand p { font-size: 14px; opacity: 0.7; line-height: 1.6; max-width: 320px; }
.foot-col h4 { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ember); margin-bottom: 18px; }
.foot-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; padding: 0; margin: 0; }
.foot-col a { color: var(--bone); font-size: 14px; opacity: 0.75; }
.foot-col a:hover { opacity: 1; color: var(--ember); }
.foot-bottom { padding-top: 32px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; opacity: 0.5; }

/* Blog post */
.post-content { max-width: 760px; margin: 0 auto; padding: 80px 24px; font-size: 19px; line-height: 1.65; }
.post-content h1 { font-size: 64px; margin-bottom: 24px; }
.post-content h2 { font-size: 36px; margin: 48px 0 16px; }
.post-content p { margin-bottom: 20px; }
.post-content blockquote { font-family: var(--font-serif); font-style: italic; font-size: 28px; line-height: 1.3; padding: 32px; border-left: 3px solid var(--ember); margin: 40px 0; }

@media (max-width: 980px) {
  .container { padding: 0 24px; }
  .nav-links { display: none; }
  .foot-grid { grid-template-columns: 1fr; }
  .section { padding: 80px 0; }
}

/* Elementor compatibility — preserve our tokens */
.elementor-section { background-color: transparent; }
.elementor-widget-heading h1, .elementor-widget-heading h2 { font-family: var(--font-sans); font-weight: 500; letter-spacing: -0.025em; }
