/* =========================================================
   LINHAMARÉ — HOME
   ========================================================= */

/* Hero */
.hero-home {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #fbfaf5 0%, #f7f7f2 100%);
}

.hero-banner-wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-top: var(--header-h);
  padding-bottom: 0;
}

.hero-carousel-full {
  position: relative;
}

.hero-slides-full {
  position: relative;
  width: 100%;
  aspect-ratio: 1920 / 900;
  min-height: clamp(300px, 46.875vw, 900px);
  overflow: hidden;
  background: #f5f2e8;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateX(24px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.hero-slide picture,
.hero-slide-link picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-slide img,
.hero-slide-link img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.hero-slide-link {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-control {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  color: var(--black);
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(10, 10, 10, 0.06);
  border-radius: 50%;
  box-shadow: 0 10px 22px rgba(10, 10, 10, 0.08);
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 34px;
  line-height: 1;
}

.hero-control:hover {
  background: var(--yellow);
}

.hero-control-prev { left: 18px; }
.hero-control-next { right: 18px; }

.hero-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  position: absolute;
  left: 50%;
  bottom: 16px;
  z-index: 3;
  margin-top: 0;
  transform: translateX(-50%);
}

.hero-dot {
  width: 12px;
  height: 12px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.48);
  cursor: pointer;
}

.hero-dot.is-active {
  background: var(--yellow-strong);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.25);
}

.hero-proof {
  position: relative;
  z-index: 3;
  background: var(--white);
  border-top: 1px solid rgba(10, 10, 10, 0.08);
  border-bottom: 1px solid rgba(10, 10, 10, 0.08);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.proof-item {
  min-height: 96px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  border-right: 1px solid rgba(10, 10, 10, 0.08);
}

.proof-item:last-child { border-right: 0; }

.proof-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--black);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 50%;
}

.proof-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.proof-item strong,
.proof-item small { display: block; }

.proof-item strong {
  color: var(--black);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.proof-item small {
  margin-top: 3px;
  color: #66665f;
  font-size: 11px;
}

/* Faixa de marcas */
.brands-marquee {
  overflow: hidden;
  padding: 16px 0;
  background: var(--black);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.brands-track {
  display: flex;
  width: max-content;
  animation: brands-scroll 34s linear infinite;
}

.brands-marquee:hover .brands-track {
  animation-play-state: paused;
}

.brands-set {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  height: 54px;
  padding: 0 24px;
}

.brand-item img {
  display: block;
  width: auto;
  height: auto;
  max-width: 134px;
  max-height: 34px;
  object-fit: contain;
  opacity: 0.94;
}

@keyframes brands-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Categorias home */
.categories-home {
  background: var(--paper);
}

.categories-heading h2 span,
.categories-heading h2 em {
  display: block;
}

.categories-heading h2 em {
  color: var(--yellow-strong);
  font-style: normal;
}

.home-product-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.home-product-card {
  display: flex;
  flex-direction: column;
  min-height: 318px;
  padding: 16px;
  background: var(--white);
  border: 1px solid rgba(10, 10, 10, 0.08);
  border-radius: 18px;
  box-shadow: 0 12px 26px rgba(10, 10, 10, 0.05);
  overflow: hidden;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.home-product-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 184, 0, 0.55);
  box-shadow: 0 20px 38px rgba(10, 10, 10, 0.1);
}

.home-product-card-media {
  height: 180px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow: hidden;
  padding: 6px 6px 0;
}

.home-product-card-media img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 170px;
  object-fit: contain;
}

.home-product-card-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
}

.home-product-card h3 {
  margin: 0;
  color: var(--black);
  font-size: 19px;
  line-height: 1.15;
}

.home-product-card span {
  color: var(--yellow-strong);
  font-size: 14px;
  font-weight: 700;
}

/* Sobre */
.intro {
  padding-bottom: 42px;
  background: var(--off-white);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.65fr);
  gap: clamp(60px, 9vw, 150px);
  align-items: start;
}

.intro-copy {
  padding-top: 46px;
}

.intro-copy p {
  color: #4c4c48;
  font-size: 16px;
  line-height: 1.85;
}

.intro-copy .text-link {
  margin-top: 14px;
}

/* Logística */
.logistics-section {
  padding-top: 10px;
  background: var(--off-white);
}

.logistics-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}

.logistics-map {
  min-height: 320px;
}

.logistics-map-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 0.5s ease;
}

.logistics-content h2 {
  margin-bottom: 22px;
  color: var(--black);
  font-size: clamp(30px, 3.4vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-weight: 700;
}

.logistics-content p {
  max-width: 520px;
  margin-bottom: 16px;
  color: #4c4c48;
  font-size: 15.5px;
  line-height: 1.8;
}

.logistics-highlights {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 32px;
}

.logistics-highlight {
  display: flex;
  align-items: center;
  gap: 16px;
}

.logistics-highlight-icon {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--black);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 50%;
}

.logistics-highlight-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.logistics-highlight strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.logistics-highlight small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 12.5px;
}

/* Processo */
.process-section {
  color: var(--white);
  background: var(--black);
}

.process-section .section-heading h2 {
  max-width: 1000px;
  color: var(--white);
}

.process-section .kicker {
  color: rgba(255, 255, 255, 0.76);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 62px;
  border-top: 1px solid var(--line-dark);
  border-left: 1px solid var(--line-dark);
}

.process-step {
  min-height: 300px;
  padding: 30px;
  border-right: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.process-step > span {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--black);
  background: var(--yellow);
  font-size: 12px;
  font-weight: 800;
}

.process-step h3 {
  max-width: 280px;
  margin: 92px 0 12px;
  font-size: 24px;
  line-height: 1.15;
}

.process-step p {
  max-width: 330px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  line-height: 1.7;
}

/* CTA final */
.final-cta {
  background: var(--yellow);
}

.final-cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.65fr);
  gap: 80px;
  align-items: end;
}

.final-cta .kicker {
  color: rgba(10, 10, 10, 0.72);
}

.final-cta h2 {
  margin-bottom: 0;
  font-size: clamp(44px, 5.5vw, 82px);
  line-height: 0.98;
  letter-spacing: -0.02em;
}

.final-cta-action p {
  margin-bottom: 26px;
  color: rgba(10, 10, 10, 0.72);
  font-size: 15px;
  line-height: 1.75;
}

.btn-final-cta {
  color: var(--white);
  background: var(--black);
  border-color: var(--black);
}

.btn-final-cta:hover {
  color: var(--white);
  background: var(--graphite);
  border-color: var(--graphite);
}

.btn-final-cta span {
  color: var(--yellow);
}

/* Responsivo Home */
@media (max-width: 1240px) {
  .home-product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1100px) {
  .proof-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .proof-item:nth-child(2) {
    border-right: 0;
  }

  .proof-item:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(10, 10, 10, 0.08);
  }

  .intro-grid,
  .final-cta-inner,
  .logistics-grid {
    grid-template-columns: 1fr;
  }

  .intro-copy {
    max-width: 720px;
    padding-top: 0;
  }

  .logistics-map {
    min-height: 0;
    max-width: 420px;
    margin: 0 auto;
  }
}

@media (max-width: 860px) {
  .hero-banner-wrap {
    padding-top: var(--header-h);
  }

  .hero-slides-full {
    min-height: 0;
  }

  .hero-dots {
    bottom: 12px;
  }

  .hero-control {
    width: 46px;
    height: 46px;
    font-size: 28px;
  }

  .hero-control-prev { left: 10px; }
  .hero-control-next { right: 10px; }

  .brand-item {
    min-width: 130px;
    height: 46px;
    padding: 0 18px;
  }

  .brand-item img {
    max-width: 112px;
    max-height: 28px;
  }

  .home-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .process-step {
    min-height: 250px;
  }

  .process-step h3 {
    margin-top: 66px;
  }
}

@media (max-width: 580px) {
  .hero-slides-full {
    aspect-ratio: 700 / 764;
    min-height: 0;
  }

  .hero-dots {
    bottom: 10px;
  }

  .hero-proof {
    display: none;
  }

  .proof-grid {
    grid-template-columns: 1fr;
  }

  .proof-item {
    border-right: 0;
    border-bottom: 1px solid rgba(10, 10, 10, 0.08);
  }

  .proof-item:last-child {
    border-bottom: 0;
  }

  .home-product-grid {
    grid-template-columns: 1fr;
  }

  .categories-heading .text-link {
    width: fit-content;
  }

  .logistics-highlight {
    align-items: flex-start;
  }
}

/* =====================================================================
   Página inicial no padrão das páginas novas (10/11/2026)
   ===================================================================== */
#categorias, #avaliacoes, #instagram, #contato { scroll-margin-top: var(--header-h); }
/* Títulos com o espaçamento da marca (no máximo -0,02em), como na prévia; o style.css do site tem -0,055em */
.section-heading h2 { letter-spacing: -0.02em; }

/* Selo da New Holland Construction: um pouco maior que as outras logos, para o texto do selo ser lido */
.brand-item img.is-selo { max-width: 124px; max-height: 40px; opacity: 1; }
/* Banner sem faixa clara em cima e embaixo (10/11/2026): a altura segue só a proporção da imagem. O min-height do
   home.css usa vw, que conta a largura da barra de rolagem; no Windows a caixa ficava uns 8 px mais alta que a
   imagem, e sobrava uma faixa clara entre o banner e a faixa das marcas. */
.hero-slides-full { min-height: 0; }
.hero-slide img, .hero-slide-link img { object-fit: cover; }

@media (prefers-reduced-motion: reduce) {
  .brands-track { animation: none; }
  .hero-slide { transition: none; transform: none; }
}

/* Categorias: 6 cartões como os do site atual (pedido do dono em 11/11/2026, com print: "quero os cards da página
   inicial assim e sem aqueles botões amarelos"; "as imagens dos cards devem permanecer como fizemos"): cartão branco
   de cantos arredondados, com borda e sombra leves, a foto de grupo inteira, o nome e "Ver peças →" em amarelo,
   sem botão e sem a contagem de produtos. 3 por linha no computador, 2 no tablet e 1 no celular. */
.categories-heading h2 span, .categories-heading h2 em { display: inline; }
/* "máquina" no destaque da marca (preto, itálico, marca-texto amarelo), como nas outras páginas; o home.css
   pintava a palavra de amarelo e ela sumia em cima do marca-texto */
.categories-heading h2 em.destaque { color: inherit; font-style: italic; }
.categories-heading .text-link { white-space: nowrap; }
.home-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.home-product-card {
  min-height: 0; padding: 0; gap: 0;
  border: 1px solid rgba(10, 10, 10, 0.08); border-radius: 18px;
  box-shadow: 0 12px 26px rgba(10, 10, 10, 0.05);
  transition: border-color 200ms ease, box-shadow 200ms ease;
}
.home-product-card:hover { transform: none; }
@media (hover: hover) and (pointer: fine) {
  .home-product-card:hover { border-color: rgba(10, 10, 10, 0.16); box-shadow: 0 18px 36px rgba(10, 10, 10, 0.09); }
}
.home-product-card-media {
  height: auto; aspect-ratio: 3 / 2; padding: 0;
  align-items: center; background: #fff;
}
.home-product-card-media img { width: 100%; height: 100%; max-height: none; object-fit: contain; }
.home-product-card-content { flex: 1; gap: 10px; margin: 0; padding: 12px 26px 28px; }
.home-product-card h3 { font-size: 22px; }
.home-product-card .home-card-link { color: var(--yellow-strong); font-size: 16px; font-weight: 700; }
/* a seta como no print do site atual: comprida e fina (a da Poppins é pequena e fica baixa) */
.home-product-card .home-card-link .seta {
  margin-left: 2px; font-family: system-ui, -apple-system, "Segoe UI", Arial, sans-serif; font-size: inherit; font-weight: 400;
}

/* Texto corrido de 17 px, como nas páginas novas */
.intro-copy p, .logistics-content p { font-size: 17px; line-height: 1.75; }
.logistics-highlight strong { font-size: 14px; }
.logistics-highlight small { font-size: 14px; }

/* Faixa amarela do fim (a mesma do site atual): no celular, igual à das outras páginas novas (produto.css) */
@media (max-width: 1100px) {
  .final-cta-inner { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 580px) {
  .final-cta h2 { font-size: clamp(36px, 10.5vw, 44px); }
  .btn-final-cta { width: 100%; }
}

/* Banner menor no computador (pedido do dono em 11/11/2026: "banner é muito grande, consome toda a página de
   abertura e ainda não consegue aparecer todo ... fica cortado"). Antes ele ocupava a largura toda da tela e, numa
   tela larga, ficava mais alto que a janela. Agora fica dentro da largura do site, com cantos arredondados.
   Largura (pedido do dono em 11/11/2026: "o banner precisa acompanhar o limite da pagina, seguindo limites do
   posicionamento da logo e barra de pesquisa"): a mesma do .shell do style.css, que é a caixa do topo. A borda
   esquerda do banner fica na mesma linha da logo e a direita na mesma linha da busca. Numa tela de 1920 px o
   banner fica com 1440 x 675 px e aparece inteiro na primeira tela. No celular e no tablet continua de ponta a
   ponta. */
@media (min-width: 861px) {
  .hero-banner-wrap { padding: calc(var(--header-h) + 24px) 0 24px; }
  .hero-carousel-full { width: min(1440px, calc(100% - 96px)); margin: 0 auto; }
  .hero-slides-full { border-radius: 20px; }
  .hero-dots { bottom: 40px; }
}
@media (min-width: 861px) and (max-width: 1100px) {
  .hero-carousel-full { width: min(100% - 56px, 1440px); }
}

/* Faixa de marcas com as 19 marcas do catálogo (ver marcas() em inicio.py): a volta dura 81 s, a mesma velocidade
   de antes (34 s para 8 logos). Logos escuras ficam brancas no preto; as quase quadradas ficam um pouco mais altas. */
.brands-track { animation-duration: 81s; }
.brand-item img.is-branca { filter: brightness(0) invert(1); }
.brand-item img.is-compacta { max-height: 42px; }

/* Categorias (pedido do dono em 11/11/2026: "muito desequilibrada ... a fonte é ruim, a palavra máquina grifado é
   muito ruim, sem harmonia entre os produtos e a frase"): título menor, sem marca-texto e sem itálico, com uma frase
   de apoio; "Ver todas as peças" na mesma linha, à direita; mais espaço entre o título e os cartões; a foto com
   respiro dentro do cartão e todas no mesmo fundo branco. */
.categories-home { padding: 88px 0 96px; }
.categories-heading { gap: 14px 32px; margin-bottom: 36px; }
.categories-heading h2 {
  max-width: 900px; margin: 0; font-size: clamp(28px, 2.6vw, 38px); font-weight: 700; line-height: 1.18;
  letter-spacing: -0.01em; text-wrap: balance;
}
.categories-sub { max-width: 640px; margin: 10px 0 0; color: var(--texto-2, #4c4c48); font-size: 17px; line-height: 1.6; }
.categories-heading .text-link { margin-bottom: 4px; }
.home-product-grid { gap: 24px; }
.home-product-card-media { box-sizing: border-box; aspect-ratio: 16 / 10; padding: 20px 20px 6px; }
.home-product-card-content { padding: 10px 24px 24px; }
.home-product-card h3 { font-size: 19px; font-weight: 700; line-height: 1.3; }
.home-product-card .home-card-link { font-size: 15px; }

/* Avaliações dos clientes no lugar do mapa (11/11/2026): fundo branco, título no mesmo tamanho do das categorias */
.home-reviews { padding: 88px 0; background: var(--white); border-top: 1px solid rgba(10, 10, 10, 0.06); }
.home-reviews .block-head { margin-bottom: 32px; }
.home-reviews .block-head h2 { font-size: clamp(28px, 2.6vw, 38px); font-weight: 700; line-height: 1.18; letter-spacing: -0.01em; }

/* Avaliações em carrossel e, no canto direito, o cartão do Perfil da Empresa no Google (11/11/2026). Os cartões das
   avaliações ficam no off-white das páginas, sem borda; o do Google é branco, com borda e sombra leves, como um cartão
   que se clica. Indicadores em preto (o amarelo fica só no menu). */
.home-reviews .home-reviews-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px 40px; }
.home-reviews-titulo { min-width: 0; }
.home-reviews .home-reviews-sub { max-width: 640px; margin: 10px 0 0; color: var(--texto-2, #4a4a46); font-size: 17px; line-height: 1.6; }
.perfil-google {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 4px 16px;
  flex: none; max-width: 100%; padding: 16px 18px 16px 16px;
  color: var(--text); text-decoration: none; background: var(--white);
  border: 1px solid rgba(10, 10, 10, 0.1); border-radius: 18px; box-shadow: 0 12px 26px rgba(10, 10, 10, 0.06);
  transition: border-color 200ms ease, box-shadow 200ms ease;
}
.perfil-google:focus-visible { outline: 3px solid var(--black); outline-offset: 3px; }
.perfil-google-marca {
  position: relative; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--yellow);
}
.perfil-google-icone { display: block; width: 27px; height: auto; margin: 0 0 2px 1px; }
.perfil-google-g {
  position: absolute; right: -5px; bottom: -5px; width: 24px; height: 24px; border-radius: 50%; background: var(--white);
  box-shadow: 0 0 0 2px var(--white), 0 2px 6px rgba(10, 10, 10, 0.18);
}
.perfil-google-texto { display: grid; gap: 1px; min-width: 0; }
.perfil-google-rotulo { color: var(--texto-3, #5f5f5a); font-size: 14px; line-height: 1.35; white-space: nowrap; }
.perfil-google-nome { color: var(--black); font-size: 18px; font-weight: 700; line-height: 1.3; }
.perfil-google-nota { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 6px; color: var(--texto-2, #4a4a46); font-size: 15px; line-height: 1.4; }
.perfil-google-nota > b { color: var(--black); font-size: 16px; }
.perfil-google-nota .review-stars { font-size: 15px; letter-spacing: 1px; }
.perfil-google-ir {
  display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; color: var(--black);
  border: 1.5px solid var(--black); border-radius: 999px; font-size: 14px; font-weight: 700; line-height: 1.2; white-space: nowrap;
  transition: background 200ms ease, color 200ms ease;
}
.perfil-google-ir svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (hover: hover) and (pointer: fine) {
  .perfil-google:hover { border-color: rgba(10, 10, 10, 0.22); box-shadow: 0 18px 36px rgba(10, 10, 10, 0.1); }
  .perfil-google:hover .perfil-google-ir { color: var(--white); background: var(--black); }
}
.avaliacoes-carrossel { --visiveis: 3; --vao: 20px; }
/* position: relative prende ao trilho os textos só para leitor de tela (.sr-only, que são absolutos); sem isso eles
   escapam do corte da rolagem e a página ganha rolagem lateral */
.avaliacoes-trilho {
  position: relative; display: flex; gap: var(--vao); margin: 0; padding: 0; list-style: none;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.avaliacoes-trilho::-webkit-scrollbar { display: none; }
.avaliacoes-trilho:focus-visible { outline: 3px solid var(--black); outline-offset: 4px; }
.avaliacoes-trilho > .review-card {
  flex: 0 0 calc((100% - (var(--visiveis) - 1) * var(--vao)) / var(--visiveis)); min-width: 0;
  gap: 14px; padding: 26px 26px 24px; background: var(--paper); border: 0; border-radius: 18px; scroll-snap-align: start;
}
.avaliacoes-controles { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 26px; }
.avaliacoes-controles[hidden] { display: none; }
.avaliacoes-seta {
  display: grid; place-items: center; width: 44px; height: 44px; padding: 0; color: var(--black); background: var(--white);
  border: 1.5px solid rgba(10, 10, 10, 0.22); border-radius: 50%; cursor: pointer;
  transition: border-color 200ms ease, background 200ms ease, color 200ms ease;
}
.avaliacoes-seta svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.avaliacoes-seta:focus-visible { outline: 3px solid var(--black); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) {
  .avaliacoes-seta:hover { color: var(--white); background: var(--black); border-color: var(--black); }
}
.avaliacoes-pontos { display: flex; align-items: center; }
.avaliacoes-ponto { display: grid; place-items: center; width: 22px; height: 32px; padding: 0; background: none; border: 0; cursor: pointer; }
.avaliacoes-ponto::before { content: ""; width: 8px; height: 8px; border-radius: 999px; background: rgba(10, 10, 10, 0.22); transition: width 250ms ease, background 250ms ease; }
.avaliacoes-ponto[aria-current="true"] { width: 34px; }
.avaliacoes-ponto[aria-current="true"]::before { width: 22px; background: var(--black); }
.avaliacoes-ponto:focus-visible { outline: 2px solid var(--black); outline-offset: -2px; border-radius: 8px; }
@media (prefers-reduced-motion: reduce) {
  .perfil-google, .perfil-google-ir, .avaliacoes-seta, .avaliacoes-ponto::before { transition: none; }
}

/* Instagram no lugar dos três passos (11/11/2026): fundo off-white, como o das categorias; os quadros em pé (9:16),
   como os reels. 6 numa linha no computador, 4 no tablet e, no celular, uma fila que se arrasta de lado. A seção só
   aparece quando o feed traz 3 posts ou mais (inicio.js). */
.insta-home { padding: 88px 0 96px; background: var(--paper); border-top: 1px solid rgba(10, 10, 10, 0.06); }
.insta-home[hidden] { display: none; }
.insta-cabeca { gap: 14px 32px; margin-bottom: 32px; }
.insta-cabeca h2 {
  max-width: 900px; margin: 0; font-size: clamp(28px, 2.6vw, 38px); font-weight: 700; line-height: 1.18;
  letter-spacing: -0.01em; text-wrap: balance;
}
.insta-sub { max-width: 640px; margin: 10px 0 0; color: var(--texto-2, #4a4a46); font-size: 17px; line-height: 1.6; }
/* "Seguir @conta": o mesmo botão arredondado do "Ver no Google", com o @ como a pessoa vê no Instagram */
.insta-seguir {
  display: inline-flex; align-items: center; gap: 8px; flex: none; padding: 11px 18px; color: var(--black); text-decoration: none;
  background: var(--white); border: 1.5px solid var(--black); border-radius: 999px;
  font-size: 15px; font-weight: 700; line-height: 1.2; white-space: nowrap; transition: background 200ms ease, color 200ms ease;
}
.insta-seguir svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.insta-seguir:focus-visible { outline: 3px solid var(--black); outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) { .insta-seguir:hover { color: var(--white); background: var(--black); } }
.insta-seguir[hidden] { display: none; }
.insta-aviso-previa {
  max-width: 760px; margin: -12px 0 24px; padding: 10px 14px; color: var(--texto-2, #4a4a46); font-size: 14px; line-height: 1.5;
  background: var(--white); border: 1px dashed rgba(10, 10, 10, 0.25); border-radius: 10px;
}
.insta-grade { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.insta-quadro {
  position: relative; display: block; overflow: hidden; aspect-ratio: 9 / 16; max-width: 100%;
  background: #e9e8e1; border-radius: 16px;
}
.insta-quadro img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 400ms ease; }
a.insta-quadro:focus-visible { outline: 3px solid var(--black); outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) { a.insta-quadro:hover img { transform: scale(1.04); } }
.insta-reel {
  position: absolute; top: 10px; right: 10px; display: grid; place-items: center; width: 30px; height: 30px;
  background: rgba(10, 10, 10, 0.55); border-radius: 50%; transition: opacity 200ms ease;
}
.insta-reel svg { width: 14px; height: 14px; margin-left: 2px; fill: var(--white); }
/* prévia do reel ao passar o mouse: o vídeo fica por cima da capa e só aparece quando começa a tocar */
.insta-video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; pointer-events: none;
  transition: opacity 250ms ease, transform 400ms ease;
}
.insta-tocando .insta-video { opacity: 1; }
.insta-tocando .insta-reel { opacity: 0; }
@media (hover: hover) and (pointer: fine) { a.insta-quadro:hover .insta-video { transform: scale(1.04); } }
@media (prefers-reduced-motion: reduce) { .insta-quadro img { transition: none; } .insta-video { display: none; } }
@media (max-width: 1100px) {
  .insta-grade { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .insta-grade > li:nth-child(n + 5) { display: none; }
}

@media (max-width: 1240px) {
  .home-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .home-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .home-product-card-content { padding: 10px 22px 24px; }
}
@media (max-width: 860px) {
  .categories-home { padding: 64px 0 72px; }
  .categories-heading { margin-bottom: 26px; }
  .home-reviews { padding: 64px 0; }
}
/* tablet: o cartão do Google desce para baixo do título, no tamanho dele, à esquerda */
@media (max-width: 1100px) {
  .avaliacoes-carrossel { --visiveis: 2; }
  .home-reviews .home-reviews-head { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 860px) {
  .home-reviews .home-reviews-head { margin-bottom: 26px; }
  .insta-home { padding: 64px 0 72px; }
  .insta-cabeca { margin-bottom: 26px; }
}
/* celular: uma avaliação por vez, com a ponta da próxima aparecendo; carrossel e fila do Instagram vão até a borda da
   tela (o vão de 14 px do .shell fica como respiro dentro da rolagem) */
@media (max-width: 620px) {
  .avaliacoes-carrossel { --vao: 14px; }
  .avaliacoes-trilho { margin: 0 -14px; padding: 0 14px; scroll-padding: 0 14px; }
  .avaliacoes-trilho > .review-card { flex-basis: 86%; padding: 22px 20px 20px; }
  .perfil-google { width: 100%; grid-template-columns: auto minmax(0, 1fr); padding: 14px; }
  .perfil-google-ir { grid-column: 1 / -1; justify-content: center; margin-top: 10px; }
  .insta-grade {
    display: flex; gap: 12px; margin: 0 -14px; padding: 0 14px; overflow-x: auto;
    scroll-snap-type: x mandatory; scroll-padding: 0 14px; scrollbar-width: none;
  }
  .insta-grade::-webkit-scrollbar { display: none; }
  .insta-grade > li { flex: 0 0 44%; scroll-snap-align: start; }
  .insta-grade > li:nth-child(n + 5) { display: block; }
  .insta-seguir { width: 100%; justify-content: center; padding: 13px 18px; }
}
@media (max-width: 580px) {
  .insta-cabeca h2 { font-size: 27px; }
  .insta-sub, .home-reviews .home-reviews-sub { font-size: 16px; }
  .insta-home { padding: 52px 0 60px; }
}
@media (max-width: 580px) {
  .home-product-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .home-product-card-content { padding: 8px 22px 22px; }
  .categories-home { padding: 52px 0 60px; }
  .categories-heading h2, .home-reviews .block-head h2 { font-size: 27px; }
  .categories-sub { font-size: 16px; }
  .home-reviews { padding: 52px 0; }
}
