/* Nevoeiro — estilo compartilhado */

:root {
  --bg: #ffffff;
  --text: #111111;
  --gray: #6b6b6b;
  --gray-light: #e3e3e3;
  --green: #24f05d;
  --orange: #f05d23;

  --font-serif: "Fraunces", Georgia, serif;
  --font-sans: "Inter", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
}

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

a:hover {
  text-decoration: underline;
}

.layout {
  display: flex;
  min-height: 100vh;
}

/* Menu lateral */
.sidebar {
  width: 220px;
  flex-shrink: 0;
  border-right: 1px solid var(--gray-light);
  padding: 2.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.brand {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  line-height: 1.2;
}

.brand:hover {
  text-decoration: none;
}

.brand-tagline {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  color: var(--gray);
  margin-top: 0.4rem;
  line-height: 1.4;
}

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

.nav a {
  color: var(--text);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
}

.nav a:hover {
  color: var(--green);
  text-decoration: none;
}

.nav a.active {
  color: var(--orange);
}

/* Conteúdo principal */
.content {
  flex: 1;
  padding: 3rem 3rem 4rem;
  max-width: 760px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 3rem;
  margin: 0 0 0.5rem;
  line-height: 1.1;
}

.hero-tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--gray);
  margin: 0 0 3rem;
}

.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.6rem;
  display: block;
}

.article-card {
  border: 1px solid var(--gray-light);
  border-radius: 4px;
  padding: 1.75rem;
  margin-bottom: 3rem;
}

.article-title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  margin: 0 0 0.4rem;
}

.article-title a {
  color: var(--text);
}

.article-title a:hover {
  color: var(--green);
}

.article-date {
  font-size: 0.8rem;
  color: var(--gray);
  margin-bottom: 0.9rem;
  display: block;
}

.article-excerpt {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  margin-bottom: 1rem;
}

.read-more {
  font-size: 0.85rem;
  font-weight: 500;
}

/* Lista de artigos */
.article-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.article-list li {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--gray-light);
}

.article-list li:first-child {
  padding-top: 0;
}

/* Página de artigo individual */
.article-body {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  line-height: 1.75;
}

.article-body p {
  margin: 0 0 1.4rem;
}

.back-link {
  display: inline-block;
  margin-top: 2.5rem;
  font-size: 0.85rem;
}

/* Responsivo */
@media (max-width: 720px) {
  .layout {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid var(--gray-light);
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.5rem;
  }

  .brand-tagline {
    display: none;
  }

  .nav {
    flex-direction: row;
    gap: 1.2rem;
  }

  .content {
    padding: 2rem 1.5rem 3rem;
  }

  .hero-title {
    font-size: 2.2rem;
  }
}

/* Cena da home: névoa + balão */
.home-stage {
  position: relative;
  min-height: 82vh;
  max-width: none;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0;
  background: #ececec;
}

.fog {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.fog-layer {
  position: absolute;
  border-radius: 50%;
  filter: blur(45px);
  will-change: transform;
  opacity: 0.85;
  background: radial-gradient(circle, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.9) 40%, rgba(255, 255, 255, 0) 75%);
}

.fog-1 {
  width: 55vw;
  height: 32vw;
  top: 4%;
  left: -20%;
}

.fog-2 {
  width: 60vw;
  height: 30vw;
  top: 55%;
  right: -22%;
}

.fog-3 {
  width: 40vw;
  height: 24vw;
  bottom: 6%;
  left: 15%;
}

.fog-4 {
  width: 38vw;
  height: 22vw;
  top: 15%;
  right: 8%;
}

.fog-veil {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: #f2f2f2;
  pointer-events: none;
  animation: veil-clear 4.5s ease-in forwards;
}

@keyframes veil-clear {
  0% {
    opacity: 1;
  }
  35% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fog-veil {
    animation: none;
    opacity: 0;
  }
}

.balloon-wrap {
  position: relative;
  z-index: 1;
  width: min(440px, 82vw);
  animation: float 6s ease-in-out infinite;
  filter: drop-shadow(0 22px 28px rgba(0, 0, 0, 0.12));
}

.balloon-svg {
  width: 100%;
  height: auto;
  display: block;
}

.balloon-content {
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translateX(-50%);
  width: 54%;
  text-align: center;
}

.balloon-content .article-title {
  font-size: 1.25rem;
  margin-bottom: 0.3rem;
}

.balloon-content .article-excerpt {
  font-size: 0.85rem;
  line-height: 1.5;
  margin-bottom: 0.6rem;
}

.balloon-content .article-date {
  margin-bottom: 0.5rem;
}

.balloon-content .eyebrow {
  margin-bottom: 0.4rem;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-14px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .balloon-wrap {
    animation: none;
  }
}
