/* ============================================================
   FORJJA — Landing Page
   Type: Syne (display) + DM Sans (body)
   ============================================================ */

:root {
  --white: #ffffff;
  --black: #000000;
  --graphite: #222222;
  --ink-111: #111111;
  --ink-1a: #1a1a1a;
  --accent-light: #bfdd0b; /* dark lime — on light bg */
  --accent-dark: #d3f36b;  /* lime — on dark bg */
  --grey-f7: #f7f7f7;
  --grey-f0: #f0f0f0;
  --muted-light: #555555;
  --muted-mid: #888888;
  --muted-dark: #aaaaaa;
  --line-dark: #2c2c2c;
  --maxw: 1200px;
  --gutter: clamp(20px, 5vw, 64px);
  --section-y: clamp(72px, 10vw, 140px);
  --r-sm: 8px;
  --r-md: 16px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "DM Sans", system-ui, sans-serif;
  color: var(--graphite);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: "Syne", sans-serif;
  line-height: 1.04;
  letter-spacing: -0.02em;
  font-weight: 700;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; }
img { max-width: 100%; display: block; }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

/* ---------- Reusable atoms ---------- */
.eyebrow {
  font-family: "DM Sans", sans-serif;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: currentColor;
  display: inline-block;
}
.eyebrow.is-light { color: var(--accent-light); }
.eyebrow.is-dark { color: var(--accent-dark); }

.section-title {
  font-size: clamp(28px, 4vw, 40px);
  max-width: 18ch;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: "Syne", sans-serif;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.01em;
  padding: 0 26px;
  height: 52px;
  border-radius: var(--r-sm);
  transition: transform 0.12s var(--ease), filter 0.18s var(--ease),
              background 0.2s var(--ease), color 0.2s var(--ease);
  white-space: nowrap;
}
.btn:hover { filter: brightness(1.08); }
.btn:active { transform: scale(0.98); }

.btn--solid-light { background: var(--accent-light); color: var(--black); }
.btn--solid-dark { background: var(--accent-dark); color: var(--black); }

.btn--ghost {
  background: transparent;
  color: var(--black);
  border: 1.5px solid var(--black);
  height: 44px;
  font-size: 15px;
}
.btn--ghost:hover {
  filter: none;
  background: var(--black);
  color: var(--white);
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
.reveal.d4 { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid #eee;
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  font-family: "Syne", sans-serif;
  font-weight: 700;
  font-size: 24px;
  letter-spacing: 0.04em;
  color: var(--black);
}
.logo--light { color: var(--white); }
.logo { display: inline-flex; align-items: center; }
.logo__img { height: 44px; width: auto; display: block; }
.logo img { height: 44px; width: auto; display: block; }
.footer .logo img { height: 32px; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding-top: clamp(48px, 8vw, 90px);
  padding-bottom: var(--section-y);
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.hero h1 {
  font-weight: 800;
  font-size: clamp(40px, 6.2vw, 64px);
  letter-spacing: -0.03em;
}
.hero h1 .hl {
  position: relative;
  white-space: nowrap;
}
.hero h1 .hl::after {
  content: "";
  position: absolute;
  left: -2px;
  right: -2px;
  bottom: 0.06em;
  height: 0.18em;
  background: var(--accent-light);
  z-index: -1;
}
.hero__sub {
  margin-top: 26px;
  font-size: clamp(17px, 1.4vw, 19px);
  color: var(--muted-light);
  max-width: 46ch;
}
.hero__cta {
  margin-top: 34px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero__creds {
  margin-top: 28px;
  font-size: 13px;
  color: var(--muted-mid);
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
}
.hero__creds .star { color: var(--accent-light); }

/* Hero visual — photo */
.hero__visual {
  position: relative;
  aspect-ratio: 1 / 1.04;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--grey-f7);
}
.hero__visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 28%;
}
.hero__badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  z-index: 2;
  background: var(--accent-light);
  color: var(--black);
  font-family: "Syne", sans-serif;
  font-weight: 700;
  font-size: clamp(20px, 2.2vw, 28px);
  letter-spacing: -0.01em;
  line-height: 1;
  padding: 14px 18px 13px;
  border-radius: 10px;
}
.hero__badge small {
  display: block;
  font-family: "DM Sans", sans-serif;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-top: 6px;
  opacity: 0.72;
}

/* Hero staggered intro */
.hero .anim {
  opacity: 0;
  transform: translateY(20px);
  animation: heroIn 0.8s var(--ease) forwards;
}
.hero .anim.a0 { animation-delay: 0ms; }
.hero .anim.a1 { animation-delay: 120ms; }
.hero .anim.a2 { animation-delay: 240ms; }
.hero .anim.a3 { animation-delay: 360ms; }
.hero .anim.a4 { animation-delay: 480ms; }
@keyframes heroIn {
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero .anim { opacity: 1; transform: none; animation: none; }
}

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee {
  background: var(--black);
  padding: 26px 0;
  overflow: hidden;
  white-space: nowrap;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee__track {
  display: inline-flex;
  gap: 0;
  animation: marquee 24s linear infinite;
}
.marquee__track span {
  font-family: "Syne", sans-serif;
  font-weight: 700;
  font-size: clamp(20px, 2.6vw, 30px);
  letter-spacing: 0.02em;
  padding: 0 26px;
  color: var(--white);
}
.marquee__track span:nth-child(even) { color: var(--accent-dark); }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============================================================
   DORES (light)
   ============================================================ */
.dores { padding-block: var(--section-y); }
.dores__head { margin-bottom: 52px; }
.dores__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.pain-card {
  background: var(--grey-f7);
  border-left: 4px solid var(--accent-light);
  padding: 32px 32px 34px;
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
}
.pain-card h3 {
  font-size: 21px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.pain-card p { color: var(--muted-light); font-size: 16px; }

/* ============================================================
   MÉTODO (dark)
   ============================================================ */
.metodo {
  background: var(--ink-111);
  color: var(--white);
  padding-block: var(--section-y);
}
.metodo .section-title { color: var(--white); }
.metodo__head { margin-bottom: 56px; max-width: 24ch; }
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid #333;
}
.step {
  padding: 36px 28px 36px 0;
  border-right: 1px solid #333;
  position: relative;
}
.step:last-child { border-right: none; padding-right: 0; }
.step:not(:last-child) { padding-right: 28px; }
.step__n {
  font-family: "Syne", sans-serif;
  font-weight: 800;
  font-size: 15px;
  color: var(--accent-dark);
  letter-spacing: 0.1em;
  margin-bottom: 20px;
  display: block;
}
.step h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--white);
}
.step p { color: var(--muted-dark); font-size: 15px; }

/* ============================================================
   CASES (light)
   ============================================================ */
.cases { padding-block: var(--section-y); }
.cases__head { margin-bottom: 52px; }
.cases__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.case-card {
  border: 1px solid #ececec;
  border-radius: var(--r-md);
  padding: 30px 32px 34px;
  background: var(--white);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.case-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.22);
}
.case-tag {
  display: inline-block;
  font-family: "DM Sans", sans-serif;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.04em;
  background: var(--grey-f0);
  color: var(--graphite);
  padding: 6px 12px;
  border-radius: 100px;
  margin-bottom: 22px;
}
.case-card h3 {
  font-family: "Syne", sans-serif;
  font-weight: 600;
  font-size: 22px;
  margin-bottom: 4px;
}
.case-card .city { color: var(--muted-mid); font-size: 14px; margin-bottom: 26px; }
.case-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  border-top: 1px solid #eee;
  padding-top: 24px;
}
.metric .num {
  font-family: "Syne", sans-serif;
  font-weight: 800;
  font-size: clamp(26px, 3vw, 34px);
  color: var(--accent-light);
  line-height: 1;
  letter-spacing: -0.02em;
}
.metric .lbl {
  margin-top: 8px;
  font-size: 13px;
  color: var(--muted-light);
  line-height: 1.35;
}

/* ============================================================
   DIFERENCIAL (dark #222)
   ============================================================ */
.diff {
  background: var(--graphite);
  color: var(--white);
  padding-block: var(--section-y);
}
.diff .section-title { color: var(--white); }
.diff__head { margin-bottom: 56px; }
.diff__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 44px;
}
.diff-col__icon {
  width: 48px;
  height: 48px;
  border: 1.5px solid var(--accent-dark);
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  color: var(--accent-dark);
}
.diff-col h3 {
  font-size: 21px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--white);
}
.diff-col p { color: var(--muted-dark); font-size: 16px; }

/* ============================================================
   FORM (dark #000)
   ============================================================ */
.form-sec {
  background: var(--black);
  color: var(--white);
  padding-block: var(--section-y);
}
.form-sec__head {
  text-align: center;
  margin-bottom: 44px;
}
.form-sec__head .eyebrow { justify-content: center; }
.form-sec h2 {
  font-size: clamp(30px, 4.4vw, 44px);
  color: var(--white);
  margin-bottom: 16px;
}
.form-sec__sub { color: var(--muted-dark); font-size: 18px; }
.form-card {
  max-width: 560px;
  margin: 0 auto;
  background: var(--ink-111);
  border: 1px solid var(--line-dark);
  border-radius: var(--r-md);
  padding: clamp(26px, 4vw, 40px);
}
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: #cfcfcf;
  margin-bottom: 8px;
  letter-spacing: 0.01em;
}
.field input,
.field select {
  width: 100%;
  height: 52px;
  background: var(--ink-1a);
  border: 1px solid #333;
  border-radius: var(--r-sm);
  color: var(--white);
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  padding: 0 16px;
  transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
  appearance: none;
}
.field input::placeholder { color: #555; }
.field select { color: #555; cursor: pointer; }
.field select.filled { color: var(--white); }
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
}
.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--accent-dark);
  box-shadow: 0 0 0 3px rgba(211, 243, 107, 0.14);
}
.field.has-error input,
.field.has-error select { border-color: #ff5b5b; }
.field__err {
  display: none;
  color: #ff7a7a;
  font-size: 12.5px;
  margin-top: 7px;
}
.field.has-error .field__err { display: block; }
.field select option { color: var(--white); background: var(--ink-1a); }

.form-submit {
  width: 100%;
  height: 52px;
  background: var(--accent-dark);
  color: var(--black);
  font-family: "Syne", sans-serif;
  font-weight: 600;
  font-size: 16px;
  border-radius: var(--r-sm);
  margin-top: 8px;
  transition: transform 0.12s var(--ease), filter 0.18s var(--ease);
}
.form-submit:hover { filter: brightness(1.08); }
.form-submit:active { transform: scale(0.98); }
.form-submit:disabled { cursor: not-allowed; opacity: 0.8; }
.form-send-error {
  color: #ff7a7a;
  font-size: 14px;
  text-align: center;
  margin-top: 14px;
  line-height: 1.5;
}
.lgpd {
  font-size: 12px;
  color: #555;
  text-align: center;
  margin-top: 16px;
  line-height: 1.5;
}

/* ============================================================
   FAQ (light)
   ============================================================ */
.faq { padding-block: var(--section-y); }
.faq__head { margin-bottom: 44px; }
.faq__list { max-width: 820px; }
.acc { border-top: 1px solid #e6e6e6; }
.acc:last-child { border-bottom: 1px solid #e6e6e6; }
.acc__q {
  width: 100%;
  background: none;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 4px;
  font-family: "Syne", sans-serif;
  font-weight: 700;
  font-size: clamp(17px, 2vw, 20px);
  color: var(--graphite);
  letter-spacing: -0.01em;
}
.acc__icon {
  flex: none;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  transition: transform 0.3s var(--ease);
  color: var(--accent-light);
}
.acc.open .acc__icon { transform: rotate(180deg); }
.acc__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.34s ease;
}
.acc__a p {
  padding: 0 60px 28px 4px;
  color: var(--muted-light);
  font-size: 16px;
}

/* ============================================================
   FOOTER (dark #111)
   ============================================================ */
.footer {
  background: var(--ink-111);
  color: var(--white);
  padding-block: clamp(56px, 8vw, 88px);
}
.footer__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  padding-bottom: 40px;
  border-bottom: 1px solid #2a2a2a;
}
.footer__tag {
  font-family: "Syne", sans-serif;
  font-weight: 700;
  font-size: clamp(22px, 3vw, 30px);
  color: var(--white);
  max-width: 16ch;
  margin-top: 14px;
}
.footer__meta {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 32px;
  color: var(--muted-dark);
  font-size: 14px;
}
.footer__meta .micro { display: flex; flex-wrap: wrap; gap: 6px 22px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step { border-bottom: 1px solid #333; }
  .step:nth-child(2) { border-right: none; padding-right: 0; }
  .step:nth-child(2) { padding-right: 0; }
  .step:nth-child(3), .step:nth-child(4) { padding-top: 36px; }
  .diff__grid { gap: 32px; }
}

@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { max-width: 460px; margin: 0 auto; order: -1; }
  .dores__grid { grid-template-columns: 1fr; }
  .cases__grid { grid-template-columns: 1fr; }
  .diff__grid { grid-template-columns: 1fr; gap: 40px; }
  .steps { grid-template-columns: 1fr; }
  .step,
  .step:nth-child(2) { border-right: none; padding-right: 0; }
  .step:not(:last-child) { padding-right: 0; }
}

@media (max-width: 560px) {
  .nav__inner { height: 60px; }
  .logo__img, .logo img { height: 46px; }
  .btn--ghost { font-size: 13px; padding: 0 14px; height: 38px; }
  .form-card { padding: 24px 18px; }
  .pain-card, .case-card { padding: 26px 22px; }
  .hero__creds { font-size: 12px; }
  .case-metrics { gap: 12px; }
  .metric .num { font-size: clamp(18px, 5.5vw, 26px); white-space: nowrap; }
  .hero__visual { max-width: 100%; }
  .footer__tag { font-size: clamp(18px, 5vw, 24px); }
  .acc__a p { padding: 0 16px 24px 4px; }
}
