/* ==========================================================================
   Patrícia Freitas Joias — Landing page
   Mobile-first. Faixas: base (celular) · 640px (tablet) · 1024px (desktop) · 1280px.
   ========================================================================== */

:root {
  --c-primary: #c69459;
  --c-primary-deep: #9a5428;
  --c-sand: #f6f3ee;
  --c-green: #007b46;
  --c-green-hover: #00653a;
  --c-ink: #2e2e2e;
  --c-ink-soft: rgba(46, 46, 46, 0.78);
  --c-line: rgba(198, 148, 89, 0.3);
  --c-bg: #fffdfc;
  --c-white: #fff;

  --font-serif: "DM Serif Display", Georgia, "Times New Roman", serif;
  --font-sans: "Satoshi", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --fs-h2: clamp(28px, 21px + 1.5vw, 44px);
  --fs-sub: clamp(16px, 13px + 0.75vw, 24px);
  --fs-body: clamp(16px, 15px + 0.2vw, 18px);

  --shadow-card: 0 16px 40px rgba(194, 157, 128, 0.3);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  --gutter: 16px;
  --max: 1448px;
  --section-gap: clamp(64px, 40px + 5vw, 120px);
  --header-h: 68px;
  --header-h-compact: 58px;

  /* 1px do Figma desktop (1920) escalado à largura da tela */
  --hu: min(1px, 100vw / 1920);
}

@media (min-width: 640px) {
  :root {
    --gutter: 24px;
  }
}

@media (min-width: 1024px) {
  :root {
    --gutter: 32px;
    --header-h: 100px;
    --header-h-compact: 76px;
  }
}

/* Base
   ========================================================================== */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h-compact) + 12px);
}

html.is-menu-open {
  overflow: hidden;
}

body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  -webkit-tap-highlight-color: transparent;
}

/* Brilhos e decorações vazam para os lados de propósito; o recorte
   horizontal fica no <main> para o celular não "alargar" a página. */
main {
  overflow-x: hidden;
}

@supports (overflow: clip) {
  body,
  main {
    overflow-x: clip;
  }
}

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

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

h1,
h2,
h3 {
  font-weight: 400;
}

ul {
  list-style: none;
  padding: 0;
}

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

button {
  font: inherit;
  color: inherit;
}

em {
  font-style: italic;
}

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

.container {
  width: min(100% - 2 * var(--gutter), var(--max));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--c-ink);
  color: var(--c-white);
  font-weight: 500;
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: none;
}

.sans {
  font-family: var(--font-sans);
}

.eyebrow {
  font-weight: 700;
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-primary);
}

.checklist {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-weight: 500;
  font-size: 15px;
  line-height: 1.35;
}

.checklist li,
.hero__trust li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.checklist li::before,
.hero__trust li::before {
  content: "";
  flex: none;
  width: 18px;
  height: 18px;
  background: url("../svg/icone-check.svg") center / contain no-repeat;
}

/* Composições posicionadas em unidades do Figma
   --cw/--ch: tamanho do quadro no Figma; filhos .at usam --x/--y/--w/--h.
   ========================================================================== */

.comp {
  position: relative;
  container-type: inline-size;
  aspect-ratio: var(--cw) / var(--ch);
  --u: calc(100cqw / var(--cw));
}

.at {
  position: absolute;
  left: calc(var(--x) * var(--u));
  top: calc(var(--y) * var(--u));
  width: calc(var(--w) * var(--u));
  height: calc(var(--h) * var(--u));
  max-width: none;
}

.fit-cover {
  object-fit: cover;
}

/* Recorte de imagem em % (posições vindas do Figma) */
.crop {
  overflow: hidden;
}

.crop > img {
  position: absolute;
  left: var(--l, 0%);
  top: var(--t, 0%);
  width: var(--iw, 100%);
  height: var(--ih, 100%);
  max-width: none;
  object-fit: cover;
}

.media {
  position: absolute;
  inset: 0;
  border-radius: inherit;
}

.media > img {
  transition: transform 0.8s var(--ease);
}

.media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--overlay, rgba(194, 157, 128, 0.3));
  transition: background-color 0.4s var(--ease);
}

.blend-soft-light {
  mix-blend-mode: soft-light;
}

.blend-hard-light {
  mix-blend-mode: hard-light;
}

.blend-overlay {
  mix-blend-mode: overlay;
}

/* Botões
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 28px;
  border: 0;
  border-radius: 45px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 17px;
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--c-white);
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.btn img {
  flex: none;
  width: 20px;
  height: 20px;
}

.btn--lg {
  height: 56px;
  padding: 0 32px;
  font-size: 18px;
}

.btn--block {
  width: 100%;
}

.btn--green {
  background: var(--c-green);
  box-shadow: 0 8px 20px rgba(0, 123, 70, 0.18);
}

.btn--green:hover {
  background: var(--c-green-hover);
  box-shadow: 0 12px 28px rgba(0, 123, 70, 0.28);
  transform: translateY(-1px);
}

.btn--green:active {
  transform: translateY(0);
}

.btn--ghost {
  border: 1px solid rgba(46, 46, 46, 0.3);
  background: transparent;
  color: var(--c-ink);
}

.btn--ghost:hover {
  border-color: var(--c-ink);
  background: rgba(46, 46, 46, 0.04);
}

.btn--outline {
  border: 1px solid rgba(255, 255, 255, 0.9);
  background: transparent;
}

@media (min-width: 1024px) {
  .btn {
    font-size: 18px;
  }

  .btn--lg {
    height: 60px;
    font-size: 20px;
  }
}

/* Header: menu à esquerda, logo central, WhatsApp à direita
   ========================================================================== */

.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  background: rgba(246, 243, 238, 0.94);
  -webkit-backdrop-filter: saturate(1.2) blur(12px);
  backdrop-filter: saturate(1.2) blur(12px);
  transition: box-shadow 0.3s var(--ease);
}

.header.is-scrolled {
  box-shadow: 0 6px 24px rgba(46, 46, 46, 0.07);
}

.header__bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: var(--header-h);
  transition: height 0.3s var(--ease);
}

.header.is-scrolled .header__bar {
  height: var(--header-h-compact);
}

.header__start {
  display: flex;
  align-items: center;
  justify-self: start;
}

.header__end {
  display: flex;
  justify-self: end;
}

.menu-toggle {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-left: -8px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

/* o ícone do Figma é alinhado à direita; espelhado ele "aponta" para o menu */
.menu-toggle img {
  width: 28px;
  height: 28px;
  transform: scaleX(-1);
}

.header__nav {
  display: none;
}

.header__nav a {
  position: relative;
  padding-block: 8px;
  transition: color 0.2s var(--ease);
}

.header__nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.header__nav a:hover {
  color: var(--c-primary);
}

.header__nav a:hover::after {
  transform: scaleX(1);
}

.logo {
  position: relative;
  display: block;
  flex: none;
  overflow: hidden;
}

.logo img {
  position: absolute;
  top: -41.64%;
  left: -17.57%;
  width: 137.14%;
  height: 180.6%;
  max-width: none;
}

.logo--header,
.logo--drawer {
  height: 50px;
  aspect-ratio: 2.25;
  transition: height 0.3s var(--ease);
}

.logo--header img,
.logo--drawer img {
  left: -21.99%;
  width: 142.7%;
}

.header.is-scrolled .logo--header {
  height: 42px;
}

.logo--footer {
  width: 240px;
  aspect-ratio: 2.341;
}

.header__cta {
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
}

.header__cta span {
  display: none;
}

@media (min-width: 1024px) {
  .menu-toggle {
    display: none;
  }

  .header__nav {
    display: block;
  }

  .header__nav ul {
    display: flex;
    gap: 28px;
    font-weight: 500;
    font-size: 16px;
    letter-spacing: 0.03em;
  }

  .header__nav-wide {
    display: none;
  }

  .logo--header {
    height: 72px;
    aspect-ratio: 2.341;
  }

  .logo--header img {
    left: -17.57%;
    width: 137.14%;
  }

  .header.is-scrolled .logo--header {
    height: 54px;
  }

  .header__cta {
    width: auto;
    height: 52px;
    padding: 0 26px;
    border-radius: 45px;
    font-size: 17px;
  }

  .header__cta span {
    display: inline;
  }
}

@media (min-width: 1280px) {
  .header__nav-wide {
    display: list-item;
  }

  .header__nav ul {
    gap: 32px;
  }
}

/* Menu lateral
   ========================================================================== */

.drawer {
  position: fixed;
  inset: 0;
  z-index: 100;
  visibility: hidden;
  transition: visibility 0s linear 0.35s;
}

.drawer.is-open {
  visibility: visible;
  transition-delay: 0s;
}

.drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(46, 46, 46, 0.45);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}

.drawer.is-open .drawer__backdrop {
  opacity: 1;
}

.drawer__panel {
  position: absolute;
  inset: 0 auto 0 0;
  display: flex;
  flex-direction: column;
  width: min(86vw, 380px);
  padding: 8px 24px calc(24px + env(safe-area-inset-bottom));
  overflow-y: auto;
  background: var(--c-sand);
  box-shadow: 12px 0 40px rgba(46, 46, 46, 0.12);
  transform: translateX(-100%);
  transition: transform 0.35s var(--ease);
}

.drawer.is-open .drawer__panel {
  transform: none;
}

.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 60px;
  margin-bottom: 12px;
}

.drawer__close {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-left: -9px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.drawer__close img {
  width: 26px;
  height: 26px;
}

.logo--drawer {
  height: 44px;
}

.drawer__links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
  border-bottom: 1px solid var(--c-line);
  font-family: var(--font-serif);
  font-size: 24px;
  line-height: 1.2;
  transition: color 0.2s var(--ease);
}

.drawer__links a::after {
  content: "";
  width: 9px;
  height: 9px;
  border-top: 1.5px solid var(--c-primary);
  border-right: 1.5px solid var(--c-primary);
  transform: rotate(45deg);
}

.drawer__links a:hover {
  color: var(--c-primary);
}

.drawer__foot {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: auto;
  padding-top: 32px;
}

@media (min-width: 1024px) {
  .drawer {
    display: none;
  }
}

.insta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  line-height: 1.4;
  letter-spacing: 0.03em;
  transition: color 0.2s var(--ease);
}

.insta img {
  width: 22px;
  height: 22px;
}

.insta:hover {
  color: var(--c-primary);
}

/* Hero
   ========================================================================== */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-top: calc(var(--header-h) + 24px);
  background: var(--c-sand);
}

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

.hero__title {
  margin-top: 12px;
  font-family: var(--font-serif);
  font-size: clamp(30px, 8.7vw, 44px);
  line-height: 1.18;
  color: var(--c-ink);
}

.hero__subtitle {
  margin-top: 12px;
  font-weight: 500;
  font-size: clamp(16px, 4.4vw, 20px);
  line-height: 1.4;
  letter-spacing: 0.03em;
  color: var(--c-primary);
}

.hero__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: min(100%, 360px);
  margin-top: 24px;
}

.hero__actions .btn--ghost {
  height: 48px;
  font-size: 16px;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 18px;
  margin-top: 16px;
  font-weight: 500;
  font-size: 13px;
  line-height: 1.3;
  color: var(--c-ink-soft);
}

.hero__trust li::before {
  width: 15px;
  height: 15px;
}

.hero__trust-wide {
  display: none !important;
}

.hero__art {
  left: 50%;
  width: min(106.12%, 560px);
  margin-top: 8px;
  overflow: hidden;
  background: var(--c-sand);
  translate: -50% 0;
}

@media (min-width: 480px) {
  .hero__trust-wide {
    display: flex !important;
  }
}

@media (min-width: 1024px) {
  .hero {
    display: flex;
    align-items: center;
    min-height: max(640px, calc(var(--header-h) + 907 * var(--hu)));
    padding: calc(var(--header-h) + 24px) 0 48px;
  }

  .hero__content {
    position: relative;
    z-index: 1;
    align-items: flex-start;
    text-align: left;
  }

  .hero__title {
    margin-top: 16px;
    font-size: clamp(44px, 3.906vw, 75px);
    line-height: 1.2;
    letter-spacing: 0.03em;
  }

  .hero__subtitle {
    margin-top: 16px;
    font-size: clamp(20px, 1.5vw, 30px);
  }

  .hero__actions {
    flex-direction: row;
    width: auto;
    margin-top: 36px;
    gap: 12px;
  }

  .hero__actions .btn--ghost {
    height: 60px;
    font-size: 18px;
  }

  .hero__trust {
    justify-content: flex-start;
    max-width: 440px;
    margin-top: 24px;
    font-size: 14px;
  }

  .hero__art {
    position: absolute;
    left: calc(50% - 57 * var(--hu));
    bottom: calc(-3 * var(--hu));
    width: calc(969 * var(--hu));
    margin: 0;
    translate: none;
  }
}

@media (min-width: 1440px) {
  .hero__trust {
    max-width: none;
  }
}

/* Benefícios
   ========================================================================== */

.benefits {
  margin-top: 56px;
}

.benefits__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 16px;
}

.benefit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

.benefit__icon {
  width: 64px;
  height: 64px;
  transition: transform 0.4s var(--ease);
}

.benefit:hover .benefit__icon {
  transform: translateY(-4px);
}

.benefit__title {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.3;
  letter-spacing: 0.02em;
  color: var(--c-primary);
}

.benefit__text {
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.35;
  color: var(--c-ink-soft);
}

@media (min-width: 640px) {
  .benefits__list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .benefits {
    margin-top: clamp(96px, 7vw, 140px);
  }

  .benefits__list {
    gap: 30px;
  }

  .benefit {
    gap: 20px;
  }

  .benefit__icon {
    width: clamp(96px, 7.4vw, 142px);
    height: clamp(96px, 7.4vw, 142px);
  }

  .benefit__title {
    font-size: clamp(20px, 1.5625vw, 30px);
  }

  .benefit__text {
    margin-top: 10px;
    font-size: 18px;
    color: var(--c-ink);
  }
}

/* Seções e títulos
   ========================================================================== */

.section {
  margin-top: var(--section-gap);
}

.section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: clamp(28px, 20px + 2vw, 52px);
  text-align: center;
}

.section-title {
  font-family: var(--font-serif);
  font-size: var(--fs-h2);
  line-height: 1.25;
  color: var(--c-primary);
  text-wrap: balance;
}

.section-subtitle {
  max-width: 36ch;
  font-size: var(--fs-sub);
  line-height: 1.4;
  letter-spacing: 0.02em;
  text-wrap: balance;
}

.section-cta {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

/* Coleções
   ========================================================================== */

.categories {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.cat {
  position: relative;
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 4px;
  color: var(--c-white);
  container-type: inline-size;
}

.cat__title {
  position: absolute;
  top: 45%;
  left: 0;
  right: 0;
  font-family: var(--font-serif);
  font-size: var(--fs);
  line-height: 1.3;
  letter-spacing: 0.04em;
  text-align: center;
  translate: 0 -50%;
}

.cat__btn {
  position: absolute;
  top: 70%;
  left: 50%;
  height: auto;
  padding: 9px 16px;
  font-size: 14px;
  box-shadow: none;
  translate: -50% 0;
}

.cat:hover .media > img,
.occasion:hover .media > img,
.product:hover .media > img {
  transform: scale(1.05);
}

.cat:hover .media::after {
  background-color: rgba(194, 157, 128, 0.42);
}

.cat:hover .cat__btn {
  background: var(--c-white);
  color: var(--c-ink);
}

@media (min-width: 640px) {
  .categories {
    gap: 16px;
  }

  .cat__btn {
    padding: 11px 20px;
    font-size: 16px;
  }
}

@media (min-width: 900px) {
  .categories {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .cat__title {
    top: 50%;
  }

  .cat__btn {
    top: 71%;
    height: 46px;
    padding: 0 24px;
  }
}

@media (min-width: 1440px) {
  .categories {
    gap: 28px;
  }
}

/* As mais vendidas
   ========================================================================== */

.best {
  position: relative;
  isolation: isolate;
  margin-top: var(--section-gap);
  padding-top: clamp(40px, 28px + 3vw, 70px);
  /* recorta só o que passar acima da seção (a faixa bege); o círculo decorativo
     continua podendo "vazar" para baixo e para os lados */
  clip-path: inset(0 -100vw -2000px -100vw);
}

.best__arc,
.best__ring {
  display: none;
}

.best__grid {
  position: relative;
  display: grid;
  gap: 16px;
}

.best__grid::before {
  content: "";
  position: absolute;
  z-index: -2;
  top: -1000px;
  bottom: 22%;
  left: 50%;
  width: 100vw;
  background: var(--c-sand);
  translate: -50% 0;
}

.product {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 4px;
  color: var(--c-white);
}

.product .crop > img {
  inset: 0;
  width: 100%;
  height: 100%;
  object-position: var(--op, 50% 50%);
}

.product .media::after {
  background: linear-gradient(to top, rgba(46, 46, 46, 0.88) 0%, rgba(46, 46, 46, 0.5) 32%, rgba(83, 83, 83, 0) 62%);
}

.product__body {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.product__title {
  font-family: var(--font-serif);
  font-size: clamp(22px, 5.6vw, 28px);
  line-height: 1.3;
  letter-spacing: 0.03em;
  text-wrap: balance;
}

.product__note {
  margin-top: 6px;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.03em;
  color: rgba(255, 255, 255, 0.85);
}

.product__btn {
  width: 100%;
  margin-top: 18px;
}

@media (min-width: 640px) {
  .best__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .best__grid::before {
    bottom: 42%;
  }

  .product__title {
    font-size: clamp(20px, 2.6vw, 26px);
  }
}

@media (min-width: 1024px) {
  .best__arc,
  .best__ring {
    position: absolute;
    z-index: -1;
    display: block;
    max-width: none;
    pointer-events: none;
  }

  .best__arc {
    top: 0;
    left: 0;
    width: calc(1920 * var(--hu));
    height: calc(823 * var(--hu));
  }

  .best__ring {
    top: calc(340 * var(--hu));
    left: calc(100% - 272 * var(--hu));
    width: calc(774 * var(--hu));
    height: calc(774 * var(--hu));
  }

  .best__grid {
    gap: 28px;
  }

  .best__grid::before {
    bottom: 46.95%;
  }

  .product {
    aspect-ratio: 710 / 639;
  }

  .product .crop > img {
    inset: auto;
    left: var(--l, 0%);
    top: var(--t, 0%);
    width: var(--iw, 100%);
    height: var(--ih, 100%);
  }

  .product__body {
    left: 50%;
    right: auto;
    bottom: clamp(40px, 4.6vw, 70px);
    width: min(587px, 100% - 48px);
    translate: -50% 0;
  }

  .product__title {
    font-size: clamp(24px, 2.1vw, 30px);
  }

  .product__accent {
    color: var(--c-sand);
  }

  .product__note {
    margin-top: 8px;
    font-size: 16px;
  }

  .product__btn {
    width: 274px;
    margin-top: 24px;
  }
}

/* Carrosséis horizontais (mobile/tablet)
   ========================================================================== */

.rail {
  --rail-pad: max(var(--gutter), (100% - var(--max)) / 2);
  display: flex;
  gap: 12px;
  margin-block: -24px -32px;
  padding: 24px var(--rail-pad) 32px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--rail-pad);
  scrollbar-width: none;
}

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

.rail > * {
  flex: none;
  scroll-snap-align: start;
}

/* Depoimentos
   ========================================================================== */

.testimonial {
  position: relative;
  width: min(64vw, 280px);
  aspect-ratio: 404.316 / 720;
  box-shadow: var(--shadow-card);
}

@media (max-width: 1023px) {
  .marquee__track [data-clone] {
    display: none;
  }
}

@media (min-width: 640px) {
  .testimonial {
    width: 300px;
  }
}

@media (min-width: 1024px) {
  .testimonial {
    width: clamp(320px, 21vw, 404px);
  }

  .marquee.is-animated {
    margin-block: -24px -32px;
    padding-block: 24px 32px;
    overflow: hidden;
  }

  .marquee.is-animated .marquee__track {
    width: max-content;
    gap: 0;
    margin: 0;
    padding: 0;
    overflow: visible;
    animation: marquee var(--marquee-duration, 60s) linear infinite;
  }

  .marquee.is-animated .testimonial {
    margin-right: 28px;
  }

  .marquee.is-animated:hover .marquee__track,
  .marquee.is-animated:focus-within .marquee__track,
  .marquee.is-offscreen .marquee__track {
    animation-play-state: paused;
  }
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* Ocasiões
   ========================================================================== */

.occasions {
  display: grid;
  gap: 16px;
}

.occasion {
  --overlay: rgba(194, 157, 128, 0.32);
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 4px;
  color: var(--c-white);
  container-type: inline-size;
}

.occasion .crop > img {
  inset: 0;
  width: 100%;
  height: 100%;
  object-position: var(--op, 50% 50%);
}

.occasion__body {
  position: absolute;
  left: 24px;
  bottom: 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.occasion__title {
  font-family: var(--font-serif);
  font-size: min(65px, 17cqw);
  line-height: 1.3;
  letter-spacing: 0.04em;
}

.occasion .btn {
  min-width: 154px;
}

@media (min-width: 640px) {
  .occasions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .occasions {
    gap: 28px;
  }

  .occasion {
    --overlay: rgba(194, 157, 128, 0.3);
    aspect-ratio: 710 / 412;
  }

  .occasion .crop > img {
    inset: auto;
    left: var(--l, 0%);
    top: var(--t, 0%);
    width: var(--iw, 100%);
    height: var(--ih, 100%);
  }

  .occasion__body {
    left: clamp(32px, 3.2vw, 47px);
    bottom: clamp(28px, 2.8vw, 40px);
    gap: 7px;
  }

  .occasion--end .occasion__body {
    left: auto;
    right: clamp(32px, 3.2vw, 47px);
    align-items: flex-end;
  }

  .occasion__title {
    font-size: min(65px, 9.2cqw);
  }
}

/* Influencers
   ========================================================================== */

.influencers .insta img {
  width: 22px;
  height: 22px;
}

.influencer {
  position: relative;
  width: min(78vw, 360px);
  aspect-ratio: 464 / 618;
  border-radius: 4px;
  box-shadow: 0 12px 30px rgba(194, 157, 128, 0.3);
}

.influencer > img {
  border-radius: 4px;
}

@media (min-width: 1024px) {
  .influencers .insta {
    font-size: clamp(20px, 1.5vw, 28px);
  }

  .influencers .insta img {
    width: 29px;
    height: 29px;
  }

  .influencers__track {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    width: min(100% - 2 * var(--gutter), var(--max));
    margin: -24px auto -32px;
    padding: 24px 0 32px;
    overflow: visible;
  }

  .influencer {
    width: auto;
    box-shadow: var(--shadow-card);
    transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
  }

  .influencer:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 48px rgba(194, 157, 128, 0.38);
  }
}

/* Nossa história / Família
   ========================================================================== */

.split {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.split__text {
  max-width: 640px;
}

.split__title {
  font-family: var(--font-serif);
  font-size: var(--fs-h2);
  line-height: 1.25;
  color: var(--c-primary);
  text-wrap: balance;
}

.split__subtitle {
  margin-top: 8px;
  font-weight: 500;
  font-size: var(--fs-sub);
  line-height: 1.4;
  letter-spacing: 0.02em;
}

.split__body {
  margin-top: 24px;
  color: #000;
  font-size: var(--fs-body);
  line-height: 1.6;
  letter-spacing: 0.01em;
}

.split__body > p + p,
.split__more > p + p,
.split__more {
  margin-top: 1.1em;
}

.readmore {
  display: none;
}

.js .split__more:not(.is-open) {
  display: none;
}

.js .readmore {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin-top: 8px;
  padding: 0;
  border: 0;
  background: none;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.03em;
  color: var(--c-primary);
  cursor: pointer;
}

.js .readmore::after {
  content: "";
  width: 7px;
  height: 7px;
  margin-top: -4px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.25s var(--ease);
}

.readmore[aria-expanded="true"]::after {
  margin-top: 4px;
  transform: rotate(-135deg);
}

.collage {
  width: 100%;
  max-width: 460px;
  margin-inline: auto;
  isolation: isolate;
  background: var(--c-bg);
}

.collage__col {
  overflow: hidden;
  border-radius: 4px;
}

.collage__col::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 4px;
  background: linear-gradient(180deg, var(--c-primary) 10.621%, var(--c-primary-deep) 100%);
  mix-blend-mode: multiply;
}

.collage__col--shift::after {
  left: calc(1 * var(--u));
}

.collage__main {
  box-shadow: 0 calc(16 * var(--u)) calc(40 * var(--u)) rgba(194, 157, 128, 0.3);
}

.collage__tint {
  background: var(--c-primary);
  mix-blend-mode: soft-light;
}

.collage__tint--round,
.collage__main {
  border-radius: calc(4 * var(--u));
}

.divider {
  height: 1px;
  margin-block: clamp(48px, 4vw + 32px, 70px);
  border: 0;
  background: linear-gradient(90deg, rgba(154, 84, 40, 0) 0%, var(--c-primary-deep) 33.85%, var(--c-primary-deep) 71.875%, rgba(154, 84, 40, 0) 100%);
}

@media (min-width: 1024px) {
  .split {
    display: grid;
    align-items: center;
  }

  .split__text {
    max-width: none;
  }

  .split--story {
    grid-template-columns: minmax(0, 768fr) minmax(0, 575fr);
    column-gap: clamp(48px, 5.5vw, 105px);
  }

  .split--family {
    grid-template-columns: minmax(0, 575fr) minmax(0, 774fr);
    column-gap: clamp(48px, 5.2vw, 99px);
  }

  .split--family .collage {
    order: -1;
  }

  .split--family .split__text {
    padding-bottom: 53px;
  }

  .collage {
    max-width: none;
  }

  .split__subtitle {
    font-weight: 400;
  }

  .split__body {
    margin-top: 32px;
    line-height: 1.5;
  }

  .js .split__more:not(.is-open) {
    display: block;
  }

  .js .readmore {
    display: none;
  }
}

/* Dúvidas frequentes
   ========================================================================== */

.faq__list {
  max-width: 820px;
  margin-inline: auto;
  border-top: 1px solid var(--c-line);
}

.faq__item {
  border-bottom: 1px solid var(--c-line);
}

.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  padding-block: 16px;
  list-style: none;
  font-weight: 500;
  font-size: clamp(17px, 15px + 0.4vw, 20px);
  line-height: 1.35;
  cursor: pointer;
  transition: color 0.2s var(--ease);
}

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

.faq__item summary::after {
  content: "";
  flex: none;
  width: 14px;
  height: 14px;
  background:
    linear-gradient(var(--c-primary), var(--c-primary)) center / 100% 1.5px no-repeat,
    linear-gradient(var(--c-primary), var(--c-primary)) center / 1.5px 100% no-repeat;
  transition: transform 0.3s var(--ease);
}

.faq__item[open] summary::after {
  transform: rotate(45deg);
}

.faq__item summary:hover {
  color: var(--c-primary);
}

.faq__item p {
  max-width: 64ch;
  padding-bottom: 20px;
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--c-ink-soft);
}

/* CTA final
   ========================================================================== */

.cta {
  margin-top: var(--section-gap);
}

.cta__box {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-top: 44px;
  background: var(--c-sand);
  border-radius: 12px;
}

.cta__desk {
  display: none;
}

.cta__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-inline: 20px;
  text-align: center;
}

.cta__title {
  font-family: var(--font-serif);
  font-size: clamp(22px, 7vw, 32px);
  line-height: 1.3;
  color: var(--c-ink);
}

.cta__text {
  max-width: 330px;
  margin-top: 14px;
  font-size: 17px;
  line-height: 1.45;
  letter-spacing: 0.02em;
  color: var(--c-primary);
}

.cta__btn {
  width: 100%;
  max-width: 400px;
  margin-top: 28px;
}

.cta__trust {
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
  margin-top: 16px;
  font-size: 14px;
  color: var(--c-ink-soft);
}

.cta__mob {
  width: 100%;
  max-width: 520px;
  margin: 24px auto 0;
}

.cta__clip {
  overflow: hidden;
  border-radius: 0 0 calc(12 * var(--u)) calc(12 * var(--u));
}

@media (min-width: 1024px) {
  .cta__box {
    display: flex;
    flex-direction: column;
    aspect-ratio: 1448 / 611;
    padding: 0;
    background: none;
    border-radius: 0;
    container-type: inline-size;
  }

  /* espaço acima do card, onde a foto "escapa" */
  .cta__box::before {
    content: "";
    display: block;
    flex: none;
    padding-top: calc(103 / 1448 * 100%);
  }

  .cta__desk {
    position: absolute;
    inset: 0;
    display: block;
    overflow: hidden;
  }

  .cta__card {
    height: auto;
    bottom: 0;
    background: var(--c-sand);
    border-radius: calc(12 * var(--u));
  }

  .cta__photo {
    overflow: hidden;
  }

  .cta__content {
    flex: 1;
    justify-content: center;
    align-items: flex-start;
    width: calc(719 / 1448 * 100%);
    margin-left: calc(95 / 1448 * 100%);
    padding: 32px 0;
    text-align: left;
  }

  .cta__title {
    font-size: clamp(32px, 3.0387cqw, 44px);
    line-height: 1.4;
  }

  .cta__text {
    max-width: calc(492 / 719 * 100%);
    margin-top: 15px;
    font-size: clamp(18px, 1.6575cqw, 24px);
  }

  .cta__btn {
    width: auto;
    margin-top: 32px;
  }

  .cta__trust {
    justify-content: flex-start;
    margin-top: 18px;
  }

  .cta__mob {
    display: none;
  }
}

/* Rodapé
   ========================================================================== */

.footer {
  margin-top: var(--section-gap);
  padding: 48px 0 40px;
  border-top: 1px solid var(--c-primary);
}

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

.footer__social {
  display: flex;
  gap: 12px;
  margin-top: 28px;
}

.footer__social a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--c-line);
  border-radius: 50%;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.footer__social a:hover {
  border-color: var(--c-primary);
  background: var(--c-sand);
}

.footer__social img {
  width: 20px;
  height: 20px;
}

.footer__wa {
  background: var(--c-green);
  border-color: var(--c-green) !important;
}

.footer__wa:hover {
  background: var(--c-green-hover) !important;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 28px;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.03em;
}

.footer__links a {
  display: inline-block;
  padding-block: 8px;
  transition: color 0.2s var(--ease);
}

.footer__links a:hover {
  color: var(--c-primary);
}

@media (min-width: 1024px) {
  .footer {
    padding: 0 0 64px;
    border-top: 0;
  }

  .footer__inner {
    padding-top: 57px;
    border-top: 1px solid var(--c-primary);
  }

  .logo--footer {
    width: 281px;
  }

  .footer__links {
    font-size: 17px;
  }
}

/* CTA fixo: barra inferior no mobile e tablet
   ========================================================================== */

.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 253, 252, 0.94);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 -8px 24px rgba(46, 46, 46, 0.08);
  transform: translateY(110%);
  transition: transform 0.35s var(--ease);
}

.sticky-cta.is-visible {
  transform: none;
}

.sticky-cta__btn {
  width: 100%;
}

@media (min-width: 640px) {
  .sticky-cta {
    display: flex;
    justify-content: center;
  }

  .sticky-cta__btn {
    width: min(100%, 420px);
  }
}

/* no desktop o header fixo já mantém o "Fale conosco" sempre visível */
@media (min-width: 1024px) {
  .sticky-cta {
    display: none;
  }
}

/* Animações de entrada (só com JS ativo)
   ========================================================================== */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--reveal-delay, 0s);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

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

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

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .marquee.is-animated .marquee__track {
    animation: none;
  }
}
