/* ===== TOKENS — paleta JP3D ===== */
:root {
  --purple: #611EBD;          /* roxo principal do logo */
  --purple-deep: #4A1696;     /* roxo escuro p/ hover */
  --purple-light: #9461D4;    /* roxo claro p/ gradientes */
  --slate: #333E56;           /* cinza-azulado escuro do logo */
  --purple-soft: #f0e9fb;     /* fundo lilás bem claro */
  --ink: #2b3047;
  --muted: #5d6377;
  --bg: #ffffff;
  --bg-alt: #f7f5fc;
  --line: #ebe7f3;
  --radius: 16px;
  --shadow: 0 18px 40px -20px rgba(74, 22, 150, 0.4);
  --shadow-sm: 0 8px 24px -12px rgba(74, 22, 150, 0.3);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: "Sora", sans-serif; line-height: 1.15; color: var(--slate); }
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

.container { width: min(1140px, 92%); margin: 0 auto; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: "Sora", sans-serif; font-weight: 600; font-size: 0.95rem;
  padding: 0.85rem 1.6rem; border-radius: 999px; cursor: pointer;
  border: 2px solid transparent; transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--purple); color: #fff; box-shadow: 0 12px 26px -12px rgba(97, 30, 189, 0.7); }
.btn--primary:hover { background: var(--purple-deep); }
.btn--ghost { background: transparent; color: var(--slate); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--purple); color: var(--purple); }
.btn--block { width: 100%; }

/* ===== NAV ===== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.nav.is-scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; padding: 0.7rem 0; }
.nav__brand img { height: 44px; display: block; }
.nav__links { display: flex; align-items: center; gap: 1.8rem; }
.nav__links a { font-weight: 500; color: var(--ink); font-size: 0.95rem; transition: color 0.15s ease; }
.nav__links a:hover { color: var(--purple); }
.nav__cta {
  background: var(--purple); color: #fff !important; padding: 0.6rem 1.3rem;
  border-radius: 999px; font-family: "Sora", sans-serif; font-weight: 600;
}
.nav__cta:hover { background: var(--purple-deep); }
.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav__toggle span { width: 24px; height: 2.5px; background: var(--purple); border-radius: 2px; transition: 0.2s; }

/* ===== HERO ===== */
.hero {
  background:
    radial-gradient(900px 420px at 85% -10%, var(--purple-soft), transparent),
    linear-gradient(180deg, #fff, var(--bg-alt));
  padding: clamp(3rem, 7vw, 6rem) 0;
}
.hero__inner { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 3rem; align-items: center; }
.badge {
  display: inline-block; background: var(--purple-soft); color: var(--purple);
  font-family: "Sora", sans-serif; font-weight: 600; font-size: 0.8rem;
  padding: 0.4rem 0.9rem; border-radius: 999px; letter-spacing: 0.02em;
}
.hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 800; margin: 1.1rem 0; }
.hero h1 span { color: var(--purple); }
.hero__lead { color: var(--muted); font-size: 1.08rem; max-width: 30rem; }
.hero__actions { display: flex; gap: 0.9rem; margin: 1.8rem 0 2.2rem; flex-wrap: wrap; }
.hero__highlights { list-style: none; display: flex; gap: 2rem; flex-wrap: wrap; }
.hero__highlights li { display: flex; flex-direction: column; }
.hero__highlights strong { font-family: "Sora", sans-serif; font-size: 1.4rem; color: var(--slate); }
.hero__highlights span { color: var(--muted); font-size: 0.85rem; }

.hero__visual { position: relative; display: flex; justify-content: center; }
.hero__logo {
  width: 100%; max-width: 480px;
  filter: drop-shadow(0 26px 44px rgba(74, 22, 150, 0.3));
  animation: float 7s ease-in-out infinite;
}
.hero__logo img { width: 100%; }
.hero__chip {
  position: absolute; background: #fff; border: 1px solid var(--line);
  border-radius: 999px; padding: 0.55rem 1rem; font-size: 0.85rem;
  font-weight: 600; font-family: "Sora", sans-serif; color: var(--slate);
  box-shadow: var(--shadow-sm); white-space: nowrap;
}
.hero__chip--1 { top: 8%; left: -4%; animation: float 5s ease-in-out infinite; }
.hero__chip--2 { bottom: 16%; right: -6%; animation: float 6s ease-in-out infinite reverse; }
.hero__chip--3 { bottom: -3%; left: 8%; animation: float 7s ease-in-out infinite; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ===== SECTIONS ===== */
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section--alt { background: var(--bg-alt); }
.section__head { text-align: center; max-width: 40rem; margin: 0 auto 3rem; }
.eyebrow {
  font-family: "Sora", sans-serif; font-weight: 700; font-size: 0.8rem;
  text-transform: uppercase; letter-spacing: 0.12em; color: var(--purple);
}
.eyebrow--light { color: #c9aef0; }
.section__head h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); margin: 0.6rem 0; }
.section__head p { color: var(--muted); }

/* ===== GRID / CARDS ===== */
.grid { display: grid; gap: 1.4rem; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.8rem 1.5rem; transition: transform 0.18s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card__icon {
  width: 54px; height: 54px; border-radius: 14px; background: var(--purple-soft);
  display: grid; place-items: center; font-size: 1.5rem; margin-bottom: 1rem;
}
.card h3 { font-size: 1.15rem; margin-bottom: 0.4rem; }
.card p { color: var(--muted); font-size: 0.95rem; }

/* ===== STEPS ===== */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.step {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.8rem 1.5rem; position: relative; overflow: hidden;
}
.step__num {
  font-family: "Sora", sans-serif; font-weight: 800; font-size: 2.4rem;
  color: var(--purple-soft); display: block; line-height: 1; margin-bottom: 0.6rem;
}
.step h3 { font-size: 1.1rem; margin-bottom: 0.35rem; }
.step p { color: var(--muted); font-size: 0.92rem; }

/* ===== SPLIT ===== */
.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 3rem; align-items: center; }
.split__text h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin: 0.6rem 0 1rem; }
.split__text > p { color: var(--muted); margin-bottom: 1.3rem; }
.checklist { list-style: none; margin-bottom: 1.8rem; display: grid; gap: 0.7rem; }
.checklist li { position: relative; padding-left: 2rem; color: var(--ink); }
.checklist li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  width: 22px; height: 22px; background: var(--purple); color: #fff;
  border-radius: 50%; display: grid; place-items: center; font-size: 0.75rem; font-weight: 700;
}
.split__stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
.stat {
  background: var(--slate); color: #fff; border-radius: var(--radius);
  padding: 1.6rem 1.3rem; text-align: center;
}
.stat strong { font-family: "Sora", sans-serif; font-size: 2rem; display: block; }
.stat span { color: #b6bdce; font-size: 0.88rem; }

/* ===== GALLERY ===== */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.gallery__item {
  height: 200px; border-radius: var(--radius); display: flex; align-items: flex-end;
  padding: 1.2rem; color: #fff; position: relative; overflow: hidden;
  background: linear-gradient(150deg, var(--purple), var(--slate));
  transition: transform 0.2s ease;
}
.gallery__item:nth-child(even) { background: linear-gradient(150deg, var(--purple-light), var(--purple-deep)); }
.gallery__item:hover { transform: scale(1.02); }
.gallery__item::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 70% 20%, rgba(255,255,255,0.2), transparent 60%);
}
.gallery__item span { font-family: "Sora", sans-serif; font-weight: 600; position: relative; }

/* ===== CTA ===== */
.cta {
  background:
    radial-gradient(700px 300px at 10% 0%, rgba(148, 97, 212, 0.55), transparent),
    linear-gradient(150deg, var(--purple-deep), var(--slate));
  color: #fff; padding: clamp(3.5rem, 7vw, 6rem) 0;
}
.cta__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.cta__text h2 { color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin: 0.6rem 0; }
.cta__text > p { color: #ddd0f2; margin-bottom: 1.4rem; }
.cta__contacts { list-style: none; display: grid; gap: 0.6rem; color: #e7defa; }

/* ===== FORM ===== */
.form { background: #fff; border-radius: 20px; padding: 2rem; box-shadow: var(--shadow); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form label {
  display: flex; flex-direction: column; gap: 0.35rem; margin-bottom: 1rem;
  font-family: "Sora", sans-serif; font-weight: 600; font-size: 0.85rem; color: var(--slate);
}
.form input, .form select, .form textarea {
  font-family: "Inter", sans-serif; font-size: 0.95rem; font-weight: 400;
  padding: 0.75rem 0.9rem; border: 1px solid var(--line); border-radius: 10px;
  color: var(--ink); background: #fff; transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none; border-color: var(--purple); box-shadow: 0 0 0 3px var(--purple-soft);
}
.form textarea { resize: vertical; }
.form__feedback {
  margin-top: 1rem; background: var(--purple-soft); color: var(--purple);
  padding: 0.8rem 1rem; border-radius: 10px; font-size: 0.9rem; font-weight: 600; text-align: center;
}

/* ===== FOOTER ===== */
.footer { background: #1c1330; color: #c8c1d8; padding: 3rem 0 0; }
.footer__inner { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; padding-bottom: 2rem; }
.footer__brand img { height: 66px; background: #fff; border-radius: 12px; padding: 8px; margin-bottom: 0.8rem; }
.footer__brand p { max-width: 22rem; font-size: 0.92rem; }
.footer__nav { display: flex; gap: 1.6rem; flex-wrap: wrap; align-items: center; }
.footer__nav a { font-size: 0.92rem; transition: color 0.15s ease; }
.footer__nav a:hover { color: #fff; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08); padding: 1.2rem 0;
  text-align: center; font-size: 0.85rem; color: #948ba8;
}

/* ===== REVEAL ANIM ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .nav__toggle { display: flex; }
  .nav__links {
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; flex-direction: column; align-items: stretch;
    gap: 0; padding: 0.5rem 6%; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    max-height: 0; overflow: hidden; transition: max-height 0.3s ease;
  }
  .nav__links.is-open { max-height: 420px; padding: 1rem 6%; }
  .nav__links a { padding: 0.7rem 0; }
  .nav__cta { text-align: center; margin-top: 0.3rem; }
  .hero__inner, .split, .cta__inner { grid-template-columns: 1fr; }
  .hero__visual { order: -1; }
  .grid--3, .grid--4, .steps { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .grid--3, .grid--4, .steps, .gallery, .split__stats, .form__row { grid-template-columns: 1fr; }
  .hero__chip { display: none; }
  .hero__actions .btn { width: 100%; }
}
