@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;1,500;1,600&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --off-white: #FAF8F4;
  --navy: #16213A;
  --gold: #C8A24A;
  --card-bg: #F1EFE9;
  --border: #E3DED2;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--off-white);
  color: var(--navy);
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
}

.wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}

header.site {
  padding: 48px 0 32px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 48px;
}

header.site .brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

header.site .brand img {
  width: 40px;
  height: 40px;
}

header.site .brand-name {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 1.5rem;
  letter-spacing: 0.02em;
}

header.site .tagline {
  margin-top: 10px;
  font-size: 0.95rem;
  color: #5A6478;
  font-style: italic;
  font-family: 'Cormorant Garamond', serif;
}

.kicker {
  font-family: 'Inter', sans-serif;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  color: var(--gold);
  margin-bottom: 14px;
  display: block;
}

h1 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 2.4rem;
  line-height: 1.2;
  margin: 0 0 16px;
}

h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 1.6rem;
  margin: 40px 0 12px;
}

p { margin: 0 0 20px; font-size: 1.05rem; }

.post-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 24px;
  margin-bottom: 20px;
  transition: border-color 0.2s ease;
}

.post-card:hover { border-color: var(--gold); }

.post-card .kicker { margin-bottom: 8px; }

.post-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 1.4rem;
  margin: 0 0 8px;
}

.post-card .excerpt {
  font-size: 0.95rem;
  color: #4A5266;
  margin: 0;
}

.post-card .read-more {
  display: inline-block;
  margin-top: 14px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy);
}

.hero-img {
  width: 100%;
  border-radius: 10px;
  margin: 24px 0 32px;
  display: block;
}

blockquote {
  border-left: 3px solid var(--gold);
  margin: 32px 0;
  padding: 4px 0 4px 20px;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.25rem;
  color: var(--navy);
}

.cta {
  margin-top: 48px;
  padding: 28px;
  background: var(--card-bg);
  border-radius: 10px;
  border: 1px solid var(--border);
  text-align: center;
}

.cta a {
  display: inline-block;
  margin-top: 12px;
  background: var(--gold);
  color: var(--navy);
  text-decoration: none;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 8px;
}

footer.site {
  margin: 64px 0 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: #7A8296;
  text-align: center;
}

footer.site img { width: 22px; vertical-align: middle; margin-right: 6px; opacity: 0.7; }

/* ===== Home: hero com farol (imagem própria, feita no Gemini) ===== */
.hero {
  position: relative;
  margin: 16px;
  min-height: min(86vh, 760px);
  border-radius: 32px;
  overflow: hidden;
  background: #0B1426;
  color: #F4EFE3;
  display: flex;
  flex-direction: column;
  isolation: isolate;
}
.hero-media, .hero-media img {
  position: absolute; inset: 0; width: 100%; height: 100%;
}
.hero-media img {
  object-fit: cover;
  object-position: 30% center;
  animation: farol-zoom 28s ease-in-out infinite alternate;
}
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(8,14,28,0) 38%, rgba(8,14,28,.55) 70%, rgba(8,14,28,.8) 100%),
    linear-gradient(0deg, rgba(8,14,28,.75) 0%, rgba(8,14,28,0) 40%);
}
/* pulso de luz saindo da lanterna */
.hero-glow {
  position: absolute; z-index: 1; pointer-events: none;
  left: 27.5%; top: 17%; width: 44%; height: 20%;
  transform: translate(-6%, -50%);
  background: radial-gradient(ellipse at 6% 50%, rgba(255,196,90,.55), rgba(255,170,60,.18) 45%, transparent 70%);
  mix-blend-mode: screen;
  animation: farol-pulso 6s ease-in-out infinite;
}
.hero-nav {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: space-between;
  padding: 28px 36px;
}
.hero-nav .brand { display: flex; align-items: center; gap: 12px; }
.hero-nav .brand img { width: 34px; height: 34px; }
.hero-nav .brand-name {
  font-family: 'Cormorant Garamond', serif; font-weight: 600;
  font-size: 1.35rem; letter-spacing: .02em;
}
.hero-nav a.nav-link {
  color: #F4EFE3; text-decoration: none; font-size: .9rem;
  padding: 8px 18px; border: 1px solid rgba(244,239,227,.35);
  border-radius: 999px; backdrop-filter: blur(6px);
  transition: border-color .2s, background .2s;
}
.hero-nav a.nav-link:hover { border-color: var(--gold); background: rgba(200,162,74,.15); }

.hero-copy {
  position: relative; z-index: 2;
  margin: auto 0 0 auto;
  width: min(46%, 520px);
  padding: 0 44px 56px 0;
}
.hero-copy .kicker { color: var(--gold); }
.hero-copy h1 {
  font-size: clamp(2.2rem, 4.2vw, 3.6rem);
  line-height: 1.08; margin: 0 0 18px; font-weight: 500; color: #F8F3E6;
}
.hero-copy h1 em { color: var(--gold); font-style: italic; }
.hero-copy p { color: rgba(244,239,227,.82); font-size: 1rem; margin: 0 0 26px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-cta a {
  text-decoration: none; font-weight: 600; font-size: .92rem;
  padding: 13px 26px; border-radius: 999px;
}
.hero-cta .primary { background: var(--gold); color: var(--navy); }
.hero-cta .ghost { color: #F4EFE3; border: 1px solid rgba(244,239,227,.4); }

@keyframes farol-zoom { from { transform: scale(1); } to { transform: scale(1.06); } }
@keyframes farol-pulso { 0%,100% { opacity: .35; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .hero-media img, .hero-glow { animation: none; }
}
@media (max-width: 720px) {
  .hero { margin: 10px; border-radius: 24px; min-height: 92vh; }
  .hero-media img { object-position: 22% center; }
  .hero-media::after {
    background: linear-gradient(0deg, rgba(8,14,28,.92) 0%, rgba(8,14,28,.55) 45%, rgba(8,14,28,0) 75%);
  }
  .hero-glow { left: 20%; top: 14%; width: 70%; height: 16%; }
  .hero-nav { padding: 20px 22px; }
  .hero-copy { width: 100%; padding: 0 24px 32px; }
}

.canal-box { margin: 32px 0 20px; padding: 24px; border: 1px solid var(--border); border-radius: 20px; background: var(--card-bg); }
.canal-box p { margin: 0 0 12px; font-size: .95rem; color: #4A5266; }
.canal-box a { color: var(--navy); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--gold); }

/* miniaturas nos cards da home */
.post-card .thumb { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 16px; margin-bottom: 18px; transition: transform .5s ease; }
.post-card { overflow: hidden; border-radius: 22px; }
.post-card:hover .thumb { transform: scale(1.02); }
