@font-face {
  font-family: "Lora Local";
  src: url("fonts/Lora-wght.ttf") format("truetype");
  font-weight: 400 700;
}

:root {
  --ink: #3f3a35;
  --cream: #f7f3ec;
  --cream-deep: #efe7d9;
  --rose: #d98482;
  --rose-soft: #f1cbc5;
  --sky: #7ba8c6;
  --sky-soft: #dcebf0;
  --leaf: #73885d;
  --leaf-deep: #4f6548;
  --butter: #e8ba4a;
  --terracotta: #a76c43;
  --shadow: rgba(85, 69, 48, 0.18);
  --max: 1080px;
  --gutter: clamp(1rem, 5vw, 2.5rem);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  font-family: "Lora Local", Georgia, serif;
  background:
    radial-gradient(circle at 8% 12%, rgba(123, 168, 198, 0.18), transparent 24rem),
    radial-gradient(circle at 92% 18%, rgba(232, 186, 74, 0.18), transparent 22rem),
    radial-gradient(circle at 14% 82%, rgba(217, 132, 130, 0.16), transparent 24rem),
    linear-gradient(180deg, var(--cream), #fbf8f1 48%, var(--cream));
  line-height: 1.65;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  pointer-events: none;
  opacity: 0.42;
  background-image:
    linear-gradient(90deg, rgba(63, 58, 53, 0.035) 1px, transparent 1px),
    linear-gradient(0deg, rgba(63, 58, 53, 0.028) 1px, transparent 1px);
  background-size: 28px 28px, 31px 31px;
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -3;
  content: "";
  pointer-events: none;
  background:
    radial-gradient(ellipse at 18% 18%, rgba(123, 168, 198, 0.22), transparent 21rem),
    radial-gradient(ellipse at 88% 12%, rgba(232, 186, 74, 0.22), transparent 20rem),
    radial-gradient(ellipse at 82% 78%, rgba(217, 132, 130, 0.2), transparent 22rem),
    radial-gradient(ellipse at 12% 92%, rgba(115, 136, 93, 0.16), transparent 18rem);
}

a {
  color: inherit;
}

img {
  display: block;
  width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem var(--gutter);
  background: rgba(247, 243, 236, 0.86);
  border-bottom: 1px solid rgba(63, 58, 53, 0.08);
  backdrop-filter: blur(14px);
}

.brand {
  font-family: "Lora Local", Georgia, serif;
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 650;
  text-decoration: none;
  color: var(--ink);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.45rem;
  font-size: 0.92rem;
}

.nav a {
  padding: 0.35rem 0.65rem;
  border: 1px solid rgba(63, 58, 53, 0.1);
  border-radius: 999px;
  background: rgba(255, 251, 242, 0.52);
  text-decoration: none;
}

.footer a {
  text-decoration-color: rgba(63, 58, 53, 0.25);
  text-underline-offset: 0.22em;
}

.hero {
  position: relative;
  min-height: min(820px, calc(100vh - 72px));
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(90deg, rgba(247, 243, 236, 0.96) 0%, rgba(247, 243, 236, 0.82) 42%, rgba(247, 243, 236, 0.2) 100%),
    url("images/janela-uiclap-sem-numero.jpg") center right / cover no-repeat;
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 8rem;
  content: "";
  background: linear-gradient(0deg, var(--cream), rgba(247, 243, 236, 0));
  pointer-events: none;
}

.rain {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.38;
  background-image:
    linear-gradient(178deg, transparent 0 58%, rgba(123, 168, 198, 0.5) 59% 62%, transparent 63%),
    radial-gradient(circle, rgba(232, 186, 74, 0.35) 0 2px, transparent 3px),
    radial-gradient(circle, rgba(217, 132, 130, 0.24) 0 2px, transparent 3px);
  background-size: 58px 120px, 190px 160px, 230px 210px;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 430px);
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
  width: min(var(--max), calc(100% - (var(--gutter) * 2)));
  min-height: min(820px, calc(100vh - 72px));
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 5rem) 0 6rem;
}

.hero-copy {
  max-width: 660px;
  padding: clamp(1.1rem, 2vw, 1.6rem);
  border-left: 4px solid rgba(232, 186, 74, 0.72);
  background: linear-gradient(90deg, rgba(255, 251, 242, 0.72), rgba(255, 251, 242, 0));
}

.script-note {
  margin: 0 0 0.35rem;
  font-family: "Lora Local", Georgia, serif;
  font-size: clamp(0.88rem, 1.4vw, 1.02rem);
  font-weight: 650;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  font-weight: 650;
}

h1 {
  max-width: 11ch;
  color: #5f4938;
  font-family: "Lora Local", Georgia, serif;
  font-size: clamp(3.1rem, 8vw, 6.7rem);
  font-weight: 650;
  text-wrap: balance;
}

h2 {
  max-width: 760px;
  font-size: clamp(2.15rem, 5vw, 4.1rem);
  color: #4f6548;
}

h3 {
  font-size: 1.3rem;
  color: var(--ink);
}

.subtitle {
  margin: 0.1rem 0 1.2rem;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
}

.intro,
.section-copy p,
.author-copy p,
.buy-copy p {
  max-width: 38rem;
  font-size: clamp(1.02rem, 1.65vw, 1.18rem);
}

.section-copy,
.author-copy,
.buy-copy {
  max-width: 760px;
}

.section-copy > *,
.author-copy > *,
.buy-copy > * {
  margin-left: 0;
}

.section-copy p,
.author-copy p,
.buy-copy p {
  margin-top: 1.15rem;
  margin-bottom: 0;
}

.actions,
.buy-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.7rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.78rem 1.25rem;
  border: 1px solid rgba(63, 58, 53, 0.22);
  border-radius: 8px;
  font-weight: 650;
  line-height: 1.2;
  text-decoration: none;
  box-shadow: 0 12px 26px rgba(85, 69, 48, 0.1);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(85, 69, 48, 0.16);
}

.button.primary {
  color: #fffaf0;
  background: #8f6540;
  border-color: #8f6540;
}

.button.secondary {
  color: #fffaf0;
  background: var(--leaf-deep);
  border-color: var(--leaf-deep);
}

.button.ghost {
  color: var(--ink);
  background: rgba(255, 252, 244, 0.7);
}

.cover-showcase {
  width: min(100%, 430px);
  margin: 0 auto;
  transform: rotate(1.2deg);
}

.cover-showcase::before {
  display: block;
  width: 74%;
  height: 16px;
  margin: 0 auto -8px;
  content: "";
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(123, 168, 198, 0.4), rgba(232, 186, 74, 0.5), rgba(217, 132, 130, 0.42));
  filter: blur(7px);
}

.cover-showcase img,
.author-photo img {
  border-radius: 8px;
  box-shadow: 0 22px 50px var(--shadow);
}

.selling-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  width: min(var(--max), calc(100% - (var(--gutter) * 2)));
  margin: clamp(1rem, 2vw, 1.5rem) auto 0;
  padding: 1rem;
  border: 1px solid rgba(63, 58, 53, 0.08);
  border-radius: 8px;
  background:
    linear-gradient(120deg, rgba(255, 251, 242, 0.88), rgba(247, 243, 236, 0.76)),
    radial-gradient(circle at 12% 20%, rgba(123, 168, 198, 0.18), transparent 13rem),
    radial-gradient(circle at 86% 30%, rgba(232, 186, 74, 0.2), transparent 12rem);
  box-shadow: 0 18px 42px rgba(85, 69, 48, 0.12);
}

.selling-strip div {
  min-height: 128px;
  padding: 1rem;
  border-left: 4px solid var(--sky);
  border-radius: 8px;
  background: rgba(255, 252, 244, 0.62);
}

.selling-strip div:nth-child(2) {
  border-left-color: var(--rose);
}

.selling-strip div:nth-child(3) {
  border-left-color: var(--butter);
}

.selling-strip strong,
.selling-strip span {
  display: block;
}

.selling-strip strong {
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.25;
}

.selling-strip span {
  margin-top: 0.45rem;
  color: var(--ink);
  font-size: 0.92rem;
  line-height: 1.42;
}

.section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(300px, 1fr);
  align-items: start;
  gap: clamp(2rem, 6vw, 5rem);
  width: min(var(--max), calc(100% - (var(--gutter) * 2)));
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.story {
  display: block;
  width: min(var(--max), calc(100% - (var(--gutter) * 2)));
}

.story .section-copy {
  max-width: 760px;
}

.quote-band {
  display: grid;
  min-height: 290px;
  place-items: center;
  padding: clamp(3rem, 8vw, 6rem) 1rem;
  text-align: center;
  background:
    linear-gradient(rgba(247, 243, 236, 0.72), rgba(247, 243, 236, 0.72)),
    url("images/abraco-uiclap-sem-numero.jpg") center 44% / cover fixed;
}

.quote-band p {
  max-width: 880px;
  margin: 0;
  font-family: "Lora Local", Georgia, serif;
  font-size: clamp(1.8rem, 4.2vw, 3.5rem);
  font-weight: 550;
  line-height: 1.24;
  color: var(--ink);
  text-shadow: 0 1px 0 rgba(255, 250, 240, 0.8);
}

.details {
  grid-template-columns: minmax(260px, 0.48fr) minmax(0, 1fr);
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.detail-grid article {
  min-height: 210px;
  padding: 1.4rem;
  border: 1px solid rgba(63, 58, 53, 0.1);
  border-top: 5px solid var(--sky);
  border-radius: 8px;
  background: rgba(255, 251, 242, 0.58);
}

.detail-grid article:nth-child(2) {
  border-top-color: var(--rose);
}

.detail-grid article:nth-child(3) {
  border-top-color: var(--butter);
}

.detail-grid p {
  margin-bottom: 0;
}
