/*
 * Espaço VT — estilos do site (recriação fiel do site em WordPress/Elementor).
 * Desktop: contêiner de 1140 px. Quebras: 1024 px (tablet) e 767 px (celular),
 * as mesmas do Elementor, para manter a página igual à anterior.
 */

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

:root {
  --verde: #0CBE7E;
  --verde-escuro: #0aa56d;
  --escuro: #0E151D;
  --texto: #545454;
  --menta: #CEF2E5;
  --laranja: #F8A540;
  --titulo: "Jost", "Segoe UI", sans-serif;
  --corpo: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --topo-altura: 79px;
  --mov-cor: #0CBE7E;
  --ig-destaque: #0CBE7E;
  --ig-raio: 16px;
  --saida: cubic-bezier(0.23, 1, 0.32, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--topo-altura) + 10px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--corpo);
  font-size: 18px;
  line-height: 1.5;
  color: var(--texto);
  background: #fff;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 0.9rem; }
h1, h2, h3, h4 { margin: 0; color: var(--escuro); }
ul { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
button { font: inherit; }
.verde { color: var(--verde); }
.cx { width: min(1140px, 100% - 20px); margin-inline: auto; }
.so-leitor { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.pular { position: absolute; left: 10px; top: -60px; z-index: 100; background: var(--escuro); color: #fff; padding: 10px 16px; border-radius: 6px; }
.pular:focus { top: 10px; }
:focus-visible { outline: 2px solid var(--verde); outline-offset: 3px; }

/* ---------- Botões ---------- */
.botao {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3em;
  font-family: var(--titulo);
  font-size: 18px;
  line-height: 27px;
  font-weight: 500;
  text-decoration: none;
  border-radius: 0 30px 30px 30px;
  transition: transform 160ms var(--saida), background-color 200ms ease, color 200ms ease, box-shadow 200ms ease;
}
.botao:active { transform: scale(0.97); }
.botao--cheio {
  background: var(--verde);
  color: #fff;
  border: 1px solid var(--verde);
  padding: 15px 51px 16px 50px;
  box-shadow: 0 20px 30px rgba(0, 0, 0, 0.2);
}
@media (hover: hover) and (pointer: fine) {
  .botao--cheio:hover { background: var(--verde-escuro); border-color: var(--verde-escuro); }
}

/* ---------- Títulos de seção ---------- */
.titulo {
  position: relative;
  z-index: 0;
  font-family: var(--titulo);
  font-size: 50px;
  line-height: 1.1;
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
  margin: 0 auto 32px;
}
.titulo::after {
  content: "";
  position: relative;
  z-index: -1;
  display: block;
  width: 292px;
  height: 8px;
  margin: -14px auto 0;
  background: var(--menta);
}
.titulo .linha { display: block; }
.titulo--esq { text-align: left; }
.titulo--esq::after { display: none; }

.secao { padding: 60px 0; }
.secao--bolhas { background: url("/assets/img/espacovt-fundo-bolhas.webp") left center no-repeat; }

/* ---------- Topo ---------- */
.topo {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--verde);
}
.topo__cx { display: flex; align-items: center; justify-content: space-between; min-height: 78px; padding-block: 10px; }
.topo__logo { display: block; width: 205px; margin-left: 13px; }
.topo__abrir { display: none; }
.menu { flex: 1; display: flex; justify-content: center; padding-left: 40px; }
.menu__lista { display: flex; align-items: center; }
.menu__item { position: relative; margin-right: 25px; }
.menu__link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 13px 20px;
  font-family: var(--titulo);
  font-size: 14.4px;
  line-height: 20px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--escuro);
  text-decoration: none;
  background: none;
  border: 0;
  cursor: pointer;
  transition: color 160ms ease;
}
.menu__item--sub > .menu__link::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
}
.menu__sub {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 190px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(14, 21, 29, 0.12);
  border-radius: 0 0 8px 8px;
  padding: 6px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 160ms ease, transform 200ms var(--saida), visibility 0s linear 200ms;
}
.menu__sub a { display: block; padding: 11px 20px; font-size: 15px; color: #33373d; text-decoration: none; }
.menu__item--sub:focus-within > .menu__sub,
.menu__item--sub.aberto > .menu__sub { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
@media (hover: hover) and (pointer: fine) {
  .menu__item--sub:hover > .menu__sub { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .menu__link:hover, .menu__sub a:hover { color: var(--verde); }
}

/* ---------- Depoimentos ---------- */
.depoimentos { background: url("/assets/img/espacovt-fundo-avaliacoes.webp") center / cover no-repeat; padding: 60px 0; }
.depoimentos__cx { padding: 0 0 0 80px; }
.depoimentos__aspas { width: 70px; height: 70px; margin-bottom: 28px; }
.depoimentos .titulo { margin: 0 0 18px; }
.depo blockquote { margin: 0; }
.depo blockquote p, .depo blockquote { font-family: var(--titulo); font-size: 24px; line-height: 36px; font-style: italic; }
.depo blockquote p { margin: 0; }
.depo blockquote p + p { margin-top: 36px; }
.depo__nome { font-family: var(--titulo); font-size: 18px; font-weight: 700; color: var(--verde); margin: 20px 0 0; }

/* ---------- Carrossel (depoimentos e fotos) ---------- */
.carrossel { position: relative; }
.carrossel__trilho {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.carrossel__trilho::-webkit-scrollbar { display: none; }
.carrossel__trilho > li { flex: 0 0 100%; scroll-snap-align: start; }
.carrossel button { display: grid; place-items: center; cursor: pointer; background: none; padding: 0; }
.carrossel button svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.carrossel__setas--circulo { display: flex; justify-content: flex-end; gap: 80px; margin-top: 30px; padding-right: 10px; }
.carrossel__setas--circulo button {
  width: 50px;
  height: 50px;
  border: 2px solid var(--texto);
  border-radius: 50%;
  color: var(--escuro);
  transition: background-color 160ms ease, color 160ms ease, transform 160ms var(--saida);
}
.carrossel__setas--circulo button:active { transform: scale(0.94); }
@media (hover: hover) and (pointer: fine) {
  .carrossel__setas--circulo button:hover { background: var(--escuro); color: #fff; border-color: var(--escuro); }
}
.carrossel--depo .carrossel__trilho > li { padding-right: 20px; }

/* ---------- Galeria de fotos ---------- */
.carrossel--fotos { align-self: start; padding: 0 30px; }
.carrossel--fotos li img { width: 100%; max-width: 460px; margin-inline: auto; }
.carrossel__setas--laterais button {
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  width: 40px;
  height: 40px;
  color: var(--laranja);
  border: 0;
}
.carrossel__setas--laterais svg { width: 28px; height: 28px; stroke-width: 3; }
.carrossel__setas--laterais .carrossel__ant { left: -10px; }
.carrossel__setas--laterais .carrossel__prox { right: -10px; }

/* ---------- Instagram ---------- */
.secao--instagram .ig { max-width: 1140px; margin-inline: auto; text-align: center; }
.secao--instagram .ig:not(.ig--pronto) .ig__link,
.secao--instagram .ig__seguir {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 70px;
  padding: 6px 14px;
  border-radius: 20px;
  background: var(--laranja);
  color: #fff;
  font-family: var(--titulo);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
}
.secao--instagram .ig:not(.ig--pronto) .ig__link::before {
  content: "";
  width: 14px;
  height: 14px;
  border: 2px solid currentColor;
  border-radius: 4px;
  box-sizing: border-box;
}

/* ---------- Rodapé ---------- */
.rodape { background: url("/assets/img/espacovt-fundo-rodape.webp") center / cover no-repeat; padding: 78px 0 90px; }
.rodape__colunas { display: grid; grid-template-columns: repeat(3, 1fr); padding: 0 15px; }
.rodape__marca img { width: 280px; margin-bottom: 24px; }
.rodape p, .rodape a { font-family: var(--titulo); font-size: 16px; line-height: 24px; }
.rodape p { margin: 0; }
.rodape a { text-decoration: none; }
.rodape h3 { font-family: var(--titulo); font-size: 18px; line-height: 54px; font-weight: 700; }
.rodape__marca h3, .rodape h4 { font-family: var(--corpo); font-size: 16px; line-height: 1.1; font-weight: 700; color: var(--verde); margin: 22px 0 12px; }
.rodape h4 { margin: 14px 0 6px; }
.rodape__contato p + p { margin-top: 14px; }
.sociais { display: flex; gap: 12px; }
.sociais a { display: grid; place-items: center; width: 24px; height: 24px; color: var(--escuro); }
.sociais svg { width: 16px; height: 16px; fill: currentColor; }
.rodape__links li + li { margin-top: 2px; }
.rodape__links a { display: inline-flex; align-items: center; gap: 9px; }
.rodape__links a::before {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 2px solid var(--verde);
  border-bottom: 2px solid var(--verde);
  rotate: -45deg;
}
.rodape__links a.seta-cima::before { rotate: -135deg; translate: 0 2px; }
@media (hover: hover) and (pointer: fine) { .rodape a:hover { color: var(--verde); } }
.rodape__barra {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 28px;
  margin-top: 100px;
  padding: 10px 25px;
  min-height: 47px;
  background: var(--verde);
  border-radius: 0 34px 34px 34px;
}
.rodape__barra p, .rodape__barra a { color: #fff; font-size: 16.2px; line-height: 27px; }
.rodape__barra a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- WhatsApp flutuante ---------- */
.zap {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 60;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  transition: transform 200ms var(--saida);
}
.zap svg { width: 34px; height: 34px; fill: currentColor; }
.zap:active { transform: scale(0.94); }
.zap__selo {
  position: absolute;
  top: -2px;
  right: -2px;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #ff3b30;
  font: 700 12px/1 var(--corpo);
}
@media (hover: hover) and (pointer: fine) { .zap:hover { transform: scale(1.06); } }

/* ---------- Aviso de cookies ---------- */
.cookies {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 70;
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 520px;
  padding: 14px 18px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(14, 21, 29, 0.18);
  font-size: 14px;
  line-height: 1.4;
}
.cookies[hidden] { display: none; }
.cookies p { margin: 0; }
.cookies__ok {
  flex: none;
  border: 0;
  border-radius: 20px;
  background: var(--verde);
  color: #fff;
  font-family: var(--titulo);
  font-weight: 600;
  padding: 8px 18px;
  cursor: pointer;
}

/* ---------- Páginas simples (política, 404) ---------- */
.pagina { padding: 70px 0 90px; }
.pagina__conteudo { width: min(760px, 100% - 40px); margin-inline: auto; }
.pagina h1 { font-family: var(--titulo); font-size: 44px; line-height: 1.1; margin-bottom: 28px; }
.pagina h2 { font-family: var(--titulo); font-size: 24px; margin: 32px 0 10px; }
.pagina__voltar { margin-top: 36px; }

/* ================= Tablet (até 1024 px) ================= */
@media (max-width: 1024px) {
  body { font-size: 16px; }
  .titulo { font-size: 40px; }
  .titulo::after { width: 221px; }
  .topo__cx { min-height: 70px; }
  .depoimentos__cx { padding-left: 20px; }
  .rodape__colunas { gap: 24px; }
}

/* ================= Celular (até 767 px) ================= */
@media (max-width: 767px) {
  body { font-size: 14px; line-height: 21px; }
  :root { --topo-altura: 71px; }
  .titulo { font-size: 32px; margin-bottom: 24px; }
  .titulo::after { width: 190px; margin-top: -10px; }
  .titulo--esq { text-align: center; }
  .secao { padding: 60px 0 50px; }
  .botao { font-size: 16px; line-height: 21px; padding: 12px 20px; }

  /* Topo e menu */
  .topo__cx { min-height: 70px; padding-block: 10px; }
  .topo__logo { width: 175px; margin-left: 0; }
  .topo__abrir {
    display: grid;
    align-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0 11px;
    border: 0;
    border-radius: 3px;
    background: var(--verde);
    cursor: pointer;
  }
  .topo__abrir span { display: block; height: 2px; background: #fff; border-radius: 2px; transition: transform 200ms var(--saida), opacity 150ms ease; }
  .topo__abrir[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .topo__abrir[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .topo__abrir[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 16px 30px rgba(14, 21, 29, 0.12);
    max-height: calc(100dvh - var(--topo-altura));
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 160ms ease, transform 200ms var(--saida), visibility 0s linear 200ms;
  }
  .menu.aberto { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .menu__lista { display: block; padding: 8px 0 16px; }
  .menu__item { margin: 0; }
  .menu__link { width: 100%; padding: 14px 20px; font-size: 15px; justify-content: space-between; }
  .menu__sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; padding: 0 0 6px 16px; display: none; }
  .menu__item--sub.aberto > .menu__sub { display: block; }
  .menu__item--sub > .menu__link::after { transition: rotate 200ms var(--saida); }
  .menu__item--sub.aberto > .menu__link::after { rotate: 180deg; }

  /* Depoimentos */
  .depoimentos { padding: 30px 0 20px; }
  .depoimentos__cx { padding: 0 5px; text-align: center; }
  .depoimentos__aspas { margin: 0 auto 20px; width: 50px; height: 50px; }
  .titulo .linha { display: inline; }
  .depo blockquote p, .depo blockquote { font-size: 18px; line-height: 27px; }
  .depo blockquote p + p { margin-top: 27px; }
  .carrossel--depo .carrossel__trilho > li { padding: 0 4px; }
  .carrossel__setas--circulo { justify-content: center; gap: 40px; padding: 0; margin-top: 24px; }

  .carrossel--fotos { padding: 0 34px; }
  .carrossel__setas--laterais .carrossel__ant { left: -4px; }
  .carrossel__setas--laterais .carrossel__prox { right: -4px; }

  /* Rodapé */
  .rodape { padding: 50px 0 30px; text-align: center; }
  .rodape__colunas { grid-template-columns: 1fr; gap: 26px; padding: 0; }
  .rodape__marca img { margin-inline: auto; width: 300px; }
  .sociais { justify-content: center; }
  .rodape__links ul { display: grid; justify-content: center; }
  .rodape__barra { flex-direction: column; gap: 4px; margin-top: 40px; padding: 10px 20px; text-align: center; }
  .rodape__barra p, .rodape__barra a { font-size: 13px; line-height: 20px; }

  .zap { right: 14px; bottom: 14px; width: 54px; height: 54px; }
  .cookies { left: 10px; right: 10px; bottom: 80px; max-width: none; flex-direction: column; align-items: stretch; text-align: center; gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .carrossel__trilho { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
