:root {
  --green: #22c55e;
  --gold: #eab308;
  --gold-soft: #f4c76a;
  --black: #020617;
  --gray-100: #f4f4f5;
  --gray-200: #e4e4e7;
  --gray-700: #3f3f46;
  --gray-900: #18181b;
  --radius-lg: 16px;
  --transition-fast: 0.18s ease-out;
  --transition: 0.25s ease-out;
  --transition-slow: 0.35s ease-out;
}

/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: #020617;
  color: #f9fafb;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

/* LAYOUT BASE */
.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: radial-gradient(circle at top, #020617 0, #020617 45%, #020617 100%);
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ================= HEADER + LOGO ================= */

/* garante que nada antigo de .logo interfira */
.logo {
  all: unset;
}

/* barra fixa no topo */
header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(12px);
  background: rgba(2, 6, 23, 0.95);
  border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}

/* layout em GRID: esquerda | centro | direita
   centro sempre geometricamente no meio */
.header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  column-gap: 1.5rem;
}

/* menu alinhado à esquerda */
.header-left {
  justify-self: flex-start;
}

/* logo exatamente no centro */
.header-center {
  justify-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* botão alinhado à direita */
.header-right {
  justify-self: flex-end;
}

/* link do logo – sem padding/borda extra */
.logo-header {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
  border: none;
  background: none;
  box-shadow: none;
  line-height: 0;
}

/* TAMANHO DO LOGO
   – sugiro começar com 72px; se quiser mais impacto, pode ir até ~90px */
.logo-header-img {
  display: block;
  height: 110px;      /* teste 64, 72, 80 antes de 100 */
  width: auto;
  max-width: 320px;
  object-fit: contain;
}

/* NAV */
.nav {
  display: flex;
  gap: 1.25rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: #e5e7eb;
}

.nav a {
  position: relative;
  padding-bottom: 0.15rem;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, var(--green), var(--gold-soft));
  transition: width var(--transition-fast);
}

.nav a:hover::after {
  width: 100%;
}

.nav-cta {
  border-radius: 999px;
  border: 1px solid rgba(234, 179, 8, 0.9);
  padding: 0.4rem 0.9rem;
  font-size: 0.85rem;
  font-weight: 600;
  background: radial-gradient(
    circle at top,
    rgba(234, 179, 8, 0.16),
    rgba(2, 6, 23, 0.98)
  );
  color: #fefce8;
  box-shadow: 0 8px 24px rgba(161, 98, 7, 0.4);
  cursor: pointer;
  transition: transform var(--transition-fast),
    box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(161, 98, 7, 0.6);
  border-color: rgba(250, 204, 21, 1);
}

/* ================= HERO ================= */

.hero {
  padding: 3.2rem 0 3.25rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.2fr);
  gap: 2.5rem;
  align-items: center;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: #a1a1aa;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.9rem;
}

.hero-kicker span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(to bottom right, var(--green), var(--gold-soft));
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.12);
}

.hero-title {
  font-size: clamp(2rem, 3vw, 2.6rem);
  line-height: 1.15;
  font-weight: 700;
  margin-bottom: 0.9rem;
}

.hero-title strong {
  background: linear-gradient(to right, var(--green), var(--gold-soft));
  -webkit-background-clip: text;
  color: transparent;
}

.hero-subtitle {
  font-size: 0.98rem;
  color: #d4d4d8;
  max-width: 32rem;
  margin-bottom: 1.45rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.hero-badge {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  border-radius: 999px;
  border: 1px solid rgba(63, 63, 70, 0.9);
  padding: 0.35rem 0.9rem;
  color: #e4e4e7;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: rgba(15, 23, 42, 0.96);
  backdrop-filter: blur(10px);
}

.hero-badge span {
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: var(--green);
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
}

.btn-primary {
  border-radius: 999px;
  border: none;
  padding: 0.75rem 1.4rem;
  font-size: 0.92rem;
  font-weight: 600;
  background: linear-gradient(to right, var(--green), var(--gold-soft));
  color: #022c22;
  box-shadow: 0 18px 40px rgba(21, 128, 61, 0.6);
  cursor: pointer;
  transition: transform var(--transition-fast),
    box-shadow var(--transition-fast), filter var(--transition-fast);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 50px rgba(21, 128, 61, 0.85);
  filter: brightness(1.02);
}

.btn-ghost {
  border-radius: 999px;
  border: 1px solid rgba(161, 161, 170, 0.7);
  background: transparent;
  color: #e4e4e7;
  padding: 0.7rem 1.3rem;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: border-color var(--transition-fast),
    color var(--transition-fast), background-color var(--transition-fast);
}

.btn-ghost:hover {
  border-color: rgba(244, 199, 106, 0.9);
  color: #f4f4f5;
  background-color: rgba(15, 23, 42, 0.9);
}

/* TEXTO ANIMADO – ticker */
.hero-ticker-wrap {
  margin-top: 1.75rem;
  border-radius: 999px;
  border: 1px solid rgba(63, 63, 70, 0.9);
  padding: 0.45rem 0.9rem;
  background: rgba(15, 23, 42, 0.96);
  overflow: hidden;
  position: relative;
}

.hero-ticker-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #a1a1aa;
  margin-bottom: 0.15rem;
}

.hero-ticker {
  white-space: nowrap;
  display: inline-block;
  animation: ticker 10s ease-in-out infinite alternate;
  font-size: 0.9rem;
  color: #e4e4e7;
}

@keyframes ticker {
  0% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(-12%);
  }
  100% {
    transform: translateX(8%);
  }
}

/* HERO CARD DIREITO */
.hero-card {
  border-radius: 24px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  padding: 1.4rem;
  background: radial-gradient(
    circle at top,
    rgba(15, 23, 42, 0.98),
    rgba(2, 6, 23, 0.99)
  );
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.8);
  position: relative;
  overflow: hidden;
}

.hero-card-tag {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #a1a1aa;
  margin-bottom: 0.6rem;
}

.hero-card-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: #f9fafb;
  margin-bottom: 0.4rem;
}

.hero-card-sub {
  font-size: 0.86rem;
  color: #d4d4d8;
  margin-bottom: 1.05rem;
}

.hero-metric-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  background: radial-gradient(
    circle at left,
    rgba(34, 197, 94, 0.18),
    rgba(15, 23, 42, 1)
  );
  border: 1px solid rgba(22, 163, 74, 0.8);
  margin-bottom: 1rem;
}

.hero-metric-value {
  font-size: 1.05rem;
  font-weight: 700;
  color: #bbf7d0;
}

.hero-metric-label {
  font-size: 0.78rem;
  color: #e4e4e7;
}

.hero-card-matrix {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
  margin-bottom: 1.1rem;
}

.hero-stat {
  border-radius: 12px;
  padding: 0.55rem 0.7rem;
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(39, 39, 42, 0.9);
}

.hero-stat-label {
  font-size: 0.7rem;
  color: #a1a1aa;
  margin-bottom: 0.2rem;
}

.hero-stat-value {
  font-size: 0.9rem;
  font-weight: 600;
  color: #e4e4e7;
}

.hero-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-top: 0.6rem;
  border-top: 1px dashed rgba(63, 63, 70, 0.8);
  padding-top: 0.6rem;
  font-size: 0.78rem;
  color: #a1a1aa;
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: rgba(15, 23, 42, 0.96);
}

.hero-chip-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--green);
}

/* ================= SEÇÕES GENÉRICAS ================= */

section {
  padding: 3rem 0;
  scroll-margin-top: 5rem;
}

.section-header {
  margin-bottom: 1.6rem;
}

.section-header-images {
  margin-top: 2.2rem;
  margin-bottom: 0.9rem;
}

.section-kicker {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #a1a1aa;
  margin-bottom: 0.4rem;
}

.section-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.section-sub {
  font-size: 0.92rem;
  color: #d4d4d8;
  max-width: 34rem;
}

/* GRID E CARDS GENÉRICOS */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.card {
  border-radius: 18px;
  border: 1px solid rgba(39, 39, 42, 0.9);
  padding: 1.1rem;
  background: radial-gradient(
    circle at top left,
    rgba(15, 23, 42, 0.98),
    rgba(9, 9, 11, 0.98)
  );
  transition: transform var(--transition), box-shadow var(--transition),
    border-color var(--transition);
}

.card:hover {
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.8);
  border-color: rgba(34, 197, 94, 0.7);
}

.card-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.card-sub {
  font-size: 0.9rem;
  color: #d4d4d8;
  margin-bottom: 0.6rem;
}

.card-tag {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #a1a1aa;
}

/* FAIXA DE IMAGENS */

.image-strip {
  margin-top: 0.8rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.image-strip-item {
  height: 120px;
  border-radius: 18px;
  background: linear-gradient(
    135deg,
    rgba(34, 197, 94, 0.55),
    rgba(234, 179, 8, 0.55)
  );
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

.image-strip-item::after {
  content: "Foto profissional";
  position: absolute;
  left: 0.7rem;
  bottom: 0.6rem;
  font-size: 0.72rem;
  font-weight: 500;
  color: #022c22;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.image-strip-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.85);
}

/* METODOLOGIA – TIMELINE */

.timeline {
  border-radius: 18px;
  border: 1px solid rgba(39, 39, 42, 0.9);
  padding: 1.1rem 1.1rem 0.5rem;
  background: radial-gradient(
    circle at top,
    rgba(15, 23, 42, 0.98),
    rgba(2, 6, 23, 0.99)
  );
}

.timeline-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  padding: 0.5rem 0;
  border-bottom: 1px dashed rgba(63, 63, 70, 0.8);
}

.timeline-step:last-child {
  border-bottom: none;
}

.timeline-icon {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  color: #e4e4e7;
}

.timeline-body-title {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.1rem;
}

.timeline-body-sub {
  font-size: 0.88rem;
  color: #d4d4d8;
}

/* CASES */

.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.case-metric {
  font-size: 1.1rem;
  font-weight: 700;
  color: #bbf7d0;
  margin-bottom: 0.2rem;
}

.case-label {
  font-size: 0.86rem;
  color: #d4d4d8;
  margin-bottom: 0.4rem;
}

.case-detail {
  font-size: 0.8rem;
  color: #a1a1aa;
}

/* FAQ */

.faq-list {
  display: grid;
  gap: 0.8rem;
}

.faq-item {
  border-radius: 14px;
  border: 1px solid rgba(39, 39, 42, 0.9);
  padding: 0.8rem 1rem;
  background: rgba(9, 9, 11, 0.98);
  transition: border-color var(--transition-fast),
    transform var(--transition-fast), box-shadow var(--transition-fast);
}

.faq-item:hover {
  border-color: rgba(34, 197, 94, 0.7);
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.7);
}

.faq-q {
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.faq-a {
  font-size: 0.86rem;
  color: #d4d4d8;
}

/* CONTATO */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 1.8rem;
  align-items: flex-start;
}

.contact-form {
  border-radius: 18px;
  border: 1px solid rgba(39, 39, 42, 0.9);
  padding: 1.2rem;
  background: radial-gradient(
    circle at top,
    rgba(15, 23, 42, 0.98),
    rgba(2, 6, 23, 0.99)
  );
}

.field {
  margin-bottom: 0.9rem;
}

.field label {
  display: block;
  font-size: 0.8rem;
  margin-bottom: 0.25rem;
  color: #e4e4e7;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(63, 63, 70, 0.9);
  padding: 0.6rem 0.7rem;
  background: rgba(9, 9, 11, 0.95);
  color: #e4e4e7;
  font-size: 0.86rem;
  outline: none;
  transition: border-color var(--transition-fast),
    box-shadow var(--transition-fast), background-color var(--transition-fast);
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: rgba(34, 197, 94, 0.8);
  box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.4);
  background-color: rgba(15, 23, 42, 0.95);
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-aside {
  font-size: 0.88rem;
  color: #d4d4d8;
}

.contact-aside-block {
  border-radius: 14px;
  border: 1px solid rgba(39, 39, 42, 0.9);
  padding: 0.8rem 0.9rem;
  background: rgba(9, 9, 11, 0.98);
  margin-bottom: 0.7rem;
}

/* RODAPÉ */

footer {
  border-top: 1px solid rgba(39, 39, 42, 0.9);
  padding: 1.3rem 0 1.6rem;
  font-size: 0.8rem;
  color: #a1a1aa;
  margin-top: auto;
  background: rgba(2, 6, 23, 0.98);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem;
  align-items: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-links a {
  text-decoration: underline;
  text-decoration-style: dotted;
  text-underline-offset: 3px;
}

/* SCROLL REVEAL */

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* REDUÇÃO DE MOVIMENTO */

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* ================= RESPONSIVO ================= */

/* entre ~1100px e 900px de largura: logo um pouco menor */
@media (max-width: 1100px) {
  .logo-header-img {
    height: 90px;
    max-width: 280px;
  }
}

/* abaixo de 900px: empilha o header e reduz ainda mais o logo */
@media (max-width: 900px) {
  .header-inner {
    grid-template-columns: 1fr;
    row-gap: 0.5rem;
    justify-items: center;
    padding-top: 0.6rem;
    padding-bottom: 0.6rem;
  }

  /* ordem: logo em cima, menu no meio, botão embaixo */
  .header-center {
    order: 1;
  }

  .header-left {
    order: 2;
  }

  .header-right {
    order: 3;
  }

  .nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .logo-header-img {
    height: 70px;     /* ajusta aqui se quiser um pouco maior/menor no mobile */
    max-width: 240px;
  }
}
