/* ============================================================
   Blog Prof Kelly — shared stylesheet
   Used by /blog/index.html and all /blog/<slug>.html articles
   ============================================================ */

:root {
  --navy: #1E3A5F;
  --navy-dark: #13263F;
  --accent: #C76F3D;
  --accent-dark: #A85826;
  --cream: #FAF6F0;
  --cream-dark: #F0E8DC;
  --page: #FAF6F0;
  --card: #FFFFFF;
  --text: #1A1A1A;
  --text-soft: #5A5A5A;
  --border: rgba(30, 58, 95, 0.10);

  /* category accent colors */
  --c-cultura: #C76F3D;
  --c-geografia: #4A8C5E;
  --c-historia: #8B4A6B;
  --c-turismo: #C76F3D;
  --c-arquitetura: #6B7E8C;
  --c-literatura: #8C6B4A;
  --c-tv: #4A6B8C;
  --c-movie: #8C3D4A;
  --c-museum: #B8923D;
  --c-sport: #4A8C5E;
  --c-standup: #C7553D;
  --c-music: #7E4A8C;
  --c-quadrinhos: #D86F3D;
  --c-videogames: #3D8C8C;
  --c-mode: #1A1A1A;
  --c-gastronomie: #B8923D;
  --c-beaute: #C76FA5;
  --c-technologie: #4A6B8C;
  --c-artisanat: #8C5A3D;
  --c-peinture: #5E7A8C;
  --c-theatre: #6B3D6B;
  --c-danse: #D63D6B;
  --c-photographie: #2F2F2F;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--page);
  -webkit-font-smoothing: antialiased;
}

/* ============ NAV (breadcrumb) ============ */
.nav {
  max-width: 760px;
  margin: 0 auto;
  padding: 1.5rem 1.5rem 0;
  font-size: 0.92rem;
  font-weight: 500;
}
.nav a { color: var(--navy); text-decoration: none; }
.nav a:hover { color: var(--accent); }
.nav .sep { color: var(--text-soft); opacity: 0.5; margin: 0 0.35rem; }

/* ============ ARTICLE WRAPPER ============ */
article {
  max-width: 720px;
  margin: 0 auto;
  padding: 1.5rem 1.5rem 4rem;
}

/* ============ POST HERO ============ */
.post-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  border-radius: 22px;
  padding: 3rem 1.75rem 2.25rem;
  margin-bottom: 2.25rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  color: #fff;
}
.post-hero::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 85% 25%, rgba(199, 111, 61, 0.40), transparent 55%);
  pointer-events: none;
}
.post-hero > * { position: relative; z-index: 1; }
.post-hero-icon {
  font-size: 3.4rem;
  line-height: 1;
  margin-bottom: 1rem;
  filter: drop-shadow(0 4px 14px rgba(0,0,0,0.18));
}
.post-hero h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.15;
  color: #fff;
  letter-spacing: -0.015em;
  margin: 0.5rem auto 0.85rem;
  max-width: 540px;
}
.post-hero-sub {
  color: rgba(255,255,255,0.88);
  font-size: 1.02rem;
  font-style: italic;
  max-width: 440px;
  margin: 0 auto 1.2rem;
  line-height: 1.5;
}
.post-hero-meta {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.02em;
}
.post-hero-meta strong { color: #fff; font-weight: 600; }

/* ============ TAG CHIPS ============ */
.tag-chip {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  margin-bottom: 0.5rem;
}
.tag-chip--cultura   { background: var(--c-cultura); }
.tag-chip--geografia { background: var(--c-geografia); }
.tag-chip--historia  { background: var(--c-historia); }
.tag-chip--turismo   { background: var(--c-turismo); }
.tag-chip--arquitetura { background: var(--c-arquitetura); }
.tag-chip--literatura { background: var(--c-literatura); }
.tag-chip--tv         { background: var(--c-tv); }
.tag-chip--movie      { background: var(--c-movie); }
.tag-chip--museum     { background: var(--c-museum); }
.tag-chip--sport      { background: var(--c-sport); }
.tag-chip--standup    { background: var(--c-standup); }
.tag-chip--music      { background: var(--c-music); }
.tag-chip--quadrinhos { background: var(--c-quadrinhos); }
.tag-chip--videogames { background: var(--c-videogames); }
.tag-chip--mode        { background: var(--c-mode); }
.tag-chip--gastronomie { background: var(--c-gastronomie); }
.tag-chip--beaute      { background: var(--c-beaute); }
.tag-chip--technologie { background: var(--c-technologie); }
.tag-chip--artisanat   { background: var(--c-artisanat); }
.tag-chip--peinture    { background: var(--c-peinture); }
.tag-chip--theatre     { background: var(--c-theatre); }
.tag-chip--danse       { background: var(--c-danse); }
.tag-chip--photographie{ background: var(--c-photographie); }

/* ============ ARTICLE BODY ============ */
article p {
  margin-bottom: 1.15rem;
  color: var(--text);
}
article p.lead-paragraph {
  font-size: 1.16rem;
  color: var(--text-soft);
  line-height: 1.6;
  margin-bottom: 1.8rem;
  font-weight: 400;
}
article h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--navy);
  margin-top: 2.6rem;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}
article h2 .day-num { color: var(--accent); font-weight: 800; margin-right: 0.5em; }
article h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}
article ul { margin-bottom: 1.2rem; padding-left: 1.4rem; }
article ul li { margin-bottom: 0.5rem; }
article ul li::marker { color: var(--accent); }
article strong { color: var(--navy); font-weight: 600; }
article em.fr { font-style: italic; color: var(--navy); }

/* Tip / callout block */
.tip {
  background: #FBF2EA;
  border-left: 3px solid var(--accent);
  padding: 1rem 1.2rem;
  margin: 1.5rem 0;
  border-radius: 0 10px 10px 0;
  font-size: 0.96rem;
}
.tip strong { color: var(--accent-dark); display: block; margin-bottom: 0.25rem; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; }
.tip .fr { font-style: italic; color: var(--navy); }

/* Figure / image */
article figure {
  margin: 1.6rem 0;
}
article figure img {
  width: 100%;
  height: auto;
  border-radius: 14px;
  display: block;
  background: var(--cream-dark);
  aspect-ratio: 16 / 10;
  object-fit: cover;
  box-shadow: 0 2px 12px rgba(30, 58, 95, 0.10);
}
article figure figcaption {
  margin-top: 0.55rem;
  font-size: 0.83rem;
  color: var(--text-soft);
  text-align: center;
  font-style: italic;
  line-height: 1.45;
}

.divider {
  width: 48px; height: 3px;
  background: var(--accent);
  border-radius: 2px;
  margin: 2.5rem auto 2rem;
}

/* ============ CTA BLOCK (advertising Prof Kelly) ============ */
.cta-block {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: #fff;
  border-radius: 22px;
  padding: 2.5rem 1.75rem;
  margin-top: 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-block::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 90% 30%, rgba(199, 111, 61, 0.45), transparent 55%);
  pointer-events: none;
}
.cta-inner { position: relative; z-index: 1; }
.cta-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.78);
  font-weight: 700;
  margin-bottom: 0.6rem;
}
.cta-headline {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.65rem;
  line-height: 1.2;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.8rem;
}
.cta-headline span { color: var(--accent); }
.cta-bar {
  width: 38px; height: 3px;
  background: var(--accent);
  border-radius: 2px;
  margin: 0.5rem auto 1rem;
}
.cta-sub {
  color: rgba(255,255,255,0.88);
  font-size: 0.96rem;
  max-width: 440px;
  margin: 0 auto 1.5rem;
}
.cta-sub strong { color: #fff; }
.cta-button {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
  letter-spacing: 0.01em;
  transition: background 0.2s ease, transform 0.15s ease;
}
.cta-button:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}
.cta-foot {
  margin-top: 1.1rem;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.65);
}

/* ============ POST NAV (prev / next preview cards) ============ */
.post-nav {
  display: grid;
  gap: 1rem;
  margin-top: 3rem;
}
.post-nav--two { grid-template-columns: 1fr 1fr; }
.post-nav--one { grid-template-columns: 1fr; }

.post-nav-card {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: var(--card);
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  box-shadow: 0 2px 8px rgba(30, 58, 95, 0.06);
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.post-nav-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(30, 58, 95, 0.14);
  border-color: rgba(199, 111, 61, 0.35);
}
.post-nav-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  background: var(--cream-dark);
}
.post-nav-body {
  padding: 1rem 1.15rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.post-nav-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.post-nav-tag { align-self: flex-start; margin-top: 0.1rem; }
.post-nav-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
  letter-spacing: -0.005em;
  margin-top: 0.2rem;
}
.post-nav-excerpt {
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--text-soft);
  margin-top: 0.3rem;
}

@media (max-width: 540px) {
  .post-nav--two { grid-template-columns: 1fr; }
}

/* ============ POST FOOTER ============ */
.post-foot {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  color: var(--text-soft);
  font-size: 0.85rem;
  text-align: center;
}
.post-foot a { color: var(--navy); text-decoration: none; font-weight: 500; }
.post-foot a:hover { color: var(--accent); }

/* ============ BLOG INDEX ============ */
.container {
  max-width: 760px;
  margin: 0 auto;
  padding: 1.5rem 1.5rem 4rem;
}
.blog-header { margin-bottom: 3rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--border); }
.blog-eyebrow {
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 0.6rem;
}
.blog-header h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--navy);
  letter-spacing: -0.015em;
  margin-bottom: 0.85rem;
}
.blog-header h1 span { color: var(--accent); }
.blog-intro {
  color: var(--text-soft);
  font-size: 1.08rem;
  max-width: 580px;
}
.topics {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  margin-top: 1.4rem;
}
.topic-chip {
  display: inline-block;
  padding: 0.32rem 0.75rem;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  background: var(--cream-dark);
  color: var(--navy);
  cursor: default;
}
.topic-chip.is-active { background: var(--navy); color: #fff; }

.articles { display: flex; flex-direction: column; align-items: center; gap: 1.25rem; }
.article-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 560px;
  background: var(--card);
  border-radius: 18px;
  padding: 0;
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  box-shadow: 0 2px 10px rgba(30, 58, 95, 0.06);
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.article-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(30, 58, 95, 0.14);
  border-color: rgba(199, 111, 61, 0.35);
}
.article-card-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  background: var(--cream-dark);
}
.article-card-body {
  padding: 1.4rem 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
}
.card-tag { /* same as .tag-chip but smaller */
  display: inline-block;
  color: #fff;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  margin-bottom: 0.85rem;
  background: var(--accent);
}
.card-tag--cultura     { background: var(--c-cultura); }
.card-tag--geografia   { background: var(--c-geografia); }
.card-tag--historia    { background: var(--c-historia); }
.card-tag--turismo     { background: var(--c-turismo); }
.card-tag--arquitetura { background: var(--c-arquitetura); }
.card-tag--literatura  { background: var(--c-literatura); }
.card-tag--tv          { background: var(--c-tv); }
.card-tag--movie       { background: var(--c-movie); }
.card-tag--museum      { background: var(--c-museum); }
.card-tag--sport       { background: var(--c-sport); }
.card-tag--standup     { background: var(--c-standup); }
.card-tag--music       { background: var(--c-music); }
.card-tag--quadrinhos  { background: var(--c-quadrinhos); }
.card-tag--videogames  { background: var(--c-videogames); }
.card-tag--mode         { background: var(--c-mode); }
.card-tag--gastronomie  { background: var(--c-gastronomie); }
.card-tag--beaute       { background: var(--c-beaute); }
.card-tag--technologie  { background: var(--c-technologie); }
.card-tag--artisanat    { background: var(--c-artisanat); }
.card-tag--peinture     { background: var(--c-peinture); }
.card-tag--theatre      { background: var(--c-theatre); }
.card-tag--danse        { background: var(--c-danse); }
.card-tag--photographie { background: var(--c-photographie); }

.card-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.42rem;
  line-height: 1.2;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.55rem;
  letter-spacing: -0.01em;
}
.card-excerpt {
  color: var(--text-soft);
  font-size: 0.96rem;
  line-height: 1.55;
  margin-bottom: 0.9rem;
}
.card-meta {
  display: flex; align-items: center; gap: 0.7rem;
  font-size: 0.82rem;
  color: var(--text-soft);
}
.card-meta .read-arrow {
  margin-left: auto;
  color: var(--accent);
  font-weight: 600;
}
.card-meta .dot { opacity: 0.4; }

.blog-foot {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  color: var(--text-soft);
  font-size: 0.85rem;
  text-align: center;
}
.blog-foot a { color: var(--navy); text-decoration: none; font-weight: 500; }
.blog-foot a:hover { color: var(--accent); }

/* ============ RESPONSIVE ============ */
@media (max-width: 540px) {
  body { font-size: 16px; }
  .post-hero { padding: 2.2rem 1.25rem 1.75rem; border-radius: 16px; }
  .post-hero h1 { font-size: 1.55rem; }
  .post-hero-icon { font-size: 2.6rem; }
  article h2 { font-size: 1.3rem; }
  .cta-headline { font-size: 1.35rem; }
  .cta-block { padding: 2rem 1.25rem; }
  .blog-header h1 { font-size: 2rem; }
  .article-card-body { padding: 1.15rem 1.2rem 1rem; }
  .card-title { font-size: 1.18rem; }
}
