/* ============================================================
   MAZZEO IA — variante B "Google" (teste A/B)
   Branco, Roboto, cores Google, simplicidade de google.com
   ============================================================ */
:root {
  --gblue: #4285F4;
  --gblue-btn: #1a73e8;
  --gred: #EA4335;
  --gyellow: #FBBC05;
  --ggreen: #34A853;
  --ink: #202124;
  --ink-soft: #3c4043;
  --grey: #5f6368;
  --grey-light: #9aa0a6;
  --line: #dadce0;
  --chip: #f8f9fa;
  --font: 'Roboto', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: #ffffff;
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  overflow-x: hidden;
}
button { font-family: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }
input, textarea { font-family: inherit; }
h1, h2, h3 { margin: 0; }
a { color: inherit; text-decoration: none; }
img { -webkit-user-drag: none; }

::selection { background: #d2e3fc; color: var(--ink); }

/* ============================================================
   TOPO
   ============================================================ */
.gtop {
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px 32px;
  max-width: 1200px; margin: 0 auto;
}
.gbrand { font-size: 18px; font-weight: 700; letter-spacing: -0.01em; }
.gbrand b { color: var(--gblue-btn); font-weight: 700; }
.gnav { display: flex; align-items: center; gap: 6px; }
.glink {
  font-size: 14px; color: var(--ink-soft); font-weight: 500;
  padding: 9px 14px; border-radius: 99px;
  transition: background 0.18s ease;
}
.glink:hover { background: var(--chip); }

/* ============================================================
   HERO — cara de google.com
   ============================================================ */
.gmain { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.ghero {
  text-align: center;
  padding: 100px 0 88px;
}
.gmark {
  width: 118px; height: 118px;
  display: inline-block;
  animation: gpop 0.7s cubic-bezier(0.34, 1.4, 0.64, 1);
}
@keyframes gpop { from { transform: scale(0.6); opacity: 0; } to { transform: scale(1); opacity: 1; } }

.gtitle {
  margin-top: 38px;
  font-size: clamp(30px, 5vw, 54px);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.16;
  color: var(--ink);
}
.gplus { font-weight: 400; }
.gplus.pb { color: var(--gblue); }
.gplus.pr { color: var(--gred); }
.gword { font-weight: 500; }
.gword .c1 { color: #4285F4; }
.gword .c2 { color: #EA4335; }
.gword .c3 { color: #FBBC05; }
.gword .c4 { color: #4285F4; }
.gword .c5 { color: #34A853; }
.gword .c6 { color: #EA4335; }

.gsub {
  margin: 26px auto 0;
  max-width: 560px;
  font-size: clamp(15px, 1.8vw, 17px);
  color: var(--grey);
}

/* pill de busca (CTA principal) */
.gsearch {
  display: flex; align-items: center; gap: 14px;
  width: min(584px, 100%);
  margin: 42px auto 0;
  height: 48px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: 15.5px;
  color: var(--grey);
  text-align: left;
  transition: box-shadow 0.18s ease, border-color 0.18s ease;
}
.gsearch span { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gsearch:hover, .gsearch:focus {
  border-color: transparent;
  box-shadow: 0 1px 6px rgba(32, 33, 36, 0.28);
}
.gs-lupa { width: 19px; height: 19px; flex-shrink: 0; }
.gs-mic { width: 21px; height: 21px; flex-shrink: 0; }

/* botões estilo google.com */
.gbtns { display: flex; gap: 14px; justify-content: center; margin-top: 34px; flex-wrap: wrap; }
.gbtn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--chip);
  border: 1px solid var(--chip);
  border-radius: 6px;
  color: var(--ink-soft);
  font-size: 14px; font-weight: 500;
  padding: 10px 18px;
  transition: all 0.18s ease;
}
.gbtn:hover {
  border-color: var(--line);
  box-shadow: 0 1px 2px rgba(60, 64, 67, 0.2);
  color: var(--ink);
}

.gmeta { margin-top: 46px; font-size: 13px; color: var(--grey-light); }

/* ============================================================
   CARDS DO QUE ENTREGAMOS
   ============================================================ */
.gcards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 26px;
  padding: 30px 0 70px;
}
.gcard {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 36px 30px;
  text-align: left;
  transition: box-shadow 0.18s ease;
  background: #fff;
}
.gcard:hover { box-shadow: 0 1px 8px rgba(32, 33, 36, 0.15); }
.gic {
  display: inline-grid; place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  margin-bottom: 20px;
}
.gic svg { width: 22px; height: 22px; }
.gic.b { background: #e8f0fe; }
.gic.r { background: #fce8e6; }
.gic.g { background: #e6f4ea; }
.gcard h3 { font-size: 17px; font-weight: 500; color: var(--ink); margin-bottom: 10px; }
.gcard p { margin: 0; font-size: 14px; color: var(--grey); line-height: 1.55; }

/* ============================================================
   EMPRESAS (logos)
   ============================================================ */
.gtrust { text-align: center; padding: 56px 0 30px; }
.gtrust-label {
  font-size: 11px; color: var(--grey-light);
  letter-spacing: 0.14em; text-transform: uppercase; font-weight: 500;
  margin: 0 0 32px;
}
/* carrossel infinito de logos: track = [set + set idêntico],
   translateX(-50%) fecha o loop sem emenda */
.gtrust-marquee {
  overflow: hidden;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}
.gtrust-track {
  display: flex; align-items: center;
  width: max-content;
  animation: gtScroll 32s linear infinite;
  will-change: transform;
}
/* a faixa NÃO para com o mouse: nenhum carrossel do site reage ao cursor */
@keyframes gtScroll { to { transform: translateX(-50%); } }
.gtrust-set {
  display: flex; align-items: center;
  gap: 48px; padding-right: 48px;
  flex-shrink: 0;
}
.glogo {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 16px;
  border-radius: 12px;
  cursor: default;
  transition: background 0.25s ease;
}
.glogo img {
  height: 34px; width: auto; max-width: 150px; object-fit: contain;
  opacity: 0.55;
  transition: opacity 0.25s ease, filter 0.25s ease;
}
.glogo img.ic { height: 30px; }
/* logos de arquivo BRANCO → grafite no fundo claro */
.glogo.dark img { filter: invert(1) grayscale(100%) brightness(0.75); }
/* logos de arquivo COLORIDO (ícones reais Alumis/VeSeServe) → cinza por padrão */
.glogo.color img { filter: grayscale(100%) brightness(0.95); }
.glogo b {
  font-size: 21px; font-weight: 700; letter-spacing: -0.02em;
  color: #9aa0a6;
  transition: color 0.25s ease;
  font-style: normal;
}
.glogo b i { font-style: normal; }
/* HOVER:
   - ícones coloridos (Alumis/VeSeServe) revelam as cores verdadeiras
   - arquivos brancos (sem versão colorida) só ganham contraste — sem
     chip/fundo atrás */
.glogo.dark:hover img { filter: invert(1) grayscale(100%) brightness(0.35); opacity: 1; }
/* logos com versão colorida real: troca a branca pela original no hover */
.glogo.swap { position: relative; }
.glogo.swap img { filter: invert(1) grayscale(100%) brightness(0.75); transition: opacity 0.3s ease; }
.glogo.swap .cs-b {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  filter: none;
  max-width: none;
}
.glogo.swap:hover .cs-a { opacity: 0; }
.glogo.swap:hover .cs-b { opacity: 1; }
.glogo.color:hover img { filter: none; opacity: 1; }
.glogo.color:hover b { color: #202124; }
.glogo.color:hover b .or { color: #F97316; }

/* ============================================================
   AVALIAÇÕES — estilo Google Reviews
   ============================================================ */
.greviews { text-align: center; padding: 96px 0 110px; }
.greviews h2 { font-size: clamp(24px, 3.4vw, 34px); font-weight: 500; color: var(--ink); }
.grev-sub { margin: 14px auto 50px; font-size: 15px; color: var(--grey); }

/* ---------- CARROSSEL 3D DAS AVALIAÇÕES (anel girando) ----------
   Os cards orbitam sempre de frente pra câmera: o do centro fica em
   tamanho cheio e 100% opaco, e quem vai pro fundo encolhe e apaga.
   Posições vêm do JS (modo "anel"), num relógio único por quadro. */
.t3d-stage {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  height: 460px;
  perspective: 1500px;
  perspective-origin: 50% 50%;
  overflow: hidden;
  /* inerte ao mouse: o carrossel gira sempre no mesmo ritmo */
  pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 7%, #000 93%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 7%, #000 93%, transparent 100%);
}
.t3d-ring {
  position: absolute;
  left: 50%; top: 50%;
  width: 0; height: 0;
  transform-style: preserve-3d;
}
.t3d-ring .grev {
  position: absolute;
  left: 0; top: 0;
  width: 390px;
  margin-left: -195px;
  height: 390px;
  margin-top: -195px;
  text-align: left;
  will-change: transform, opacity;
  transition: none;
  /* opaco: no anel os cards se sobrepõem */
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(60, 64, 67, 0.16), 0 8px 24px -12px rgba(60, 64, 67, 0.3);
}
.t3d-ring .grev:hover {
  box-shadow: 0 1px 3px rgba(60, 64, 67, 0.16), 0 8px 24px -12px rgba(60, 64, 67, 0.3);
}
.t3d-ring .grev p {
  display: -webkit-box;
  -webkit-line-clamp: 7;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.grev {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 30px 28px 28px;
  transition: box-shadow 0.18s ease;
}
.grev:hover { box-shadow: 0 1px 8px rgba(32, 33, 36, 0.15); }
.grev header { display: flex; align-items: center; gap: 12px; }
.grev-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  color: #fff; font-weight: 500; font-size: 16px;
  flex-shrink: 0;
}
.av-b { background: var(--gblue); }
.av-r { background: var(--gred); }
.av-g { background: var(--ggreen); }
.av-y { background: #F29900; }
.av-o { background: #F97316; }
.grev-who { flex: 1; min-width: 0; line-height: 1.3; }
.grev-who strong { display: block; font-size: 14.5px; font-weight: 500; color: var(--ink); }
.grev-who span { font-size: 12.5px; color: var(--grey); }
.grev-g { flex-shrink: 0; opacity: 0.9; }
.grev-stars {
  color: var(--gyellow);
  font-size: 15px; letter-spacing: 2px;
  margin: 14px 0 12px;
}
.grev p { margin: 0; font-size: 14px; color: var(--ink-soft); line-height: 1.6; }

.grev-meta { margin: 44px 0 0; font-size: 14px; color: var(--grey); }
.grev-meta b { color: var(--ink); font-weight: 500; }
.grev-meta-stars { color: var(--gyellow); letter-spacing: 1.5px; }

.gcta {
  display: inline-flex; align-items: center; justify-content: center;
  margin-top: 36px;
  background: var(--gblue-btn);
  color: #fff;
  font-size: 15px; font-weight: 500;
  padding: 12px 28px;
  border-radius: 6px;
  transition: box-shadow 0.18s ease, background 0.18s ease;
}
.gcta:hover { background: #1765cc; box-shadow: 0 1px 6px rgba(26, 115, 232, 0.4); }

/* ============================================================
   RODAPÉ
   ============================================================ */
.gfooter {
  border-top: 1px solid #e8eaed;
  background: var(--chip);
  text-align: center;
  padding: 52px 24px 58px;
  color: var(--grey);
  font-size: 12.5px;
}
.gpay { margin-bottom: 30px; }
.gpay-label {
  display: block;
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--grey-light); font-weight: 500;
  margin-bottom: 12px;
}
.gpay-icons { display: inline-flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.gpay-ic {
  display: inline-flex; align-items: center; justify-content: center;
  height: 28px; min-width: 46px; padding: 0 10px;
  background: #fff; border: 1px solid var(--line); border-radius: 5px;
  font-weight: 700; font-size: 11px;
}
.gpay-ic.pix { color: #32BCAD; font-style: italic; }
.gpay-ic.visa { color: #1A1F71; font-style: italic; letter-spacing: 0.08em; }
.gpay-ic.mc { gap: 0; padding: 0 8px; }
.gpay-ic.mc i { width: 14px; height: 14px; border-radius: 50%; display: inline-block; }
.gpay-ic.mc .m1 { background: #EB001B; }
.gpay-ic.mc .m2 { background: #F79E1B; margin-left: -5px; mix-blend-mode: multiply; }
.gpay-ic.elo { color: #000; font-weight: 900; font-style: italic; }
.gpay-ic.amex { background: #006FCF; color: #fff; border-color: #006FCF; letter-spacing: 0.08em; }
.gpay-ic.hiper { background: #B3131B; color: #fff; border-color: #B3131B; font-size: 9px; }
.gpay-ic.boleto { background: #202124; color: #fff; border-color: #202124; }
.gfoot-company { margin: 0 0 4px; color: var(--grey); }
.gfoot-copy { margin: 0; color: var(--grey-light); font-size: 11.5px; }

/* toast (usado pelo script compartilhado) */
.toast {
  position: fixed; bottom: 32px; left: 50%;
  transform: translateX(-50%) translateY(120px);
  background: #202124; color: #fff;
  padding: 13px 22px; border-radius: 8px;
  font-size: 13.5px;
  opacity: 0; pointer-events: none;
  transition: transform 360ms cubic-bezier(0.4, 0, 0.2, 1), opacity 360ms;
  z-index: 400;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ============================================================
   FORMULÁRIO DE ENTRADA — mesmo motor, tema claro Google
   ============================================================ */
html.mzform-open { overflow: hidden; }

.mzform {
  position: fixed; inset: 0; z-index: 300;
  background: #ffffff;
  color: var(--ink);
  font-family: var(--font);
  opacity: 1;
  transition: opacity 0.45s ease;
}
.mzform.mzform-hide { opacity: 0; pointer-events: none; }

.mzform-progress {
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: #e8eaed; z-index: 5;
}
.mzform-progress i {
  display: block; height: 100%; width: 0;
  background: var(--gblue-btn); border-radius: 0 99px 99px 0;
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.mzform-top {
  position: absolute; top: 0; left: 0; right: 0; z-index: 5;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 28px;
}
.mzform-brand { font-size: 16px; font-weight: 700; }
.mzform-brand em { font-style: normal; color: var(--gblue-btn); }
.mzform-skip {
  font-size: 13px; color: var(--grey); font-weight: 500;
  padding: 8px 14px; border-radius: 99px;
  border: 1px solid var(--line);
  transition: background 0.18s ease;
}
.mzform-skip:hover { background: var(--chip); color: var(--ink); }

.mzform-viewport { position: absolute; inset: 0; overflow: hidden; }

.mzf-step {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  padding: 80px 28px 110px;
  opacity: 0;
  transform: translateY(46px);
  transition: opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1), transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}
.mzf-step.up { transform: translateY(-46px); }
.mzf-step.active { opacity: 1; transform: translateY(0); }

.mzf-card { width: 100%; max-width: 660px; }
.mzf-card.center { text-align: center; }

.mzf-num {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; color: var(--gblue-btn); font-weight: 500;
  margin-bottom: 14px;
}
.mzf-num svg { width: 13px; height: 13px; }

.mzf-q {
  font-size: clamp(23px, 3.6vw, 33px);
  font-weight: 500; line-height: 1.24; letter-spacing: -0.01em;
  margin: 0 0 10px;
  color: var(--ink);
}
.mzf-q em { font-style: normal; color: var(--gblue-btn); }
.mzf-sub { font-size: 15px; color: var(--grey); line-height: 1.55; margin: 0 0 28px; }

.mzf-hero-title {
  font-size: clamp(30px, 5vw, 46px);
  font-weight: 500; line-height: 1.15; letter-spacing: -0.01em;
  margin: 0 0 16px;
  color: var(--ink);
}
.mzf-hero-title em { font-style: normal; color: var(--gblue-btn); text-shadow: none; }
.mzf-hero-sub { font-size: clamp(14px, 1.8vw, 16.5px); color: var(--grey); line-height: 1.6; max-width: 520px; margin: 0 auto 34px; }
.mzf-hero-sub b { color: var(--ink); font-weight: 500; }

.mzf-input {
  width: 100%;
  background: transparent; border: 0; outline: none;
  border-bottom: 2px solid var(--line);
  color: var(--ink);
  font-family: var(--font);
  font-size: clamp(19px, 2.6vw, 26px);
  font-weight: 400;
  padding: 6px 0 12px;
  border-radius: 0;
  caret-color: var(--gblue-btn);
  transition: border-color 0.2s ease;
}
.mzf-input::placeholder { color: var(--grey-light); }
.mzf-input:focus { border-bottom-color: var(--gblue-btn); }

.mzf-opts { display: grid; gap: 9px; margin-top: 6px; max-width: 480px; }
.mzf-opt {
  display: flex; align-items: center; gap: 13px;
  width: 100%; text-align: left;
  padding: 13px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink-soft);
  font-size: 15px; font-weight: 400;
  transition: all 140ms ease;
}
.mzf-opt i {
  display: inline-grid; place-items: center;
  width: 24px; height: 24px; flex-shrink: 0;
  border: 1px solid var(--line);
  border-radius: 5px;
  font-style: normal; font-size: 12px; font-weight: 500;
  background: var(--chip);
  color: var(--grey);
  transition: all 140ms ease;
}
.mzf-opt:hover { background: var(--chip); border-color: #cfd2d6; }
.mzf-opt.sel {
  background: #e8f0fe; color: var(--gblue-btn); border-color: var(--gblue-btn);
  font-weight: 500;
}
.mzf-opt.sel i { background: var(--gblue-btn); color: #fff; border-color: var(--gblue-btn); }

.mzf-okrow { display: flex; align-items: center; gap: 14px; margin-top: 26px; }
.mzf-ok {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gblue-btn); color: #fff;
  font-size: 15px; font-weight: 500;
  padding: 12px 26px; border-radius: 6px;
  transition: background 0.18s ease, box-shadow 0.18s ease;
}
.mzf-ok:hover { background: #1765cc; box-shadow: 0 1px 6px rgba(26, 115, 232, 0.4); }
.mzf-ok.big { padding: 14px 32px; font-size: 16px; }
.mzf-hint { font-size: 12px; color: var(--grey-light); }
.mzf-hint b { color: var(--grey); font-weight: 500; }
@media (hover: none) { .mzf-hint { display: none; } }

.mzf-err {
  display: none; margin-top: 14px;
  font-size: 13px; font-weight: 500; color: #d93025;
}
.mzf-err.on { display: block; }
.mzf-card.shake { animation: mzfShake 0.4s ease; }
@keyframes mzfShake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-7px); }
  50% { transform: translateX(6px); }
  75% { transform: translateX(-3px); }
}

.mzf-check {
  width: 74px; height: 74px; margin: 0 auto 24px;
  border-radius: 50%;
  background: var(--ggreen); color: #fff;
  display: grid; place-items: center;
  animation: mzfPop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.mzf-check svg { width: 34px; height: 34px; }
@keyframes mzfPop { from { transform: scale(0); } to { transform: scale(1); } }
.mzf-final-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }
.mzf-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--line);
  color: var(--gblue-btn);
  font-size: 15px; font-weight: 500;
  padding: 12px 24px; border-radius: 6px;
  transition: background 0.18s ease;
}
.mzf-ghost:hover { background: #e8f0fe; }
.mzf-spin {
  width: 40px; height: 40px; margin: 0 auto 20px;
  border: 3px solid #e8eaed;
  border-top-color: var(--gblue-btn);
  border-radius: 50%;
  animation: gspin 0.9s linear infinite;
}
@keyframes gspin { to { transform: rotate(360deg); } }

.mzform-nav {
  position: absolute; right: 24px; bottom: 24px; z-index: 5;
  display: flex; gap: 6px;
}
.mzform-nav button {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink-soft);
  transition: background 0.18s ease;
}
.mzform-nav button:hover:not(:disabled) { background: var(--chip); }
.mzform-nav button:disabled { opacity: 0.3; cursor: default; }

/* ============================================================
   RESPONSIVO
   ============================================================ */
@media (max-width: 640px) {
  .gtop { padding: 14px 18px; }
  .ghero { padding: 60px 0 60px; }
  .gmark { width: 88px; height: 88px; }
  .gsearch { height: 44px; font-size: 14px; }
  .gbtns { gap: 8px; }
  .gmeta { font-size: 12px; }
  .gcards { grid-template-columns: 1fr; }
  .gtrust-set { gap: 22px; padding-right: 22px; }
  .glogo { padding: 8px 12px; gap: 7px; }
  .glogo img { height: 26px; max-width: 110px; }
  .glogo img.ic { height: 23px; }
  .glogo b { font-size: 17px; }
  .gtrust-track { animation-duration: 26s; }
  .greviews { padding: 64px 0 76px; }
  .t3d-stage { height: 400px; perspective: 900px; }
  .t3d-ring .grev { width: 290px; margin-left: -145px; height: 360px; margin-top: -180px; }
  .t3d-ring .grev p { -webkit-line-clamp: 6; }
  .mzform-top { padding: 16px 18px; }
  .mzf-step { padding: 70px 22px 96px; }
  .mzf-opts { max-width: none; }
  .mzform-nav { right: 16px; bottom: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
