/* Kátia Feitosa Acessórios — site (etapa 1). Tokens em tokens.css. */

@font-face { font-family: "Bodoni Moda"; src: url("../fonts/bodoni-moda.woff2") format("woff2"); font-weight: 400 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Bodoni Moda"; src: url("../fonts/bodoni-moda-italic.woff2") format("woff2"); font-weight: 400 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Jost"; src: url("../fonts/jost.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0; background: var(--kf-creme); color: var(--kf-tinta);
  font-family: var(--kf-sans); font-size: var(--kf-t-base); line-height: 1.6; font-weight: 400;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip;
}
/* grão de papel, 4% */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: 0.05; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.12 0 0 0 0 0.17 0 0 0 0 0.15 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, figure, ol, ul { margin: 0; }
em { font-style: italic; }
:focus-visible { outline: 2px solid var(--kf-salvia-funda); outline-offset: 3px; border-radius: 2px; }
.vitrine :focus-visible, .final :focus-visible, .rodape :focus-visible { outline-color: var(--kf-creme); }
[class*="mono"] { fill: currentColor; }

.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--kf-tinta); color: var(--kf-creme); padding: 0.75rem 1rem; }
.skip:focus { top: 1rem; }

/* ícones */
.ico { width: 20px; height: 20px; flex: none; fill: currentColor; }

/* faixa que corre */
.ticker { background: var(--kf-salvia-funda); color: var(--kf-creme); overflow: hidden; height: 36px; display: flex; align-items: center; }
.ticker__track { display: flex; width: max-content; animation: kf-ticker 48s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__group { display: flex; font-size: var(--kf-t-xs); letter-spacing: 0.22em; text-transform: uppercase; white-space: nowrap; }
.ticker__group span { display: inline-flex; align-items: center; }
.ticker__group span::after { content: ""; width: 6px; height: 6px; margin: 0 2.25rem; background: var(--kf-dourado-claro); transform: rotate(45deg); }
@keyframes kf-ticker { to { transform: translateX(-50%); } }

/* topo */
.topo {
  position: sticky; top: 0; z-index: 50; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: var(--kf-s3);
  padding: 0.75rem var(--kf-margem); background: rgba(245, 240, 231, 0.9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent; transition: border-color var(--kf-d2) var(--kf-ease), box-shadow var(--kf-d2) var(--kf-ease);
}
.topo.is-rolado { border-bottom-color: rgba(30, 43, 39, 0.1); box-shadow: 0 10px 30px -24px rgba(30, 43, 39, 0.5); }
.marca { display: inline-flex; align-items: center; gap: 0.75rem; text-decoration: none; color: var(--kf-salvia-funda); min-height: 48px; justify-self: start; }
.marca__mono { width: 30px; height: 35px; }
.marca__nome { font-family: var(--kf-serif); font-size: 0.95rem; letter-spacing: 0.16em; text-transform: uppercase; line-height: 1.1; font-weight: 500; }
.marca__nome small { display: block; font-family: var(--kf-sans); font-size: 0.66rem; letter-spacing: 0.5em; text-transform: lowercase; font-weight: 400; color: var(--kf-cinza); margin-top: 3px; }
.menu { display: flex; gap: var(--kf-s4); }
.menu a, .link-seta, .rodape a {
  text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size var(--kf-d2) var(--kf-ease), color var(--kf-d1);
}
.menu a { font-size: var(--kf-t-sm); letter-spacing: 0.04em; padding: 0.75rem 0; }
.menu a:hover, .menu a:focus-visible, .rodape a:hover { background-size: 100% 1px; }
.topo .btn--mini { justify-self: end; }

/* botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.625rem; min-height: 52px; padding: 0 1.6rem;
  border-radius: 999px; border: 0; text-decoration: none; font-family: var(--kf-sans); font-size: var(--kf-t-sm); font-weight: 500; letter-spacing: 0.04em;
  cursor: pointer; transition: transform var(--kf-d1) var(--kf-ease), background-color var(--kf-d1), box-shadow var(--kf-d2) var(--kf-ease), color var(--kf-d1);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn--principal { background: var(--kf-terracota); color: var(--kf-branco); box-shadow: 0 14px 30px -18px rgba(134, 54, 31, 0.9); }
.btn--principal:hover { background: var(--kf-terracota-funda); box-shadow: 0 20px 36px -18px rgba(134, 54, 31, 0.95); }
.btn--mini { min-height: 44px; padding: 0 1.15rem; background: var(--kf-salvia-funda); color: var(--kf-creme); }
.btn--mini:hover { background: var(--kf-tinta); }
.btn--claro { background: var(--kf-creme); color: var(--kf-salvia-funda); }
.btn--claro:hover { background: var(--kf-branco); }
.btn--escuro { background: var(--kf-salvia-funda); color: var(--kf-creme); }
.btn--escuro:hover { background: var(--kf-tinta); }
.btn--grande { min-height: 64px; padding: 0 2.25rem; font-size: var(--kf-t-lg); }
.link-seta { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 44px; font-weight: 500; letter-spacing: 0.04em; color: var(--kf-salvia-funda); background-size: 100% 1px; }
.link-seta span { transition: transform var(--kf-d2) var(--kf-ease); }
.link-seta:hover span { transform: translateX(6px); }
.link-seta:hover { color: var(--kf-terracota); }

/* textos comuns */
.kicker { display: inline-flex; align-items: center; gap: 0.875rem; font-size: var(--kf-t-xs); letter-spacing: var(--kf-track-caps); text-transform: uppercase; color: var(--kf-cinza); font-weight: 500; }
.kicker::before { content: ""; width: 28px; height: 1px; background: var(--kf-dourado); }
.kicker--claro { color: var(--kf-salvia-clara); }
.kicker--claro::before { background: var(--kf-dourado-claro); }
.titulo-2 { font-family: var(--kf-serif); font-weight: 400; font-size: var(--kf-t-h2); line-height: 1.02; letter-spacing: -0.018em; margin: 1.1rem 0 1.4rem; color: var(--kf-salvia-funda); text-wrap: balance; }
.titulo-2 em { color: var(--kf-terracota); }
section p:not(.kicker):not(.fig__leg) { max-width: 36rem; }

/* 1. hero */
.hero {
  position: relative; isolation: isolate; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: center;
  min-height: calc(100svh - 108px); padding: clamp(1.5rem, 3vw, 3rem) var(--kf-margem) clamp(4rem, 7vw, 6rem); overflow: clip;
}
.hero__marca-dagua { position: absolute; z-index: -1; width: min(52vw, 720px); height: auto; aspect-ratio: 272 / 320; right: 30%; top: -6%; color: var(--kf-salvia-clara); fill: currentColor; opacity: 0.6; }
.hero__texto { grid-column: 1 / span 7; position: relative; }
.hero__titulo { font-family: var(--kf-serif); font-weight: 400; font-size: var(--kf-t-h1); line-height: 0.94; letter-spacing: -0.03em; color: var(--kf-salvia-funda); margin: 1.4rem 0 1.6rem; }
.hero__titulo .linha { display: block; overflow: hidden; padding-bottom: 0.06em; }
.hero__titulo .linha > span { display: inline-block; }
.hero__titulo em { color: var(--kf-terracota); }
.hero__onde { display: block; font-family: var(--kf-sans); font-size: clamp(0.85rem, 0.8rem + 0.3vw, 1.05rem); letter-spacing: 0.34em; text-transform: uppercase; color: var(--kf-cinza); font-weight: 500; margin-top: 1.25rem; }
.hero__lead { font-size: var(--kf-t-lg); line-height: 1.55; color: var(--kf-tinta); max-width: 33rem; }
.hero__lead strong { font-weight: 500; color: var(--kf-salvia-funda); }
.hero__acoes { display: flex; flex-wrap: wrap; align-items: center; gap: var(--kf-s2) var(--kf-s4); margin-top: var(--kf-s4); }
.hero__prova { margin-top: var(--kf-s4); font-size: var(--kf-t-sm); color: var(--kf-cinza); }
.hero__prova a { text-decoration: none; display: inline-flex; align-items: center; gap: 0.6rem; min-height: 44px; }
.hero__prova a::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--kf-salvia); box-shadow: 0 0 0 4px var(--kf-salvia-clara); }
.hero__prova a:hover { color: var(--kf-salvia-funda); }
.hero__visual { grid-column: 8 / -1; position: relative; width: 100%; max-width: 460px; justify-self: end; margin-right: 4%; }
.hero__arco-fundo { position: absolute; inset: 7% -9% -5% 14%; background: var(--kf-salvia); border-radius: var(--kf-raio-arco); transform-origin: 50% 100%; }
.hero__foto { position: relative; width: 88%; aspect-ratio: 3 / 4; border-radius: var(--kf-raio-arco); overflow: hidden; box-shadow: var(--kf-sombra); }
.hero__foto img { width: 100%; height: 100%; object-fit: cover; }
.hero__still { position: absolute; width: 42%; aspect-ratio: 3 / 4; left: -16%; bottom: -9%; border-radius: 999px; overflow: hidden; border: 6px solid var(--kf-creme); box-shadow: var(--kf-sombra); }
.hero__still img { width: 100%; height: 100%; object-fit: cover; }
.selo { position: absolute; top: -5%; right: -6%; width: 128px; height: 128px; border-radius: 50%; background: var(--kf-creme); color: var(--kf-salvia-funda); display: grid; place-items: center; box-shadow: 0 16px 40px -24px rgba(30, 43, 39, 0.55); }
.selo__texto { position: absolute; inset: 0; width: 100%; height: 100%; font-family: var(--kf-sans); font-size: 12.6px; letter-spacing: 0.2em; font-weight: 500; fill: var(--kf-salvia-funda); animation: kf-gira 30s linear infinite; }
.selo__mono { width: 32px; height: 38px; }
@keyframes kf-gira { to { transform: rotate(360deg); } }

/* entrada do hero */
@keyframes kf-sobe { from { transform: translateY(108%); } to { transform: none; } }
@keyframes kf-aparece { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes kf-cortina { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes kf-zoom { from { transform: scale(1.14); } to { transform: scale(1); } }
@keyframes kf-cresce { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.hero__titulo .linha > span { animation: kf-sobe var(--kf-d3) var(--kf-ease) both; }
.hero__titulo .linha:nth-child(1) > span { animation-delay: 0.12s; }
.hero__titulo .linha:nth-child(2) > span { animation-delay: 0.2s; }
.hero__titulo .linha:nth-child(3) > span { animation-delay: 0.28s; }
.hero .kicker { animation: kf-aparece var(--kf-d2) var(--kf-ease) both; }
.hero__onde { animation: kf-aparece var(--kf-d2) var(--kf-ease) 0.42s both; }
.hero__lead { animation: kf-aparece var(--kf-d2) var(--kf-ease) 0.5s both; }
.hero__acoes { animation: kf-aparece var(--kf-d2) var(--kf-ease) 0.58s both; }
.hero__prova { animation: kf-aparece var(--kf-d2) var(--kf-ease) 0.66s both; }
.hero__arco-fundo { animation: kf-cresce 1.2s var(--kf-ease) 0.1s both; }
.hero__foto { animation: kf-cortina 1.2s var(--kf-ease-in-out) 0.2s both; }
.hero__foto img { animation: kf-zoom 1.9s var(--kf-ease) 0.2s both; }
.hero__still { animation: kf-aparece 0.9s var(--kf-ease) 0.75s both; }
.selo { animation: kf-aparece 0.9s var(--kf-ease) 0.9s both; }

/* 2. peças */
.pecas { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; padding: var(--kf-s16) var(--kf-margem); background: var(--kf-papel); border-top: 1px solid rgba(30, 43, 39, 0.08); }
.pecas__intro { grid-column: 1 / span 4; align-self: start; position: sticky; top: 120px; }
.pecas__intro p:last-child { color: var(--kf-cinza); }
.pecas__lista { grid-column: 6 / -1; list-style: none; padding: 0; border-top: 1px solid rgba(30, 43, 39, 0.14); }
.peca a { position: relative; display: grid; grid-template-columns: 3.5rem 1fr auto; column-gap: 1rem; align-items: baseline; padding: 1.9rem 0 1.7rem; text-decoration: none; color: var(--kf-tinta); border-bottom: 1px solid rgba(30, 43, 39, 0.14); }
.peca a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--kf-terracota); transform: scaleX(0); transform-origin: 0 50%; transition: transform var(--kf-d2) var(--kf-ease); }
.peca a:hover::after, .peca a:focus-visible::after { transform: scaleX(1); }
.peca__num { font-size: var(--kf-t-xs); letter-spacing: 0.2em; color: var(--kf-cinza); }
.peca__nome { font-family: var(--kf-serif); font-size: clamp(2.6rem, 1.4rem + 4.4vw, 6rem); line-height: 1; letter-spacing: -0.02em; color: var(--kf-salvia-funda); transition: transform var(--kf-d2) var(--kf-ease), color var(--kf-d1); }
.peca a:hover .peca__nome, .peca a:focus-visible .peca__nome { transform: translateX(14px); color: var(--kf-terracota); }
.peca__desc { grid-column: 2; font-size: var(--kf-t-sm); color: var(--kf-cinza); max-width: 30ch; margin-top: 0.6rem; }
.peca__thumb { grid-column: 3; grid-row: 1 / span 2; align-self: center; width: 72px; height: 96px; object-fit: cover; border-radius: 999px; }
.pecas__flutua { position: absolute; left: 0; top: 0; z-index: 3; width: 210px; aspect-ratio: 3 / 4; border-radius: var(--kf-raio-arco); overflow: hidden; pointer-events: none; opacity: 0; box-shadow: var(--kf-sombra); transition: opacity var(--kf-d1) var(--kf-ease); display: none; }
.pecas__flutua img { width: 100%; height: 100%; object-fit: cover; }
@media (hover: hover) and (min-width: 1024px) {
  .peca__thumb { width: 84px; height: 112px; transition: transform var(--kf-d2) var(--kf-ease); }
  .peca a:hover .peca__thumb { transform: rotate(-4deg) scale(1.04); }
  .js .pecas__flutua { display: block; }
  .pecas__flutua.is-on { opacity: 1; }
}

/* 3. vitrine */
.vitrine { position: relative; background: var(--kf-salvia-funda); color: var(--kf-creme); overflow: hidden; }
.vitrine__fixa { display: flex; align-items: center; gap: var(--kf-s6); min-height: 100svh; padding: var(--kf-s12) 0 var(--kf-s12) var(--kf-margem); }
.vitrine__cabeca { flex: 0 0 min(30vw, 400px); }
.vitrine .titulo-2 { color: var(--kf-creme); font-size: clamp(2.4rem, 1.4rem + 2.6vw, 4.25rem); }
@media (min-width: 901px) {
  .vitrine__cabeca { position: relative; z-index: 2; align-self: stretch; display: flex; flex-direction: column; justify-content: center; flex-basis: calc(min(30vw, 420px) + var(--kf-margem)); margin-left: calc(-1 * var(--kf-margem)); padding: 0 2.5rem 0 var(--kf-margem); background: var(--kf-salvia-funda); box-shadow: 48px 0 48px -24px var(--kf-salvia-funda); }
}
.vitrine .titulo-2 em { color: var(--kf-dourado-claro); }
.vitrine__cabeca p:not(.kicker) { color: var(--kf-salvia-clara); }
.vitrine__progresso { width: 160px; height: 2px; margin-top: var(--kf-s4); background: rgba(245, 240, 231, 0.2); }
.vitrine__progresso span { display: block; height: 100%; background: var(--kf-dourado-claro); transform: scaleX(var(--p, 0.04)); transform-origin: 0 50%; }
.vitrine__trilho { display: flex; align-items: flex-start; gap: 2.5rem; list-style: none; margin: 0; padding: 1rem var(--kf-margem) 2rem 0.5rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--kf-dourado-claro) transparent; }
.vitrine--fixa .vitrine__trilho { overflow: visible; scroll-snap-type: none; }
.fig { flex: 0 0 clamp(240px, 23vw, 330px); scroll-snap-align: start; }
.fig--baixa { margin-top: 5rem; }
.fig__img { overflow: hidden; border-radius: var(--kf-raio); aspect-ratio: 3 / 4; box-shadow: 0 30px 60px -36px rgba(0, 0, 0, 0.6); }
.fig--arco .fig__img { border-radius: var(--kf-raio-arco); }
.fig__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--kf-ease); }
.fig:hover .fig__img img { transform: scale(1.03); }
.fig__leg { margin-top: 1rem; font-size: var(--kf-t-sm); color: var(--kf-salvia-clara); line-height: 1.45; }
.fig__leg span { display: block; font-family: var(--kf-serif); font-style: italic; font-size: 1.25rem; color: var(--kf-creme); margin-bottom: 0.2rem; }
.fig__cta { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 44px; color: var(--kf-creme); text-decoration: none; font-weight: 500; letter-spacing: 0.04em; border-bottom: 1px solid rgba(245, 240, 231, 0.4); transition: border-color var(--kf-d1), color var(--kf-d1); }
.fig__cta span { transition: transform var(--kf-d2) var(--kf-ease); }
.fig__cta:hover { border-color: var(--kf-dourado-claro); }
.fig__cta:hover span { transform: translateX(6px); }
.fig--fim { align-self: center; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.5rem; aspect-ratio: 3 / 4; padding: 2rem; text-align: center; border: 1px solid rgba(245, 240, 231, 0.28); border-radius: var(--kf-raio-arco); }
.fig__fim-titulo { font-family: var(--kf-serif); font-size: 2.1rem; line-height: 1.1; }
.fig__fim-titulo em { color: var(--kf-dourado-claro); }

/* 4. no corpo */
.corpo { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: center; padding: var(--kf-s16) var(--kf-margem); }
.corpo__fotos { grid-column: 1 / span 7; position: relative; height: clamp(540px, 50vw, 760px); }
.corpo__f { position: absolute; overflow: hidden; box-shadow: var(--kf-sombra); }
.corpo__f img { width: 100%; height: 100%; object-fit: cover; }
.corpo__f--a { left: 0; top: 0; width: 52%; aspect-ratio: 3 / 4; border-radius: var(--kf-raio); }
.corpo__f--b { right: 2%; top: 10%; width: 33%; aspect-ratio: 4 / 5; border: 10px solid var(--kf-papel); border-radius: var(--kf-raio); }
.corpo__f--c { left: 40%; bottom: 0; width: 30%; aspect-ratio: 3 / 4; border-radius: var(--kf-raio-arco); }
.corpo__texto { grid-column: 9 / -1; }
.corpo__texto p:not(.kicker) { color: var(--kf-tinta); margin-bottom: var(--kf-s3); }

/* 5. garantia */
.garantia { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: center; padding: var(--kf-s16) var(--kf-margem); background: var(--kf-salvia); color: var(--kf-tinta); }
.garantia__padrao { position: absolute; inset: 0; z-index: -1; background: url("../img/monograma-padrao.svg") 0 0 / 160px 200px repeat; opacity: 0.16; -webkit-mask-image: linear-gradient(100deg, #000 0%, #000 30%, transparent 62%); mask-image: linear-gradient(100deg, #000 0%, #000 30%, transparent 62%); }
.garantia__num { grid-column: 1 / span 6; display: flex; align-items: baseline; font-family: var(--kf-serif); color: var(--kf-salvia-funda); line-height: 0.8; }
.garantia__num span { font-size: clamp(11rem, 5rem + 22vw, 24rem); letter-spacing: -0.05em; }
.garantia__num em { font-size: clamp(3rem, 1.8rem + 4.4vw, 6.5rem); color: var(--kf-tinta); margin-left: 0.12em; }
.garantia__texto { grid-column: 7 / -1; }
.garantia .kicker { color: var(--kf-tinta); }
.garantia .kicker::before { background: var(--kf-salvia-funda); }
.garantia .titulo-2 { color: var(--kf-tinta); }
.garantia .titulo-2 em { color: var(--kf-salvia-funda); }
.num-reto { font-style: normal; }
.garantia__texto p:not(.kicker) { margin-bottom: var(--kf-s4); }

/* 6. como comprar */
.comprar { padding: var(--kf-s16) var(--kf-margem); background: var(--kf-papel); }
.comprar__cabeca .titulo-2 { max-width: 16ch; }
.passos { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--kf-s6); list-style: none; padding: var(--kf-s6) 0 0; margin-top: var(--kf-s6); }
.passos::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--kf-dourado); transform-origin: 0 50%; }
.passo__num { display: block; font-family: var(--kf-serif); font-style: italic; font-size: 3.4rem; line-height: 1; color: var(--kf-terracota); }
.passo h3 { font-family: var(--kf-serif); font-weight: 500; font-size: var(--kf-t-h3); line-height: 1.1; color: var(--kf-salvia-funda); margin: 1rem 0 0.6rem; }
.passo p { color: var(--kf-cinza); }
.passo a { color: var(--kf-salvia-funda); text-underline-offset: 3px; }
.loja { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: var(--kf-s4); margin-top: var(--kf-s12); padding: 2rem 2.5rem; background: var(--kf-creme); border: 1px solid rgba(30, 43, 39, 0.12); border-radius: var(--kf-raio); }
.loja__mono { width: 48px; height: 56px; color: var(--kf-salvia); }
.loja__titulo { font-family: var(--kf-serif); font-size: var(--kf-t-h3); color: var(--kf-salvia-funda); line-height: 1.15; margin-bottom: 0.3rem; }
.loja p:not(.loja__titulo) { color: var(--kf-cinza); }
.loja a:not(.btn) { color: var(--kf-salvia-funda); white-space: nowrap; }

/* 7. momento tipográfico */
.frase { position: relative; overflow: hidden; padding: var(--kf-s20) var(--kf-margem); background: var(--kf-creme); }
.frase__mono { position: absolute; right: -4vw; top: 50%; width: min(46vw, 620px); height: auto; aspect-ratio: 272 / 320; transform: translateY(-50%); color: var(--kf-salvia-clara); opacity: 0.75; }
.frase__texto { position: relative; font-family: var(--kf-serif); font-size: var(--kf-t-giga); line-height: 0.98; letter-spacing: -0.035em; color: var(--kf-salvia-funda); }
.frase__texto em { color: var(--kf-terracota); }
.js-palavras .frase__texto span { opacity: 0.16; }
.frase__fonte { margin-top: var(--kf-s4); font-size: var(--kf-t-xs); letter-spacing: var(--kf-track-caps); text-transform: uppercase; color: var(--kf-cinza); }

/* 8. chamada final e rodapé */
.final { padding: var(--kf-s16) var(--kf-margem) var(--kf-s12); background: var(--kf-salvia-funda); color: var(--kf-creme); text-align: center; }
.final__titulo { font-family: var(--kf-serif); font-weight: 400; font-size: var(--kf-t-h2); line-height: 1.04; letter-spacing: -0.02em; margin: 0 auto var(--kf-s6); max-width: 24ch; }
.final__titulo em { color: var(--kf-dourado-claro); }
.rodape { display: grid; grid-template-columns: auto 1fr; gap: var(--kf-s6); align-items: end; padding: var(--kf-s12) var(--kf-margem) var(--kf-s6); background: var(--kf-tinta); color: var(--kf-salvia-clara); }
.rodape__logo { width: 190px; height: auto; }
.rodape__links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0.5rem 2rem; list-style: none; padding: 0; }
.rodape__links a, .rodape__links span { display: inline-flex; align-items: center; gap: 0.6rem; min-height: 44px; color: var(--kf-creme); }
.rodape__nota { grid-column: 1 / -1; padding-top: var(--kf-s3); border-top: 1px solid rgba(220, 232, 227, 0.14); font-size: var(--kf-t-xs); letter-spacing: 0.04em; color: #B9C8C2; }

/* WhatsApp fixo no celular */
.wa-fixo { position: fixed; right: 16px; bottom: 16px; z-index: 80; display: none; align-items: center; gap: 0.5rem; min-height: 52px; padding: 0 1.25rem; border-radius: 999px; background: var(--kf-terracota); color: var(--kf-branco); text-decoration: none; font-weight: 500; box-shadow: 0 16px 36px -14px rgba(30, 43, 39, 0.6); transform: translateY(160%); transition: transform var(--kf-d2) var(--kf-ease); }
.wa-fixo.is-on { transform: none; }

/* rolagem: CSS primeiro, visível por padrão */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .revela { animation: kf-revela linear both; animation-timeline: view(); animation-range: entry 0% entry 70%; }
    .hero__visual { animation: kf-sobe-lento linear both; animation-timeline: scroll(root); animation-range: 0 100vh; }
    .hero__marca-dagua { animation: kf-desce-lento linear both; animation-timeline: scroll(root); animation-range: 0 100vh; }
    .corpo__f--a { animation: kf-par-a linear both; animation-timeline: view(); }
    .corpo__f--b { animation: kf-par-b linear both; animation-timeline: view(); }
    .corpo__f--c { animation: kf-par-c linear both; animation-timeline: view(); }
    .passos::before { animation: kf-risco linear both; animation-timeline: view(); animation-range: entry 10% cover 40%; }
    .garantia__num span { animation: kf-numero linear both; animation-timeline: view(); animation-range: entry 0% cover 45%; }
  }
}
@keyframes kf-revela { from { opacity: 0; transform: translateY(44px); } to { opacity: 1; transform: none; } }
@keyframes kf-sobe-lento { to { transform: translateY(-70px); } }
@keyframes kf-desce-lento { to { transform: translateY(90px) rotate(-4deg); } }
@keyframes kf-par-a { from { transform: translateY(50px); } to { transform: translateY(-50px); } }
@keyframes kf-par-b { from { transform: translateY(120px); } to { transform: translateY(-90px); } }
@keyframes kf-par-c { from { transform: translateY(80px); } to { transform: translateY(-150px); } }
@keyframes kf-risco { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes kf-numero { from { opacity: 0.2; transform: translateY(60px) scale(0.92); } to { opacity: 1; transform: none; } }
/* sem animation-timeline: o JS liga o IntersectionObserver */
.js-io .revela { transition: opacity 0.9s var(--kf-ease), transform 0.9s var(--kf-ease); }
.js-io .revela:not(.is-visivel) { opacity: 0; transform: translateY(36px); }

/* responsivo */
@media (max-width: 1100px) {
  .hero__texto { grid-column: 1 / span 7; }
  .hero__visual { grid-column: 8 / -1; margin-right: 6%; }
  .selo { width: 108px; height: 108px; right: -8%; }
  .hero__still { left: -6%; width: 38%; }
  .hero__lead { max-width: 27rem; }
  .pecas__intro { grid-column: 1 / span 5; }
  .pecas__lista { grid-column: 6 / -1; }
  .corpo__texto { grid-column: 8 / -1; }
}
@media (max-width: 900px) {
  .topo { grid-template-columns: 1fr auto; }
  .menu { display: none; }
  .hero { grid-template-columns: 1fr; min-height: 0; padding-top: 1.5rem; row-gap: 3.5rem; }
  .hero__texto, .hero__visual { grid-column: 1; }
  .hero__visual { justify-self: center; width: 78%; max-width: 380px; margin: 0 0 2rem 10%; }
  .hero__marca-dagua { width: 90vw; right: -20vw; top: auto; bottom: 0; }
  .selo { width: 96px; height: 96px; right: -10%; }
  .selo__texto { font-size: 12.6px; }
  .pecas, .corpo, .garantia { grid-template-columns: 1fr; row-gap: var(--kf-s6); }
  .pecas__intro, .pecas__lista, .corpo__fotos, .corpo__texto, .garantia__num, .garantia__texto { grid-column: 1; }
  .pecas__intro { position: static; }
  .vitrine__fixa { flex-direction: column; align-items: stretch; gap: var(--kf-s4); padding: var(--kf-s12) 0; min-height: 0; }
  .vitrine__cabeca { flex: none; padding: 0 var(--kf-margem); }
  .vitrine__trilho { padding-left: var(--kf-margem); gap: 1.25rem; scroll-padding-left: var(--kf-margem); }
  .fig { flex-basis: min(72vw, 300px); }
  .fig--baixa { margin-top: 2.5rem; }
  .corpo__fotos { height: min(128vw, 660px); }
  .corpo__f--a { width: 62%; }
  .corpo__f--b { width: 40%; right: 0; top: 14%; border-width: 6px; }
  .corpo__f--c { width: 44%; left: 32%; }
  .passos { grid-template-columns: 1fr; gap: var(--kf-s4); }
  .loja { grid-template-columns: 1fr; padding: 1.75rem; }
  .rodape { grid-template-columns: 1fr; align-items: start; }
  .rodape__links { justify-content: flex-start; flex-direction: column; }
  .wa-fixo { display: inline-flex; }
  .frase__mono { width: 80vw; right: -24vw; opacity: 0.5; }
}
@media (max-width: 480px) {
  .marca__nome { font-size: 0.8rem; letter-spacing: 0.12em; }
  .marca__nome small { letter-spacing: 0.4em; }
  .btn--mini span { display: none; }
  .btn--mini { width: 44px; padding: 0; }
  .hero__acoes .btn { width: 100%; }
  .peca a { grid-template-columns: 2.25rem 1fr auto; }
  .peca__thumb { width: 60px; height: 80px; }
  .loja .btn { width: 100%; }
  .btn--grande { width: 100%; font-size: var(--kf-t-base); }
}

/* movimento reduzido: só transições curtas de opacidade */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: 0.15s !important; scroll-behavior: auto !important; }
  .ticker__track, .selo__texto { animation: none !important; }
  .btn:hover, .peca a:hover .peca__nome, .fig:hover .fig__img img { transform: none; }
}
