:root {
  --ink: #1b140d;
  --ink-2: #2a1f13;
  --parchment: #f3e7cd;
  --parchment-muted: #d9c9a8;
  --ember: #c1531b;
  --ember-dark: #9c3f13;
  --gold: #b8863c;
  --shadow: 0 24px 48px rgba(10, 6, 2, 0.5);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--parchment);
  font-family: 'Inter', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

h1, h2, blockquote {
  font-family: 'Fraunces', serif;
  margin: 0;
}

a { color: inherit; }

a:focus-visible,
.cta:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

/* Eyebrow tag */

.tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gold);
}

.tag::before {
  content: '';
  width: 26px;
  height: 1px;
  background: var(--gold);
}

/* Top bar */

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 20px;
  background: var(--ink);
  border-bottom: 1px solid rgba(184, 134, 60, 0.25);
}

.topbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--parchment);
}

.topbar-logo {
  width: 32px;
  height: 32px;
  border-radius: 50%;
}

.topbar-nav {
  display: flex;
  align-items: center;
  gap: 16px;
}

.topbar-nav a {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.topbar-nav a:first-child {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold);
}

.topbar-nav a:first-child:hover {
  color: var(--ember);
}

.topbar-nav img {
  width: 20px;
  height: 20px;
  opacity: 0.85;
}

.topbar-nav a:hover img {
  opacity: 1;
}

/* Hero */

.hero {
  position: relative;
  height: clamp(420px, 62vh, 640px);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}

.hero-vignette {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(27, 20, 8, 0.9) 0%, rgba(27, 20, 8, 0.15) 60%),
    linear-gradient(0deg, rgba(27, 20, 8, 0.98) 0%, rgba(27, 20, 8, 0.1) 55%);
}

.hero-content {
  position: absolute;
  left: 0;
  bottom: 0;
  max-width: 560px;
  padding: 40px 24px 44px;
}

.hero h1 {
  font-weight: 600;
  font-size: clamp(1.7rem, 5vw, 2.6rem);
  line-height: 1.18;
  color: var(--parchment);
  margin-bottom: 16px;
}

.hero-sub {
  max-width: 46ch;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--parchment-muted);
  margin: 0 0 22px;
}

.hero-scroll {
  display: inline-block;
  text-decoration: none;
  color: var(--parchment);
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid rgba(243, 231, 205, 0.4);
  border-radius: 999px;
  padding: 10px 20px;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.hero-scroll:hover {
  border-color: var(--gold);
  background: rgba(184, 134, 60, 0.12);
}

/* Trust intro */

.intro {
  max-width: 640px;
  margin: 0 auto;
  padding: 36px 24px 4px;
  text-align: center;
}

.intro p {
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--parchment-muted);
  margin: 0;
}

/* Section divider ("Para casais e noivos") */

.section-divider {
  max-width: 1180px;
  margin: 24px auto 0;
  padding: 0 24px;
  display: flex;
  justify-content: center;
}

@media (min-width: 860px) {
  .section-divider {
    justify-content: flex-start;
    padding: 0 40px;
  }
}

/* Shelf / spreads */

.shelf {
  max-width: 1180px;
  margin: 0 auto;
  padding: 8px 24px 20px;
}

.spread {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-top: 48px;
  border-top: 1px solid rgba(184, 134, 60, 0.22);
}

.spread:first-child {
  border-top: none;
  padding-top: 8px;
}

.spread-cover {
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
}

.spread-cover img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
  border-radius: 6px;
  box-shadow: var(--shadow);
}

.spread-cover--plate {
  background: var(--ink-2);
  border-radius: 12px;
  padding: 30px;
  box-shadow: var(--shadow);
}

.spread-cover--plate img {
  aspect-ratio: auto;
  object-fit: contain;
  max-height: 240px;
  margin: 0 auto;
  box-shadow: none;
  border-radius: 0;
}

.spread-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.spread-content h2 {
  font-weight: 600;
  font-size: 1.4rem;
  color: var(--parchment);
  margin-bottom: 8px;
}

.meta {
  font-size: 0.82rem;
  color: var(--parchment-muted);
  opacity: 0.75;
  margin: 0 0 18px;
}

.spread-content blockquote {
  font-style: italic;
  font-weight: 600;
  font-size: clamp(1.35rem, 2.4vw + 0.7rem, 1.9rem);
  line-height: 1.28;
  color: var(--ember);
  max-width: 26ch;
  margin: 0 0 20px;
}

.support {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--parchment-muted);
  max-width: 52ch;
  margin: 0 0 28px;
}

/* Ribbon CTA */

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  color: var(--ink);
  background: var(--ember);
  padding: 14px 30px 22px;
  clip-path: polygon(0 0, 100% 0, 100% 80%, 50% 100%, 0 80%);
  transition: background 0.15s ease, transform 0.15s ease;
}

.cta:hover {
  background: var(--ember-dark);
  transform: translateY(-2px);
}

@media (prefers-reduced-motion: reduce) {
  .cta { transition: none; }
  .cta:hover { transform: none; }
}

/* Footer */

.site-footer {
  text-align: center;
  padding: 40px 16px 44px;
  color: var(--parchment-muted);
  font-size: 0.85rem;
  border-top: 1px solid rgba(184, 134, 60, 0.22);
}

.disclosure {
  max-width: 52ch;
  margin: 0 auto 18px;
  font-size: 0.78rem;
  line-height: 1.6;
  opacity: 0.7;
}

.footer-links {
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.footer-links img {
  width: 26px;
  height: 26px;
  display: block;
  opacity: 0.85;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.footer-links a:hover img {
  opacity: 1;
  transform: translateY(-2px);
}

@media (prefers-reduced-motion: reduce) {
  .footer-links a:hover img { transform: none; }
}

/* Desktop */

@media (min-width: 860px) {
  .hero-content {
    max-width: 640px;
    padding: 0 64px 72px;
  }

  .shelf {
    padding: 24px 40px 40px;
  }

  .spread {
    flex-direction: row;
    align-items: center;
    gap: 64px;
    padding-top: 64px;
  }

  .spread:nth-child(even) {
    flex-direction: row-reverse;
  }

  .spread--reverse {
    flex-direction: row-reverse;
  }

  .spread-cover {
    flex: 0 0 300px;
  }

  .spread-content {
    flex: 1;
    align-items: center;
    text-align: center;
    padding-left: clamp(70px, 18vw, 180px);
  }

  .spread:nth-child(even) .spread-content,
  .spread--reverse .spread-content {
    padding-left: 0;
    padding-right: clamp(70px, 18vw, 180px);
  }
}
