@font-face {
  font-family: "Baar Sophia";
  src: url("/fonts/baar-sophia-regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Baar Sophia";
  src: url("/fonts/baar-sophia-bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Baar Antropos";
  src: url("/fonts/baar-antropos-regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Baar Antropos";
  src: url("/fonts/baar-antropos-bold-italic.ttf") format("truetype");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

:root {
  --paper: #fbf6eb;
  --paper-deep: #f2e8d6;
  --ink: #3d2d2a;
  --ink-soft: #6d5650;
  --sun: #d9a23e;
  --sun-light: #f3d98c;
  --rose: #b85f7b;
  --rose-light: #efd7de;
  --sky: #5e97bf;
  --green: #8aae58;
  --orange: #d97735;
  --line: rgba(61, 45, 42, 0.14);
  --heading: "Baar Sophia", Georgia, serif;
  --body: "Baar Antropos", Georgia, serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.65;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
summary,
a {
  -webkit-tap-highlight-color: transparent;
}

::selection {
  background: var(--sun-light);
  color: var(--ink);
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 76px;
  padding: 0 5vw;
  border-bottom: 1px solid rgba(61, 45, 42, 0.08);
  background: rgba(251, 246, 235, 0.9);
  backdrop-filter: blur(15px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  font-family: var(--heading);
  font-size: 21px;
  font-weight: 700;
}

.brand-sun {
  width: 25px;
  height: 25px;
  border: 2px solid var(--sun);
  border-radius: 50%;
  background: repeating-conic-gradient(
    from 12deg,
    transparent 0 12deg,
    rgba(217, 162, 62, 0.33) 13deg 19deg
  );
  box-shadow: 0 0 0 5px rgba(217, 162, 62, 0.11);
}

nav {
  display: flex;
  gap: 34px;
  color: var(--ink-soft);
  font-size: 15px;
}

nav a,
.text-link,
footer > a:last-child {
  position: relative;
}

nav a::after,
.text-link::after,
footer > a:last-child::after {
  position: absolute;
  right: 0;
  bottom: -4px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

nav a:hover::after,
.text-link:hover::after,
footer > a:last-child:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-cta {
  justify-self: end;
  padding: 10px 18px;
  border: 1px solid rgba(61, 45, 42, 0.28);
  border-radius: 999px;
  font-size: 14px;
  transition: background 160ms ease, color 160ms ease;
}

.header-cta:hover {
  background: var(--ink);
  color: var(--paper);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  align-items: center;
  min-height: calc(100vh - 76px);
  padding: 80px 8vw 110px;
  isolation: isolate;
}

.hero::before {
  position: absolute;
  z-index: -2;
  top: 9%;
  left: 45%;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: rgba(236, 198, 99, 0.24);
  content: "";
  filter: blur(2px);
}

.hero-art {
  position: absolute;
  z-index: -3;
  right: 0;
  bottom: 0;
  left: 0;
  height: 35%;
  background-image: linear-gradient(to bottom, rgba(251, 246, 235, 0), rgba(251, 246, 235, 0.07)), url("/assets/montanhas.webp");
  background-position: center 32%;
  background-size: cover;
  opacity: 0.32;
}

.hero-copy {
  max-width: 720px;
  padding-bottom: 70px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--rose);
  font-family: var(--heading);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--heading);
}

h1 {
  max-width: 730px;
  margin-bottom: 28px;
  font-size: clamp(48px, 5.5vw, 82px);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

h1 em {
  color: var(--rose);
  font-weight: 700;
}

.hero-lead {
  max-width: 620px;
  margin-bottom: 34px;
  color: var(--ink-soft);
  font-size: clamp(18px, 1.55vw, 22px);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  min-height: 52px;
  padding: 13px 24px;
  border-radius: 999px;
  font-family: var(--heading);
  font-size: 16px;
  font-weight: 700;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--ink);
  color: #fff9ee;
  box-shadow: 0 12px 30px rgba(61, 45, 42, 0.18);
}

.button-primary:hover {
  background: #211817;
  box-shadow: 0 16px 34px rgba(61, 45, 42, 0.24);
}

.text-link {
  color: var(--ink-soft);
  font-family: var(--heading);
  font-size: 15px;
  font-weight: 700;
}

.hero-facts {
  display: flex;
  gap: 28px;
  margin: 40px 0 0;
  padding: 0;
  color: var(--ink-soft);
  font-size: 14px;
  list-style: none;
}

.hero-facts li {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.hero-facts strong {
  color: var(--ink);
  font-family: var(--heading);
  font-size: 24px;
}

.hero-book {
  position: relative;
  justify-self: center;
  width: min(82%, 430px);
  transform: rotate(2.4deg);
}

.hero-book img,
.purchase-book img {
  position: relative;
  z-index: 2;
  width: 100%;
  border-radius: 4px 13px 13px 4px;
  box-shadow: -14px 20px 50px rgba(63, 45, 42, 0.22);
}

.hero-book::before,
.purchase-book::before {
  position: absolute;
  z-index: 3;
  top: 0;
  bottom: 0;
  left: 0;
  width: 14px;
  border-radius: 4px 0 0 4px;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.18), rgba(255, 255, 255, 0.2), transparent);
  content: "";
  opacity: 0.45;
}

.book-shadow {
  position: absolute;
  z-index: 0;
  right: -9%;
  bottom: -6%;
  width: 92%;
  height: 20%;
  border-radius: 50%;
  background: rgba(63, 45, 42, 0.22);
  filter: blur(25px);
}

.hand-note {
  position: absolute;
  z-index: 4;
  right: -70px;
  bottom: 12%;
  padding: 7px 13px;
  border: 1px solid rgba(184, 95, 123, 0.32);
  border-radius: 999px;
  background: rgba(251, 246, 235, 0.94);
  color: var(--rose);
  font-family: var(--heading);
  font-size: 13px;
  transform: rotate(-5deg);
}

.section {
  padding: 120px 8vw;
}

.section-heading h2,
.why-copy h2,
.stories-intro h2,
.origin-copy h2,
.parents-copy h2,
.purchase-copy h2,
.faq h2,
.gift-caption h2 {
  margin-bottom: 24px;
  font-size: clamp(38px, 4vw, 60px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.04;
}

.recognition {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(440px, 1.1fr);
  gap: 9vw;
  align-items: center;
  background: var(--rose-light);
}

.section-heading > p:last-child,
.why-copy > p,
.stories-intro > p:last-child,
.origin-copy > p,
.parents-copy > p,
.purchase-copy > p {
  color: var(--ink-soft);
}

.signs-card {
  position: relative;
  padding: 44px 50px;
  border: 1px solid rgba(61, 45, 42, 0.1);
  border-radius: 36% 64% 42% 58% / 10% 12% 88% 90%;
  background: rgba(255, 252, 245, 0.7);
}

.signs-card::before {
  position: absolute;
  top: -22px;
  right: 55px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--sun-light);
  content: "";
}

.signs-card > p {
  margin-bottom: 20px;
  font-family: var(--heading);
  font-size: 24px;
  font-weight: 700;
}

.signs-card ul,
.parents-copy ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.signs-card li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 13px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(61, 45, 42, 0.1);
  color: var(--ink-soft);
}

.signs-card li:last-child {
  border-bottom: 0;
}

.signs-card li span {
  color: var(--sun);
}

.why {
  display: grid;
  grid-template-columns: minmax(380px, 1fr) minmax(0, 0.9fr);
  gap: 9vw;
  align-items: center;
}

.why-gallery {
  position: relative;
  min-height: 590px;
}

.art-card {
  position: absolute;
  margin: 0;
  overflow: hidden;
  border: 12px solid #fffdf7;
  background: #fffdf7;
  box-shadow: 0 25px 55px rgba(61, 45, 42, 0.17);
}

.art-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.art-card-boat {
  top: 20px;
  left: 0;
  width: 70%;
  height: 340px;
  transform: rotate(-4deg);
}

.art-card-butterfly {
  right: 0;
  bottom: 40px;
  width: 65%;
  height: 315px;
  transform: rotate(5deg);
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 9%;
  color: var(--rose);
  font-family: var(--heading);
  font-size: 18px;
  transform: rotate(-4deg);
}

.why-copy blockquote {
  margin: 34px 0;
  padding: 12px 0 12px 28px;
  border-left: 4px solid var(--sun);
  color: var(--ink);
  font-family: var(--heading);
  font-size: clamp(25px, 2.4vw, 35px);
  line-height: 1.25;
}

.quiet-note {
  padding: 18px 20px;
  border-radius: 10px;
  background: rgba(138, 174, 88, 0.11);
  font-size: 15px;
}

.stories {
  background: #f0e8d9;
}

.stories-intro {
  max-width: 840px;
  margin-bottom: 74px;
}

.stories-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
  gap: 8vw;
  align-items: start;
}

.story-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 23px;
  padding: 25px 0;
  border-top: 1px solid rgba(61, 45, 42, 0.16);
}

.story-item:last-child {
  border-bottom: 1px solid rgba(61, 45, 42, 0.16);
}

.story-number {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(61, 45, 42, 0.18);
  border-radius: 50%;
  color: var(--rose);
  font-family: var(--heading);
  font-size: 15px;
}

.story-item h3 {
  margin-bottom: 4px;
  font-size: 25px;
  font-weight: 700;
}

.story-item p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.5;
}

.stories-art {
  position: sticky;
  top: 112px;
  padding: 14px 14px 24px;
  border-radius: 6px;
  background: #fffdf8;
  box-shadow: 0 24px 60px rgba(61, 45, 42, 0.14);
  transform: rotate(2deg);
}

.stories-art img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.stories-art p {
  margin: 20px 18px 4px;
  color: var(--rose);
  font-family: var(--heading);
  font-size: 20px;
  line-height: 1.35;
}

.quotes {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 38px 5vw;
  overflow: hidden;
  background: var(--sky);
  color: #fffdf7;
  white-space: nowrap;
}

.quotes p {
  margin: 0;
  font-family: var(--heading);
  font-size: 19px;
}

.quotes span {
  color: var(--sun-light);
}

.origin {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 8vw;
  align-items: center;
}

.origin-image {
  position: relative;
}

.origin-image::before {
  position: absolute;
  z-index: -1;
  right: -35px;
  bottom: -35px;
  width: 72%;
  height: 72%;
  border-radius: 50%;
  background: rgba(138, 174, 88, 0.22);
  content: "";
}

.origin-image img {
  width: 100%;
  border-radius: 49% 51% 47% 53% / 6% 8% 92% 94%;
  box-shadow: 0 22px 50px rgba(61, 45, 42, 0.14);
}

.credits {
  display: flex;
  gap: 55px;
  margin-top: 34px;
  padding-top: 25px;
  border-top: 1px solid var(--line);
}

.credits div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.credits span {
  color: var(--ink-soft);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.credits strong {
  font-family: var(--heading);
  font-size: 22px;
}

.parents-section {
  position: relative;
  display: grid;
  min-height: 720px;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
}

.parents-background {
  position: absolute;
  z-index: -2;
  inset: 0;
  background: url("/assets/aquarela-atmosfera.webp") center / cover no-repeat;
  transform: scale(1.08);
}

.parents-section::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: rgba(251, 246, 235, 0.72);
  content: "";
}

.parents-copy {
  max-width: 800px;
  padding: 60px;
  border: 1px solid rgba(61, 45, 42, 0.1);
  border-radius: 8px 70px 8px 70px;
  background: rgba(255, 253, 247, 0.78);
  box-shadow: 0 25px 70px rgba(61, 45, 42, 0.1);
  backdrop-filter: blur(6px);
}

.parents-copy li {
  position: relative;
  padding: 10px 0 10px 30px;
  border-bottom: 1px solid rgba(61, 45, 42, 0.1);
}

.parents-copy li::before {
  position: absolute;
  left: 2px;
  color: var(--rose);
  content: "✦";
}

.purchase {
  display: grid;
  grid-template-columns: minmax(310px, 0.75fr) minmax(0, 1.25fr);
  gap: 9vw;
  align-items: center;
  background: #e9dca7;
}

.purchase-book {
  position: relative;
  width: min(100%, 420px);
  justify-self: center;
  transform: rotate(-2deg);
}

.product-details {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 35px;
}

.product-details span {
  padding: 7px 13px;
  border: 1px solid rgba(61, 45, 42, 0.2);
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 14px;
}

.button-large {
  min-height: 58px;
  padding: 16px 31px;
  font-size: 18px;
}

.purchase-note {
  max-width: 560px;
  margin: 17px 0 0;
  font-size: 13px;
  line-height: 1.45;
}

.faq {
  display: grid;
  grid-template-columns: minmax(260px, 0.65fr) minmax(0, 1.35fr);
  gap: 8vw;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  position: relative;
  padding: 23px 50px 23px 0;
  cursor: pointer;
  font-family: var(--heading);
  font-size: 20px;
  font-weight: 700;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  position: absolute;
  top: 50%;
  right: 8px;
  color: var(--rose);
  content: "+";
  font-size: 28px;
  font-weight: 400;
  transform: translateY(-50%);
}

.faq details[open] summary::after {
  content: "−";
}

.faq details p {
  max-width: 700px;
  padding: 0 50px 22px 0;
  color: var(--ink-soft);
  font-size: 16px;
}

.gift {
  position: relative;
  min-height: 78vh;
  overflow: hidden;
  background: #fffdf6;
}

.gift > img {
  width: 100%;
  min-height: 78vh;
  object-fit: cover;
  object-position: center;
}

.gift-caption {
  position: absolute;
  right: 7vw;
  bottom: 7vw;
  width: min(480px, calc(100% - 40px));
  padding: 30px 34px;
  border-radius: 30px 5px 30px 5px;
  background: rgba(251, 246, 235, 0.9);
  box-shadow: 0 18px 45px rgba(61, 45, 42, 0.16);
  backdrop-filter: blur(10px);
}

.gift-caption h2 {
  margin-bottom: 14px;
  font-size: 40px;
}

.gift-caption p:last-child {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 16px;
}

footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
  padding: 38px 6vw;
  background: var(--ink);
  color: rgba(255, 249, 238, 0.76);
  font-size: 13px;
}

.footer-brand {
  color: #fff9ee;
}

footer p {
  margin: 0;
}

footer > a:last-child {
  justify-self: end;
}

@media (max-width: 1100px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1.08fr 0.92fr;
    padding-right: 5vw;
    padding-left: 5vw;
  }

  .hero-book {
    width: 88%;
  }

  .hand-note {
    right: -25px;
  }

  .section {
    padding-right: 6vw;
    padding-left: 6vw;
  }

  .recognition,
  .why,
  .origin,
  .purchase {
    gap: 6vw;
  }
}

@media (max-width: 820px) {
  body {
    font-size: 17px;
  }

  .site-header {
    min-height: 68px;
    padding: 0 20px;
  }

  .brand {
    font-size: 18px;
  }

  .header-cta {
    padding: 8px 12px;
    font-size: 12px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 74px 22px 100px;
  }

  .hero-copy {
    padding-bottom: 55px;
  }

  h1 {
    font-size: clamp(44px, 13vw, 68px);
  }

  .hero-book {
    width: min(78%, 380px);
  }

  .hero-art {
    height: 22%;
    opacity: 0.28;
  }

  .section {
    padding: 86px 22px;
  }

  .recognition,
  .why,
  .stories-layout,
  .origin,
  .purchase,
  .faq {
    grid-template-columns: 1fr;
  }

  .recognition,
  .why,
  .stories-layout,
  .origin,
  .purchase,
  .faq {
    gap: 58px;
  }

  .signs-card {
    padding: 38px 30px;
  }

  .why-gallery {
    min-height: 510px;
    order: 2;
  }

  .why-copy {
    order: 1;
  }

  .stories-intro {
    margin-bottom: 50px;
  }

  .stories-art {
    position: relative;
    top: auto;
    max-width: 580px;
    justify-self: center;
  }

  .quotes {
    justify-content: flex-start;
    gap: 18px;
    overflow-x: auto;
    padding-right: 22px;
    padding-left: 22px;
    scrollbar-width: none;
  }

  .quotes::-webkit-scrollbar {
    display: none;
  }

  .origin-copy {
    order: 1;
  }

  .origin-image {
    order: 2;
  }

  .parents-copy {
    padding: 42px 30px;
  }

  .purchase-book {
    width: min(76%, 390px);
  }

  .faq-list {
    margin-top: -15px;
  }

  .gift {
    display: flex;
    min-height: auto;
    flex-direction: column;
  }

  .gift > img {
    min-height: 0;
    aspect-ratio: 3 / 2;
    object-fit: cover;
  }

  .gift-caption {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    padding: 46px 22px 60px;
    border-radius: 0;
    background: #fffdf6;
    box-shadow: none;
  }

  footer {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  footer > a:last-child,
  .footer-brand {
    justify-self: center;
  }
}

@media (max-width: 500px) {
  .site-header .brand span:last-child {
    display: none;
  }

  .site-header .brand-sun {
    width: 29px;
    height: 29px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

  .hero-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px 20px;
  }

  .hero-book {
    width: 84%;
  }

  .hand-note {
    right: -18px;
    font-size: 11px;
  }

  .why-gallery {
    min-height: 430px;
  }

  .art-card {
    border-width: 8px;
  }

  .art-card-boat {
    width: 78%;
    height: 260px;
  }

  .art-card-butterfly {
    width: 72%;
    height: 230px;
  }

  .gallery-caption {
    font-size: 15px;
  }

  .story-item {
    grid-template-columns: 38px 1fr;
    gap: 15px;
  }

  .story-number {
    width: 34px;
    height: 34px;
  }

  .story-item h3 {
    font-size: 21px;
  }

  .story-item p {
    font-size: 15px;
  }

  .credits {
    gap: 28px;
  }

  .product-details {
    align-items: flex-start;
    flex-direction: column;
  }

  .button-large {
    width: 100%;
  }

  .gift-caption h2 {
    font-size: 36px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
