:root {
  --verde-0: #041A18;
  --verde: #062421;
  --verde-2: #0C3430;
  --verde-3: #1F4A45;
  --damasco: #FDB162;
  --damasco-fundo: #B8722A;
  --creme: #F4EADC;
  --papel: #FBF7F1;
  --tinta-2: #3E5A56;
  --creme-2: #B9C9C4;

  --f-display: 'Italiana', 'Didot', 'Bodoni MT', serif;
  --f-body: 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --fs-display: clamp(2.75rem, 1.55rem + 5vw, 5.5rem);
  --fs-h2: clamp(2.25rem, 1.6rem + 2.8vw, 3.75rem);
  --fs-h3: clamp(1.75rem, 1.45rem + 1.2vw, 2.5rem);
  --fs-lead: clamp(1.125rem, 1.06rem + 0.3vw, 1.3125rem);
  --fs-body: 1.0625rem;
  --fs-tag: 0.8125rem;
  --fs-meta: 0.875rem;

  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-6: 24px;
  --sp-8: 32px;
  --sp-10: 40px;
  --sp-12: 48px;
  --sp-16: 64px;
  --sp-20: 80px;
  --sp-24: 96px;
  --sp-32: 128px;

  --container: 1200px;
  --gutter: var(--sp-4);
  --section-y: var(--sp-20);
  --header-h: 72px;

  --ctl-sm: 40px;
  --ctl-md: 48px;
  --ctl-lg: 56px;
  --ctl-line: 24px;

  --r-chip: 12px;
  --r-card: 24px;
  --r-btn: 999px;
  --r-arco: 999px 999px 24px 24px;

  --sh-1: 0 1px 2px rgba(6, 36, 33, 0.06), 0 8px 24px rgba(6, 36, 33, 0.08);
  --sh-2: 0 4px 8px rgba(6, 36, 33, 0.12), 0 24px 48px rgba(6, 36, 33, 0.24);

  --ponto: 10px;
  --vao: 8px;
}

@media (min-width: 640px) {
  :root { --gutter: var(--sp-6); }
}

@media (min-width: 900px) {
  :root {
    --gutter: var(--sp-10);
    --section-y: var(--sp-32);
  }
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--verde);
  color: var(--creme);
  font-family: var(--f-body);
  font-size: var(--fs-body);
  line-height: 28px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.menu-open body { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
img { height: auto; }
figure { margin: 0; }
a { color: inherit; }
button { font: inherit; color: inherit; }

h1, h2, h3, h4, p, ul, ol, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }

h1, h2 {
  font-family: var(--f-display);
  font-weight: 400;
  letter-spacing: -0.005em;
  text-wrap: balance;
}

h1 { font-size: var(--fs-display); line-height: 1.02; }
h2 { font-size: var(--fs-h2); line-height: 1.08; }

em { font-style: normal; }

:focus-visible {
  outline: 2px solid var(--damasco);
  outline-offset: 3px;
  border-radius: 4px;
}

.sec--creme :focus-visible,
.sec--papel :focus-visible { outline-color: var(--verde); }

section[id], footer { scroll-margin-top: var(--header-h); }

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

.skip {
  position: absolute;
  left: var(--sp-4);
  top: -100px;
  z-index: 100;
  padding: var(--sp-3) var(--sp-6);
  line-height: var(--ctl-line);
  background: var(--damasco);
  color: var(--verde);
  font-weight: 600;
  border-radius: var(--r-btn);
  text-decoration: none;
}

.skip:focus { top: var(--sp-4); }

.wrap {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-bottom: var(--sp-4);
  font-size: var(--fs-tag);
  line-height: var(--ctl-line);
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--damasco);
}

.eyebrow::before {
  content: '';
  flex: none;
  width: 28px;
  height: 2px;
  background: repeating-linear-gradient(90deg, currentColor 0 var(--ponto), transparent var(--ponto) calc(var(--ponto) + var(--vao)));
}

.eyebrow--claro { color: var(--tinta-2); }
.eyebrow--claro::before {
  background: repeating-linear-gradient(90deg, var(--damasco-fundo) 0 var(--ponto), transparent var(--ponto) calc(var(--ponto) + var(--vao)));
}

.lead {
  font-size: var(--fs-lead);
  line-height: 32px;
  max-width: 54ch;
}

.ponto {
  position: relative;
  display: inline-block;
  color: var(--damasco);
}

.ponto::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.02em;
  height: 3px;
  border-radius: 2px;
  background: repeating-linear-gradient(90deg, var(--damasco) 0 var(--ponto), transparent var(--ponto) calc(var(--ponto) + var(--vao)));
  transform-origin: left center;
  transition: transform 1.2s cubic-bezier(0.65, 0, 0.35, 1);
}

.js .ponto::after { transform: scaleX(0); }
.js .ponto.is-on::after { transform: none; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-6);
  min-height: var(--ctl-md);
  line-height: var(--ctl-line);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  text-align: center;
  border: 1px solid transparent;
  border-radius: var(--r-btn);
  background: var(--damasco);
  color: var(--verde);
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.btn i { font-size: 1.25rem; }

.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(253, 177, 98, 0.24); }
.btn:active { transform: translateY(0); }

.btn--lg { padding: var(--sp-4) var(--sp-8); min-height: var(--ctl-lg); }
.btn--sm { padding: var(--sp-2) var(--sp-4); min-height: var(--ctl-sm); }

.btn--ghost {
  background: transparent;
  color: var(--creme);
  border-color: rgba(244, 234, 220, 0.4);
}

.btn--ghost:hover { background: rgba(244, 234, 220, 0.08); box-shadow: none; }

.btn--verde { background: var(--verde); color: var(--creme); }
.btn--verde:hover { box-shadow: 0 12px 24px rgba(6, 36, 33, 0.24); }

.btn--verde-ghost {
  background: transparent;
  color: var(--verde);
  border-color: rgba(6, 36, 33, 0.4);
}

.btn--verde-ghost:hover { background: rgba(6, 36, 33, 0.06); box-shadow: none; }

/* cabeçalho */

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}

.nav.is-scrolled,
.menu-open .nav {
  background: rgba(6, 36, 33, 0.94);
  border-bottom-color: var(--verde-3);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.nav__inner {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  height: var(--header-h);
}

.nav__brand { margin-right: auto; display: block; }
.nav__brand img { width: 152px; }

.nav__links { display: none; }
.nav__cta { display: none; }

.nav__toggle {
  display: grid;
  place-items: center;
  width: var(--ctl-md);
  height: var(--ctl-md);
  background: transparent;
  border: 1px solid var(--verde-3);
  border-radius: var(--r-btn);
  font-size: 1.5rem;
  cursor: pointer;
}

.drawer {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  padding: var(--sp-4) var(--gutter) var(--sp-8);
  background: var(--verde);
  border-bottom: 1px solid var(--verde-3);
}

.drawer[hidden] { display: none; }

.drawer a:not(.btn) {
  display: block;
  padding: var(--sp-4) 0;
  line-height: var(--ctl-line);
  font-size: 1.125rem;
  text-decoration: none;
  border-bottom: 1px solid var(--verde-3);
}

.drawer .btn { margin-top: var(--sp-4); }

@media (min-width: 640px) {
  .nav__cta { display: inline-flex; }
  .nav__brand img { width: 176px; }
}

@media (min-width: 900px) {
  .nav__toggle, .drawer { display: none !important; }
  .nav__links {
    display: flex;
    gap: var(--sp-8);
    margin-right: var(--sp-6);
  }
  .nav__links a {
    position: relative;
    padding: var(--sp-2) 0;
    line-height: var(--ctl-line);
    font-weight: 500;
    text-decoration: none;
    color: var(--creme);
  }
  .nav__links a::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 2px;
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--damasco) 0 6px, transparent 6px 10px);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
  }
  .nav__links a:hover::after { transform: none; }
}

/* topo */

.hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--header-h) + var(--sp-10)) 0 var(--sp-20);
  background:
    radial-gradient(70% 60% at 78% 42%, rgba(31, 86, 78, 0.55) 0%, rgba(6, 36, 33, 0) 70%),
    var(--verde);
}

.hero__grid {
  display: grid;
  gap: var(--sp-16);
  align-items: center;
}

.hero h1 { margin-bottom: var(--sp-6); }
.hero .lead { color: var(--creme-2); }

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  margin-top: var(--sp-8);
}

.hero__fatos {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2) var(--sp-6);
  margin-top: var(--sp-8);
  color: var(--creme);
}

.hero__fatos li {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  line-height: var(--ctl-line);
}

.hero__fatos i { color: var(--damasco); font-size: 1.25rem; }

.hero__art {
  position: relative;
  width: min(100%, 440px);
  margin-inline: auto;
  isolation: isolate;
}

.leque {
  position: absolute;
  left: 50%;
  bottom: 6%;
  width: 136%;
  max-width: none;
  transform: translateX(-50%);
  z-index: -1;
  overflow: visible;
}

.pena {
  transform-box: view-box;
  transform-origin: 300px 500px;
  transform: rotate(var(--a));
}

.leque__haste {
  stroke: var(--damasco);
  stroke-opacity: 0.55;
  stroke-width: 2;
  stroke-dasharray: var(--ponto) var(--vao);
  stroke-linecap: round;
}

.leque__olho {
  fill: none;
  stroke: var(--damasco);
  stroke-opacity: 0.8;
  stroke-width: 2;
  stroke-dasharray: 6 6;
  stroke-linecap: round;
}

.leque__pupila { fill: var(--damasco); fill-opacity: 0.85; }

.arco {
  border-radius: var(--r-arco);
  overflow: hidden;
}

.hero__foto {
  aspect-ratio: 5 / 6;
  box-shadow: var(--sh-2);
}

.hero__foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
}

.hero__selo {
  position: absolute;
  left: var(--sp-4);
  bottom: var(--sp-6);
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-4);
  line-height: var(--ctl-line);
  font-size: 1rem;
  font-weight: 500;
  background: var(--creme);
  color: var(--verde);
  border-radius: var(--r-chip);
  box-shadow: var(--sh-2);
}

.hero__selo i { color: var(--damasco-fundo); font-size: 1.25rem; }

@media (min-width: 900px) {
  .hero {
    min-height: min(100svh, 960px);
    display: flex;
    align-items: center;
    padding-bottom: var(--sp-16);
  }
  .hero__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--sp-16); }
  .hero__art { width: 100%; max-width: 460px; }
  .hero__selo { left: calc(var(--sp-8) * -1); }
}

/* seções */

.sec { padding-block: var(--section-y); position: relative; }
.sec--creme { background: var(--creme); color: var(--verde); }
.sec--papel { background: var(--papel); color: var(--verde); }
.sec--verde { background: var(--verde); color: var(--creme); }
.sec--curta { padding-block: var(--sp-16); }

.sec--creme .ponto,
.sec--papel .ponto { color: var(--verde); }

.sec--creme .ponto::after,
.sec--papel .ponto::after {
  background: repeating-linear-gradient(90deg, var(--damasco-fundo) 0 var(--ponto), transparent var(--ponto) calc(var(--ponto) + var(--vao)));
}

.sec__head { max-width: 760px; margin-bottom: var(--sp-12); }
.sec__head h2 { margin-bottom: var(--sp-4); }
.sec--creme .lead, .sec--papel .lead { color: var(--tinta-2); }
.sec--verde .lead { color: var(--creme-2); }

@media (min-width: 900px) {
  .sec__head { margin-bottom: var(--sp-16); }
}

/* medos */

.medos { display: grid; gap: var(--sp-4); }

.medo {
  padding: var(--sp-8) var(--sp-6);
  background: var(--papel);
  border-radius: var(--r-card);
  outline: 1.5px dashed rgba(184, 114, 42, 0.5);
  outline-offset: -12px;
  box-shadow: var(--sh-1);
}

.medo__q {
  margin-bottom: var(--sp-4);
  font-family: var(--f-display);
  font-weight: 400;
  font-size: var(--fs-h3);
  line-height: 1.15;
}

.medo p { color: var(--tinta-2); max-width: 46ch; }

@media (min-width: 640px) {
  .medos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-6); }
  .medo { padding: var(--sp-10); }
}

/* mapa da peça */

.mapa__tabs {
  display: flex;
  gap: var(--sp-2);
  margin-bottom: var(--sp-8);
  overflow-x: auto;
  scrollbar-width: none;
}

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

.mapa__tabs [role="tab"] {
  flex: none;
  padding: var(--sp-3) var(--sp-6);
  min-height: var(--ctl-md);
  line-height: var(--ctl-line);
  font-weight: 600;
  background: transparent;
  border: 1px solid var(--verde-3);
  border-radius: var(--r-btn);
  color: var(--creme);
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.mapa__tabs [role="tab"]:hover { border-color: var(--damasco); }

.mapa__tabs [aria-selected="true"] {
  background: var(--damasco);
  border-color: var(--damasco);
  color: var(--verde);
}

html:not(.js) .mapa__tabs { display: none; }

.peca { display: grid; gap: var(--sp-8); align-items: center; }
.peca[hidden] { display: none; }
html:not(.js) .peca + .peca { margin-top: var(--sp-16); }

.peca__nome {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: var(--fs-h3);
  line-height: 1.15;
}

.js .peca__nome {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.peca__fig {
  position: relative;
  width: min(100%, 320px);
  margin-inline: auto;
  aspect-ratio: 3 / 4;
}

.peca__fig svg { width: 100%; height: 100%; overflow: visible; }

.molde {
  fill: rgba(244, 234, 220, 0.04);
  stroke: var(--creme);
  stroke-width: 1.6;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.pesponto {
  fill: none;
  stroke: var(--damasco);
  stroke-width: 1.6;
  stroke-dasharray: 6 5;
  stroke-linecap: round;
}

.ponto-alvo {
  position: absolute;
  left: calc(var(--x) - 22px);
  top: calc(var(--y) - 22px);
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

.ponto-alvo::before,
.ponto-alvo::after {
  content: '';
  position: absolute;
  inset: 0;
  margin: auto;
  border-radius: 50%;
}

.ponto-alvo::before {
  width: 16px;
  height: 16px;
  background: var(--damasco);
  box-shadow: 0 0 0 4px rgba(253, 177, 98, 0.25);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ponto-alvo::after {
  width: 16px;
  height: 16px;
  border: 1.5px solid var(--damasco);
  animation: pulso 2.4s ease-out infinite;
}

.ponto-alvo:hover::before { transform: scale(1.2); }

.ponto-alvo.is-active::before {
  transform: scale(1.25);
  background: var(--creme);
  box-shadow: 0 0 0 6px rgba(253, 177, 98, 0.9);
}

.ponto-alvo.is-active::after { animation: none; opacity: 0; }

html:not(.js) .ponto-alvo { display: none; }

@keyframes pulso {
  0% { transform: scale(1); opacity: 0.9; }
  70%, 100% { transform: scale(2.6); opacity: 0; }
}

.peca__chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin-bottom: var(--sp-4);
}

.chip {
  position: relative;
  padding: var(--sp-2) var(--sp-4);
  min-height: var(--ctl-sm);
  line-height: var(--ctl-line);
  font-size: 1rem;
  font-weight: 500;
  background: transparent;
  border: 1px solid var(--verde-3);
  border-radius: var(--r-btn);
  color: var(--creme-2);
  cursor: pointer;
}

.chip::after { content: ''; position: absolute; inset: -2px 0; }

.chip[aria-pressed="true"] {
  background: var(--verde-2);
  border-color: var(--damasco);
  color: var(--creme);
}

.peca__lista { display: grid; gap: var(--sp-4); }
.peca__painel { min-width: 0; }

.info {
  padding: var(--sp-6);
  background: var(--verde-2);
  border-radius: var(--r-card);
  border: 1px solid var(--verde-3);
}

.js .info { display: none; }
.js .info.is-active { display: block; }

.info h4 {
  margin-bottom: var(--sp-4);
  font-family: var(--f-display);
  font-weight: 400;
  font-size: var(--fs-h3);
  line-height: 1.15;
}

.info p { color: var(--creme-2); max-width: 52ch; }
.info p + p { margin-top: var(--sp-4); }

.info strong {
  display: block;
  margin-bottom: var(--sp-1);
  font-size: var(--fs-tag);
  line-height: var(--ctl-line);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--damasco);
}

@media (min-width: 640px) {
  .info { padding: var(--sp-8); }
  html:not(.js) .peca__lista { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 900px) {
  .peca { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--sp-16); }
  .peca__fig { width: min(100%, 380px); }
}

/* caminho da peça */

.caminho { overflow: hidden; }

.caminho__viewport {
  position: relative;
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.caminho__track { display: grid; gap: var(--sp-6); }

.caminho__intro h2 { margin-bottom: var(--sp-8); }

.caminho__foto {
  width: min(72%, 300px);
  aspect-ratio: 782 / 968;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: var(--sh-1);
}

.caminho__foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
}

.etapa {
  position: relative;
  padding: var(--sp-8) var(--sp-6);
  background: var(--papel);
  border-radius: var(--r-card);
  box-shadow: var(--sh-1);
}

.etapa::before {
  content: '';
  position: absolute;
  left: var(--sp-10);
  top: calc(var(--sp-6) * -1);
  width: 2px;
  height: var(--sp-6);
  background: repeating-linear-gradient(180deg, var(--damasco-fundo) 0 6px, transparent 6px 10px);
  transform-origin: top;
  transform: scaleY(var(--fio, 1));
}

.etapa__n {
  display: block;
  font-family: var(--f-body);
  letter-spacing: -0.04em;
  font-size: 3.5rem;
  line-height: 1;
  color: var(--damasco-fundo);
}

.etapa__i {
  position: absolute;
  top: var(--sp-8);
  right: var(--sp-6);
  font-size: 2rem;
  color: var(--tinta-2);
}

.etapa h3 {
  margin: var(--sp-6) 0 var(--sp-3);
  font-size: 1.375rem;
  line-height: 32px;
  font-weight: 600;
}

.etapa p { color: var(--tinta-2); }

.caminho__linha { display: none; }

@media (min-width: 640px) {
  .caminho__track { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .caminho__intro { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr auto; gap: var(--sp-8); align-items: end; }
  .caminho__intro .eyebrow, .caminho__intro h2 { grid-column: 1; }
  .caminho__intro h2 { margin-bottom: 0; }
  .caminho__foto { grid-column: 2; grid-row: 1 / span 2; width: 220px; }
  .etapa::before { display: none; }
  .etapa { padding: var(--sp-10) var(--sp-8); }
}

@media (min-width: 900px) {
  .caminho.is-pinned { padding-block: 0; }

  .caminho.is-pinned .caminho__viewport {
    max-width: none;
    height: 100vh;
    padding-inline: 0;
    display: flex;
    align-items: center;
  }

  .caminho.is-pinned .caminho__track {
    display: flex;
    gap: var(--sp-8);
    align-items: stretch;
    padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2));
    position: relative;
    z-index: 1;
  }

  .caminho.is-pinned .caminho__intro {
    flex: none;
    width: 460px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0;
  }

  .caminho.is-pinned .caminho__intro h2 { margin-bottom: var(--sp-8); }
  .caminho.is-pinned .caminho__foto { width: 240px; }

  .caminho.is-pinned .etapa {
    flex: none;
    width: 360px;
    min-height: 440px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
  }

  .caminho.is-pinned .etapa__n {
    position: absolute;
    top: var(--sp-8);
    left: var(--sp-8);
    font-size: 4.5rem;
  }

  .caminho.is-pinned .etapa__i { right: var(--sp-8); }

  .caminho.is-pinned .caminho__linha {
    display: block;
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 2px;
    overflow: visible;
    transform-origin: left center;
    transform: scaleX(var(--progresso, 0));
  }

  .caminho__linha line {
    stroke: var(--damasco-fundo);
    stroke-width: 2;
    stroke-dasharray: 10 8;
    stroke-linecap: round;
    vector-effect: non-scaling-stroke;
  }
}

/* história */

.historia__grid { display: grid; gap: var(--sp-12); align-items: center; }

.historia__foto {
  width: min(100%, 440px);
  margin-inline: auto;
  aspect-ratio: 5 / 6;
}

.historia__foto img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }

.historia__frase {
  margin-bottom: var(--sp-8);
  font-family: var(--f-display);
  font-size: clamp(2rem, 1.4rem + 2.6vw, 3.25rem);
  line-height: 1.15;
  text-wrap: balance;
}

.historia__frase p + p { margin-top: var(--sp-4); }
.historia__l2 { color: var(--creme-2); }

.historia__l3 {
  font-family: var(--f-body);
  font-size: var(--fs-lead);
  line-height: 32px;
  color: var(--creme-2);
  max-width: 44ch;
}

.historia__frase mark {
  display: block;
  margin-top: var(--sp-2);
  background: none;
  color: var(--damasco);
  font-family: var(--f-display);
  font-size: clamp(2rem, 1.4rem + 2.6vw, 3.25rem);
  line-height: 1.15;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.historia__texto > p:not(.eyebrow):not(.historia__assina) { color: var(--creme-2); max-width: 56ch; }
.historia__texto > p + p { margin-top: var(--sp-4); }

.historia__assina {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-top: var(--sp-8) !important;
  font-weight: 600;
}

.historia__assina img { width: 32px; height: 32px; object-fit: contain; }

@media (min-width: 900px) {
  .historia__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--sp-16); }
}

/* retirada e entrega */

.entrega {
  display: grid;
  gap: var(--sp-6);
  padding: var(--sp-8) var(--sp-6);
  background: var(--papel);
  border-radius: var(--r-card);
  box-shadow: var(--sh-1);
  justify-items: start;
}

.entrega__i {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  font-size: 2rem;
  color: var(--damasco-fundo);
  background: var(--creme);
  border-radius: 50%;
  outline: 1.5px dashed rgba(184, 114, 42, 0.6);
  outline-offset: -8px;
}

.entrega h2 { font-size: var(--fs-h3); line-height: 1.15; margin-bottom: var(--sp-3); }
.entrega p { color: var(--tinta-2); max-width: 60ch; }

@media (min-width: 900px) {
  .entrega {
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: var(--sp-8);
    padding: var(--sp-10) var(--sp-12);
  }
}

/* empresas */

.empresas__grid { display: grid; gap: var(--sp-12); align-items: center; }
.empresas h2 { margin-bottom: var(--sp-8); }

.lista-ponto { display: grid; gap: var(--sp-4); margin-bottom: var(--sp-10); }

.lista-ponto li {
  position: relative;
  padding-left: var(--sp-8);
  color: var(--creme-2);
  max-width: 52ch;
}

.lista-ponto li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 13px;
  width: 18px;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--damasco) 0 6px, transparent 6px 12px);
}

.empresas__foto {
  border-radius: var(--r-card);
  overflow: hidden;
  outline: 1.5px dashed rgba(244, 234, 220, 0.5);
  outline-offset: -12px;
  box-shadow: var(--sh-2);
}

.empresas__foto img { width: 100%; }

@media (min-width: 900px) {
  .empresas__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: var(--sp-16); }
}

/* avaliações */

.aval { display: grid; gap: var(--sp-6); align-items: center; justify-items: start; }

.aval__n {
  font-family: var(--f-body);
  font-weight: 400;
  letter-spacing: -0.05em;
  font-size: clamp(5rem, 3rem + 8vw, 8.5rem);
  line-height: 1;
  color: var(--verde);
}

.aval__estrelas { display: flex; gap: var(--sp-1); color: var(--damasco-fundo); font-size: 1.25rem; margin-bottom: var(--sp-2); }
.aval h2 { font-size: var(--fs-h3); line-height: 1.15; margin-bottom: var(--sp-2); }
.aval p { color: var(--tinta-2); }

@media (min-width: 900px) {
  .aval { grid-template-columns: auto minmax(0, 1fr) auto; gap: var(--sp-12); }
}

/* dúvidas */

.duvidas { display: grid; gap: 0; }

.faq { max-width: 800px; border-top: 1px solid rgba(6, 36, 33, 0.15); }

.faq details { border-bottom: 1px solid rgba(6, 36, 33, 0.15); }

.faq summary {
  position: relative;
  display: block;
  padding: var(--sp-4) var(--sp-12) var(--sp-4) 0;
  line-height: var(--ctl-line);
  font-size: 1.125rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

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

.faq summary::before,
.faq summary::after {
  content: '';
  position: absolute;
  right: var(--sp-2);
  top: 50%;
  width: 16px;
  height: 2px;
  background: var(--damasco-fundo);
  transition: transform 0.3s ease;
}

.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0deg); }

.faq details p { padding-bottom: var(--sp-6); color: var(--tinta-2); max-width: 62ch; }

@media (min-width: 900px) {
  .duvidas { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: var(--sp-16); align-items: start; }
}

/* fecho */

.fecho { overflow: hidden; text-align: center; }

.fecho__simbolo {
  position: absolute;
  right: -48px;
  bottom: -32px;
  width: 280px;
  opacity: 0.08;
  pointer-events: none;
}

.fecho__inner { position: relative; display: grid; justify-items: center; gap: var(--sp-6); }
.fecho h2 { max-width: 18ch; }
.fecho .lead { color: var(--creme-2); margin-bottom: var(--sp-2); }
.fecho__nota { font-size: var(--fs-meta); color: var(--creme-2); letter-spacing: 0.04em; }

@media (min-width: 900px) {
  .fecho__simbolo { width: 420px; right: 4%; bottom: -64px; }
}

/* rodapé */

.footer {
  padding: var(--sp-12) 0 calc(var(--sp-24) + env(safe-area-inset-bottom));
  background: var(--verde-0);
  color: var(--creme-2);
  border-top: 1px solid var(--verde-3);
}

.footer__inner { display: grid; gap: var(--sp-8); }
.footer__marca img { width: 176px; margin-bottom: var(--sp-3); }
.footer__marca p { font-family: var(--f-display); font-size: 1.375rem; color: var(--creme); }

.footer__links { display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-6); }

.footer__links a {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-2) 0;
  line-height: var(--ctl-line);
  text-decoration: none;
}

.footer__links a:hover { color: var(--damasco); }
.footer__links a[hidden] { display: none; }
.footer__legal { font-size: var(--fs-meta); }

@media (min-width: 900px) {
  .footer { padding-bottom: var(--sp-12); }
  .footer__inner { grid-template-columns: auto 1fr; align-items: center; }
  .footer__links { justify-content: flex-end; }
  .footer__legal { grid-column: 1 / -1; padding-top: var(--sp-6); border-top: 1px solid var(--verde-3); }
}

/* WhatsApp flutuante */

.wa-dock {
  position: fixed;
  right: var(--sp-4);
  bottom: calc(var(--sp-4) + env(safe-area-inset-bottom));
  z-index: 40;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  width: var(--ctl-lg);
  height: var(--ctl-lg);
  background: var(--damasco);
  color: var(--verde);
  border-radius: var(--r-btn);
  box-shadow: var(--sh-2);
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.wa-dock i { font-size: 1.75rem; }
.wa-dock span { display: none; }

.wa-dock.is-hidden { transform: translateY(140%); opacity: 0; pointer-events: none; }

@media (min-width: 640px) {
  .wa-dock { width: auto; padding: var(--sp-4) var(--sp-6); line-height: var(--ctl-line); right: var(--sp-6); bottom: var(--sp-6); }
  .wa-dock i { font-size: 1.5rem; }
  .wa-dock span { display: inline; }
}

/* costura lateral (≥ 1360px, ligada pelo JS) */

.costura { display: none; }

.costura-on .costura {
  display: block;
  position: fixed;
  top: 0;
  bottom: 0;
  left: calc((100vw - var(--container)) / 4);
  z-index: 30;
  width: 2px;
  pointer-events: none;
}

.costura__fio {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(180deg, var(--damasco-fundo) 0 var(--ponto), transparent var(--ponto) calc(var(--ponto) + var(--vao)));
  transform-origin: top;
  transform: scaleY(var(--p, 0));
}

.costura__agulha {
  position: absolute;
  left: -19px;
  top: calc(var(--p, 0) * 100% - 20px);
  width: 40px;
  height: 40px;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.25));
}

/* entrada */

.js-anim .hero__copy > *,
.js-anim .hero__foto,
.js-anim .hero__selo,
.js-anim .leque { opacity: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .js .ponto::after { transform: none; }
  .ponto-alvo::after { display: none; }
  .costura { display: none !important; }
}
