*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Figtree", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  background: #eef1fa;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 12px;
  text-wrap: pretty;
  line-height: 1.1;
}
h4, h5, h6 { line-height: 1.25; }
p { margin: 0 0 12px; }
img, svg { display: block; }

.yn-root {
  --bg: #eef1fa; --surface: #f8f9fd; --ink: #262a3b; --muted: #656b82; --line: #dde2f0;
  --blue: #5b6fd0; --indigo: #6462c4; --lilac: #9a7cc9; --red: #c86e77; --orange: #cf8b5d;
  --yellow: #c3a857; --green: #5d9480; --teal: #4f94a8;
  --on-accent: #ffffff; --shadow: 0 1px 2px rgba(38, 42, 59, 0.07);
  background: var(--bg);
  color: var(--ink);
  min-height: 100vh;
}

.yn-root[data-theme="escuro"] {
  --bg: #15182a; --surface: #1d2138; --ink: #e6e8f2; --muted: #9ba2bd; --line: #2a2f4a;
  --blue: #8b9bea; --indigo: #9490e4; --lilac: #b79ae0; --red: #e0929a; --orange: #dfa678;
  --yellow: #d8c274; --green: #82b79f; --teal: #79b6c8;
  --on-accent: #15182a; --shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.yn-root :where(a):not(.yn-btn):not(.yn-nav-link) { color: var(--blue); }
.yn-root :where(a):not(.yn-btn):not(.yn-nav-link):hover { color: var(--indigo); }
.yn-root :focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.yn-root ::selection { background: rgba(91, 111, 208, 0.22); }

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  overflow-x: clip;
}

/* Componentes base */

.yn-nav-link { color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 600; }
.yn-nav-link:hover { color: var(--blue); }

.yn-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  font-family: "Figtree", system-ui, sans-serif;
  font-weight: 700;
  font-size: 15px;
  padding: 13px 26px;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1.2;
}
.yn-btn-primary { background: var(--blue); color: var(--on-accent); }
.yn-btn-primary:hover { background: var(--indigo); color: var(--on-accent); }
.yn-btn-ghost { background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.yn-btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--blue); color: var(--ink); }

.yn-seg {
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  padding: 10px 18px;
  font-family: "Figtree", system-ui, sans-serif;
  font-size: 14px;
  font-weight: 700;
  background: transparent;
  color: var(--on-accent);
}
.yn-seg[aria-selected="true"] { background: var(--surface); color: var(--ink); }

.yn-input {
  width: 100%;
  border: 0;
  border-radius: 999px;
  padding: 14px 20px;
  font-family: "Figtree", system-ui, sans-serif;
  font-size: 15px;
  background: var(--surface);
  color: var(--ink);
}
.yn-input::placeholder { color: var(--muted); }

.yn-card { background: var(--surface); border-radius: 24px; box-shadow: var(--shadow); }

.yn-kicker {
  font-family: "Figtree", system-ui, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 14px;
}

.yn-step {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  color: var(--on-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-weight: 700;
  margin-bottom: 14px;
}

.yn-track { display: flex; gap: 20px; overflow-x: auto; scrollbar-width: none; padding: 4px; }
.yn-track::-webkit-scrollbar { display: none; }
.yn-track > * { scroll-snap-align: center; }

.yn-arrow {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 0;
  flex: none;
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.yn-arrow:hover { color: var(--blue); }

.yn-logo {
  width: 190px;
  height: 92px;
  border-radius: 18px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  overflow: hidden;
  padding: 14px;
  filter: grayscale(1);
  opacity: 0.72;
  transition: filter 0.25s ease, opacity 0.25s ease;
}
.yn-logo:hover { filter: none; opacity: 1; }
.yn-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }

.eyebrow { font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.pill {
  display: inline-block;
  background: var(--surface);
  color: var(--muted);
  box-shadow: inset 0 0 0 1.5px var(--line);
  border-radius: 22px;
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 700;
}

.section-title { font-size: clamp(26px, 3.2vw, 34px); max-width: 24ch; }
.section-lead { color: var(--muted); }

.spectrum { display: flex; gap: 5px; padding-top: 18px; }
.spectrum span { height: 7px; flex: 1; border-radius: 999px; }
.spectrum--thin span { height: 8px; }

/* Nav */

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0;
  flex-wrap: wrap;
}
.nav__brand { display: flex; align-items: center; gap: 12px; }
.nav__brand-text { display: flex; flex-direction: column; gap: 2px; }
.nav__wordmark { font-family: "Space Grotesk", system-ui, sans-serif; font-weight: 700; font-size: 22px; letter-spacing: -0.03em; line-height: 1; }
.nav__tagline { font-size: 10px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.nav__links { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.nav__cta { padding: 11px 22px; }
.theme-toggle { width: 42px; height: 42px; padding: 0; border-radius: 999px; }
.theme-toggle .icon-sun { display: none; }
.yn-root[data-theme="escuro"] .theme-toggle .icon-moon { display: none; }
.yn-root[data-theme="escuro"] .theme-toggle .icon-sun { display: block; }

/* Hero */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 48px;
  align-items: center;
  padding: 64px 0 88px;
}
.hero__copy { min-width: 0; }
.hero__title { font-size: clamp(34px, 5.2vw, 58px); margin: 22px 0 18px; max-width: 16ch; }
.hero__lead { font-size: 18px; max-width: 46ch; margin-bottom: 26px; color: var(--muted); }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 26px; }
.hero__visual { position: relative; min-width: 0; }
.hero__blob {
  position: absolute;
  width: 150px;
  height: 150px;
  border-radius: 999px;
  background: var(--orange);
  opacity: 0.4;
  right: -8px;
  top: -70px;
  z-index: 2;
}
.hero__panel {
  position: relative;
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  justify-content: center;
  min-height: 380px;
}
.hero__rows { display: flex; flex-direction: column; gap: 16px; }
.hero__row { display: flex; flex-direction: column; gap: 7px; }
.hero__row-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.hero__row-label { font-size: 15px; font-weight: 600; }
.hero__row-tag { font-size: 13px; color: var(--muted); flex: none; }
.hero__row-tag--accent { color: var(--green); font-weight: 700; }
.hero__row-track { height: 10px; border-radius: 999px; opacity: 0.3; }
.hero__row-track--final { opacity: 0.45; }
.hero__caption { font-size: 14px; color: var(--muted); max-width: 34ch; }

/* Serviços */

.services { padding: 8px 0 88px; }
.services__lead { max-width: 52ch; margin-bottom: 34px; }
.services__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.service-card { padding: 28px; border-top: 6px solid; }
.service-card__title { font-size: 21px; }
.service-card__text { margin: 0; color: var(--muted); }

/* Clientes */

.clients { padding: 0 0 88px; }
.clients__title { margin-bottom: 28px; }
.clients__row { display: flex; align-items: center; gap: 14px; }

/* Processo */

.process { padding: 56px 44px; margin-bottom: 88px; border-radius: 28px; }
.process__title { max-width: 22ch; margin-bottom: 36px; }
.process__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 24px; }
.step__title { font-size: 18px; margin-bottom: 6px; }
.step__text { font-size: 14px; margin: 0; color: var(--muted); }

/* Sobre */

.about {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 48px;
  align-items: center;
  padding: 0 0 88px;
}
.about__panel {
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  justify-content: center;
  min-height: 340px;
}
.about__motto {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-weight: 700;
  font-size: 26px;
  line-height: 1.2;
  max-width: 18ch;
}
.about__title { max-width: 22ch; margin-bottom: 16px; }
.about__lead { max-width: 46ch; margin-bottom: 24px; }
.about__points { display: flex; flex-direction: column; gap: 18px; }
.about__point { padding-left: 16px; border-left: 4px solid; }
.about__point-title { font-size: 18px; margin-bottom: 4px; }
.about__point-text { margin: 0; color: var(--muted); }

/* Contato */

.contact { background: var(--blue); border-radius: 28px; padding: 56px 44px; margin-bottom: 40px; }
.contact__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.contact__title { color: var(--on-accent); max-width: 22ch; margin-bottom: 12px; }
.contact__lead { margin: 0; max-width: 42ch; color: var(--on-accent); }
.contact__interact { display: flex; flex-direction: column; gap: 16px; max-width: 420px; }
.contact__channel { display: flex; gap: 6px; padding: 5px; border-radius: 999px; background: rgba(255, 255, 255, 0.18); width: fit-content; }
.contact__panel { display: flex; flex-direction: column; gap: 12px; }
.contact__panel[hidden] { display: none; }
.contact__whats-btn { background: var(--ink); color: var(--surface); padding: 15px 30px; font-size: 16px; align-self: flex-start; }
.contact__note { font-size: 13px; color: var(--on-accent); margin: 0; }
.contact__form { display: flex; flex-direction: column; gap: 12px; }
.contact__submit { background: var(--ink); color: var(--surface); }

.yn-wa {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 40;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  background: var(--surface);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(38, 42, 59, 0.18);
  border: 1.5px solid var(--line);
  opacity: 0.85;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.yn-wa:hover { opacity: 1; transform: translateY(-2px); color: var(--green); }

/* Footer */

.footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 24px 0 48px; }
.footer__brand { display: flex; align-items: center; gap: 10px; }
.footer__tagline { font-size: 13px; color: var(--muted); }
.footer__links { display: flex; gap: 18px; }
.footer__link { font-size: 13px; font-weight: 400; }

/* Responsivo */

@media (prefers-reduced-motion: reduce) {
  .yn-track { scroll-behavior: auto; }
}

@media (max-width: 1040px) {
  .hero, .about { grid-template-columns: minmax(0, 1fr); }
  .process__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  .process__grid { grid-template-columns: minmax(0, 1fr); }
  .contact__grid { grid-template-columns: minmax(0, 1fr); }
  .process { padding: 40px 24px; }
  .contact { padding: 40px 24px; }
}
