/* =====================================================================
   HOME — carregado só por index.html, depois de style.css.
   Tudo prefixado com .hv- para não afetar as outras páginas.
   ===================================================================== */
.home-v2 {
  --hv-ink: #24272c;      /* grafite: hero, textos fortes */
  --hv-red: #d71f26;      /* vermelho Way: só ação principal */
  --hv-red-dark: #b3161c;
  --hv-blue: #1f6aa0;     /* azul Way escurecido: links (contraste AA) */
  --hv-paper: #f3f4f5;
  --hv-line: #dfe2e6;
  --hv-dim: #555b63;
  --hv-pad: clamp(20px, 5vw, 56px);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--hv-ink);
}
.home-v2 h1, .home-v2 h2, .home-v2 h3 {
  font-family: var(--font-display);
  font-stretch: 80%;
  letter-spacing: -0.01em;
  color: inherit;
}



/* ---- Botões ---- */
.hv-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  border: 2px solid transparent;
  border-radius: 4px;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.2;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.hv-btn--main { background: var(--hv-red); color: #fff; }
.hv-btn--main:hover { background: var(--hv-red-dark); }
.hv-btn--ghost { border-color: rgba(255, 255, 255, 0.55); color: #fff; }
.hv-btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }

.hv-link {
  display: inline-block;
  color: var(--hv-blue);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 2px;
}
.hv-link:hover { color: var(--hv-ink); }

/* ---- Hero: texto em grafite + foto ---- */
.hv-hero {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  background: var(--hv-ink);
  color: #fff;
}
.hv-hero__text { padding: clamp(40px, 6vw, 80px) var(--hv-pad); align-self: center; }
.hv-hero h1 {
  font-size: clamp(2.2rem, 4.6vw, 3.5rem);
  font-weight: 800;
  line-height: 1.04;
  max-width: 14ch;
}
.hv-hero__text > p {
  margin: 20px 0 30px;
  max-width: 46ch;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.82);
}
.hv-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hv-facts {
  list-style: none;
  margin: 32px 0 0;
  padding: 24px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  display: grid;
  gap: 8px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.86);
}
.hv-facts li { display: flex; align-items: center; gap: 10px; }
.hv-facts .ico { color: #7fc0ec; }
.hv-hero__media { position: relative; min-height: 320px; }
.hv-hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 40% 60%;
}

/* ---- Marcas: linha discreta ---- */
.hv-brands {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 28px;
  padding: 22px var(--hv-pad);
  border-bottom: 1px solid var(--hv-line);
}
.hv-brands p { color: var(--hv-dim); font-size: 14px; }
.hv-brands ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 28px;
  font-weight: 700;
  font-stretch: 85%;
  font-size: 18px;
  color: #3b3f45;
}

/* ---- Seções ---- */
.hv-section { padding: clamp(48px, 7vw, 84px) var(--hv-pad); }
.hv-head { max-width: 640px; margin-bottom: 32px; }
.hv-head h2 { font-size: clamp(1.75rem, 3.2vw, 2.4rem); font-weight: 800; line-height: 1.1; }
.hv-head p { margin-top: 10px; color: var(--hv-dim); }
.hv-head--row {
  max-width: none;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---- Mostruário: réguas encaixadas como um piso ---- */
.hv-sample { background: var(--hv-paper); }
.hv-floor {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 3px;
  background: #c9c3ba; /* rejunte entre as réguas */
  border: 3px solid #c9c3ba;
  margin-bottom: 28px;
}
.hv-plank {
  position: relative;
  height: clamp(74px, 9vw, 104px);
  overflow: hidden;
  display: block;
}
.hv-plank--4 { grid-column: span 4; }
.hv-plank--5 { grid-column: span 5; }
.hv-plank--6 { grid-column: span 6; }
.hv-plank--7 { grid-column: span 7; }
.hv-plank--8 { grid-column: span 8; }
.hv-plank img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.hv-plank:hover img,
.hv-plank:focus-visible img { transform: scale(1.05); }
.hv-plank:focus-visible { outline-offset: -3px; }
.hv-tag {
  position: absolute;
  left: 12px;
  bottom: 10px;
  padding: 5px 10px 6px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--hv-dim);
  font-size: 12.5px;
  line-height: 1.25;
}
.hv-tag b { display: block; color: var(--hv-ink); font-size: 14px; }

/* ---- Categorias ---- */
.hv-cats__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}
.hv-cat { display: block; }
.hv-cat img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  margin-bottom: 16px;
}
.hv-cat h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 6px; }
.hv-cat p { color: var(--hv-dim); font-size: 15px; }
.hv-cat:hover h3 { color: var(--hv-blue); text-decoration: underline; text-underline-offset: 4px; }

/* ---- Como funciona: etapas em sequência ---- */
.hv-steps { background: var(--hv-paper); }
.hv-steps__list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: passo;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 3px solid var(--hv-ink);
}
.hv-steps__list li {
  counter-increment: passo;
  padding: 22px 24px 8px 0;
}
.hv-steps__list li::before {
  content: counter(passo);
  display: block;
  margin-bottom: 10px;
  font-weight: 800;
  font-stretch: 75%;
  font-size: 2.6rem;
  line-height: 1;
  color: var(--hv-red);
}
.hv-steps__list h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 6px; }
.hv-steps__list p { color: var(--hv-dim); font-size: 15px; }

/* ---- Obras ---- */
.hv-works__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.hv-works__grid a { overflow: hidden; display: block; }
.hv-works__grid a:first-child { grid-row: span 2; }
.hv-works__grid img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.hv-works__grid a:first-child img { aspect-ratio: auto; }

/* ---- Faixa final ---- */
.hv-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px 40px;
  padding: 44px var(--hv-pad);
  background: var(--hv-ink);
  color: #fff;
}
.hv-cta h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 800; }
.hv-cta p { margin-top: 6px; color: rgba(255, 255, 255, 0.78); max-width: 52ch; }


/* ---- Responsivo ---- */
@media (max-width: 980px) {
  .hv-hero { grid-template-columns: 1fr; }
  .hv-hero__media { order: -1; min-height: 0; aspect-ratio: 16 / 9; }
  .hv-cats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hv-steps__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .hv-floor { grid-template-columns: 1fr; }
  .hv-floor .hv-plank { grid-column: auto; height: 72px; }
  .hv-cats__grid,
  .hv-steps__list { grid-template-columns: 1fr; }
  .hv-steps__list li { padding-right: 0; border-bottom: 1px solid var(--hv-line); padding-bottom: 18px; }
  .hv-works__grid { grid-template-columns: 1fr 1fr; grid-template-rows: none; }
  .hv-works__grid a:first-child { grid-column: span 2; grid-row: auto; }
  .hv-works__grid a:first-child img { aspect-ratio: 4 / 3; }
  .hv-hero__actions .hv-btn { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .hv-plank img, .hv-btn { transition: none; }
  .hv-plank:hover img, .hv-plank:focus-visible img { transform: none; }
}

/* ---- Links do mostruário ---- */
.hv-links { display: flex; flex-wrap: wrap; gap: 12px 32px; }

/* ---- Perguntas frequentes ---- */
.hv-faq__list { max-width: 820px; border-top: 1px solid var(--hv-line); }
.hv-faq details { border-bottom: 1px solid var(--hv-line); }
.hv-faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  font-weight: 600;
  font-size: 1.05rem;
  cursor: pointer;
  list-style: none;
}
.hv-faq summary::-webkit-details-marker { display: none; }
.hv-faq summary::after {
  content: "+";
  flex: none;
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1;
  color: var(--hv-red);
  transition: transform 0.2s ease;
}
.hv-faq details[open] summary::after { transform: rotate(45deg); }
.hv-faq details p { padding: 0 40px 20px 0; color: var(--hv-dim); max-width: 70ch; }
.hv-faq details a { color: var(--hv-blue); text-decoration: underline; text-underline-offset: 3px; }
