/* Pop Desk — popbr.info */
:root {
  --primary: #E63946;
  --accent: #1D3557;
  --bg: #F8F9FA;
  --text: #212529;
  --muted: #6C757D;
  --white: #ffffff;
  --container: 1140px;
  --radius-pill: 999px;
  --radius-card: 24px;
  --shadow: 0 8px 32px rgba(29, 53, 87, 0.12);
  --transition: 0.25s ease;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

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

body {
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

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

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

ul, ol {
  list-style: none;
}

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--accent);
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); margin-bottom: 1rem; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); margin-bottom: 0.875rem; }
h3 { font-size: clamp(1.125rem, 2.5vw, 1.5rem); margin-bottom: 0.625rem; }
h4 { font-size: 1.125rem; margin-bottom: 0.5rem; }

p { margin-bottom: 1.25rem; }

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

/* Split Nav Header */
.site-header {
  background: var(--white);
  border-bottom: 1px solid rgba(29, 53, 87, 0.08);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  max-width: var(--container);
  margin: 0 auto;
  gap: 1rem;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-weight: 800;
  font-size: 1.375rem;
  color: var(--accent);
  letter-spacing: -0.03em;
}

.logo-icon {
  width: 36px;
  height: 36px;
}

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

.nav-split {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-primary {
  display: flex;
  gap: 1.5rem;
}

.nav-primary a {
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--text);
  position: relative;
}

.nav-primary a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width var(--transition);
}

.nav-primary a:hover::after,
.nav-primary a.active::after {
  width: 100%;
}

.nav-secondary {
  display: flex;
  gap: 1rem;
}

.nav-secondary a {
  font-size: 0.875rem;
  color: var(--muted);
  font-weight: 500;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--accent);
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--accent);
  margin: 5px 0;
  transition: var(--transition);
}

.nav-mobile {
  display: none;
}

.nav-mobile.open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--white);
  padding: 1.25rem;
  box-shadow: 0 8px 24px rgba(29, 53, 87, 0.1);
  gap: 0.5rem;
  z-index: 99;
}

.nav-mobile a {
  font-weight: 600;
  color: var(--text);
  padding: 0.625rem 0;
  border-bottom: 1px solid rgba(29, 53, 87, 0.06);
}

/* Hero */
.hero {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  margin-bottom: 2.5rem;
}

.hero-image {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(29, 53, 87, 0.85) 0%, rgba(230, 57, 70, 0.55) 100%);
  display: flex;
  align-items: flex-end;
  padding: 3rem 0;
}

.hero-content {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.25rem;
  width: 100%;
}

.hero-tag {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.375rem 1rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1rem;
}

.hero h1 {
  color: var(--white);
  max-width: 720px;
  margin-bottom: 1rem;
}

.hero-desc {
  color: rgba(248, 249, 250, 0.9);
  font-size: 1.125rem;
  max-width: 560px;
  margin-bottom: 0;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary);
  color: var(--white);
  font-weight: 700;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-pill);
  margin-top: 1.5rem;
  transition: background var(--transition), transform var(--transition);
}

.hero-cta:hover {
  background: #c1121f;
  color: var(--white);
  transform: translateY(-2px);
}

/* Category Tags */
.category-tags {
  margin-bottom: 2.5rem;
}

.category-tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  align-items: center;
}

.category-tags-label {
  font-weight: 700;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-right: 0.5rem;
}

.tag {
  display: inline-block;
  padding: 0.375rem 1rem;
  border-radius: var(--radius-pill);
  font-size: 0.8125rem;
  font-weight: 600;
  transition: transform var(--transition);
}

.tag:hover {
  transform: translateY(-1px);
}

.tag-popups { background: rgba(230, 57, 70, 0.12); color: var(--primary); }
.tag-marcas { background: rgba(124, 58, 237, 0.08); color: #5B21B6; }
.tag-sp { background: rgba(29, 53, 87, 0.1); color: var(--accent); }

/* Bento Grid */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(180px, auto);
  gap: 1.25rem;
  margin-bottom: 3.5rem;
}

.bento-card {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  min-height: 220px;
  transition: transform var(--transition), box-shadow var(--transition);
}

.bento-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.bento-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 1 / 1;
}

.bento-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(29, 53, 87, 0.92) 0%, rgba(29, 53, 87, 0.45) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  color: var(--white);
}

.bento-card-overlay .tag {
  margin-bottom: 0.5rem;
  align-self: flex-start;
}

.bento-card-overlay h3 {
  color: var(--white);
  font-size: 1.25rem;
  margin-bottom: 0.375rem;
}

.bento-card-overlay time,
.bento-card-overlay .card-meta {
  font-size: 0.8125rem;
  opacity: 0.85;
}

.bento-span-6 { grid-column: span 6; }
.bento-span-4 { grid-column: span 4; }
.bento-span-8 { grid-column: span 8; }
.bento-span-5 { grid-column: span 5; }
.bento-span-7 { grid-column: span 7; }
.bento-row-2 { grid-row: span 2; }

/* Editorial Picks */
.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  gap: 1rem;
}

.section-header h2 {
  margin-bottom: 0;
}

.section-link {
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
}

.editorial-picks {
  margin-bottom: 4rem;
}

.compact-list {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(29, 53, 87, 0.06);
}

.compact-list-item {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 1.25rem;
  align-items: center;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(29, 53, 87, 0.06);
  transition: background var(--transition);
}

.compact-list-item:last-child {
  border-bottom: none;
}

.compact-list-item:hover {
  background: rgba(230, 57, 70, 0.04);
}

.compact-list-item img {
  width: 80px;
  height: 80px;
  border-radius: 12px;
  object-fit: cover;
}

.compact-list-item h4 {
  color: var(--accent);
  margin-bottom: 0.25rem;
}

.compact-list-item h4 a {
  color: inherit;
}

.compact-list-item h4 a:hover {
  color: var(--primary);
}

.compact-list-meta {
  font-size: 0.8125rem;
  color: var(--muted);
}

.compact-list-date {
  font-size: 0.8125rem;
  color: var(--muted);
  font-weight: 600;
  white-space: nowrap;
}

/* Page Hero */
.page-hero {
  padding: 3rem 0 2rem;
  background: linear-gradient(180deg, rgba(29, 53, 87, 0.06) 0%, var(--bg) 100%);
  margin-bottom: 2.5rem;
}

.page-hero h1 {
  margin-bottom: 0.75rem;
}

.page-hero .lead {
  font-size: 1.1875rem;
  color: var(--muted);
  max-width: 640px;
}

/* Article */
.article-layout {
  max-width: 820px;
  margin: 0 auto 4rem;
  padding: 0 1.25rem;
}

.article-header {
  margin-bottom: 2rem;
}

.article-header .tag {
  margin-bottom: 1rem;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.article-figure {
  margin: 2rem 0;
  border-radius: var(--radius-card);
  overflow: hidden;
}

.article-figure img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.article-figure figcaption {
  padding: 0.875rem 1.25rem;
  background: var(--white);
  font-size: 0.875rem;
  color: var(--muted);
  font-style: italic;
}

.article-body h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.article-body ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}

.article-body li {
  margin-bottom: 0.5rem;
}

.article-body blockquote {
  border-left: 4px solid var(--primary);
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  background: rgba(230, 57, 70, 0.06);
  border-radius: 0 var(--radius-card) var(--radius-card) 0;
  font-style: italic;
}

/* Author Card */
.author-card {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  background: var(--white);
  padding: 1.5rem;
  border-radius: var(--radius-card);
  margin: 2.5rem 0;
  box-shadow: 0 2px 16px rgba(29, 53, 87, 0.06);
}

.author-card img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  flex-shrink: 0;
}

.author-card h4 {
  margin-bottom: 0.25rem;
}

.author-card .author-role {
  font-size: 0.8125rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.author-card p {
  font-size: 0.9375rem;
  margin-bottom: 0;
  color: var(--muted);
}

/* Related Articles */
.related-articles {
  margin: 3rem 0 4rem;
  padding: 2rem 0;
  border-top: 1px solid rgba(29, 53, 87, 0.08);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 1.25rem;
}

.related-card {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  min-height: 180px;
}

.related-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 1 / 1;
}

.related-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(29, 53, 87, 0.88), transparent 70%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  color: var(--white);
}

.related-card-overlay h4 {
  color: var(--white);
  font-size: 1rem;
}

/* Articles listing */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.article-card {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  min-height: 280px;
}

.article-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 1 / 1;
}

.article-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(29, 53, 87, 0.9) 0%, rgba(29, 53, 87, 0.35) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  color: var(--white);
}

.article-card-overlay h3 {
  color: var(--white);
  font-size: 1.125rem;
}

.article-card-overlay p {
  font-size: 0.875rem;
  opacity: 0.9;
  margin-bottom: 0.5rem;
}

/* Prose */
.prose {
  max-width: 720px;
  margin: 0 auto 4rem;
  padding: 0 1.25rem;
}

.prose h2 {
  margin-top: 2rem;
}

.prose ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}

.prose li {
  margin-bottom: 0.5rem;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 4rem;
  align-items: start;
}

.contact-form label {
  display: block;
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 0.375rem;
  color: var(--accent);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(29, 53, 87, 0.12);
  border-radius: 16px;
  font-family: var(--font);
  font-size: 1rem;
  margin-bottom: 1.25rem;
  transition: border-color var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: var(--white);
  font-weight: 700;
  padding: 0.75rem 2rem;
  border: none;
  border-radius: var(--radius-pill);
  font-size: 1rem;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}

.btn:hover {
  background: #c1121f;
  color: var(--white);
  transform: translateY(-2px);
}

.contact-info {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius-card);
  box-shadow: 0 2px 16px rgba(29, 53, 87, 0.06);
}

.contact-info h3 {
  margin-bottom: 1rem;
}

.contact-info p {
  color: var(--muted);
}

.contact-info a {
  font-weight: 600;
}

/* About */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 2.5rem 0 4rem;
}

.team-card {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 1.75rem;
  text-align: center;
  box-shadow: 0 2px 16px rgba(29, 53, 87, 0.06);
}

.team-card img {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  margin: 0 auto 1rem;
}

.team-card .role {
  color: var(--primary);
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.team-card p {
  font-size: 0.9375rem;
  color: var(--muted);
  margin-bottom: 0;
}

.values-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.value-item {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 1.75rem;
}

.value-item h3 {
  margin-bottom: 0.75rem;
}

.value-item p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.9375rem;
}

/* Footer */
.site-footer {
  background: var(--accent);
  color: rgba(248, 249, 250, 0.88);
  margin-top: auto;
  padding: 3.5rem 0 2rem;
}

.footer-masthead {
  text-align: center;
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(248, 249, 250, 0.15);
}

.footer-brand {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
}

.footer-tagline {
  font-size: 1rem;
  opacity: 0.75;
  font-style: italic;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.footer-col a,
.footer-col p {
  display: block;
  color: rgba(248, 249, 250, 0.75);
  font-size: 0.9375rem;
  margin-bottom: 0.5rem;
}

.footer-col a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(248, 249, 250, 0.12);
  font-size: 0.8125rem;
  opacity: 0.7;
}

.footer-bottom a {
  color: rgba(248, 249, 250, 0.85);
  font-size: 0.8125rem;
}

/* Cookie notice */
.cookie-notice {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  max-width: 360px;
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 1.25rem 1.5rem;
  box-shadow: 0 12px 48px rgba(29, 53, 87, 0.18);
  z-index: 1000;
  transform: translateY(calc(100% + 2rem));
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
  border: 1px solid rgba(29, 53, 87, 0.08);
}

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

.cookie-notice h4 {
  color: var(--accent);
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.cookie-notice p {
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.cookie-actions {
  display: flex;
  gap: 0.625rem;
}

.cookie-actions .btn {
  flex: 1;
  font-size: 0.875rem;
  padding: 0.625rem 1rem;
}

.cookie-actions .btn-outline {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
}

.cookie-actions .btn-outline:hover {
  background: var(--accent);
  color: var(--white);
  transform: none;
}

.intro-text {
  margin-bottom: 2.5rem;
}

.intro-text p {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--text);
}


.text-muted { color: var(--muted); }
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

@media (max-width: 1024px) {
  .bento-span-6,
  .bento-span-8,
  .bento-span-5,
  .bento-span-7,
  .bento-span-4 {
    grid-column: span 6;
  }

  .bento-row-2 {
    grid-row: span 1;
  }

  .articles-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-primary,
  .nav-secondary {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .bento-grid {
    grid-template-columns: 1fr;
  }

  .bento-span-6,
  .bento-span-8,
  .bento-span-5,
  .bento-span-7,
  .bento-span-4 {
    grid-column: span 1;
  }

  .hero,
  .hero-image {
    min-height: 340px;
  }

  .articles-grid {
    grid-template-columns: 1fr;
  }

  .related-grid {
    grid-template-columns: 1fr;
  }

  .compact-list-item {
    grid-template-columns: 64px 1fr;
  }

  .compact-list-date {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .values-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .header-inner {
    padding: 0.875rem 1rem;
  }

  .hero-overlay {
    padding: 2rem 0;
  }

  .author-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .cookie-notice {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    max-width: none;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .compact-list-item {
    grid-template-columns: 1fr;
  }

  .compact-list-item img {
    width: 100%;
    height: 140px;
  }
}
