/* Na Base — chinelobr.click | tropical-bright youth media */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&display=swap');

:root {
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --radius: 14px;
  --container: 720px;
  --font: 'DM Sans', system-ui, -apple-system, sans-serif;

  --coral: #FF6B5B;
  --teal: #00C9A7;
  --yellow: #FFD166;
  --magenta: #E84393;
  --sky: #4ECDC4;
  --bg: #FFFBF7;
  --surface: #FFFFFF;
  --text: #1A1A2E;
  --text-muted: #5C5C7A;
  --border: #E8E4DF;
  --accent: var(--coral);
  --accent-hover: #E85A4A;
  --tag-modas: #FF6B5B;
  --tag-cultura: #00C9A7;
  --tag-tendencias: #E84393;
  --shadow: 0 2px 12px rgba(26, 26, 46, 0.06);
}

[data-theme="dark"] {
  --bg: #12121E;
  --surface: #1E1E30;
  --text: #F5F0EB;
  --text-muted: #A8A8C0;
  --border: #2E2E44;
  --shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
  --accent: #FF8A7A;
  --accent-hover: #FF6B5B;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  transition: background 0.25s, color 0.25s;
}

img, svg { display: block; max-width: 100%; }

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

a:hover { color: var(--accent-hover); }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-4);
}

/* ── Header ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  transition: background 0.25s;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-3) var(--space-4);
  max-width: var(--container);
  margin: 0 auto;
}

.logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}

.logo span { color: var(--accent); }

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.theme-toggle,
.menu-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-2);
  color: var(--text);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.theme-toggle:hover,
.menu-toggle:hover { background: var(--border); }

.theme-toggle svg,
.menu-toggle svg { width: 20px; height: 20px; }

.menu-toggle { display: none; }

/* ── Nav category tags ── */
.nav-tags {
  display: flex;
  gap: var(--space-2);
  padding: 0 var(--space-4) var(--space-3);
  max-width: var(--container);
  margin: 0 auto;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.nav-tags::-webkit-scrollbar { display: none; }

.nav-tag {
  display: inline-flex;
  align-items: center;
  padding: var(--space-1) var(--space-3);
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 500;
  white-space: nowrap;
  transition: transform 0.15s, opacity 0.15s;
  color: #fff;
}

.nav-tag:hover { transform: translateY(-1px); opacity: 0.9; color: #fff; }

.nav-tag--modas { background: var(--tag-modas); }
.nav-tag--cultura { background: var(--tag-cultura); }
.nav-tag--tendencias { background: var(--tag-tendencias); }
.nav-tag--all { background: var(--text); }

[data-theme="dark"] .nav-tag--all { background: var(--text-muted); }

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-4) var(--space-4);
  border-top: 1px solid var(--border);
}

.mobile-nav.is-open { display: flex; }

.mobile-nav a {
  color: var(--text);
  font-weight: 500;
  padding: var(--space-2) 0;
}

/* ── Hero stacked headlines ── */
.hero {
  padding: var(--space-5) 0 var(--space-4);
}

.hero-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--teal);
  margin-bottom: var(--space-2);
}

.hero h1 {
  font-size: clamp(1.75rem, 5vw, 2.25rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-2);
}

.hero-sub {
  font-size: 1.0625rem;
  color: var(--text-muted);
  max-width: 540px;
  line-height: 1.5;
}

.hero-deco {
  margin-top: var(--space-4);
  opacity: 0.85;
}

/* ── Article stream / horizontal rows ── */
.article-feed { padding: var(--space-4) 0 var(--space-5); }

.section-title {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: var(--space-4);
}

.article-row {
  display: flex;
  gap: var(--space-4);
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}

.article-row:first-of-type { padding-top: 0; }

.article-row__thumb {
  flex-shrink: 0;
  width: 88px;
  height: 88px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--border);
}

.article-row__thumb img,
.article-row__thumb svg { width: 100%; height: 100%; object-fit: cover; }

.article-row__body { flex: 1; min-width: 0; }

.article-row__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-1);
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.tag-pill {
  display: inline-block;
  padding: 2px var(--space-2);
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 600;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.tag-pill--modas { background: var(--tag-modas); }
.tag-pill--cultura { background: var(--tag-cultura); }
.tag-pill--tendencias { background: var(--tag-tendencias); }

.article-row__title {
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: var(--space-1);
}

.article-row__title a { color: var(--text); }
.article-row__title a:hover { color: var(--accent); }

.article-row__excerpt {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.875rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

.btn--accent {
  background: var(--accent);
  color: #fff;
}

.btn--accent:hover {
  background: var(--accent-hover);
  color: #fff;
  transform: translateY(-1px);
}

.btn--outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn--outline:hover { background: var(--border); color: var(--text); }

/* ── Article reading ── */
.article-header {
  padding: var(--space-5) 0 var(--space-4);
}

.article-header h1 {
  font-size: clamp(1.5rem, 4.5vw, 2rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: var(--space-3) 0;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3);
  font-size: 0.875rem;
  color: var(--text-muted);
}

.author-info {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.author-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  overflow: hidden;
}

.article-body {
  padding-bottom: var(--space-5);
}

.article-body p {
  margin-bottom: var(--space-4);
  font-size: 1rem;
  line-height: 1.7;
}

.article-body h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: var(--space-5) 0 var(--space-3);
  letter-spacing: -0.01em;
}

.article-body h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  margin: var(--space-4) 0 var(--space-2);
}

.article-body ul,
.article-body ol {
  margin: 0 0 var(--space-4) var(--space-5);
}

.article-body li { margin-bottom: var(--space-2); }

.article-body blockquote {
  border-left: 3px solid var(--teal);
  padding: var(--space-2) var(--space-4);
  margin: var(--space-4) 0;
  color: var(--text-muted);
  font-style: italic;
}

/* ── Related articles ── */
.related {
  padding: var(--space-5) 0;
  border-top: 1px solid var(--border);
}

.related h2 {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: var(--space-4);
}

/* ── Page content ── */
.page-content {
  padding: var(--space-5) 0;
}

.page-content h1 {
  font-size: clamp(1.5rem, 4vw, 1.875rem);
  font-weight: 700;
  margin-bottom: var(--space-4);
  letter-spacing: -0.02em;
}

.page-content h2 {
  font-size: 1.125rem;
  font-weight: 600;
  margin: var(--space-5) 0 var(--space-3);
}

.page-content p {
  margin-bottom: var(--space-4);
  line-height: 1.7;
}

.page-content ul,
.page-content ol {
  margin: 0 0 var(--space-4) var(--space-5);
}

.page-content li { margin-bottom: var(--space-2); }

/* ── Contact form ── */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-top: var(--space-4);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
  font-family: var(--font);
  font-size: 0.9375rem;
  padding: var(--space-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent);
}

.form-group textarea { min-height: 120px; resize: vertical; }

/* ── Footer ── */
.site-footer {
  margin-top: auto;
  padding: var(--space-5) 0;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3) var(--space-4);
  font-size: 0.8125rem;
}

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

.footer-copy {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ── Cookie corner popup ── */
.cookie-popup {
  position: fixed;
  bottom: var(--space-4);
  right: var(--space-4);
  max-width: 320px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-4);
  box-shadow: var(--shadow);
  z-index: 200;
  transform: translateY(120%);
  opacity: 0;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.cookie-popup.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.cookie-popup p {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: var(--space-3);
  line-height: 1.5;
}

.cookie-popup .btn { width: 100%; }

/* ── Decorative shapes ── */
.shape-deco {
  position: absolute;
  pointer-events: none;
  opacity: 0.12;
}

/* ── Responsive ── */
@media (max-width: 600px) {
  .menu-toggle { display: flex; }

  .nav-tags { display: none; }

  .article-row__thumb {
    width: 72px;
    height: 72px;
  }

  .cookie-popup {
    left: var(--space-4);
    right: var(--space-4);
    max-width: none;
  }
}

@media (min-width: 601px) {
  .mobile-nav { display: none !important; }
}
