/* ==========================================================================
   TecnoRio — Landing Page de Assistência Técnica
   Design tokens conforme handoff (design_handoff_tecnorio_landing/README.md)
   ========================================================================== */

:root {
  --green: #8dc63f;
  --green-light: #b5e061;
  --bg-dark: #0d120d;
  --bg-dark-footer: #070a07;
  --pill-dark-bg: #182018;
  --pill-dark-border: #2b382b;
  --bg-light: #fafaf9;
  --bg-light-alt: #f4f4f5;
  --text-dark-heading: #1c1917;
  --text-dark-body: #57534e;
  --text-dark-secondary: #a8a29e;
  --text-light-heading: #f4f4f5;
  --text-light-body: #a1a1aa;
  --border-light: #e7e5e4;
  --icon-tint: rgba(141, 198, 63, 0.12);
  --radius-card: 16px;
  --radius-card-lg: 18px;
  --radius-pill: 100px;
  --shadow-hover-sm: 0 12px 24px rgba(0, 0, 0, 0.08);
  --shadow-hover-lg: 0 16px 30px rgba(0, 0, 0, 0.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  background: var(--bg-light);
  color: var(--text-dark-heading);
}

a { color: var(--green); }
a:hover { color: var(--green-light); }

img { max-width: 100%; display: block; }

.container {
  max-width: 1160px;
  margin: 0 auto;
}

/* ---------- animations ---------- */
@keyframes pulseWa {
  0% { box-shadow: 0 0 0 0 rgba(141, 198, 63, 0.45); }
  70% { box-shadow: 0 0 0 12px rgba(141, 198, 63, 0); }
  100% { box-shadow: 0 0 0 0 rgba(141, 198, 63, 0); }
}
@keyframes marqueeLeft {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes marqueeRight {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

/* ---------- buttons ---------- */
.btn-wa {
  background: var(--green);
  color: #fff;
  border: none;
  border-radius: var(--radius-pill);
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  text-decoration: none;
}
.btn-wa:hover { background: var(--green-light); color: #fff; }

.btn-wa--header { padding: 11px 20px; font-size: 14px; font-weight: 700; }
.btn-wa--hero { padding: 17px 30px; font-size: 16px; animation: pulseWa 2.4s ease-in-out infinite; }
.btn-wa--banner { background: var(--bg-dark); padding: 15px 26px; font-size: 15px; }
.btn-wa--banner:hover { background: #1a231a; }
.btn-wa--final { padding: 17px 32px; font-size: 16px; }
.btn-wa--footer { padding: 10px 18px; font-size: 13.5px; font-weight: 700; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg-dark);
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}
.site-header__logo img { height: 38px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a {
  color: #d4d4d8;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}
.site-nav a:hover { color: var(--green); }

/* ---------- section texture (dark sections) ---------- */
.section-dark-texture {
  position: relative;
  background: var(--bg-dark);
  overflow: hidden;
}
.section-dark-texture::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(115deg, rgba(141, 198, 63, 0.07) 0px, rgba(141, 198, 63, 0.07) 1px, transparent 1px, transparent 46px);
  pointer-events: none;
}

/* ---------- hero ---------- */
.hero { padding: 64px 24px 56px; }
.hero__glow {
  position: absolute;
  top: -120px;
  right: -80px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(141, 198, 63, 0.22) 0%, rgba(141, 198, 63, 0) 70%);
  pointer-events: none;
}
.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  max-width: 1240px;
  margin: 0 auto;
}
.hero__grid > div:first-child { min-width: 0; }
.hero h1 {
  color: var(--text-light-heading);
  font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
}
.hero p.lead {
  color: var(--text-light-body);
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.6;
  margin: 0 0 28px;
  max-width: 560px;
}
.hero__badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.hero__grid--centered {
  grid-template-columns: 1fr;
  max-width: 640px;
  text-align: center;
}
.hero__grid--centered p.lead { max-width: 100%; margin-left: auto; margin-right: auto; }
.hero__grid--centered .hero__badges { justify-content: center; }
.pill-dark {
  background: var(--pill-dark-bg);
  color: var(--text-light-heading);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--pill-dark-border);
}
.image-slot {
  width: 100%;
  border-radius: var(--radius-card-lg);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  background: linear-gradient(135deg, #182018, #0d120d);
  border: 1px dashed rgba(141, 198, 63, 0.35);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--text-light-body);
  text-align: center;
  padding: 24px;
}
.image-slot svg { stroke: var(--green); opacity: 0.6; }
.image-slot span { font-size: 12.5px; line-height: 1.5; max-width: 260px; }
.hero .image-slot { height: 468px; }

.hero-photo {
  width: 100%;
  max-height: 468px;
  object-fit: contain;
  display: block;
}

/* ---------- trust badges bar ---------- */
.trust-bar {
  background: var(--bg-light-alt);
  padding: 36px 24px;
  border-bottom: 1px solid var(--border-light);
}
.trust-bar__grid {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.trust-item { display: flex; align-items: center; gap: 12px; }
.trust-item svg { flex-shrink: 0; stroke: var(--green); }
.trust-item strong { display: block; font-weight: 800; font-size: 16px; color: var(--text-dark-heading); }
.trust-item span { font-size: 13px; color: var(--text-dark-body); }

/* ---------- qualifier ---------- */
.qualifier { position: relative; padding: 64px 24px; background: var(--bg-light); overflow: hidden; }
.qualifier__glow {
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(141, 198, 63, 0.10) 0%, rgba(141, 198, 63, 0) 70%);
  pointer-events: none;
}
.qualifier__inner { position: relative; max-width: 900px; margin: 0 auto; text-align: center; }
.qualifier h2 { margin: 0 0 10px; }
.qualifier > .qualifier__inner > p { color: var(--text-dark-body); font-size: 16px; margin: 0 0 32px; }
.qualifier__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.q-btn {
  background: #fff;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-card);
  padding: 22px 14px;
  cursor: pointer;
  font-weight: 700;
  font-size: 14.5px;
  color: var(--text-dark-heading);
  min-width: 0;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  font-family: inherit;
}
.q-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(141, 198, 63, 0.18);
  border-color: var(--green);
}
.q-btn__icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--icon-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}
.q-btn__icon svg { stroke: var(--green); }

/* ---------- section headings (shared) ---------- */
h2.section-title {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
}
h2.section-title--center { text-align: center; }
.section-subtitle { color: var(--text-dark-body); text-align: center; margin: 0 0 40px; }

/* ---------- reviews / testimonials ---------- */
.reviews { padding: 64px 24px; background: var(--bg-light-alt); }
.reviews__grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.85fr 1.4fr;
  gap: 40px;
  align-items: center;
}
.reviews__intro p { color: var(--text-dark-body); font-size: 15.5px; line-height: 1.6; margin: 0 0 20px; }
.avatar-cluster { display: flex; align-items: center; }
.avatar-cluster__item {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 3px solid var(--bg-light-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #fff;
  font-size: 13px;
  margin-left: -14px;
}
.avatar-cluster__item:first-child { margin-left: 0; }

.reviews__scroll {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
  mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
}
.marquee-row {
  display: flex;
  gap: 16px;
  width: max-content;
  margin-bottom: 16px;
}
.marquee-row:last-child { margin-bottom: 0; }
.marquee-row--left { animation: marqueeLeft 50s linear infinite; }
.marquee-row--right { animation: marqueeRight 55s linear infinite; }
.reviews__scroll:hover .marquee-row { animation-play-state: paused; }

/* Carrossel leve para mobile: sem animação contínua nem mask-image (custosos em aparelhos mais fracos) */
.reviews__mobile {
  display: none;
  gap: 14px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
  padding-bottom: 6px;
}
.reviews__mobile .review-card { scroll-snap-align: start; }

.review-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-card);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 270px;
  flex-shrink: 0;
  transition: transform .2s ease, box-shadow .2s ease;
}
.review-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover-sm); }
.review-card__stars { display: flex; gap: 3px; }
.review-card__stars svg { fill: var(--green); }
.review-card p { color: #3f3d38; font-size: 13.5px; line-height: 1.55; margin: 0; }
.review-card__author { display: flex; align-items: center; gap: 10px; margin-top: auto; }
.review-card__initials {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--pill-dark-bg);
  color: var(--green);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 12px;
}
.review-card__name { font-weight: 700; font-size: 13px; color: var(--text-dark-heading); }
.review-card__source { font-size: 11.5px; color: var(--text-dark-secondary); }

/* ---------- services ---------- */
.services { padding: 72px 24px; background: var(--bg-light); }
.services__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.service-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-card);
  padding: 26px 20px;
  min-width: 0;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover-lg); border-color: var(--green); }
.service-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--icon-tint);
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-card__icon svg { stroke: var(--green); }
.service-card h3 { font-size: 15.5px; font-weight: 700; color: var(--text-dark-heading); margin: 16px 0 0; overflow-wrap: break-word; -webkit-hyphens: auto; hyphens: auto; }

/* ---------- why choose us ---------- */
.why { padding: 72px 24px; }
.why__grid {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 48px;
  align-items: start;
}
.eyebrow {
  color: var(--green);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: block;
}
.why h2 { color: var(--text-light-heading); margin: 10px 0 20px; }
.why .image-slot { height: 195px; }
.why-photo {
  width: 100%;
  height: 195px;
  object-fit: cover;
  border-radius: var(--radius-card-lg);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}
.why-list { display: flex; flex-direction: column; }
.why-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 22px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.why-list .why-item:last-child { border-bottom: none; }
.why-item svg { flex-shrink: 0; margin-top: 2px; stroke: var(--green); }
.why-item strong { display: block; font-size: 16.5px; font-weight: 700; color: var(--text-light-heading); margin: 0 0 4px; }
.why-item span { font-size: 14.5px; color: var(--text-light-body); }

/* ---------- how it works ---------- */
.steps { padding: 72px 24px; background: var(--bg-light); }
.steps__inner { max-width: 1000px; margin: 0 auto; }
.steps__inner h2 { text-align: center; margin: 0 0 40px; }
.steps__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step-card { background: #fff; border: 1px solid var(--border-light); border-radius: var(--radius-card); padding: 24px 18px; min-width: 0; }
.step-card__num {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--green);
  color: var(--bg-dark);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.step-card p { font-size: 14.5px; color: var(--text-dark-heading); margin: 0; font-weight: 600; overflow-wrap: break-word; -webkit-hyphens: auto; hyphens: auto; }

/* ---------- free quote banner ---------- */
.banner { padding: 52px 24px; background: var(--green); }
.banner__inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.banner h2 { font-size: clamp(22px, 2.6vw, 28px); font-weight: 800; color: var(--bg-dark); letter-spacing: -0.01em; margin: 0 0 4px; }
.banner p { font-size: 15px; color: var(--text-dark-heading); margin: 0; opacity: 0.85; }

/* ---------- about ---------- */
.about { padding: 72px 24px; background: var(--bg-light); border-top: 1px solid var(--border-light); }
.about__grid {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}
.about h2 { font-size: clamp(22px, 2.6vw, 28px); margin: 0 0 12px; }
.about p { color: var(--text-dark-body); font-size: 15.5px; line-height: 1.7; margin: 0; }
.about .image-slot { height: 300px; background: linear-gradient(135deg, #f4f4f5, #e7e5e4); border-color: rgba(141, 198, 63, 0.4); color: var(--text-dark-body); }
.about .image-slot svg { stroke: var(--green); opacity: 0.8; }
.about-photo {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: var(--radius-card-lg);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

/* ---------- FAQ ---------- */
.faq { padding: 72px 24px; background: var(--bg-light-alt); }
.faq__inner { max-width: 800px; margin: 0 auto; }
.faq__inner h2 { text-align: center; margin: 0 0 36px; }
.faq__list { display: flex; flex-direction: column; gap: 14px; }
.faq__list details {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 18px 20px;
}
.faq__list summary {
  font-weight: 700;
  font-size: 15.5px;
  color: var(--text-dark-heading);
  cursor: pointer;
}
.faq__list p { color: var(--text-dark-body); font-size: 14.5px; line-height: 1.6; margin: 12px 0 0; }
.faq__list a { font-weight: 600; }

/* ---------- coverage / map ---------- */
.coverage { position: relative; padding: 72px 24px; background: var(--bg-light); overflow: hidden; }
.coverage__top-bar { position: absolute; top: 0; left: 0; right: 0; height: 6px; background: linear-gradient(90deg, var(--green), var(--bg-dark)); }
.coverage__inner { max-width: 1100px; margin: 0 auto; }
.coverage__inner > .eyebrow { text-align: center; margin-bottom: 8px; }
.coverage__inner h2 { text-align: center; margin: 0 0 32px; }
.coverage__grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; align-items: stretch; }
.coverage__map { border-radius: var(--radius-card); overflow: hidden; border: 1px solid var(--border-light); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08); }
.coverage__map iframe { width: 100%; height: 360px; border: 0; display: block; }
.coverage__card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-card);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.05);
}
.coverage__row { display: flex; gap: 14px; align-items: flex-start; }
.coverage__row-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--icon-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.coverage__row-icon svg { stroke: var(--green); }
.coverage__row h3 {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dark-heading);
  margin: 0 0 4px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.coverage__row p { font-size: 14.5px; color: var(--text-dark-body); line-height: 1.6; margin: 0; }

/* ---------- final CTA ---------- */
.final-cta { padding: 72px 24px; background: var(--bg-dark); text-align: center; }
.final-cta__inner { max-width: 640px; margin: 0 auto; }
.final-cta h2 { font-size: clamp(24px, 3.2vw, 34px); font-weight: 800; color: var(--text-light-heading); letter-spacing: -0.02em; margin: 0 0 14px; }
.final-cta p { color: var(--text-light-body); font-size: 16px; line-height: 1.6; margin: 0 0 28px; }

/* ---------- footer ---------- */
.site-footer { background: var(--bg-dark-footer); padding: 48px 24px 90px; color: var(--text-light-body); }
.site-footer__grid { max-width: 1160px; margin: 0 auto; display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; }
.site-footer__logo { margin-bottom: 12px; }
.site-footer__logo img { height: 40px; width: auto; }
.site-footer p { font-size: 13.5px; line-height: 1.7; margin: 0; }
.site-footer h3 { color: var(--text-light-heading); font-size: 14px; font-weight: 700; margin: 0 0 12px; }
.site-footer__contact p { margin: 0 0 12px; line-height: 1.8; }
.site-footer__bottom {
  max-width: 1160px;
  margin: 36px auto 0;
  padding-top: 20px;
  border-top: 1px solid var(--pill-dark-bg);
  font-size: 12.5px;
  color: #71717a;
  text-align: center;
}
.site-footer__bottom a { color: var(--text-light-body); }

/* ---------- sticky WhatsApp button ---------- */
.sticky-wa {
  position: fixed;
  bottom: 16px;
  right: 16px;
  z-index: 60;
}
.sticky-wa button {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--green);
  border: none;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulseWa 2.4s ease-in-out infinite;
}
.sticky-wa button:hover { background: var(--green-light); }

/* ---------- responsive (single breakpoint, per handoff) ---------- */
@media (max-width: 860px) {
  .site-nav { display: none !important; }
  .hero__grid { grid-template-columns: 1fr !important; }
  .trust-bar__grid { grid-template-columns: 1fr !important; }
  .qualifier__grid { grid-template-columns: repeat(2, 1fr) !important; }
  .services__grid { grid-template-columns: repeat(2, 1fr) !important; }
  .why__grid { grid-template-columns: 1fr !important; }
  .about__grid { grid-template-columns: 1fr !important; }
  .reviews__grid { grid-template-columns: 1fr !important; }
  .steps__grid { grid-template-columns: repeat(2, 1fr) !important; }
  .site-footer__grid { grid-template-columns: 1fr !important; }
  .coverage__grid { grid-template-columns: 1fr !important; }

  /* Segurança extra: deixa o texto do botão quebrar linha em vez de forçar o layout a esticar */
  .btn-wa { white-space: normal; text-align: center; }

  /* No mobile, troca o marquee animado (pesado) por um carrossel simples e deslizável */
  .reviews__scroll { display: none !important; }
  .reviews__mobile { display: flex !important; }

  /* Remove a imagem do hero no mobile */
  .hero-photo { display: none !important; }

  /* Aumenta um pouco o H1 do hero no mobile */
  .hero h1 { font-size: 30px; }

  /* Centraliza o conteúdo de todas as seções no mobile */
  .hero__grid > div:first-child,
  .reviews__intro,
  .why__grid > div:first-child,
  .about__grid > div:first-child,
  .steps__inner > h2,
  .site-footer__grid > div {
    text-align: center;
  }

  .hero p.lead,
  .hero__badges {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__badges,
  .avatar-cluster,
  .banner__inner {
    justify-content: center;
  }

  .trust-item,
  .why-item,
  .coverage__row,
  .review-card__author {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .banner__inner {
    flex-direction: column;
    text-align: center;
  }

  .service-card,
  .step-card {
    text-align: center;
  }

  .service-card__icon,
  .step-card__num {
    margin-left: auto;
    margin-right: auto;
  }

  .site-footer__logo img {
    margin: 0 auto;
  }
}

/* Telas bem estreitas: dá mais respiro pros títulos, evitando quebra feia no meio da palavra */
@media (max-width: 400px) {
  .services__grid,
  .steps__grid,
  .qualifier__grid {
    grid-template-columns: 1fr !important;
  }
}
