/* ================================================
   MORADA DUO — Lead Capture System
   css/style.css — v1.0
   Mobile-first | Dark Editorial | Fraunces + DM Sans
   ================================================ */

/* ================================================
   GOOGLE FONTS
   ================================================ */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,500;0,9..144,600;0,9..144,700;0,9..144,900;1,9..144,300;1,9..144,400;1,9..144,700&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,300;1,9..40,400&display=swap');

/* ================================================
   CSS CUSTOM PROPERTIES
   ================================================ */
:root {

  /* --- Cores --- */
  --color-bg:          #0d0d0d;
  --color-bg-subtle:   #111111;
  --color-bg-elevated: #161616;
  --color-bg-overlay:  #1a1a1a;

  --color-surface:       #1c1c1c;
  --color-surface-hover: #222222;
  --color-border:        rgba(255, 255, 255, 0.08);
  --color-border-strong: rgba(255, 255, 255, 0.14);
  --color-border-focus:  rgba(0, 194, 168, 0.5);

  --color-text:       #f5f5f4;
  --color-text-muted: rgba(245, 245, 244, 0.55);
  --color-text-faint: rgba(245, 245, 244, 0.30);

  --color-accent:       #00c2a8;
  --color-accent-dim:   rgba(0, 194, 168, 0.12);
  --color-accent-glow:  rgba(0, 194, 168, 0.25);
  --color-accent-dark:  #009e89;
  --color-accent-light: #00e0c5;

  --color-error:   #ff5c5c;
  --color-error-dim: rgba(255, 92, 92, 0.12);
  --color-success: #00c2a8;
  --color-warning: #f5a623;

  /* --- Tipografia --- */
  --font-display: 'Fraunces', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  --text-xs:   clamp(0.6875rem, 0.65rem  + 0.19vw, 0.75rem);
  --text-sm:   clamp(0.8125rem, 0.78rem  + 0.16vw, 0.875rem);
  --text-base: clamp(0.9375rem, 0.9rem   + 0.19vw, 1rem);
  --text-md:   clamp(1rem,      0.95rem  + 0.25vw, 1.125rem);
  --text-lg:   clamp(1.125rem,  1.05rem  + 0.38vw, 1.25rem);
  --text-xl:   clamp(1.25rem,   1.1rem   + 0.75vw, 1.5rem);
  --text-2xl:  clamp(1.5rem,    1.3rem   + 1vw,    2rem);
  --text-3xl:  clamp(2rem,      1.6rem   + 2vw,    3rem);
  --text-4xl:  clamp(2.5rem,    1.8rem   + 3.5vw,  4.5rem);
  --text-hero: clamp(3rem,      2rem     + 5vw,    6.5rem);

  --leading-tight:   1.15;
  --leading-snug:    1.3;
  --leading-normal:  1.55;
  --leading-relaxed: 1.75;

  --tracking-tighter: -0.04em;
  --tracking-tight:   -0.02em;
  --tracking-normal:   0em;
  --tracking-wide:     0.04em;
  --tracking-wider:    0.08em;
  --tracking-widest:   0.16em;

  /* --- Espaçamentos --- */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-7:  1.75rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* --- Bordas arredondadas --- */
  --radius-sm:   0.25rem;
  --radius-md:   0.5rem;
  --radius-lg:   0.75rem;
  --radius-xl:   1rem;
  --radius-2xl:  1.5rem;
  --radius-full: 9999px;

  /* --- Sombras --- */
  --shadow-sm:       0 1px 2px  rgba(0, 0, 0, 0.4);
  --shadow-md:       0 4px 12px rgba(0, 0, 0, 0.5);
  --shadow-lg:       0 8px 32px rgba(0, 0, 0, 0.6);
  --shadow-xl:       0 20px 60px rgba(0, 0, 0, 0.7);
  --shadow-accent:   0 0 24px rgba(0, 194, 168, 0.18);
  --shadow-accent-lg:0 0 48px rgba(0, 194, 168, 0.25);

  /* --- Curvas de animação --- */
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:     cubic-bezier(0.7,  0, 0.84, 0);
  --ease-inout:  cubic-bezier(0.87, 0, 0.13, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  --duration-fast:   150ms;
  --duration-base:   250ms;
  --duration-slow:   400ms;
  --duration-slower: 700ms;

  /* --- Layout --- */
  --container-sm:  640px;
  --container-md:  768px;
  --container-lg:  1024px;
  --container-xl:  1200px;
  --container-2xl: 1400px;

  --header-height: 72px;

  /* --- Z-index --- */
  --z-base:    1;
  --z-raised:  10;
  --z-overlay: 100;
  --z-modal:   200;
  --z-toast:   300;
  --z-tooltip: 400;
}

/* ================================================
   RESET MODERNO
   ================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  min-height: 100dvh;
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 400;
  line-height: var(--leading-normal);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video, canvas, audio, iframe, embed, object {
  display: block;
  max-width: 100%;
}

img, video { height: auto; }

input, button, textarea, select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}

ul[role='list'], ol[role='list'] {
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--duration-base) var(--ease-out);
}

a:hover { color: var(--color-accent); }

fieldset  { border: none; }
textarea  { resize: vertical; }

[hidden] { display: none !important; }

:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

::selection {
  background-color: var(--color-accent-dim);
  color: var(--color-accent);
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track  { background: var(--color-bg); }
::-webkit-scrollbar-thumb  {
  background: rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, 0.2); }

/* ================================================
   TIPOGRAFIA BASE
   ================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  color: var(--color-text);
}

h1 { font-size: var(--text-4xl); }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }
h5 { font-size: var(--text-lg); }
h6 { font-size: var(--text-md); }

/* Display — tipo hero, oversized */
.display {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: var(--tracking-tighter);
}

.display--italic {
  font-style: italic;
  font-weight: 300;
}

/* Label de seção */
.label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--color-accent);
}

.eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--color-text-muted);
}

p {
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  color: var(--color-text-muted);
}

.lead {
  font-size: var(--text-lg);
  line-height: var(--leading-relaxed);
  color: var(--color-text-muted);
}

.caption {
  font-size: var(--text-xs);
  line-height: var(--leading-normal);
  color: var(--color-text-faint);
}

strong, b {
  font-weight: 600;
  color: var(--color-text);
}

em, i { font-style: italic; }

/* Cores de texto */
.text-accent { color: var(--color-accent); }
.text-muted  { color: var(--color-text-muted); }
.text-faint  { color: var(--color-text-faint); }
.text-white  { color: var(--color-text); }
.text-error  { color: var(--color-error); }

hr {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: var(--space-8) 0;
}

/* ================================================
   LAYOUT — Container
   ================================================ */
.container {
  width: 100%;
  max-width: var(--container-xl);
  margin-inline: auto;
  padding-inline: var(--space-4);
}

@media (min-width: 480px) {
  .container { padding-inline: var(--space-5); }
}

.container--sm  { max-width: var(--container-sm); }
.container--md  { max-width: var(--container-md); }
.container--lg  { max-width: var(--container-lg); }
.container--2xl { max-width: var(--container-2xl); }
.container--full { max-width: none; }

@media (min-width: 768px) {
  .container { padding-inline: var(--space-8); }
}
@media (min-width: 1024px) {
  .container { padding-inline: var(--space-12); }
}

/* ================================================
   GRID RESPONSIVO
   ================================================ */
.grid {
  display: grid;
  gap: var(--space-6);
}

.grid--1 { grid-template-columns: 1fr; }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: 1fr; }
.grid--auto {
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
}

@media (min-width: 640px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}

/* Gap variants */
.gap-sm { gap: var(--space-4); }
.gap-md { gap: var(--space-6); }
.gap-lg { gap: var(--space-8); }
.gap-xl { gap: var(--space-12); }

/* ================================================
   FLEX UTILITIES
   ================================================ */
.flex          { display: flex; }
.flex-col      { flex-direction: column; }
.flex-wrap     { flex-wrap: wrap; }
.items-start   { align-items: flex-start; }
.items-center  { align-items: center; }
.items-end     { align-items: flex-end; }
.justify-start   { justify-content: flex-start; }
.justify-center  { justify-content: center; }
.justify-end     { justify-content: flex-end; }
.justify-between { justify-content: space-between; }
.flex-1         { flex: 1; }
.flex-shrink-0  { flex-shrink: 0; }

/* ================================================
   SEÇÕES
   ================================================ */
.section    { padding-block: var(--space-16); }
.section--sm { padding-block: var(--space-10); }
.section--lg { padding-block: var(--space-24); }
.section--xl { padding-block: var(--space-32); }

@media (min-width: 768px) {
  .section     { padding-block: var(--space-20); }
  .section--lg { padding-block: var(--space-32); }
}
@media (max-width: 767px) {
  .section--xl { padding-block: var(--space-20); }
  .section--lg { padding-block: var(--space-16); }
}

/* ================================================
   UTILITÁRIOS DE ESPAÇAMENTO — Margin
   ================================================ */
.m-0    { margin: 0; }
.m-auto { margin: auto; }
.mx-auto { margin-inline: auto; }

.mt-1  { margin-top: var(--space-1); }
.mt-2  { margin-top: var(--space-2); }
.mt-3  { margin-top: var(--space-3); }
.mt-4  { margin-top: var(--space-4); }
.mt-6  { margin-top: var(--space-6); }
.mt-8  { margin-top: var(--space-8); }
.mt-10 { margin-top: var(--space-10); }
.mt-12 { margin-top: var(--space-12); }
.mt-16 { margin-top: var(--space-16); }

.mb-1  { margin-bottom: var(--space-1); }
.mb-2  { margin-bottom: var(--space-2); }
.mb-3  { margin-bottom: var(--space-3); }
.mb-4  { margin-bottom: var(--space-4); }
.mb-6  { margin-bottom: var(--space-6); }
.mb-8  { margin-bottom: var(--space-8); }
.mb-10 { margin-bottom: var(--space-10); }
.mb-12 { margin-bottom: var(--space-12); }
.mb-16 { margin-bottom: var(--space-16); }

.ml-auto { margin-left: auto; }
.mr-auto { margin-right: auto; }
.ml-2    { margin-left: var(--space-2); }

/* --- Padding --- */
.p-4   { padding: var(--space-4); }
.p-6   { padding: var(--space-6); }
.p-8   { padding: var(--space-8); }
.p-10  { padding: var(--space-10); }
.p-12  { padding: var(--space-12); }

.px-4  { padding-inline: var(--space-4); }
.px-5  { padding-inline: var(--space-5); }
.px-6  { padding-inline: var(--space-6); }
.px-8  { padding-inline: var(--space-8); }

.py-3  { padding-block: var(--space-3); }
.py-4  { padding-block: var(--space-4); }
.py-6  { padding-block: var(--space-6); }
.py-8  { padding-block: var(--space-8); }
.py-10 { padding-block: var(--space-10); }
.py-12 { padding-block: var(--space-12); }

/* ================================================
   BOTÕES
   ================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);

  padding: 0.875rem 1.75rem;
  min-height: 48px;

  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  white-space: nowrap;

  border: 1px solid transparent;
  border-radius: var(--radius-full);

  cursor: pointer;
  user-select: none;
  text-decoration: none;

  position: relative;
  overflow: hidden;

  transition:
    background-color var(--duration-base) var(--ease-out),
    color            var(--duration-base) var(--ease-out),
    border-color     var(--duration-base) var(--ease-out),
    transform        var(--duration-fast) var(--ease-spring),
    box-shadow       var(--duration-base) var(--ease-out),
    opacity          var(--duration-base) var(--ease-out);
}

.btn:active { transform: scale(0.97); }

/* Primário */
.btn--primary {
  background-color: var(--color-accent);
  color: #0d0d0d;
  border-color: var(--color-accent);
}
.btn--primary:hover {
  background-color: var(--color-accent-light);
  border-color: var(--color-accent-light);
  color: #0d0d0d;
  box-shadow: var(--shadow-accent);
}
.btn--primary:focus-visible {
  box-shadow: 0 0 0 4px var(--color-accent-glow);
}

/* Secundário / Outline */
.btn--secondary {
  background-color: transparent;
  color: var(--color-text);
  border-color: var(--color-border-strong);
}
.btn--secondary:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  background-color: var(--color-accent-dim);
}

/* Ghost */
.btn--ghost {
  background-color: transparent;
  color: var(--color-text-muted);
  border-color: transparent;
}
.btn--ghost:hover {
  color: var(--color-text);
  background-color: rgba(255, 255, 255, 0.05);
}

/* Glow — CTA principal com brilho */
.btn--glow {
  background-color: var(--color-accent);
  color: #0d0d0d;
  border-color: var(--color-accent);
  box-shadow: var(--shadow-accent-lg);
}
.btn--glow:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 0 64px rgba(0, 194, 168, 0.4);
  background-color: var(--color-accent-light);
}

/* Tamanhos */
.btn--sm {
  padding: 0.625rem 1.25rem;
  font-size: var(--text-xs);
}
.btn--lg {
  padding: 1.125rem 2.5rem;
  font-size: var(--text-base);
}
.btn--xl {
  padding: 1.375rem 3rem;
  font-size: var(--text-md);
}
.btn--full { width: 100%; }

/* Ícone */
.btn--icon {
  padding: 0.75rem;
  border-radius: var(--radius-full);
  aspect-ratio: 1;
}

/* Desabilitado */
.btn:disabled,
.btn[aria-disabled="true"] {
  opacity: 0.35;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
  pointer-events: none;
}

/* Carregando */
.btn--loading {
  color: transparent !important;
  pointer-events: none;
}
.btn--loading::before {
  content: '';
  position: absolute;
  width: 1.125em;
  height: 1.125em;
  border: 2px solid #0d0d0d;
  border-top-color: transparent;
  border-radius: var(--radius-full);
  animation: spin 0.7s linear infinite;
}
.btn--secondary.btn--loading::before,
.btn--ghost.btn--loading::before {
  border-color: var(--color-accent);
  border-top-color: transparent;
}

/* ================================================
   FORMULÁRIOS
   ================================================ */

/* Grupo */
.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

/* Label */
.form-label {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
  letter-spacing: var(--tracking-wide);
  cursor: pointer;
}
.form-label--required::after {
  content: ' *';
  color: var(--color-accent);
}

/* Input base */
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.875rem var(--space-4);

  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);

  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 400;
  color: var(--color-text);

  appearance: none;
  -webkit-appearance: none;

  transition:
    border-color     var(--duration-base) var(--ease-out),
    background-color var(--duration-base) var(--ease-out),
    box-shadow       var(--duration-base) var(--ease-out);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--color-text-faint);
}

/* Foco */
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  background-color: var(--color-bg-elevated);
  box-shadow: 0 0 0 3px var(--color-accent-dim), 0 0 16px rgba(0, 194, 168, 0.08);
}

/* Hover */
.form-input:hover:not(:focus):not(:disabled),
.form-select:hover:not(:focus):not(:disabled),
.form-textarea:hover:not(:focus):not(:disabled) {
  border-color: var(--color-border-strong);
  background-color: var(--color-bg-overlay);
}

/* Erro */
.form-input--error,
.form-select--error,
.form-textarea--error {
  border-color: var(--color-error);
  background-color: var(--color-error-dim);
}
.form-input--error:focus,
.form-textarea--error:focus {
  box-shadow: 0 0 0 3px var(--color-error-dim);
}

/* Sucesso */
.form-input--success {
  border-color: var(--color-success);
}

/* Desabilitado */
.form-input:disabled,
.form-select:disabled,
.form-textarea:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* Select — seta customizada */
.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2300c2a8' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--space-4) center;
  padding-right: var(--space-10);
  cursor: pointer;
}
.form-select option {
  background-color: var(--color-surface);
  color: var(--color-text);
}

/* Textarea */
.form-textarea {
  min-height: 120px;
  resize: vertical;
  line-height: var(--leading-relaxed);
}

@media (max-width: 767px) {
  .form-input,
  .form-select,
  .form-textarea {
    font-size: 1rem;
  }
}

/* Texto auxiliar */
.form-hint {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  line-height: var(--leading-normal);
}
.form-hint--error   { color: var(--color-error); }
.form-hint--success { color: var(--color-success); }

/* Checkbox & Radio */
.form-check {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  cursor: pointer;
}

.form-check-input {
  width: 1.125rem;
  height: 1.125rem;
  flex-shrink: 0;
  margin-top: 0.125rem;

  background-color: var(--color-surface);
  border: 1.5px solid var(--color-border-strong);
  border-radius: var(--radius-sm);

  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  position: relative;

  transition:
    background-color var(--duration-fast) var(--ease-out),
    border-color     var(--duration-fast) var(--ease-out);
}

.form-check-input[type="radio"] {
  border-radius: var(--radius-full);
}

.form-check-input:checked {
  background-color: var(--color-accent);
  border-color: var(--color-accent);
}

.form-check-input:checked::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 8'%3E%3Cpath d='M1 4l2.5 2.5L9 1' stroke='%230d0d0d' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 70%;
}

.form-check-input[type="radio"]:checked::after {
  background-image: none;
  background-color: #0d0d0d;
  border-radius: var(--radius-full);
  inset: 3px;
}

.form-check-input:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.form-check-label {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--leading-normal);
  cursor: pointer;
}

/* Layout de formulário — linhas */
.form-row {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: 1fr;
}
@media (min-width: 600px) {
  .form-row--2 { grid-template-columns: repeat(2, 1fr); }
  .form-row--3 { grid-template-columns: repeat(3, 1fr); }
}

/* Input com ícone */
.form-input-wrap { position: relative; }
.form-input-wrap .form-input {
  padding-left: calc(var(--space-4) + 1.25rem + var(--space-3));
}
.form-input-icon {
  position: absolute;
  left: var(--space-4);
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-text-faint);
  pointer-events: none;
  width: 1.125rem;
  height: 1.125rem;
  transition: color var(--duration-base) var(--ease-out);
}
.form-input-wrap:focus-within .form-input-icon {
  color: var(--color-accent);
}

/* Card de formulário */
.form-card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
}
@media (max-width: 767px) {
  .form-card {
    padding: var(--space-5);
    border-radius: var(--radius-xl);
  }
}
@media (min-width: 768px) {
  .form-card { padding: var(--space-10) var(--space-12); }
}

/* ================================================
   CARDS & SUPERFÍCIES
   ================================================ */
.card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  transition:
    border-color var(--duration-base) var(--ease-out),
    transform    var(--duration-base) var(--ease-out),
    box-shadow   var(--duration-base) var(--ease-out);
}
.card:hover {
  border-color: rgba(0, 194, 168, 0.2);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.card--accent {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-accent);
}
.card--elevated {
  background-color: var(--color-bg-elevated);
  box-shadow: var(--shadow-md);
}

/* ================================================
   BADGES & TAGS
   ================================================ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: 0.25rem 0.625rem;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
}
.badge--accent {
  background-color: var(--color-accent-dim);
  color: var(--color-accent);
  border: 1px solid rgba(0, 194, 168, 0.2);
}
.badge--muted {
  background-color: rgba(255, 255, 255, 0.06);
  color: var(--color-text-muted);
}

/* ================================================
   HEADER / NAV
   ================================================ */
.header {
  position: sticky;
  top: 0;
  z-index: var(--z-overlay);
  height: var(--header-height);

  display: flex;
  align-items: center;

  background-color: rgba(13, 13, 13, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);

  border-bottom: 1px solid var(--color-border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav__logo {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  letter-spacing: var(--tracking-tight);
  color: var(--color-text);
}
.nav__logo span { color: var(--color-accent); }

.nav__links {
  display: none;
  list-style: none;
  gap: var(--space-8);
}
@media (min-width: 768px) {
  .nav__links { display: flex; }
}
.nav__links a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
}
.nav__links a:hover  { color: var(--color-text); }
.nav__links a.active { color: var(--color-accent); }

/* ================================================
   HERO SECTION
   ================================================ */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* Granulação de textura */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

/* Brilho radial de fundo */
.hero::after {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60vmax;
  height: 60vmax;
  background: radial-gradient(circle, rgba(0, 194, 168, 0.06) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.hero__content {
  position: relative;
  z-index: var(--z-base);
}

/* ================================================
   INDICADOR DE PROGRESSO / STEPS
   ================================================ */
.steps {
  display: flex;
  align-items: center;
}

.step {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-shrink: 0;
}

.step__number {
  width: 2rem;
  height: 2rem;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--color-border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-text-faint);
  transition: all var(--duration-base) var(--ease-out);
}

.step__label {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-faint);
  display: none;
}

.step--active .step__number {
  border-color: var(--color-accent);
  background-color: var(--color-accent);
  color: #0d0d0d;
}
.step--active .step__label {
  color: var(--color-text);
  display: block;
}
.step--done .step__number {
  border-color: var(--color-accent);
  color: var(--color-accent);
  background-color: var(--color-accent-dim);
}

.step__connector {
  flex: 1;
  height: 1px;
  background-color: var(--color-border);
  min-width: var(--space-6);
  margin: 0 var(--space-2);
  transition: background-color var(--duration-slow) var(--ease-out);
}
.step--done + .step__connector {
  background-color: var(--color-accent);
}
@media (max-width: 479px) {
  .step--active .step__label { display: none; }
}

/* ================================================
   TOAST / NOTIFICAÇÃO
   ================================================ */
.toast-container {
  position: fixed;
  bottom: var(--space-6);
  right: var(--space-6);
  z-index: var(--z-toast);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  max-width: 380px;
  width: calc(100% - var(--space-8));
}

.toast {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-5);

  background-color: var(--color-bg-elevated);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);

  animation: toastIn var(--duration-slow) var(--ease-spring) forwards;
}
.toast--success { border-color: rgba(0, 194, 168, 0.3); }
.toast--error   { border-color: rgba(255, 92, 92, 0.3); }

.toast__icon {
  flex-shrink: 0;
  color: var(--color-accent);
  margin-top: 2px;
}
.toast--error .toast__icon { color: var(--color-error); }

.toast__body  { flex: 1; }
.toast__title {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 2px;
}
.toast__message {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

/* ================================================
   ANIMAÇÕES & KEYFRAMES
   ================================================ */
@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes toastIn {
  from { opacity: 0; transform: translateX(24px) scale(0.95); }
  to   { opacity: 1; transform: translateX(0) scale(1); }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.9); }
  to   { opacity: 1; transform: scale(1); }
}

@keyframes shimmer {
  from { background-position: -200% center; }
  to   { background-position:  200% center; }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.5; }
}

/* Classes de animação */
.animate-fade-in  { animation: fadeIn  var(--duration-slow)   var(--ease-out)    both; }
.animate-fade-up  { animation: fadeUp  var(--duration-slow)   var(--ease-out)    both; }
.animate-scale-in { animation: scaleIn var(--duration-slow)   var(--ease-spring) both; }
.animate-pulse    { animation: pulse 2s ease-in-out infinite; }

/* Delays para stagger */
.delay-1 { animation-delay: 100ms; }
.delay-2 { animation-delay: 200ms; }
.delay-3 { animation-delay: 350ms; }
.delay-4 { animation-delay: 500ms; }
.delay-5 { animation-delay: 700ms; }

/* Reveal ao scroll (ativado via JS) */
[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity   var(--duration-slower) var(--ease-out),
    transform var(--duration-slower) var(--ease-out);
}
[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ================================================
   SKELETON / LOADING PLACEHOLDER
   ================================================ */
.skeleton {
  background: linear-gradient(
    90deg,
    var(--color-surface)       25%,
    var(--color-surface-hover) 50%,
    var(--color-surface)       75%
  );
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-md);
}

/* ================================================
   SEPARADORES & ELEMENTOS DECORATIVOS
   ================================================ */
.divider {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  color: var(--color-text-faint);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
}
.divider::before,
.divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background-color: var(--color-border);
}

/* Linha de acento */
.accent-line {
  width: 3rem;
  height: 2px;
  background: var(--color-accent);
  border-radius: var(--radius-full);
}

/* Ponto de acento */
.accent-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: var(--radius-full);
  background-color: var(--color-accent);
  flex-shrink: 0;
}

/* Borda brilhante */
.glow-border {
  border: 1px solid var(--color-accent);
  box-shadow: var(--shadow-accent);
}

/* ================================================
   UTILITÁRIOS DE TEXTO
   ================================================ */
.text-center  { text-align: center; }
.text-left    { text-align: left; }
.text-right   { text-align: right; }
.text-balance { text-wrap: balance; }
.text-pretty  { text-wrap: pretty; }
.uppercase    { text-transform: uppercase; }
.capitalize   { text-transform: capitalize; }

.truncate {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* ================================================
   UTILITÁRIOS DE VISIBILIDADE
   ================================================ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.hidden    { display: none; }
.invisible { visibility: hidden; }

@media (max-width: 767px) {
  .hide-mobile { display: none !important; }
}
@media (min-width: 768px) {
  .hide-desktop  { display: none !important; }
  .show-desktop  { display: flex !important; }
}

/* ================================================
   UTILITÁRIOS DE POSICIONAMENTO
   ================================================ */
.relative        { position: relative; }
.absolute        { position: absolute; }
.overflow-hidden { overflow: hidden; }

/* ================================================
   PREFERS-REDUCED-MOTION
   ================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
