/* ========================================================
   TOKENS
======================================================== */
:root {
  --bg-base:      #0a0e14;
  --bg-raised:    #10151d;
  --bg-card:      #131a24;
  --line:         #1f2937;
  --line-soft:    #182230;

  --blue:         #2f7dff;
  --blue-bright:  #5b9aff;
  --blue-dim:     #1a3a66;

  --text-hi:      #eef2f7;
  --text-mid:     #9aa7b8;
  --text-low:     #5d6b7e;

  --star:         #ffb02e;
  --whatsapp:     #25d366;

  --font-display: 'Space Grotesk', sans-serif;
  --font-mono:    'JetBrains Mono', monospace;

  --radius: 10px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg-base);
  color: var(--text-hi);
  font-family: var(--font-display);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

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

.section__inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

.section__eyebrow {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--blue-bright);
  letter-spacing: 0.02em;
  margin-bottom: 12px;
}

.section__title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 48px;
}

/* ========================================================
   TOPBAR — Desktop
======================================================== */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  background: rgba(10, 14, 20, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
}

.topbar__inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand { display: flex; align-items: center; }

.brand__logo {
  height: 70px;
  width: 200px;
  object-fit: contain;
}

.topbar__nav {
  display: flex;
  gap: 24px;
}

.topbar__link {
  color: var(--text-hi);
  font-size: 14px;
  font-weight: 500;
  transition: opacity 0.2s;
}
.topbar__link:hover { opacity: 0.7; }

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

.topbar__icon-link {
  color: var(--text-hi);
  display: flex;
  align-items: center;
  transition: opacity 0.2s, transform 0.2s;
}
.topbar__icon-link:hover { opacity: 0.7; transform: translateY(-2px); }

.topbar__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  background: var(--whatsapp);
  color: #06210f;
  padding: 9px 16px;
  border-radius: 999px;
  transition: background 0.15s, transform 0.15s;
}
.topbar__cta:hover { background: #2eea73; transform: translateY(-1px); }

/* ========================================================
   HERO
======================================================== */
.hero {
  position: relative;
  padding: 160px 24px 90px;
  overflow: hidden;
  border-bottom: 1px solid var(--line-soft);
}

/* Fundo: grade de pontinhos + slides sobrepostos */
.hero__grid {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__grid::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 1;
}

.hero__slides {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

.hero__slide.active { opacity: 0.60; }



.hero__inner {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  z-index: 1;
}

.hero__eyebrow {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--blue-bright);
  margin-bottom: 20px;
}

.hero__title {
  font-size: clamp(36px, 6vw, 58px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin-bottom: 24px;

  text-shadow:
    0 2px 8px rgba(0,0,0,.50),
    0 8px 25px rgba(0,0,0,.60);
}

.hero__highlight { color: var(--blue-bright); }

.hero__subtitle {
  font-size: 18px;
  color: var(--text-hi);
  max-width: 520px;
  margin: 0 auto 40px;

  text-shadow:
    0 2px 6px rgba(0,0,0,.55),
    0 4px 15px rgba(0,0,0,.45);
}

.hero__rating { display: flex; justify-content: center; }

/* ========================================================
   BOTÕES GENÉRICOS
======================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  padding: 14px 26px;
  border-radius: var(--radius);
  transition: transform 0.15s, background 0.15s, border-color 0.15s;
}

.btn--primary { background: var(--whatsapp); color: #06210f; }
.btn--primary:hover { background: #2eea73; transform: translateY(-2px); }

.btn--ghost { border: 1px solid var(--line); color: var(--text-hi); }
.btn--ghost:hover { border-color: var(--blue-bright); color: var(--blue-bright); }

/* ========================================================
   STARS
======================================================== */
.stars { display: inline-flex; gap: 3px; color: var(--star); }
.stars--sm { font-size: 15px; letter-spacing: 2px; }

/* ========================================================
   REVIEWS
======================================================== */
.reviews {
  padding: 96px 0;
  border-bottom: 1px solid var(--line-soft);
}

.reviews__summary {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-bottom: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line-soft);
}

.reviews__score {
  font-size: 56px;
  font-weight: 700;
  color: var(--blue-bright);
  font-family: var(--font-mono);
  white-space: nowrap;
}

.reviews__meta p { color: var(--text-mid); font-size: 14px; margin-top: 8px; }
.reviews__meta a { color: var(--blue-bright); }

.reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}

.review-card__text {
  color: var(--text-mid);
  font-size: 14.5px;
  margin: 14px 0 16px;
  line-height: 1.6;
}

.review-card__author {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-low);
}

/* ========================================================
   SERVICES
======================================================== */
.services {
  padding: 96px 0;
  border-bottom: 1px solid var(--line-soft);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.service-card {
  background: var(--bg-raised);
  padding: 32px 28px;
  transition: background 0.15s;
}
.service-card:hover { background: var(--bg-card); }

.service-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blue-dim);
  color: var(--blue-bright);
  border-radius: 8px;
  margin-bottom: 18px;
}

.service-card h3 { font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.service-card p { font-size: 14px; color: var(--text-mid); line-height: 1.6; }

/* ========================================================
   CONTACT
======================================================== */
.contact {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
  background: var(--bg-base);
}

.contact__grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 50% 60% at 50% 50%, black 10%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 50% 60% at 50% 50%, black 10%, transparent 75%);
  opacity: 0.4;
  pointer-events: none;
}

/* Todo conteúdo da seção fica na frente da grade de fundo */
.contact .section__inner {
  position: relative;
  z-index: 1;
}

.contact .section__eyebrow,
.contact .section__title { text-align: center; }
.contact .section__title { margin-bottom: 0; }

.contact__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  margin-top: 48px;
}

.contact__col--map { display: flex; justify-content: center; }

.contact__text {
  color: var(--text-mid);
  font-size: 17px;
  margin-bottom: 28px;
}

.btn--whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--whatsapp);
  color: #06210f;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  padding: 16px 32px;
  border-radius: var(--radius);
  margin-bottom: 36px;
  transition: background 0.15s, transform 0.15s;
}
.btn--whatsapp:hover { background: #2eea73; transform: translateY(-2px); }

.contact__details {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-top: 28px;
  border-top: 1px solid var(--line-soft);
}

.contact__detail {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 14px;
  color: var(--text-mid);
}

.contact__detail-label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--blue-bright);
}

/* Mapa clicável */
.map-card {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-card);
}

.map-card__frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  pointer-events: none;
}

.map-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(10,14,20,0.6) 100%);
  pointer-events: none;
}

.map-card__overlay {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(10, 14, 20, 0.88);
  backdrop-filter: blur(6px);
  border: 1px solid var(--line);
  color: var(--text-hi);
  font-size: 13px;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: 999px;
  transition: transform 0.15s, border-color 0.15s;
}

.map-card__pin { display: flex; color: var(--blue-bright); }
.map-card:hover .map-card__overlay { transform: translateY(-2px); border-color: var(--blue-bright); }

/* ========================================================
   BOTÃO FLUTUANTE WHATSAPP (só mobile)
======================================================== */
.fab-whatsapp {
  display: none;
}

/* ========================================================
   FOOTER
======================================================== */
.footer {
  text-align: center;
  padding: 28px 24px;
  font-size: 13px;
  color: var(--text-low);
}

/* ========================================================
   RESPONSIVO — Tablet (≤ 860px)
======================================================== */
@media (max-width: 860px) {
  .reviews__grid      { grid-template-columns: 1fr; }
  .services__grid     { grid-template-columns: 1fr; }
  .reviews__summary   { flex-direction: column; align-items: flex-start; }
  .contact__layout    { grid-template-columns: 1fr; gap: 36px; }
}

/* ========================================================
   RESPONSIVO — Mobile (≤ 640px)
======================================================== */
@media (max-width: 640px) {

  /* TOPO: apenas logo centralizada, sem nav e sem ações */
  .topbar__inner {
    justify-content: center;
    padding: 12px 16px;
  }

  .topbar__nav,
  .topbar__actions { display: none; }

  .brand__logo { height: 42px; }

  /* HERO */
  .hero { padding: 110px 16px 64px; }

  .hero__title    { font-size: 30px; line-height: 1.15; }
  .hero__subtitle { font-size: 15px; margin-bottom: 28px; }

  /* SEÇÕES */
  .section__inner { padding: 0 16px; }

  .reviews  { padding: 64px 0; }
  .services { padding: 64px 0; }
  .contact  { padding: 64px 0; }

  .section__title { font-size: 26px; margin-bottom: 32px; }

  /* CARDS de avaliação e serviço ocupam largura total */
  .reviews__grid,
  .services__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* CONTATO: coluna única */
  .contact__layout { grid-template-columns: 1fr; gap: 28px; }

  .map-card { aspect-ratio: 16 / 10; }

  /* BOTÃO FAB: só aparece no mobile */
  .fab-whatsapp {
    display: flex;
    position: fixed;
    bottom: 18px;
    right: 18px;
    z-index: 9999;
    width: 52px;
    height: 52px;
    background: var(--whatsapp);
    color: #06210f;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 24px rgba(0,0,0,0.45);
    transition: background 0.15s, transform 0.15s;
  }
  .fab-whatsapp:hover { background: #2eea73; transform: scale(1.07); }
  .fab-whatsapp svg { width: 24px; height: 24px; }
}

/* ========================================================
   SERVIÇOS EM DESTAQUE
======================================================== */

.featured-services {
  padding: 90px 0;
  border-bottom: 1px solid var(--line-soft);
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.featured-card {
  text-align: center;
  transition: transform .25s ease;
}

.featured-card:hover {
  transform: translateY(-6px);
}

.featured-card h3 {
  margin-bottom: 18px;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-hi);
}

.featured-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 22px;
  margin-bottom: 20px;

  box-shadow: 0 12px 30px rgba(0,0,0,.25);
  transition:
    transform .35s ease,
    box-shadow .35s ease;
}

.featured-card:hover img {
  transform: scale(1.03);
  box-shadow: 0 20px 45px rgba(0,0,0,.35);
}

.featured-card p {
  color: var(--text-mid);
  line-height: 1.8;
  font-size: 15px;
  max-width: 340px;
  margin: 0 auto;
}

/* Tablet */

@media (max-width: 900px) {

  .featured-grid {
    gap: 30px;
  }

  .featured-card img {
    height: 220px;
  }

}

/* Mobile */

@media (max-width: 768px) {

  .featured-services {
    padding: 64px 0;
  }

  .featured-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .featured-card img {
    height: 240px;
  }

  .featured-card p {
    max-width: 100%;
  }

}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}

/* ========================================================
   ANIMAÇÕES AO ROLAR A PÁGINA
======================================================== */

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}