@font-face {
  font-family: 'Fahkwang';
  src: url('/assets/fonts/Fahkwang-ExtraLight.ttf') format('truetype');
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Fahkwang';
  src: url('/assets/fonts/Fahkwang-ExtraLightItalic.ttf') format('truetype');
  font-weight: 200;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Fahkwang';
  src: url('/assets/fonts/Fahkwang-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Fahkwang';
  src: url('/assets/fonts/Fahkwang-LightItalic.ttf') format('truetype');
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Fahkwang';
  src: url('/assets/fonts/Fahkwang-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Fahkwang';
  src: url('/assets/fonts/Fahkwang-Italic.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Fahkwang';
  src: url('/assets/fonts/Fahkwang-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Fahkwang';
  src: url('/assets/fonts/Fahkwang-MediumItalic.ttf') format('truetype');
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Fahkwang';
  src: url('/assets/fonts/Fahkwang-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Fahkwang';
  src: url('/assets/fonts/Fahkwang-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --vita-eclipse: #11332E;
  --vita-skin:    #DCC9C0;
  --vita-fresh:   #E0F9F5;
  --vita-espuma:  #E5E5E5;
  --vita-stone:   #000000;
  --vita-ocean:   #FFFFFF;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: 'Fahkwang', system-ui, -apple-system, sans-serif;
  background: var(--vita-fresh);
  color: var(--vita-eclipse);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; }

.vita-display {
  font-family: 'Fahkwang', serif;
  font-weight: 300;
  font-style: italic;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.vita-eyebrow {
  font-family: 'Fahkwang', sans-serif;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.72rem;
}

.vita-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.95rem 1.75rem;
  border-radius: 999px;
  background: var(--vita-eclipse);
  color: var(--vita-ocean);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.8rem;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  border: none;
  cursor: pointer;
}
.vita-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px -18px rgba(17,51,46,.55);
}
.vita-btn--ghost {
  background: transparent;
  color: var(--vita-eclipse);
  border: 1px solid var(--vita-eclipse);
}
.vita-btn--ghost:hover {
  background: var(--vita-eclipse);
  color: var(--vita-ocean);
}

.vita-card {
  background: var(--vita-ocean);
  border-radius: 24px;
  box-shadow: 0 40px 80px -60px rgba(17,51,46,.35);
  border: 1px solid rgba(17,51,46,.08);
}

.vita-field {
  display: block;
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(17,51,46,.18);
  border-radius: 14px;
  background: var(--vita-ocean);
  font-family: inherit;
  font-size: 1rem;
  color: var(--vita-eclipse);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.vita-field:focus {
  outline: none;
  border-color: var(--vita-eclipse);
  box-shadow: 0 0 0 4px rgba(17,51,46,.08);
}
.vita-field::placeholder { color: rgba(17,51,46,.4); }

textarea.vita-field { min-height: 120px; resize: vertical; }

.vita-label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(17,51,46,.65);
}

.vita-grafismo {
  position: absolute;
  inset: auto;
  pointer-events: none;
  opacity: 0.08;
}
.vita-grafismo--spin { animation: vita-spin 60s linear infinite; }

@keyframes vita-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.vita-sidebar-item {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  padding: 0.6rem 0.75rem;
  border-radius: 10px;
  color: rgba(17,51,46,.55);
  font-weight: 300;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.vita-sidebar-item:hover { background: rgba(17,51,46,.04); color: var(--vita-eclipse); }
.vita-sidebar-item--active {
  background: var(--vita-eclipse);
  color: var(--vita-ocean);
  font-weight: 500;
}
.vita-sidebar-item .num {
  font-family: 'Fahkwang', sans-serif;
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
}

.vita-progress {
  height: 3px;
  background: rgba(17,51,46,.1);
  border-radius: 999px;
  overflow: hidden;
}
.vita-progress__bar {
  height: 100%;
  background: var(--vita-eclipse);
  transition: width .4s cubic-bezier(.4,0,.2,1);
}

.vita-error { color: #b42318; font-size: 0.85rem; margin-top: 0.35rem; }

.vita-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: var(--vita-skin);
  color: var(--vita-eclipse);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.vita-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.vita-topbar {
  padding: 1.5rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.vita-topbar img { height: 32px; }

.vita-footer {
  padding: 2rem 2.5rem;
  font-size: 0.75rem;
  color: rgba(17,51,46,.55);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
}

@media (max-width: 768px) {
  .vita-topbar { padding: 1rem 1.25rem; }
  .vita-footer { padding: 1.5rem 1.25rem; }
}
