/* =========================================================
   UpKeepTech — design tokens
   ========================================================= */
:root {
  /* cor */
  --void: #000;
  --surface: #100f1c;
  --surface-raised: #1d1c28;
  --stroke: #2a2836;
  --magenta: #D300CE;
  --magenta-soft: #f0158c33;
  --vim: #870080;
  --ice: #f5f4f8;
  --mute: #9c98ac;
  --mute-dim: #6b6780;

  --ring: conic-gradient(from 180deg, var(--magenta), var(--vim), var(--magenta));

  /* tipografia */
  --f-display: 'Space Grotesk', 'Inter', sans-serif;
  --f-body: 'Inter', sans-serif;
  --f-mono: 'JetBrains Mono', monospace;

  /* layout */
  --maxw: 1180px;
  --radius: 18px;
  --radius-sm: 10px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

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

body {
  margin: 0;
  background: var(--void);
  color: var(--ice);
  font-family: var(--f-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img { max-width: 100%; display: block; }

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
}

h1, h2, h3, h4 {
  font-family: var(--f-display);
  margin: 0;
  letter-spacing: -0.01em;
}

.eyebrow {
  font-family: var(--f-mono);
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--magenta);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ring);
}

:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
  border-radius: 4px;
}

/* =========================================================
   header
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(10, 10, 15, 0.72);
  border-bottom: 1px solid var(--stroke);
}
.site-header .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.brand {
  display: flex;
}
.brand .logo-ring { width: 80px; height: 80px;}

.nav-links {
  display: flex;
  gap: 28px;
  font-size: 17px;
  color: var(--mute);
}
.nav-links a { transition: color 0.2s ease; position: relative; }
.nav-links a:hover { color: var(--ice); }

.header-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn {
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 14px;
  padding: 11px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.btn-primary {
  background: var(--ring);
  color: #10060c;
  font-weight: 700;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -8px var(--magenta-soft); }
.btn-ghost {
  border-color: var(--stroke);
  color: var(--ice);
}
.btn-ghost:hover { border-color: var(--magenta); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--stroke);
  border-radius: 10px;
  width: 42px;
  height: 42px;
  color: var(--ice);
  align-items: center;
  justify-content: center;
}

/* =========================================================
   hero
   ========================================================= */
.hero {
  position: relative;
  padding: 96px 0 70px;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -220px;
  right: -160px;
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, var(--magenta-soft), transparent 68%);
  filter: blur(10px);
  pointer-events: none;
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
  position: relative;
}

.hero-copy h1 {
  font-size: clamp(38px, 5vw, 60px);
  line-height: 1.04;
  font-weight: 700;
  margin: 18px 0 22px;
}
.hero-copy h1 .accent {
  background: var(--ring);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-copy p {
  color: var(--mute);
  font-size: 17px;
  line-height: 1.65;
  max-width: 480px;
  margin-bottom: 32px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-stats {
  display: flex;
  gap: 34px;
  margin-top: 46px;
  padding-top: 26px;
  border-top: 1px solid var(--stroke);
}
.hero-stats div strong {
  display: block;
  font-family: var(--f-display);
  font-size: 24px;
}
.hero-stats div span {
  font-size: 12.5px;
  color: var(--mute-dim);
  font-family: var(--f-mono);
  letter-spacing: 0.04em;
}

/* --- signature: mascote com anel gradiente --- */
.hero-mascot {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mascot-ring-outer {
  position: relative;
  width: min(360px, 82vw);
  height: min(360px, 82vw);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mascot-ring-outer::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--ring);
  animation: spin 14s linear infinite;
}
.mascot-ring-outer::after {
  content: '';
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  background: var(--void);
}
.mascot-core {
  position: relative;
  z-index: 2;
  width: 74%;
  height: 74%;
  border-radius: 50%;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
}
.mascot-core svg { width: 70%; height: 70%; }
.mascot-badge {
  position: absolute;
  bottom: 6%;
  right: 2%;
  background: var(--surface-raised);
  border: 1px solid var(--stroke);
  border-radius: 999px;
  padding: 9px 16px;
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--ice);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 3;
  animation: float 5s ease-in-out infinite;
}
.mascot-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: #37e28a; box-shadow: 0 0 0 4px #37e28a22; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* =========================================================
   marquee de confiança
   ========================================================= */
.trust-strip {
  border-top: 1px solid var(--stroke);
  border-bottom: 1px solid var(--stroke);
  padding: 20px 0;
  color: var(--mute-dim);
  font-family: var(--f-mono);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.trust-strip .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: space-between;
}

/* =========================================================
   seções genéricas
   ========================================================= */
section { padding: 96px 0; }
.section-head {
  max-width: 620px;
  margin-bottom: 52px;
}
.section-head h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  margin: 16px 0 14px;
  font-weight: 700;
}
.section-head p { color: var(--mute); font-size: 16px; line-height: 1.6; }

/* =========================================================
   serviços — ficha de ordem de serviço
   ========================================================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.service-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  padding: 32px;
  transition: transform 0.25s ease, border-color 0.25s ease;
  overflow: hidden;
}
.service-card:hover { transform: translateY(-4px); border-color: var(--magenta); }
.service-card::after {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--ring);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.service-card:hover::after { opacity: 1; }

.service-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 22px;
}
.service-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--surface-raised);
  border: 1px solid var(--stroke);
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-icon svg { width: 26px; height: 26px; stroke: var(--magenta); }
.service-tag {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mute-dim);
  border: 1px solid var(--stroke);
  border-radius: 999px;
  padding: 5px 11px;
}
.service-card h3 { font-size: 21px; margin-bottom: 10px; }
.service-card p { color: var(--mute); font-size: 14.5px; line-height: 1.6; margin-bottom: 18px; }
.service-list {
  list-style: none;
  padding: 0; margin: 0 0 20px;
  display: grid;
  gap: 9px;
}
.service-list li {
  font-size: 13.5px;
  color: var(--ice);
  display: flex;
  align-items: center;
  gap: 9px;
}
.service-list li::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--orange);
  flex-shrink: 0;
}
.service-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px dashed var(--stroke);
  font-family: var(--f-mono);
  font-size: 12.5px;
  color: var(--mute-dim);
}
.service-foot strong { color: var(--ice); font-size: 13px; }

/* =========================================================
   como funciona (sequência real -> numeração justificada)
   ========================================================= */
.process {
  background: var(--surface);
  border-top: 1px solid var(--stroke);
  border-bottom: 1px solid var(--stroke);
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  counter-reset: step;
}
.process-step {
  position: relative;
  padding: 0 30px 0 0;
}
.process-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 20px;
  right: -12px;
  width: 24px;
  height: 1px;
  background: var(--stroke);
}
.process-step .num {
  counter-increment: step;
  font-family: var(--f-mono);
  font-size: 13px;
  color: var(--void);
  background: var(--ring);
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  margin-bottom: 20px;
}
.process-step .num::before { content: counter(step, decimal-leading-zero); }
.process-step h4 { font-size: 18px; margin-bottom: 10px; }
.process-step p { color: var(--mute); font-size: 14.5px; line-height: 1.6; }

/* =========================================================
   vendas / vitrine
   ========================================================= */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.shop-card {
  background: var(--surface);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  padding: 26px;
  text-align: left;
}
.shop-card .shop-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  margin-bottom: 18px;
  display: flex; align-items: center; justify-content: center;
  background: var(--ring);
}
.shop-card .shop-icon svg { width: 22px; height: 22px; stroke: var(--void); }
.shop-card h4 { font-size: 17px; margin-bottom: 8px; }
.shop-card p { color: var(--mute); font-size: 14px; line-height: 1.6; }

/* =========================================================
   depoimentos
   ========================================================= */
.testimonial {
  background: var(--surface);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  padding: 28px;
}
.testimonial .stars { color: var(--orange); font-size: 14px; margin-bottom: 14px; letter-spacing: 2px; }
.testimonial p { font-size: 14.5px; line-height: 1.65; color: var(--ice); margin-bottom: 20px; }
.testimonial-who { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--ring);
  flex-shrink: 0;
}
.testimonial-who strong { display: block; font-size: 13.5px; }
.testimonial-who span { font-size: 12px; color: var(--mute-dim); font-family: var(--f-mono); }

/* =========================================================
   depoimentos (Slider com Bolinhas)
   ========================================================= */
.slider-container {
  position: relative;
  width: 100%;
}

.testimonials-grid {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory; 
  /* Adicione as 3 linhas abaixo para forçar o rolamento lateral ultra liso */
  scroll-behavior: smooth !important;
  -webkit-overflow-scrolling: touch; /* Suavidade extrema no Safari/iOS */
  will-change: scroll-position;
  scrollbar-width: none; 
  -ms-overflow-style: none; 
  padding-bottom: 20px;
}

/* Esconde a barra de rolagem (Chrome/Safari) */
.testimonials-grid::-webkit-scrollbar {
  display: none; 
}

.testimonial.card-slide {
  background: var(--surface);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  padding: 28px;
  width: calc(33.333% - 15px); 
  flex-shrink: 0;
  scroll-snap-align: start; 
  transition: transform 0.5s ease; 
}
/* Container das bolinhas */
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 18px;
}

/* Estilo de cada bolinha */
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--stroke);
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

/* Bolinha ativa */
.dot.active {
  background: var(--magenta);
  transform: scale(1.3);
}

/* =========================================================
   responsivo dos depoimentos
   ========================================================= */
@media (max-width: 980px) {
  .testimonial.card-slide {
    width: calc(50% - 11px); /* 2 cards por tela no Tablet */
  }
}

@media (max-width: 720px) {
  .testimonial.card-slide {
    width: 85%; /* 1 card por tela no Celular (deixando uma pontinha do próximo visível) */
  }
}

/* =========================================================
   orçamento / formulário
   ========================================================= */
.quote {
  background: var(--surface);
  border: 1px solid var(--stroke);
  border-radius: 24px;
  padding: 56px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
}
.quote-info .voltar-home{
  padding: 10px;
}
.quote-info .voltar-home a{
  font-style: var(--magenta);
  font-size: 18px;
  color: var(--ice);

}
.quote-info .voltar-home a:houver
.quote-info h2 { font-size: clamp(26px, 3vw, 34px); margin: 16px 0 16px; }
.quote-info p { color: var(--mute); font-size: 15.5px; line-height: 1.65; margin-bottom: 26px; }
.quote-channels { display: grid; gap: 12px; }
.quote-channel {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  padding: 12px 14px;
  border: 1px solid var(--stroke);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s ease;
}
.quote-channel:hover { border-color: var(--magenta); }
.quote-channel svg { width: 18px; height: 18px; stroke: var(--magenta); flex-shrink: 0; }

.quote-form { display: grid; gap: 16px; }
.field { display: grid; gap: 7px; }
.field label { font-size: 12.5px; font-family: var(--f-mono); color: var(--mute); letter-spacing: 0.04em; }
.field input,
.field select,
.field textarea {
  background: var(--void);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-sm);
  padding: 13px 14px;
  color: var(--ice);
  font-family: var(--f-body);
  font-size: 14.5px;
  resize: vertical;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--magenta);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-msg {
  font-size: 13.5px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-family: var(--f-mono);
}
.form-msg.ok { background: #37e28a1a; color: #4de89a; border: 1px solid #37e28a44; }
.form-msg.err { background: #f0158c1a; color: #ff6fb8; border: 1px solid #f0158c44; }

/* =========================================================
   footer
   ========================================================= */
footer {
  border-top: 1px solid var(--stroke);
  padding: 56px 0 32px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1fr;
  gap: 40px;
  margin-bottom: 44px;
}
.footer-brand { display: flex; align-items: center; gap: 10px; font-family: var(--f-display); font-weight: 700; font-size: 17px; margin-bottom: 14px; }
.footer-brand .logo-ring { width: 90px; height: 70px; }
.footer-col p, .footer-col a { color: var(--mute); font-size: 14px; line-height: 2.1; display: block; }
.footer-col a:hover { color: var(--ice); }
.footer-col h5 {
  font-family: var(--f-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--mute-dim);
  margin-bottom: 14px;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  border-top: 1px solid var(--stroke);
  font-size: 12.5px;
  color: var(--mute-dim);
  font-family: var(--f-mono);
}

/* whatsapp floating button */
.fab-whats {
  position: fixed;
  bottom: 26px;
  right: 26px;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--ring);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 30px -10px var(--magenta-soft);
  z-index: 50;
  animation: float 4.5s ease-in-out infinite;
}
.fab-whats svg { width: 27px; height: 27px; stroke: var(--void); fill: none; }
/* =========================================================
   CONTATO PAGE
   ========================================================= */
#card-contato{
  font-family: var(--f-body);
}
#card-contato .wrap{
border: 1px solid var(--surface-raised);
background-color: #2a2836;
border-radius: 6px;
}
#card-contato .wrap .title-contato p{
  font-size: 10px;
  font-weight: bold;
}

/* =========================================================
   responsivo
   ========================================================= */
@media (max-width: 980px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-mascot { order: -1; }
  .mascot-ring-outer { width: min(280px, 60vw); height: min(280px, 60vw); }
  .services-grid { grid-template-columns: 1fr; }
  .shop-grid { grid-template-columns: 1fr 1fr; }
  .process-grid { grid-template-columns: 1fr; gap: 34px; }
  .process-step:not(:last-child)::after { display: none; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .quote { grid-template-columns: 1fr; padding: 36px 24px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .header-cta .btn-ghost { display: none; }
  .hero { padding: 56px 0 46px; }
  .hero-stats { flex-wrap: wrap; gap: 22px; }
  .shop-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  section { padding: 64px 0; }
  .trust-strip .wrap { justify-content: flex-start; gap: 18px; }
}

@media (max-width: 720px) {
  .mobile-menu {
    position: fixed;
    inset: 76px 0 0 0;
    background: var(--void);
    z-index: 39;
    padding: 30px 28px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    font-size: 20px;
    font-family: var(--f-display);
  }
}

.mobile-menu[hidden] { display: none !important; }
