/* ==========================================================================
   Campezza — Folha de estilo principal
   --------------------------------------------------------------------------
   Organização do arquivo:
     1.  Tokens (cores, tipografia, espaçamentos)
     2.  Reset e base
     3.  Utilitários e layout
     4.  Botões
     5.  Topbar / Header / Menu mobile
     6.  Hero
     7.  Catálogo de produtos
     8.  Sobre
     9.  Serviços
     10. Marcas (marquee)
     11. Contato
     12. Rodapé
     13. Botão flutuante WhatsApp
     14. Responsivo
   Para trocar a identidade visual, edite apenas os tokens do bloco 1.
   ========================================================================== */

/* ==========================================================================
   1. Tokens
   ========================================================================== */
:root {
  /* Marca — azul */
  --blue-900: #062338;
  --blue-800: #0a3450;
  --blue-600: #0d4a6e;
  --blue-400: #2b7fa8;
  --blue-100: #e7eff4;
  --sky: #009be3;

  /* Marca — verde */
  --green: #65b903;
  --green-600: #4c8703;
  --green-ink: #3d6d02;
  --green-100: #eef8e0;
  --lime: #9de23f;

  /* Neutros */
  --ink: #0d2231;
  --ink-soft: #33505f;
  --ink-muted: #4a6675;
  --ground: #f7f9fa;
  --surface: #ffffff;
  --line: #dde5ea;

  /* Tipografia */
  --font-sans: "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;

  /* Layout */
  --wrap: 1320px;
  --gutter: clamp(20px, 5vw, 64px);
  --section-y: clamp(56px, 7vw, 96px);
  --header-h: 113px;

  /* Movimento */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --t-fast: 160ms var(--ease);
}

/* ==========================================================================
   2. Reset e base
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.is-locked {
  overflow: hidden;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--t-fast), background var(--t-fast), border-color var(--t-fast);
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

p {
  margin: 0;
}

button {
  font: inherit;
}

:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

/* Link "pular para o conteúdo" — acessibilidade por teclado */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--green);
  color: #fff;
  padding: 12px 20px;
  font-weight: 600;
}

.skip-link:focus {
  left: 0;
}

/* ==========================================================================
   3. Utilitários e layout
   ========================================================================== */
.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: var(--section-y);
}

.eyebrow {
  display: block;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-ink);
  margin-bottom: 16px;
}

.eyebrow--light {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--lime);
}

.eyebrow--light::before {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--lime);
}

.section-title {
  /* Títulos de seção: 38px no desktop, encolhendo em telas estreitas. */
  font-size: clamp(26px, 5vw, 38px);
  line-height: 1.12;
}

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

/* ==========================================================================
   4. Botões
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 17px 28px;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn--primary {
  background: var(--green);
  color: #fff;
}

.btn--primary:hover {
  background: var(--green-600);
  color: #fff;
}

.btn--ghost {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.btn--ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.btn--dark {
  background: var(--blue-900);
  color: #ffffff;
}

.btn--dark:hover {
  background: var(--blue-600);
  color: #ffffff;
}

.btn--sm {
  font-size: 13px;
  padding: 13px 22px;
}

/* ==========================================================================
   5. Topbar / Header / Menu mobile
   ========================================================================== */
.topbar {
  background: var(--blue-900);
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.topbar__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
  justify-content: space-between;
  padding-block: 11px;
}

.topbar__hours {
  color: rgba(255, 255, 255, 0.72);
}

.topbar__links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.topbar__links a:hover {
  color: var(--lime);
}

.header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(247, 249, 250, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

/* O padding vertical compensa a altura do logo: logo + 2x padding mantem a
   altura total do cabecalho (~94px). Ao mexer em um, ajuste o outro. */
.header__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-block: 15px;
}

.header__logo img {
  height: 82px;
  width: auto;
  display: block;
}

.nav {
  display: flex;
  gap: 30px;
  margin-left: auto;
  align-items: center;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
}

.nav a:hover,
.nav a.is-active {
  color: var(--green-ink);
}

.header__cta {
  margin-left: 0;
}

/* Botão hambúrguer — visível apenas no mobile */
.nav-toggle {
  display: none;
  margin-left: auto;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  background: var(--surface);
  cursor: pointer;
  padding: 0;
  place-items: center;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  position: relative;
  transition: background var(--t-fast);
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: var(--ink);
  transition: transform var(--t-fast), top var(--t-fast);
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

.nav-toggle[aria-expanded="true"] span {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] span::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span::after {
  top: 0;
  transform: rotate(-45deg);
}

/* Painel do menu mobile */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: var(--blue-900);
  color: #fff;
  padding: 24px var(--gutter) 40px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transform: translateX(100%);
  transition: transform 260ms var(--ease);
  visibility: hidden;
}

.mobile-menu.is-open {
  transform: translateX(0);
  visibility: visible;
}

.mobile-menu__close {
  align-self: flex-end;
  background: none;
  border: 0;
  color: #fff;
  font-size: 30px;
  line-height: 1;
  padding: 8px 4px;
  cursor: pointer;
}

.mobile-menu a {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.mobile-menu .btn {
  margin-top: 24px;
  border-bottom: 0;
  font-size: 14px;
}

/* ==========================================================================
   6. Hero
   ========================================================================== */
.hero {
  background: var(--blue-900);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.82fr);
  align-items: stretch;
  min-height: clamp(520px, 66vh, 720px);
}

.hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(48px, 6vw, 96px) clamp(24px, 4vw, 72px) clamp(48px, 6vw, 96px)
    max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
}

.hero__title {
  font-size: clamp(24px, 7.5vw, 52px);
  line-height: 1.06;
  letter-spacing: -0.03em;
  max-width: 24ch;
}

/* Entre 961px e 1400px o topo esta em duas colunas e a coluna de texto fica
   estreita: sem esta regra o titulo quebra em duas linhas nessa faixa. */
@media (min-width: 961px) and (max-width: 1400px) {
  .hero__title {
    font-size: min(3.85vw, 52px);
  }
}

.hero__title em {
  font-style: normal;
  color: var(--lime);
}

/* Linha de apoio do H1: carrega a palavra-chave sem roubar o impacto da frase. */
.hero__title-sub {
  display: block;
  margin-top: 18px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
  max-width: 52ch;
}

.hero__lead {
  font-size: 17px;
  line-height: 1.7;
  max-width: 50ch;
  margin-top: 26px;
  color: rgba(255, 255, 255, 0.74);
}

.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 34px;
}

.hero__rating {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 6px;
}

.hero__stars {
  color: #f5a623;
  font-size: 13px;
  letter-spacing: 0.06em;
  line-height: 1;
}

.hero__rating small {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.7);
}

/* Corte diagonal seco: o recorte vai do topo (deslocado para dentro) ate o pe
   da imagem. Altere o primeiro valor do polygon para mudar a inclinacao. */
.hero__figure {
  margin: 0;
  position: relative;
  min-height: 320px;
  -webkit-clip-path: polygon(16% 0, 100% 0, 100% 100%, 0 100%);
  clip-path: polygon(16% 0, 100% 0, 100% 100%, 0 100%);
}

.hero__figure img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero__tag {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 2;
  background: var(--green);
  color: #fff;
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 11px 18px;
}

/* Faixa de credenciais abaixo do hero */
.trust {
  position: relative;
  z-index: 2;
  background: var(--sky);
  color: var(--blue-900);
}

.trust__grid {
  /* margin-block (e nao margin) para nao apagar o margin-inline:auto do .wrap,
     que e o que mantem a faixa alinhada com o resto da pagina. */
  margin-block: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.trust__item {
  padding: 20px 24px;
  border-left: 1px solid rgba(255, 255, 255, 0.28);
}

.trust__item:first-child {
  padding-left: 0;
  border-left: 0;
}

.trust__item dt {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  color: #ffffff;
}

.trust__icon {
  width: 22px;
  height: 22px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.trust__item dd {
  margin: 3px 0 0 32px;
  font-size: 15px;
  line-height: 1.45;
  color: #ffffff;
}

/* ==========================================================================
   7. Catálogo de produtos
   ========================================================================== */
.catalog__head {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: end;
  justify-content: space-between;
}

.filters {
  display: flex;
  border: 1px solid var(--line);
  background: var(--surface);
}

.filters button {
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 13px 22px;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: background var(--t-fast), color var(--t-fast);
}

.filters button:hover {
  background: var(--blue-100);
}

.filters button[aria-pressed="true"] {
  background: var(--blue-900);
  color: #fff;
}

/* As divisórias são desenhadas com box-shadow em cada cartão (e não com gap
   colorido), assim as células vazias da última linha ficam brancas. */
.product-grid {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  /* o vao de 1px deixa o fundo aparecer e vira a linha divisoria */
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

/* Destaques da home: 9 itens em 3 colunas fecham a grade certinho. */
@media (min-width: 961px) {
  .product-grid--destaques {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.catalog__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green-ink);
  border-bottom: 2px solid var(--green);
  padding-bottom: 6px;
}

.catalog__link:hover {
  color: var(--blue-900);
  border-color: var(--blue-900);
}

.product {
  background: var(--surface);
  display: flex;
  flex-direction: column;
  padding: 26px;
  min-height: 272px;
  transition: background var(--t-fast);
}

.product:hover {
  background: var(--blue-100);
}

.product[hidden] {
  display: none;
}

.product__img {
  width: 100%;
  height: 140px;
  object-fit: contain;
  display: block;
  mix-blend-mode: multiply;
}

.product__foot {
  margin-top: auto;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
}

.product__cat {
  display: block;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-400);
  margin-bottom: 8px;
}

.product__name {
  font-weight: 600;
  font-size: 17.5px;
  line-height: 1.3;
  display: block;
  letter-spacing: -0.01em;
}

.product__arrow {
  font-weight: 700;
  font-size: 18px;
  color: var(--green);
  line-height: 1;
  transition: transform var(--t-fast);
}

.product:hover .product__arrow {
  transform: translateX(4px);
}

/* Texto de apoio da pagina de catalogo. */
.catalog__intro {
  margin-top: 28px;
  max-width: 68ch;
  display: grid;
  gap: 14px;
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--ink-soft);
}

/* Chamada ao pe do catalogo. */
.catalog__cta {
  margin-top: 44px;
  padding: 34px clamp(24px, 4vw, 44px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--green);
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: center;
  justify-content: space-between;
}

.catalog__cta h2 {
  font-size: clamp(21px, 2.2vw, 27px);
  margin-bottom: 10px;
}

.catalog__cta p {
  font-size: 15.5px;
  line-height: 1.7;
  max-width: 62ch;
  color: var(--ink-muted);
}

.catalog__cta .btn {
  flex: none;
}

/* Rodape da grade: aviso a esquerda, botao a direita. */
.catalog__more {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
}

.catalog__more .catalog__note {
  margin-top: 0;
}

/* Trilha de navegacao da pagina de catalogo. */
.crumbs {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 12px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--blue-400);
  margin-bottom: 28px;
}

.crumbs a:hover {
  color: var(--green-ink);
}

.catalog__note {
  font-size: 12px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--blue-400);
  margin-top: 18px;
}

/* ==========================================================================
   8. Sobre
   ========================================================================== */
.about {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 5vw, 88px);
  align-items: start;
}

.specs {
  margin-top: 32px;
  border-top: 1px solid var(--line);
}

.specs__row {
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 14.5px;
}

.specs__row span {
  color: var(--blue-400);
}

.about__text {
  font-size: 16.5px;
  line-height: 1.75;
  display: grid;
  gap: 20px;
  max-width: 62ch;
  color: var(--ink-soft);
}

.about__text strong {
  color: var(--ink);
}

/* ==========================================================================
   9. Serviços
   ========================================================================== */
.services {
  border-top: 1px solid var(--line);
}

.services__list {
  border-top: 1px solid var(--line);
  margin-top: 36px;
}

.service {
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 64px minmax(0, 1.1fr) minmax(0, 1.4fr) 210px;
  gap: clamp(16px, 3vw, 48px);
  align-items: center;
  padding: 22px 0;
  transition: background var(--t-fast);
}

.service:hover {
  background: var(--surface);
}

.service__num {
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--green-ink);
}

.service__name {
  font-weight: 600;
  font-size: clamp(19px, 1.7vw, 24px);
  line-height: 1.25;
  letter-spacing: -0.015em;
}

.service__desc {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--ink-muted);
}

.service__img {
  width: 100%;
  height: 100px;
  object-fit: cover;
  display: block;
  filter: saturate(0.4);
  transition: filter var(--t-fast);
}

.service:hover .service__img {
  filter: saturate(1);
}

/* Lista recolhida: só os 6 primeiros aparecem até o visitante pedir o resto. */
.services__list--colapsada .service:nth-child(n + 7) {
  display: none;
}

.services__toggle {
  margin-top: 26px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 26px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}

.services__toggle:hover {
  background: var(--blue-900);
  border-color: var(--blue-900);
  color: #ffffff;
}

.services__toggle-icone {
  font-size: 17px;
  line-height: 1;
}

/* ==========================================================================
   10. Marcas (marquee)
   ========================================================================== */
.brands {
  background: var(--surface);
  border-top: 1px solid var(--line);
  padding-block: clamp(44px, 5vw, 72px);
}

.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}

.marquee__track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: marquee 38s linear infinite;
}

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

.marquee__group {
  display: flex;
  align-items: center;
  gap: clamp(36px, 5vw, 72px);
  padding-right: clamp(36px, 5vw, 72px);
}

.marquee__group img {
  height: 44px;
  width: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.68;
  display: block;
  flex: none;
  transition: filter var(--t-fast), opacity var(--t-fast);
}

.marquee__group img:hover {
  filter: none;
  opacity: 1;
}

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

/* ==========================================================================
   Avaliações: bloco de nota + carrossel
   ========================================================================== */
.reviews {
  background: var(--surface);
  border-top: 1px solid var(--line);
  padding-block: var(--section-y);
}

.reviews__grid {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
}

/* --- bloco da nota --------------------------------------------------- */
.reviews__score {
  text-align: center;
}

.reviews__word {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: clamp(26px, 2.6vw, 34px);
  letter-spacing: -0.02em;
  text-transform: uppercase;
  line-height: 1;
}

.reviews__bigstars {
  margin-top: 12px;
  color: #f5a623;
  font-size: 30px;
  letter-spacing: 0.06em;
  line-height: 1;
}

.reviews__count {
  margin-top: 12px;
  font-size: 15px;
  color: var(--ink-soft);
}

.reviews__source {
  display: inline-block;
  margin-top: 16px;
}

.reviews__google {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.reviews__google b {
  font-weight: 700;
}

/* --- carrossel -------------------------------------------------------- */
/* min-width:0 impede que os cartões de largura fixa estiquem a coluna do grid
   e empurrem a página para fora da tela no celular. */
.reviews__carousel {
  position: relative;
  min-width: 0;
}

.reviews__track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

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

.review {
  flex: 0 0 clamp(250px, 31.5%, 360px);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 26px;
  background: var(--ground);
  border: 1px solid var(--line);
}

.review__head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review__avatar {
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #ffffff;
  font-weight: 700;
  font-size: 17px;
}

.review__name {
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.01em;
}

.review__name:hover {
  color: var(--green-ink);
}

.review__rating {
  display: flex;
  align-items: center;
  gap: 8px;
}

.review__stars {
  color: #f5a623;
  font-size: 16px;
  letter-spacing: 0.08em;
  line-height: 1;
}

.review__check {
  width: 17px;
  height: 17px;
  flex: none;
}

/* Texto cortado em 4 linhas; o botão "Ler mais" é criado pelo JavaScript
   apenas nos cartões em que o texto realmente não coube. */
.review__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-soft);
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.review.is-open .review__text {
  -webkit-line-clamp: unset;
  overflow: visible;
}

.review__more {
  align-self: flex-start;
  margin-top: auto;
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink-muted);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.review__more:hover {
  color: var(--green-ink);
}

/* --- setas ------------------------------------------------------------ */
.reviews__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 14px rgba(6, 35, 56, 0.12);
  transition: background var(--t-fast), color var(--t-fast), opacity var(--t-fast);
}

.reviews__arrow--prev {
  left: -22px;
}

.reviews__arrow--next {
  right: -22px;
}

.reviews__arrow:hover:not(:disabled) {
  background: var(--blue-900);
  color: #ffffff;
}

.reviews__arrow:disabled {
  opacity: 0.3;
  cursor: default;
}

.reviews__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 22px;
}

.reviews__dot {
  width: 26px;
  height: 4px;
  border: 0;
  padding: 0;
  background: var(--line);
  cursor: pointer;
  transition: background var(--t-fast);
}

.reviews__dot[aria-selected="true"] {
  background: var(--green);
}

@media (max-width: 960px) {
  .reviews__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .reviews__score {
    text-align: left;
  }

  /* sem espaço nas laterais: as setas saem e ficam só o arrasto e os pontos */
  .reviews__arrow {
    display: none;
  }
}

@media (max-width: 620px) {
  .review {
    flex-basis: 84%;
    padding: 22px;
  }
}

/* ==========================================================================
   11. Contato
   ========================================================================== */
.contact {
  background: linear-gradient(90deg, var(--blue-900) 0%, var(--blue-800) 100%);
  color: #fff;
}

.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 76px);
  align-items: end;
  padding-block: clamp(52px, 6vw, 92px);
}

.contact__title {
  font-size: clamp(26px, 5vw, 38px);
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.contact__title span {
  display: block;
}

.contact__title em {
  font-style: normal;
  color: var(--lime);
}

.contact__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.contact__info {
  font-style: normal;
  font-size: 15px;
  line-height: 1.8;
  display: grid;
  gap: 6px;
  color: rgba(255, 255, 255, 0.78);
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  padding-left: 28px;
}

.contact__info a:hover {
  color: #fff;
}

.contact__info strong {
  color: #fff;
  font-size: 17px;
}

.footer__address {
  font-size: 14px;
  line-height: 1.75;
  font-style: normal;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.66);
}

.footer__address a:hover {
  color: #fff;
}

/* ==========================================================================
   12. Rodapé
   ========================================================================== */
.footer {
  background: var(--blue-900);
  color: #fff;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr));
  gap: 40px;
  padding-block: clamp(36px, 4vw, 60px);
}

.footer__logo {
  height: 42px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
}

.footer__about {
  font-size: 14px;
  line-height: 1.75;
  max-width: 42ch;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.66);
}

.footer__title {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 18px;
  color: var(--lime);
  font-weight: 600;
}

.footer__links {
  display: grid;
  gap: 11px;
  font-size: 14px;
}

.footer__links a {
  color: rgba(255, 255, 255, 0.82);
}

.footer__links a:hover {
  color: #fff;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.footer__bottom p {
  padding-block: 20px;
  font-size: 11.5px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.footer__credito {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  transition: color var(--t-fast), border-color var(--t-fast);
}

.footer__credito:hover,
.footer__credito:focus-visible {
  color: #ffffff;
  border-bottom-color: #ffffff;
}

/* ==========================================================================
   13. Botão flutuante WhatsApp
   ========================================================================== */
.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 50;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 20px rgba(6, 35, 56, 0.28);
  transition: transform var(--t-fast), box-shadow var(--t-fast);
}

.wa-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 26px rgba(6, 35, 56, 0.34);
}

.wa-float svg {
  width: 30px;
  height: 30px;
  fill: #fff;
}

/* ==========================================================================
   14. Responsivo
   ========================================================================== */
@media (max-width: 960px) {
  :root {
    --header-h: 81px;
  }

  .nav {
    display: none;
  }

  .header__cta {
    display: none;
  }

  .nav-toggle {
    display: grid;
  }

  .header__inner {
    padding-block: 12px;
  }

  .header__logo img {
    height: 56px;
  }

  .hero__grid {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .hero__content {
    padding-left: var(--gutter);
    padding-right: var(--gutter);
  }

  .hero__figure {
    height: 300px;
    order: -1;
    -webkit-clip-path: polygon(0 0, 100% 0, 100% 100%, 0 88%);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 88%);
  }

  /* no celular a etiqueta sobe, senao o corte diagonal passa por cima dela */
  .hero__tag {
    top: 0;
    bottom: auto;
  }

  .trust__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust__item:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }

  .trust__item:nth-child(n + 3) {
    border-top: 1px solid rgba(255, 255, 255, 0.28);
  }

  .about__grid,
  .contact__grid,
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .contact__info {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-left: 0;
    padding-top: 24px;
  }

  .service {
    grid-template-columns: 48px 1fr;
    gap: 16px;
  }

  .service__desc,
  .service picture,
  .service__img {
    display: none;
  }
}

@media (max-width: 620px) {
  .topbar__hours {
    display: none;
  }

  .topbar__inner {
    justify-content: center;
  }

  .catalog__head {
    align-items: start;
  }

  .filters {
    width: 100%;
  }

  .filters button {
    flex: 1;
    padding: 13px 8px;
    font-size: 12px;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .hero__rating {
    margin-left: 0;
  }

  .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  }

  .product {
    padding: 18px;
    min-height: 220px;
  }

  .product__img {
    height: 100px;
  }

  .product__name {
    font-size: 15px;
  }

  .contact__actions .btn {
    width: 100%;
  }
}

/* Respeita quem prefere menos movimento */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .marquee__track {
    animation: none;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
