/* ===== TOKENS ===== */
:root {
  --verde-400: #8FD45E;
  --verde-500: #6CBF3F;
  --verde-600: #56A02E;
  --verde-700: #3E7A1F;

  --grafite-900: #101316;
  --grafite-800: #181C21;
  --grafite-700: #242A31;

  --prata-400: #A8B0B8;
  --prata-200: #DDE1E5;
  --branco:    #FFFFFF;

  --ambar-500: #FFC107;

  --raio:   8px;
  --raio-g: 12px;
  --max:    1120px;

  --font-titulo: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --font-corpo:  'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
  max-width: 100vw;
}

body {
  font-family: var(--font-corpo);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--grafite-900);
  background: var(--branco);
  padding-bottom: 76px;
  overflow-x: clip;
  max-width: 100vw;
}

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

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

h1, h2, h3 {
  font-family: var(--font-titulo);
  font-weight: 800;
}

.container {
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: 20px;
}

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

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ===== BOTÕES ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 28px;
  border-radius: var(--raio);
  font-family: var(--font-titulo);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  border: none;
  cursor: pointer;
  transition: background-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.btn--primary {
  background: var(--verde-500);
  color: var(--grafite-900);
  box-shadow: 0 6px 20px rgba(108,191,63,.35);
}

.btn--primary:hover {
  background: var(--verde-600);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(108,191,63,.4);
}
.btn--primary:active { background: var(--verde-700); transform: translateY(1px); box-shadow: 0 4px 12px rgba(108,191,63,.3); }

.btn--large {
  padding: 0 36px;
  font-size: 1.15rem;
}

.btn--block { width: 100%; }

.btn--compact {
  min-height: 40px;
  padding: 0 18px;
  font-size: 0.9rem;
}

/* ===== HEADER ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 60px;
  background: rgba(16,19,22,.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header__brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header__logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--prata-400);
  box-shadow: 0 2px 8px rgba(0,0,0,.35);
  transition: border-color 0.15s ease;
}

.header__brand:hover .header__logo { border-color: var(--verde-400); }

.header__name {
  font-family: var(--font-titulo);
  font-weight: 800;
  font-size: 1.1rem;
  line-height: 1;
  color: var(--branco);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.header__name-accent { color: var(--verde-500); }

/* ===== HERO ===== */
.hero {
  background:
    repeating-linear-gradient(
      -45deg,
      rgba(108,191,63,.04) 0 20px,
      transparent 20px 40px
    ),
    linear-gradient(180deg, var(--grafite-900), var(--grafite-800));
  padding-block: 56px 64px;
  text-align: center;
  color: var(--branco);
}

.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__logo {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--prata-400);
  margin-bottom: 20px;
}

.hero__badges {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(255,193,7,.1);
  border: 1px solid var(--ambar-500);
  border-radius: 999px;
  color: var(--ambar-500);
  font-family: var(--font-titulo);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  margin-bottom: 0;
}

.hero__rating {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
}

.hero__rating-stars {
  color: var(--ambar-500);
  font-size: 0.9rem;
  letter-spacing: 1px;
}

.hero__rating-text {
  color: var(--prata-400);
  font-weight: 600;
  font-size: 0.8rem;
  white-space: nowrap;
}

.badge__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ambar-500);
  animation: pulse 1.6s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.eyebrow {
  color: var(--prata-400);
  text-transform: uppercase;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
}

.hero__title {
  font-size: clamp(2.25rem, 9vw, 4.5rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.hero__title-accent { color: var(--verde-500); }

.hero__lead {
  font-size: 1.125rem;
  color: var(--prata-400);
  max-width: 560px;
  margin-bottom: 28px;
}

.hero__micro {
  margin-top: 14px;
  font-size: 0.9rem;
  color: var(--prata-400);
}

/* ===== SERVIÇOS ===== */
.services {
  background: var(--prata-200);
  padding-block: 56px;
}

.services__title {
  text-align: center;
  margin-bottom: 32px;
}

.services__grid {
  display: grid;
  gap: 20px;
}

.services__card {
  background: var(--branco);
  border-radius: var(--raio-g);
  padding: 24px;
  box-shadow: 0 4px 16px rgba(16,19,22,.06);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.services__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(16,19,22,.1);
}

.services__card h3 { margin-bottom: 8px; font-size: 1.15rem; }
.services__card p { color: var(--grafite-700); }

/* ===== PROVA VISUAL ===== */
.proof {
  background: var(--branco);
  padding-block: 56px;
}

.proof__inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.proof__img {
  width: 100%;
  max-width: 520px;
  height: auto;
  aspect-ratio: 426 / 254;
  border-radius: var(--raio-g);
  border: 2px solid var(--prata-200);
  margin-inline: auto;
}

.proof__text h2 { margin-bottom: 14px; }
.proof__text p { color: var(--grafite-700); max-width: 60ch; }

/* ===== COMO FUNCIONA ===== */
.how {
  background: var(--prata-200);
  padding-block: 56px;
}

.how__title {
  text-align: center;
  margin-bottom: 32px;
}

.how__grid {
  display: grid;
  gap: 24px;
}

.how__card {
  background: var(--branco);
  border-radius: var(--raio-g);
  padding: 28px 24px;
  box-shadow: 0 4px 16px rgba(16,19,22,.06);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.how__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(16,19,22,.1);
}

.how__number {
  display: block;
  font-family: var(--font-titulo);
  font-weight: 800;
  font-size: 2.5rem;
  color: var(--verde-500);
  line-height: 1;
  margin-bottom: 8px;
}

.how__card h3 { margin-bottom: 8px; font-size: 1.25rem; }
.how__card p { color: var(--grafite-700); }

/* ===== DIFERENCIAIS ===== */
.features {
  background: var(--branco);
  padding-block: 56px;
}

.features__grid {
  display: grid;
  gap: 24px;
}

.features__card {
  padding: 24px;
  border: 1px solid var(--prata-200);
  border-radius: var(--raio-g);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.features__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(16,19,22,.08);
  border-color: var(--verde-400);
}

.features__card h3 { margin-bottom: 8px; font-size: 1.25rem; }
.features__card p { color: var(--grafite-700); }

/* ===== AVALIAÇÕES NO GOOGLE ===== */
.reviews {
  background: var(--prata-200);
  padding-block: 56px;
}

.reviews__title {
  text-align: center;
  margin-bottom: 32px;
}

.reviews__carousel {
  display: flex;
  align-items: center;
  gap: 8px;
}

.reviews__track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 4px;
}

.reviews__slide {
  flex: 0 0 100%;
  scroll-snap-align: center;
  background: var(--branco);
  border-radius: var(--raio-g);
  padding: 12px;
  box-shadow: 0 4px 16px rgba(16,19,22,.06);
}

.reviews__slide img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: calc(var(--raio-g) - 4px);
}

.reviews__nav {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: var(--branco);
  color: var(--grafite-900);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(16,19,22,.12);
  transition: background-color 0.15s ease;
}

.reviews__nav:hover { background: var(--verde-400); }

/* ===== CTA FINAL ===== */
.cta-final {
  background: var(--grafite-900);
  color: var(--branco);
  padding-block: 64px;
  text-align: center;
}

.cta-final__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.cta-final h2 {
  font-size: clamp(1.75rem, 6vw, 3rem);
  line-height: 1.05;
}

.cta-final p {
  color: var(--prata-400);
  margin-bottom: 8px;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--grafite-800);
  color: var(--prata-400);
  padding-block: 40px;
  text-align: center;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--branco);
  font-family: var(--font-titulo);
  font-weight: 800;
  margin-bottom: 8px;
}

.footer__logo {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--prata-400);
}

.footer__copy {
  margin-top: 8px;
  font-size: 0.85rem;
}

.footer__credit {
  margin-top: 4px;
  font-size: 0.75rem;
  color: rgba(168, 176, 184, .6);
}

/* ===== CTA PERSISTENTE ===== */
.cta-fixed {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60px;
  background: var(--verde-500);
  color: var(--grafite-900);
  font-family: var(--font-titulo);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.02em;
  box-shadow: 0 -4px 16px rgba(0,0,0,.15);
}

.cta-fixed__text-desktop { display: none; }

/* ===================================== */
/* ============ TABLET (640px) ========= */
/* ===================================== */
@media (min-width: 640px) {
  .how__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .features__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .reviews__slide {
    flex: 0 0 calc(50% - 10px);
  }

  .hero__lead { font-size: 1.2rem; }
}

/* ===================================== */
/* ============ DESKTOP (1024px) ======= */
/* ===================================== */
@media (min-width: 1024px) {
  .hero__inner {
    max-width: 720px;
    margin-inline: auto;
  }

  .proof__inner {
    flex-direction: row;
    align-items: center;
    gap: 56px;
  }

  .proof__img {
    flex: 0 0 520px;
    margin-inline: 0;
  }

  .proof__text { flex: 1; }

  .services__grid {
    grid-template-columns: repeat(4, 1fr);
  }

  /* CTA fixo vira flutuante no canto; visibilidade controlada via classe do JS */
  .cta-fixed {
    left: auto;
    right: 32px;
    bottom: 32px;
    width: auto;
    min-height: 56px;
    padding: 0 28px;
    border-radius: 999px;
    box-shadow: 0 6px 20px rgba(108,191,63,.35);
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .cta-fixed--visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .cta-fixed__text-mobile { display: none; }
  .cta-fixed__text-desktop { display: inline; }

  body { padding-bottom: 0; }
}
