/* =========================================================================
   Home (layout "Ateliê do Vale", aprovado pelo dono em 2026-11-02).
   Carregado depois do premium.css, só na home.
   ========================================================================= */

/* ---------- Cabeçalho de seção com o obelisco ---------- */
.pv-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-bottom: 1.75rem;
}
.pv-kicker {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--forest);
}
.pv-kicker-light { color: var(--orange-soft); }
.pv-obelisk {
  display: inline-block;
  width: 7px;
  height: 20px;
  background: hsl(var(--accent));
  clip-path: polygon(50% 0, 100% 22%, 86% 100%, 14% 100%, 0 22%);
}
.pv-title {
  margin-top: .6rem;
  font-weight: 500;
  max-width: 22ch;
}
.pv-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--forest);
}
.pv-lead {
  margin: .75rem 0 0;
  max-width: 36rem;
  font-size: .98rem;
  line-height: 1.6;
  color: hsl(var(--muted-foreground));
}
.pv-more {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .7rem 1.15rem;
  border-radius: 999px;
  border: 1px solid hsl(var(--foreground) / .18);
  color: var(--ink);
  font-size: .85rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background .3s, color .3s, border-color .3s;
}
.pv-more:hover { background: var(--forest); border-color: var(--forest); color: #fff; }
.pv-btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .85rem 1.4rem;
  border-radius: 999px;
  background: hsl(var(--accent));
  color: #fff;
  font-weight: 700;
  font-size: .9rem;
  text-decoration: none;
  transition: transform .3s var(--ease-out), box-shadow .3s;
}
.pv-btn:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 14px 26px -14px hsl(var(--accent) / .9); }

/* ---------- Compromissos (faixa verde) ---------- */
.benefits.pv-pledges {
  background: var(--forest-deep);
  border: 0;
  color: #fff;
}
.pv-pledges-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.pv-pledge {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: 1.15rem 1.25rem;
  position: relative;
}
.pv-pledge + .pv-pledge::before {
  content: "";
  position: absolute;
  left: 0;
  top: 22%;
  bottom: 22%;
  width: 1px;
  background: rgba(255, 255, 255, .16);
}
.pv-pledge > i { font-size: 1.35rem; color: var(--orange-soft); flex: none; }
.pv-pledge strong { display: block; font-size: .92rem; font-weight: 700; letter-spacing: -.005em; }
.pv-pledge small { display: block; font-size: .76rem; color: rgba(255, 255, 255, .7); margin-top: .1rem; }

/* ---------- Categorias em mosaico ---------- */
.pv-section { background: transparent; }
.pv-mosaic {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 210px;
  gap: 14px;
}
.pv-tile {
  position: relative;
  overflow: hidden;
  border-radius: 1.1rem;
  background: var(--forest-deep);
  color: #fff;
  text-decoration: none;
  isolation: isolate;
}
.pv-tile-1 { grid-column: span 2; grid-row: span 2; }
.pv-tile-2 { grid-column: span 2; }
.pv-tile-5, .pv-tile-6 { grid-column: span 2; }
.pv-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out);
}
.pv-tile:hover img { transform: scale(1.05); }
.pv-tile-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 58, 49, 0) 35%, rgba(14, 58, 49, .88) 100%);
}
.pv-tile-copy {
  position: absolute;
  left: 1.1rem;
  right: 1.1rem;
  bottom: 1rem;
  display: flex;
  flex-direction: column;
  gap: .25rem;
}
.pv-tile-copy strong {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.25rem;
  line-height: 1.1;
}
.pv-tile-1 .pv-tile-copy strong { font-size: clamp(1.5rem, 2.6vw, 2.2rem); }
.pv-tile-copy span {
  font-size: .78rem;
  font-weight: 600;
  color: var(--orange-soft);
  opacity: .9;
}
.pv-tile-copy span i { transition: transform .3s var(--ease-out); display: inline-block; }
.pv-tile:hover .pv-tile-copy span i { transform: translateX(4px); }

/* ---------- Linha natural ---------- */
.pv-natural {
  background: linear-gradient(180deg, hsl(38 30% 92%) 0%, hsl(40 33% 96%) 100%);
}
.pv-natural-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 2.5rem;
  align-items: center;
}
.pv-seal-legend {
  list-style: none;
  margin: 1.5rem 0 1.75rem;
  padding: 0;
  display: grid;
  gap: .8rem;
}
.pv-seal-legend li { display: flex; align-items: center; gap: .8rem; font-size: .9rem; color: var(--ink); }
.pv-seal-legend .product-seal {
  position: static;
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: .6rem;
}
.pv-seal-legend .product-seal svg { width: 1.5rem; height: 1.5rem; }
.pv-natural-banners { display: grid; gap: 14px; }
.pv-natural-banner {
  position: relative;
  display: block;
  aspect-ratio: 2.36 / 1;
  border-radius: 1.1rem;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.pv-natural-tag {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  padding: .4rem .8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .92);
  color: var(--forest-deep);
  font-size: .78rem;
  font-weight: 700;
}

/* ---------- Cartão de produto ---------- */
.pv-card {
  border-radius: 1.1rem;
  background: hsl(var(--card));
  border: 1px solid var(--hairline);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow .35s var(--ease-out), transform .35s var(--ease-out);
}
.pv-card:hover { box-shadow: var(--shadow-soft); transform: translateY(-3px); }
.pv-card .product-card-img { border-radius: 0; }
.pv-card-body {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  padding: .95rem 1rem 1rem;
  flex: 1;
}
.pv-card-tag {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .25rem .6rem;
  font-size: .68rem;
  color: hsl(var(--muted-foreground));
}
.pv-card-tag span:first-child:not(:last-child) { color: var(--forest); font-weight: 700; }
.pv-card-name {
  color: var(--ink);
  font-weight: 600;
  font-size: .9rem;
  line-height: 1.35;
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pv-card-name:hover { color: var(--forest); }
.pv-card-colors { display: flex; align-items: center; gap: 4px; }
.pv-card-colors span {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12);
}
.pv-card-colors em { font-style: normal; font-size: .68rem; color: hsl(var(--muted-foreground)); margin-left: 2px; }
.pv-card-foot {
  margin-top: auto;
  padding-top: .65rem;
  border-top: 1px dashed var(--hairline);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
}
.pv-card-min { font-size: .75rem; color: hsl(var(--muted-foreground)); }
.pv-card-min strong { color: var(--ink); }
.pv-card-go {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  background: var(--forest);
  color: #fff;
  text-decoration: none;
  transition: background .3s, transform .3s var(--ease-out);
}
.pv-card-go:hover { background: hsl(var(--accent)); color: #fff; transform: rotate(45deg); }

/* ---------- Parceiros ---------- */
.pv-partners-grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 2.5rem;
  align-items: start;
}
.pv-partners-copy { position: sticky; top: 110px; }
.pv-partners-count {
  margin: 1.5rem 0 0;
  font-size: .9rem;
  color: hsl(var(--muted-foreground));
}
.pv-partners-count strong {
  display: block;
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 500;
  line-height: 1;
  color: var(--forest);
}
.pv-logos {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.pv-logos li {
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: .8rem 1rem;
  border-radius: .9rem;
  background: #fff;
  border: 1px solid var(--hairline);
}
.pv-logos img { max-width: 100%; max-height: 100%; object-fit: contain; }
.pv-logos li > span { font-size: .8rem; font-weight: 700; text-align: center; color: var(--ink); }
.pv-logos .pv-logos-cta { background: var(--forest); border-color: var(--forest); padding: 0; }
.pv-logos-cta a {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: .8rem 1rem;
  color: #fff;
  font-size: .8rem;
  font-weight: 600;
  text-decoration: none;
  line-height: 1.3;
}
.pv-logos-cta a span { color: var(--orange-soft); margin-top: .2rem; }

/* ---------- Como funciona ---------- */
.pv-steps-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  counter-reset: none;
}
.pv-step {
  position: relative;
  padding: 1.4rem 1.3rem 1.5rem;
  border-radius: 1.1rem;
  background: hsl(var(--card));
  border: 1px solid var(--hairline);
}
.pv-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: hsl(var(--accent) / .12);
  color: hsl(var(--accent));
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
}
.pv-step h3 {
  margin: 1rem 0 .4rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--ink);
}
.pv-step p { margin: 0; font-size: .88rem; line-height: 1.55; color: hsl(var(--muted-foreground)); }
.pv-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 2.6rem;
  right: -14px;
  width: 14px;
  height: 1px;
  background: hsl(var(--accent) / .5);
}

/* ---------- Instagram ---------- */
.pv-ig .ig-watermark { display: none; }

/* ---------- Celular e tablet ---------- */
@media (max-width: 991.98px) {
  .pv-pledges-list { grid-template-columns: repeat(2, 1fr); }
  .pv-pledge:nth-child(3)::before { display: none; }
  .pv-pledge:nth-child(-n+2) { border-bottom: 1px solid rgba(255, 255, 255, .12); }
  .pv-natural-grid, .pv-partners-grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .pv-partners-copy { position: static; }
  .pv-steps-list { grid-template-columns: repeat(2, 1fr); }
  .pv-step:not(:last-child)::after { display: none; }
  .pv-logos { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 575.98px) {
  .pv-pledge { padding: .85rem .6rem; gap: .55rem; }
  .pv-pledge > i { font-size: 1.1rem; }
  .pv-pledge strong { font-size: .76rem; }
  .pv-pledge small { font-size: .66rem; }
  .pv-mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; gap: 10px; }
  .pv-tile-1 { grid-column: span 2; grid-row: span 1; }
  .pv-tile-2, .pv-tile-5 { grid-column: span 1; }
  .pv-tile-6 { grid-column: span 2; }
  .pv-tile-copy strong { font-size: 1rem; }
  .pv-tile-1 .pv-tile-copy strong { font-size: 1.35rem; }
  .pv-steps-list { grid-template-columns: 1fr; }
  .pv-logos { grid-template-columns: repeat(2, 1fr); }
  .pv-more { padding: .55rem .95rem; font-size: .8rem; }
}
@media (prefers-reduced-motion: reduce) {
  .pv-tile img, .pv-card, .pv-card-go, .pv-btn { transition: none; }
}

/* Celular: o banner (arte 9:16) nunca passa do fim da tela; desconta o cabeçalho (60px).
   Se a tela for baixa, a arte perde um pouco em cima e embaixo, e o texto fica na faixa central. */
@media (max-width: 575.98px) {
  .hero[data-hero] {
    aspect-ratio: auto;
    height: min(calc(100vw * 16 / 9), calc(100vh - 60px));
    height: min(calc(100vw * 16 / 9), calc(100svh - 60px));
  }
}

/* Celular: parceiros menores, 4 por linha; o convite "Quer ser o próximo?" ocupa a linha inteira */
@media (max-width: 575.98px) {
  .pv-logos { grid-template-columns: repeat(4, 1fr); gap: 6px; }
  .pv-logos li { aspect-ratio: 4 / 3; padding: .35rem .4rem; border-radius: .6rem; }
  .pv-logos li > span { font-size: .62rem; }
  .pv-logos .pv-logos-cta { grid-column: 1 / -1; aspect-ratio: auto; }
  .pv-logos-cta a { flex-direction: row; justify-content: space-between; align-items: center; padding: .8rem 1rem; }
  .pv-logos-cta a span { margin-top: 0; }
  .pv-partners-count { margin-top: 1rem; }
  .pv-partners-count strong { font-size: 2.2rem; }
}

/* ---------- Busca com atalhos  ---------- */
.pv-finder { margin-top: 2.75rem; }
.pv-finder-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 1rem 2.5rem;
  align-items: center;
  padding: 1.75rem 2rem;
  border-radius: 1.1rem;
  background: hsl(var(--card));
  border: 1px solid var(--hairline);
  box-shadow: 0 30px 60px -38px rgba(14, 58, 49, .55);
}
.pv-finder h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.6vw, 2.3rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -.02em;
  color: var(--ink);
}
.pv-finder h1 em { font-style: italic; font-weight: 400; color: hsl(var(--accent)); }
.pv-finder-copy p { margin: .5rem 0 0; color: hsl(var(--muted-foreground)); font-size: .92rem; }
.pv-search {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .4rem .4rem .4rem 1.1rem;
  border-radius: 999px;
  background: hsl(var(--background));
  border: 1.5px solid hsl(var(--foreground) / .14);
}
.pv-search:focus-within { border-color: var(--forest); }
.pv-search > i { color: hsl(var(--muted-foreground)); }
.pv-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  font-size: .95rem;
  outline: none;
  color: var(--ink);
}
.pv-search button {
  border: 0;
  border-radius: 999px;
  padding: .7rem 1.3rem;
  background: var(--forest);
  color: #fff;
  font-weight: 700;
  font-size: .88rem;
}
.pv-search button:hover { background: var(--forest-deep); }
.pv-chips { grid-column: 2; display: flex; flex-wrap: wrap; gap: .45rem; }
.pv-chips a {
  padding: .4rem .8rem;
  border-radius: 999px;
  border: 1px solid var(--hairline);
  background: #fff;
  color: var(--ink);
  font-size: .8rem;
  font-weight: 600;
  text-decoration: none;
  transition: border-color .25s, color .25s;
}
.pv-chips a:hover { border-color: var(--forest); color: var(--forest); }
.pv-chips a.is-green { background: hsl(140 40% 94%); border-color: hsl(140 30% 82%); color: var(--forest); }

@media (max-width: 991.98px) {
  .pv-finder-box { grid-template-columns: 1fr; padding: 1.4rem; }
  .pv-chips { grid-column: auto; }
}
@media (max-width: 575.98px) {
  .pv-finder { margin-top: 1.5rem; }
  .pv-finder-box { padding: 1.2rem 1rem; }
  .pv-search { padding-left: .85rem; }
  .pv-search button { padding: .6rem .95rem; }
}
