/* ------------------------------------------------------------
   Tokens
------------------------------------------------------------ */
:root {
  --black: #0a0a0a;
  --near-black: #171717;
  --gray-700: #4a4a4a;
  --gray-500: #7a7a7a;
  --gray-300: #d6d6d6;
  --gray-100: #f0f0f0;
  --white: #fafafa;

  --font-display: 'Fraunces', serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --max-width: 1120px;
  --edge: clamp(1.25rem, 4vw, 3rem);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  background: var(--white);
  color: var(--black);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

p { margin: 0 0 1em; color: var(--near-black); }

a { color: inherit; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin: 0 0 0.9em;
}

em {
  font-style: italic;
  font-weight: 400;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem var(--edge);
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #2a2a2a;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--white);
}

.logo-mark {
  width: 17px;
  height: auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: square;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2.1rem;
}

.nav a {
  text-decoration: none;
  font-size: 0.92rem;
  color: #d8d8d8;
  position: relative;
  padding-bottom: 2px;
}

.nav a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: var(--white);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.28s var(--ease);
}
.nav a:not(.nav-cta):hover { color: var(--white); }
.nav a:not(.nav-cta):hover::after { transform: scaleX(1); transform-origin: left; }

.nav-cta {
  color: var(--white);
  border: 1px solid var(--white);
  padding: 0.5rem 1rem;
  border-radius: 2px;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.nav-cta:hover { background: var(--white); color: var(--black); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 22px; height: 1.5px; background: var(--white);
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 2rem;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: clamp(3rem, 8vw, 6rem) var(--edge) clamp(2.5rem, 6vw, 4rem);
}

.hero-text h1 {
  font-size: clamp(2.2rem, 4.6vw, 3.4rem);
  max-width: 12ch;
}

.hero-lead {
  max-width: 46ch;
  color: var(--gray-700);
  font-size: 1.02rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-top: 1.75rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  text-decoration: none;
  font-size: 0.92rem;
  padding: 0.85rem 1.5rem;
  border-radius: 2px;
  border: 1px solid var(--black);
  transition: background 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
}
.btn-primary { background: var(--black); color: var(--white); }
.btn-primary:hover { transform: translateY(-1px); background: var(--near-black); }
.btn-ghost { background: transparent; color: var(--black); }
.btn-ghost:hover { background: var(--gray-100); }

.hero-graphic { width: 100%; }

.growth-chart { width: 100%; height: auto; overflow: visible; }
.growth-chart .axis { stroke: var(--gray-300); stroke-width: 1; }
.growth-chart .growth-line {
  fill: none;
  stroke: var(--black);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 900;
  stroke-dashoffset: 900;
  animation: draw-line 1.8s var(--ease) 0.2s forwards;
}
.growth-dots circle {
  fill: var(--white);
  stroke: var(--black);
  stroke-width: 2;
  opacity: 0;
  animation: pop-dot 0.4s var(--ease) forwards;
}
.growth-dots circle:nth-child(1) { animation-delay: 0.3s; }
.growth-dots circle:nth-child(2) { animation-delay: 0.55s; }
.growth-dots circle:nth-child(3) { animation-delay: 0.75s; }
.growth-dots circle:nth-child(4) { animation-delay: 0.95s; }
.growth-dots circle:nth-child(5) { animation-delay: 1.15s; }
.growth-dots circle:nth-child(6) { animation-delay: 1.35s; }
.growth-dots circle:nth-child(7) { animation-delay: 1.55s; }
.growth-dots circle:nth-child(8) { animation-delay: 1.75s; }

@keyframes draw-line { to { stroke-dashoffset: 0; } }
@keyframes pop-dot { to { opacity: 1; } }

.section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 5.5rem) var(--edge);
  border-top: 1px solid var(--gray-300);
}

.section-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  max-width: 22ch;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--gray-300);
  border: 1px solid var(--gray-300);
  margin-top: 2.5rem;
}

.card {
  background: var(--white);
  padding: 1.9rem 1.6rem;
  transition: background 0.2s var(--ease);
}
.card:hover { background: var(--gray-100); }

.card-icon {
  width: 30px; height: 30px;
  margin-bottom: 1.1rem;
  fill: none;
  stroke: var(--black);
  stroke-width: 1.6;
}

.card h3 { font-size: 1.05rem; margin-bottom: 0.5em; }
.card p { font-size: 0.9rem; color: var(--gray-700); margin: 0; }

.timeline {
  list-style: none;
  margin: 2.75rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0.85rem;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gray-300);
}

.timeline-item { position: relative; padding-top: 2.5rem; }

.timeline-index {
  position: absolute;
  top: 0;
  left: 0;
  font-family: var(--font-display);
  font-size: 0.95rem;
  background: var(--white);
  padding-right: 0.6rem;
  color: var(--gray-500);
}

.timeline-item h3 { font-size: 1.02rem; margin-bottom: 0.4em; }
.timeline-item p { font-size: 0.88rem; color: var(--gray-700); margin: 0; }

.marca {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: start;
}

.marca-texto h2 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); max-width: 22ch; }
.marca-texto p { color: var(--gray-700); max-width: 52ch; }
.marca-texto .btn { margin-top: 0.75rem; }

.marca-destaques {
  display: grid;
  gap: 1px;
  background: var(--gray-300);
  border: 1px solid var(--gray-300);
  height: fit-content;
}

.marca-item {
  background: var(--white);
  padding: 1.6rem 1.5rem;
}

.marca-item .card-icon {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: var(--black);
  stroke-width: 1.4;
  margin-bottom: 0.75rem;
}

.marca-item h3 { font-size: 1rem; margin-bottom: 0.3em; }
.marca-item p { font-size: 0.86rem; color: var(--gray-500); margin: 0; }

.riscos-grid {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--gray-300);
  border: 1px solid var(--gray-300);
}

.risco-item {
  background: var(--white);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: background 0.2s var(--ease);
}
.risco-item:hover { background: var(--gray-100); }

.risco-icon {
  width: 34px;
  height: 34px;
  margin: 0 auto 1rem;
  fill: none;
  stroke: #a8433c;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.risco-item p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--near-black);
}

.diferenciais-grid {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--gray-300);
  border: 1px solid var(--gray-300);
}

.diferencial-item {
  background: var(--white);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: background 0.2s var(--ease);
}
.diferencial-item:hover { background: var(--gray-100); }

.diferencial-icon {
  width: 34px;
  height: 34px;
  margin: 0 auto 1rem;
  fill: none;
  stroke: var(--black);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.diferencial-item p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--near-black);
}

.etapas-lead {
  color: var(--gray-500);
  max-width: 46ch;
  margin-top: -0.4rem;
}

.etapas-lista {
  list-style: none;
  margin: 2.75rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.75rem;
  counter-reset: etapa;
}

.etapa-item {
  position: relative;
  padding-top: 0.5rem;
  border-top: 2px solid var(--gray-300);
}

.etapa-numero {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--white);
  background: var(--black);
  border-radius: 4px;
  padding: 0.15rem 0.5rem;
  margin-bottom: 0.9rem;
}

.etapa-icon {
  display: block;
  width: 28px;
  height: 28px;
  margin-bottom: 0.9rem;
  fill: none;
  stroke: var(--black);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.etapa-item h3 { font-size: 0.98rem; margin-bottom: 0.4em; }
.etapa-item p { font-size: 0.85rem; color: var(--gray-700); margin: 0; }

.etapas-nota {
  margin-top: 2.5rem;
  padding: 1.25rem 1.5rem;
  background: var(--gray-100);
  border-radius: 6px;
  font-size: 0.92rem;
  color: var(--near-black);
  max-width: 62ch;
}

.contato-lead { color: var(--gray-700); }

.form-contato {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem 1.6rem;
}

.campo { display: flex; flex-direction: column; gap: 0.45rem; }
.campo-full { grid-column: 1 / -1; }

.campo label { font-size: 0.85rem; color: var(--near-black); }
.opcional { color: var(--gray-500); font-weight: 400; }

.campo input,
.campo textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--gray-300);
  border-radius: 2px;
  background: var(--white);
  color: var(--black);
  resize: vertical;
}

.campo input:focus,
.campo textarea:focus {
  outline: none;
  border-color: var(--black);
}

.campo input:invalid:not(:placeholder-shown),
.campo textarea:invalid:not(:placeholder-shown) {
  border-color: var(--gray-500);
}

.form-footer {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.form-contato button {
  cursor: pointer;
  font-family: var(--font-body);
}

.form-status {
  font-size: 0.88rem;
  margin: 0;
  color: var(--gray-700);
}
.form-status[data-state="sucesso"] { color: var(--black); }
.form-status[data-state="erro"] { color: var(--black); text-decoration: underline; text-decoration-style: dotted; }

.site-footer {
  background: var(--black);
  color: var(--white);
  padding: clamp(2.5rem, 5vw, 3.5rem) var(--edge) 2rem;
}

.footer-topo {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #2b2b2b;
}

.footer-brand { display: flex; flex-direction: column; gap: 0.5rem; }
.logo-footer { color: var(--white); }

.footer-tagline {
  font-size: 0.66rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gray-500);
  padding-left: 1.75rem; /* alinha com o texto do logo, após o emblema */
}

.footer-nav { display: flex; gap: 1.75rem; flex-wrap: wrap; }
.footer-nav a { text-decoration: none; font-size: 0.88rem; color: #cfcfcf; }
.footer-nav a:hover { color: var(--white); }

.footer-base {
  max-width: var(--max-width);
  margin: 2rem auto 0;
  padding-top: 1.75rem;
  border-top: 1px solid #2a2a2a;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem 3rem;
  font-size: 0.85rem;
  color: var(--gray-500);
}

.footer-coluna {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  min-width: 220px;
}

.footer-subtitulo {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #7a7a7a;
  margin: 0;
}

.footer-contato {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer-icone {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-link-icone {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.footer-link {
  color: var(--gray-500);
  text-decoration: none;
}
a.footer-link:hover { color: var(--white); }

.footer-telefones {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-telefone {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.footer-telefone-numero {
  color: var(--gray-500);
}

.footer-acao {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid #333;
  color: var(--gray-500);
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease), background 0.2s var(--ease);
}
.footer-acao .footer-icone { width: 15px; height: 15px; }
.footer-acao:hover { border-color: var(--white); color: var(--white); }

.footer-acao-whatsapp:hover {
  border-color: #3fbf60;
  color: #3fbf60;
  background: rgba(63, 191, 96, 0.08);
}

.footer-coluna-social {
  align-items: flex-start;
}

.footer-social {
  display: flex;
  gap: 0.7rem;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid #333;
  color: var(--gray-500);
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
}
.footer-social-link .footer-icone { width: 18px; height: 18px; }
.footer-social-link:hover {
  border-color: var(--white);
  color: var(--white);
  transform: translateY(-2px);
}

.footer-copy {
  max-width: var(--max-width);
  margin: 2rem auto 0;
  font-size: 0.78rem;
  color: #6a6a6a;
}

.footer-legal {
  max-width: var(--max-width);
  margin: 2rem auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}

.footer-legal .footer-copy { margin: 0; }

.footer-admin-link {
  font-size: 0.76rem;
  color: #555;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.footer-admin-link:hover { color: #999; border-bottom-color: #999; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero-graphic { order: -1; max-width: 340px; margin: 0 auto; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(2, 1fr); row-gap: 2.5rem; }
  .timeline::before { display: none; }
  .marca { grid-template-columns: 1fr; }
  .riscos-grid { grid-template-columns: repeat(2, 1fr); }
  .diferenciais-grid { grid-template-columns: repeat(2, 1fr); }
  .etapas-lista { grid-template-columns: repeat(3, 1fr); row-gap: 2.25rem; }
  .footer-base { gap: 2rem; }
}

@media (max-width: 640px) {
  .nav { position: fixed; top: 68px; left: 0; right: 0; background: #0a0a0a;
    flex-direction: column; align-items: flex-start; gap: 0; padding: 0.5rem var(--edge) 1rem;
    border-bottom: 1px solid #2a2a2a;
    transform: translateY(-8px); opacity: 0; pointer-events: none; transition: all 0.2s var(--ease); }
  .nav.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav a { padding: 0.65rem 0; width: 100%; }
  .nav-cta { width: 100%; text-align: center; margin-top: 0.4rem; }
  .nav-toggle { display: flex; }
  .cards { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; }
  .form-contato { grid-template-columns: 1fr; }
  .riscos-grid { grid-template-columns: 1fr; }
  .diferenciais-grid { grid-template-columns: 1fr; }
  .etapas-lista { grid-template-columns: 1fr; row-gap: 1.75rem; }
  .footer-base { flex-direction: column; gap: 1.75rem; }
  .footer-coluna { min-width: 0; }
}

@media (max-width: 420px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { text-align: center; }
  .marca-texto .btn { width: 100%; text-align: center; }
  .risco-item { padding: 1.5rem 1rem; }
  .footer-social { flex-wrap: wrap; }
}
