:root {
  --palha: #eae2d6;
  --papel: #ece6de;
  --marrom: #473228;
  --marrom-hover: #5c4033;
  --terracota: #a8573c;
  --texto: #473228;
  --suave: #6f5b52;
  --linha: #d0c6bc;
  --creme: #f1ebe3;
  --sombra: 0 18px 40px rgb(71 50 40 / 8%);
  --header: 4.25rem;
  --medida: 72rem;
  --fonte-titulo: "Cormorant Garamond", "Iowan Old Style", Palatino, Georgia, serif;
  --fonte-texto: "Jost", "Avenir Next", "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--palha);
  color: var(--texto);
  font-family: var(--fonte-texto);
  font-weight: 400;
  font-size: 1.05rem;
  line-height: 1.6;
}

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

a {
  color: inherit;
}

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

h1,
h2,
h3 {
  font-family: var(--fonte-titulo);
  font-weight: 500;
  letter-spacing: -0.02em;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 30;
  background: var(--marrom);
  color: var(--creme);
  padding: 0.6rem 0.9rem;
  text-decoration: none;
}

.skip:focus {
  top: 0.75rem;
}

.wrap {
  width: min(var(--medida), calc(100% - 3rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: var(--header);
  background: color-mix(in srgb, var(--palha) 92%, transparent);
  backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(var(--medida), calc(100% - 3rem));
  min-height: var(--header);
  margin-inline: auto;
  padding-block: 0.55rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
}

.brand img {
  width: auto;
  height: 4.5rem;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.header-nav > a:first-child {
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.header-nav > a:first-child:hover {
  color: var(--terracota);
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.75rem 1.25rem;
  background: var(--marrom);
  color: var(--creme);
  font-family: var(--fonte-texto);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  transition: background-color 160ms ease;
}

.cta:hover {
  background: var(--marrom-hover);
}

.cta-small {
  min-height: 2.5rem;
  padding-inline: 0.95rem;
}

.hero-grid {
  width: min(var(--medida), calc(100% - 3rem));
  margin-inline: auto;
  padding: 3.25rem 0 4rem;
}

.hero-copy {
  max-width: 38rem;
}

.eyebrow {
  margin-bottom: 1.1rem;
  color: var(--suave);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(3rem, 7vw, 5.4rem);
  font-weight: 400;
  line-height: 0.96;
}

.lede {
  max-width: 38rem;
  margin-top: 1.6rem;
  color: var(--suave);
  font-weight: 300;
  font-size: 1.12rem;
  line-height: 1.7;
}

.where {
  margin-top: 1rem;
  font-size: 0.98rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem 1.5rem;
  margin-top: 2rem;
}

.text-link {
  color: var(--texto);
  font-size: 0.95rem;
  text-underline-offset: 0.28em;
}

.text-link:hover {
  color: var(--terracota);
}

.hero-figure {
  margin-top: 3.5rem;
}

.hero-figure img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: 42% 50%;
  box-shadow: var(--sombra);
}

.hero-figure figcaption {
  margin-top: 0.85rem;
  color: var(--suave);
  font-family: var(--fonte-titulo);
  font-size: 1.25rem;
  font-style: italic;
}

@media (min-width: 980px) {
  .hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(16rem, 0.92fr);
    gap: 3.5rem;
    align-items: center;
    padding-top: 2.75rem;
  }

  .hero-copy {
    max-width: none;
  }

  .hero-figure {
    margin-top: 0;
  }

  .hero-figure img {
    aspect-ratio: 5 / 4;
    object-position: 8% 62%;
  }
}

.band {
  padding: 6rem 0;
}

.band-soft {
  background: var(--papel);
}

#rituais {
  scroll-margin-top: calc(var(--header) + 0.5rem);
}

.section-intro {
  max-width: 36rem;
  margin-bottom: 1rem;
}

.section-intro h2,
.band-dark h2,
.close h2 {
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  font-weight: 400;
  line-height: 1.05;
}

.section-intro p:last-child {
  margin-top: 1rem;
  color: var(--suave);
  font-weight: 300;
}

.ritual {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1fr);
  gap: 3.5rem;
  align-items: center;
  padding: 3.5rem 0;
  border-bottom: 1px solid var(--linha);
}

.ritual:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.ritual:nth-child(even) figure {
  order: 2;
}

.ritual figure {
  margin: 0;
}

.ritual img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 62%;
}

.scent {
  margin-top: 0.35rem;
  color: var(--suave);
}

.mood {
  margin-top: 0.35rem;
  color: var(--suave);
  font-family: var(--fonte-titulo);
  font-style: italic;
  font-size: 1.35rem;
}

.ritual h3 {
  font-size: clamp(2.2rem, 3vw, 3rem);
  font-weight: 500;
  line-height: 1;
}

.buy {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.25rem;
  margin-top: 1.75rem;
}

.sizes {
  display: flex;
  gap: 0.45rem;
}

.sizes button {
  min-width: 4.5rem;
  min-height: 2.75rem;
  padding: 0.4rem 0.8rem;
  border: 1px solid var(--linha);
  border-radius: 2px;
  background: transparent;
  color: var(--texto);
  font: inherit;
  font-size: 0.92rem;
  cursor: pointer;
}

.sizes button[aria-pressed="true"] {
  border-color: var(--marrom);
  background: var(--marrom);
  color: var(--creme);
}

.price {
  min-width: 4.5rem;
  font-size: 1.15rem;
  font-weight: 500;
}

.moments {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: 2.5rem 0 0;
  padding: 0;
  list-style: none;
}

.moments li {
  padding-top: 1rem;
  border-top: 1px solid var(--linha);
  font-family: var(--fonte-titulo);
  font-size: 1.7rem;
  line-height: 1.2;
}

.band-dark {
  background: var(--marrom);
  color: var(--creme);
}

.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem 1.5rem;
  margin: 3rem 0 0;
  padding: 0;
  list-style: none;
}

.facts strong,
.facts span {
  display: block;
}

.facts strong {
  font-family: var(--fonte-texto);
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.01em;
}

.facts span {
  margin-top: 0.35rem;
  color: color-mix(in srgb, var(--creme) 72%, transparent);
  font-weight: 300;
  font-size: 0.95rem;
}

.close-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 36rem;
}

.close-inner > img {
  width: min(16rem, 72%);
  height: auto;
  margin-bottom: 1.5rem;
}

.close-inner p {
  margin: 1rem 0 1.75rem;
  color: var(--suave);
  font-weight: 300;
}

.quiet {
  margin-top: 1.1rem;
  color: var(--suave);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.quiet:hover {
  color: var(--terracota);
}

.site-footer {
  padding: 0 0 2.5rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.5rem;
  justify-content: space-between;
  padding-top: 1.25rem;
  border-top: 1px solid var(--linha);
  color: var(--suave);
  font-size: 0.92rem;
}

.footer-inner a {
  text-decoration: none;
}

.footer-inner a:hover {
  color: var(--terracota);
}

:focus-visible {
  outline: 2px solid var(--terracota);
  outline-offset: 3px;
}

@media (max-width: 860px) {
  .wrap {
    width: min(var(--medida), calc(100% - 2rem));
  }

  .header-inner,
  .hero-grid {
    width: min(var(--medida), calc(100% - 2rem));
  }

  .header-nav > a:first-child {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .hero-grid {
    padding-top: 2.4rem;
  }

  h1 {
    font-size: clamp(2.7rem, 12vw, 3.6rem);
  }

  .hero-figure img {
    aspect-ratio: 4 / 3;
  }

  .band {
    padding: 4rem 0;
  }

  .ritual {
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }

  .ritual figure,
  .ritual:nth-child(even) figure {
    order: -1;
  }

  .moments,
  .facts {
    grid-template-columns: 1fr 1fr;
  }

  .moments li {
    font-size: 1.45rem;
  }
}

@media (max-width: 520px) {
  .cta {
    width: 100%;
  }

  .cta-small {
    width: auto;
  }

  .actions,
  .buy {
    align-items: stretch;
  }

  .buy .cta {
    flex-basis: 100%;
  }
}

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

  .cta {
    transition: none;
  }
}
