/* Componentes */

/* Eyebrow: caixa alta, 600, laranja de texto, mini-símbolo burst */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: var(--fs-eyebrow); font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent-text); line-height: 1.2;
}
.eyebrow::before {
  content: ""; width: 10px; height: 10px; flex: none;
  background: currentColor;
  -webkit-mask: url("../assets/brand/fulltime-simbolo.svg") center / contain no-repeat;
          mask: url("../assets/brand/fulltime-simbolo.svg") center / contain no-repeat;
}

/* Botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 0 28px; border-radius: var(--r-card);
  font-size: 15.5px; font-weight: 600; line-height: 1.2; letter-spacing: .005em; text-align: left;
  transition: background-color 220ms var(--ease), border-color 220ms var(--ease), color 220ms var(--ease);
}
.btn__icon { width: 16px; height: 16px; flex: none; transition: transform 260ms var(--ease); }
.btn__icon--lead { width: 18px; height: 18px; }
.btn:hover .btn__icon:not(.btn__icon--lead) { transform: translateX(4px); }

.btn--primary { background: var(--brand-orange); color: var(--on-orange); }
.btn--primary:hover { background: var(--orange-hover); }
.btn--ghost { border: 1px solid rgba(242, 238, 233, .35); color: var(--offwhite); }
.btn--ghost:hover { border-color: var(--offwhite); background: rgba(242, 238, 233, .06); }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 14.5px; }

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  transition: background-color 300ms var(--ease), border-color 300ms var(--ease), backdrop-filter 300ms;
  border-bottom: 1px solid transparent;
}
.site-header.is-solid {
  background: rgba(20, 20, 20, .82);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.site-header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--s-6); }
.site-header__logo img { width: 156px; height: auto; }

.site-nav { display: flex; align-items: center; gap: var(--s-7); }
.site-nav__list { display: flex; gap: var(--s-6); }
.site-nav__list a {
  position: relative; font-size: 15px; font-weight: 500; color: rgba(242, 238, 233, .82);
  padding-block: 6px; transition: color 200ms;
}
.site-nav__list a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--brand-orange);
  transform: scaleX(0); transform-origin: left; transition: transform 300ms var(--ease);
}
.site-nav__list a:hover, .site-nav__list a[aria-current="true"] { color: var(--offwhite); }
.site-nav__list a:hover::after, .site-nav__list a[aria-current="true"]::after { transform: scaleX(1); }

.nav-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; margin-right: -10px; }
.nav-toggle__bars, .nav-toggle__bars::before { display: block; width: 22px; height: 1.5px; background: var(--offwhite); position: relative; transition: transform 300ms var(--ease); }
.nav-toggle__bars::before { content: ""; position: absolute; top: 7px; left: 0; }
.nav-toggle__bars { transform: translateY(-3.5px); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(-7px) rotate(-90deg); }

@media (max-width: 1023px) {
  .nav-toggle { display: inline-flex; position: relative; z-index: 2; }
  .site-nav {
    position: fixed; inset: 0; z-index: 1; background: var(--bg-deep);
    flex-direction: column; align-items: flex-start; justify-content: center; gap: var(--s-7);
    padding: var(--header-h) var(--gutter) var(--s-8);
    opacity: 0; visibility: hidden; transition: opacity 300ms var(--ease), visibility 0s linear 300ms;
  }
  .site-nav.is-open { opacity: 1; visibility: visible; transition: opacity 300ms var(--ease); }
  .site-nav__list { flex-direction: column; gap: var(--s-4); }
  .site-nav__list a { font-size: clamp(30px, 8vw, 44px); font-weight: 700; letter-spacing: -.02em; color: var(--offwhite); }
  .site-header__logo { position: relative; z-index: 2; }
  body.nav-open { overflow: hidden; }
}

/* Régua BUILD: 5 marcos do ciclo do empreendimento */
.build-ruler { --dot: 9px; }
.build-ruler__track { display: grid; grid-template-columns: repeat(5, 1fr); position: relative; }
.build-ruler__track::before { /* linha base */
  content: ""; position: absolute; left: calc(10% ); right: calc(10%); top: calc(var(--dot) / 2 + 30px);
  height: 1px; background: rgba(242, 238, 233, .28);
}
.build-ruler__track::after { /* progresso até a etapa ativa */
  content: ""; position: absolute; left: 10%; top: calc(var(--dot) / 2 + 30px); height: 1px;
  width: calc(var(--progress, .5) * 80%); background: var(--brand-orange);
  transition: width 900ms var(--ease);
}
.build-ruler__track li { display: flex; flex-direction: column; align-items: center; gap: 12px; position: relative; z-index: 1; }
.build-ruler__track span {
  font-size: 18px; font-weight: 600; line-height: 18px; color: rgba(242, 238, 233, .5);
  transition: color 500ms var(--ease);
}
.build-ruler__track li::after {
  content: ""; width: var(--dot); height: var(--dot); border-radius: 50%;
  background: var(--bg); border: 1px solid rgba(242, 238, 233, .5);
  transition: background-color 500ms var(--ease), border-color 500ms var(--ease), transform 500ms var(--ease);
}
.build-ruler__track li.is-past::after { background: var(--brand-orange); border-color: var(--brand-orange); }
.build-ruler__track li.is-active span { color: var(--offwhite); }
.build-ruler__track li.is-active::after { background: var(--brand-orange); border-color: var(--brand-orange); transform: scale(1.45); box-shadow: 0 0 0 5px rgba(255, 255, 255, .16); }
.build-ruler__caption { margin-top: var(--s-4); text-align: center; font-size: var(--fs-small); color: rgba(242, 238, 233, .72); min-height: 1.6em; }
.build-ruler__caption span { display: inline-block; transition: opacity 300ms var(--ease); }
.build-ruler__caption span.is-swapping { opacity: 0; }

/* Controle de pausa do vídeo */
.video-toggle {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px;
  font-size: var(--fs-small); color: rgba(242, 238, 233, .72); transition: color 200ms;
}
.video-toggle:hover { color: var(--offwhite); }
.video-toggle__icon { width: 26px; height: 26px; border-radius: 50%; border: 1px solid currentColor; position: relative; }
.video-toggle__icon::before, .video-toggle__icon::after { content: ""; position: absolute; top: 8px; width: 2px; height: 8px; background: currentColor; }
.video-toggle__icon::before { left: 9px; } .video-toggle__icon::after { left: 13px; }
.video-toggle[aria-pressed="true"] .video-toggle__icon::before { left: 10px; width: 0; height: 0; top: 7.5px; background: none; border-style: solid; border-width: 5px 0 5px 8px; border-color: transparent transparent transparent currentColor; }
.video-toggle[aria-pressed="true"] .video-toggle__icon::after { display: none; }

/* Seções: estrutura comum */
.section { padding-block: var(--section-y); }
.section-head { max-width: 46rem; }
.section-head .eyebrow { margin-bottom: var(--s-5); }
.section-title {
  font-size: var(--fs-h2); font-weight: 700; line-height: 1.08; letter-spacing: -.03em;
  text-wrap: balance;
}
.section-lead { margin-top: var(--s-5); font-size: var(--fs-lead); line-height: 1.5; color: var(--text-muted); max-width: 36em; }

/* Seção clara */
.section--light { background: var(--offwhite); color: var(--text-dark); }
.section--light .eyebrow { color: var(--orange-dark); }
.section--light .section-lead { color: var(--text-dark-muted); }
.section--light :focus-visible { outline-color: var(--orange-dark); }

/* Link de texto com seta */
.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 500; color: var(--offwhite);
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; padding-bottom: 4px;
  transition: background-size 300ms var(--ease);
}
.link-arrow::after { content: "↗"; color: var(--accent-text); transition: transform 260ms var(--ease); }
.link-arrow:hover::after { transform: translate(2px, -2px); }

/* Campos de formulário (fundo escuro) */
.form__label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 500; color: rgba(242, 238, 233, .86); }
.form__optional { font-weight: 400; color: var(--text-muted); }
.field input, .field textarea {
  width: 100%; min-height: 52px; padding: 14px 16px; border-radius: var(--r-card);
  background: var(--bg); border: 1px solid var(--line); color: var(--offwhite);
  font: inherit; font-size: 16px; line-height: 1.4;
  transition: border-color 200ms var(--ease), background-color 200ms var(--ease);
}
.field textarea { resize: vertical; min-height: 120px; }
.field input::placeholder, .field textarea::placeholder { color: #77777a; }
.field input:hover, .field textarea:hover { border-color: #3a3a3a; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--brand-orange); background: #171717; }
.field input:focus-visible, .field textarea:focus-visible { box-shadow: 0 0 0 3px rgba(255, 255, 255, .18); }
.field [aria-invalid="true"] { border-color: var(--accent-text); }
.form__error { margin-top: 8px; font-size: 14px; color: var(--accent-text); }

/* Seletor de etapa (rádios em pílula) */
.chips { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px;
  border: 1px solid var(--line); border-radius: var(--r-pill); cursor: pointer;
  font-size: 15px; font-weight: 500; color: rgba(242, 238, 233, .86);
  transition: background-color 200ms var(--ease), border-color 200ms var(--ease), color 200ms var(--ease);
}
.chip span b { font-weight: 700; color: var(--accent-text); transition: color 200ms; }
.chip:hover span { border-color: rgba(242, 238, 233, .4); }
.chip input:checked + span { background: var(--brand-orange); border-color: var(--brand-orange); color: var(--on-orange); }
.chip input:checked + span b { color: var(--on-orange); }
.chip input:focus-visible + span { outline: 2px solid var(--accent-text); outline-offset: 3px; }
.form__stage[data-invalid] .chip span { border-color: rgba(255, 255, 255, .7); }

/* Botões: tamanhos e variação escura (2026-10-28) */
.btn--lg { min-height: 64px; padding: 0 36px; font-size: 17.5px; gap: 14px; }
.btn--lg .btn__icon { width: 18px; height: 18px; }
.btn--dark { background: var(--text-dark); color: var(--offwhite); }
.btn--dark:hover { background: #000; }
@media (max-width: 560px) { .btn--lg { width: 100%; justify-content: space-between; padding: 0 24px; } }
