/* =============================================================================
   Leads Locais - Landing de Assinatura
   base.css | Fundacao: tokens da marca, tipografia, componentes e utilitarios
   Tokens copiados do design system do site principal (leadslocais.com).
   ============================================================================= */

/* ---------------------------------------------------------------------------
   1. Fontes (self-hosted, subconjunto latin)
   --------------------------------------------------------------------------- */
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/manrope-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin.woff2") format("woff2");
}

/* ---------------------------------------------------------------------------
   2. Tokens
   --------------------------------------------------------------------------- */
:root {
  /* Marca - verde esmeralda (mesma paleta do logotipo oficial) */
  --brand-200: #7fe0c4;
  --brand-300: #35c89a;
  --brand-400: #2fa688;
  --brand-500: #22806a;
  --brand-600: #1c6a57;

  /* Grafite - fundos */
  --graphite-950: #3b4147;
  --graphite-900: #353b41;
  --graphite-850: #2e343a;
  --graphite-800: #292e34;
  --graphite-700: #22272c;
  --graphite-600: #1b1f24;
  --graphite-500: #15181c;
  --graphite-450: #111417;
  --graphite-400: #0c0f12;

  /* Neutros claros - texto */
  --mist-100: #f6f7f8;
  --mist-200: #eef0f1;
  --mist-300: #d6dade;
  --mist-400: #b6bec2;
  --mist-500: #8f999f;
  --mist-600: #6d757b;

  /* Dourado - acento comercial secundario (uso comedido) */
  --gold-200: #fbeccb;
  --gold-300: #f2d79b;
  --gold-400: #e0bb6d;
  --gold-500: #c99b4c;

  /* Superficies */
  --surface-1: rgba(41, 46, 52, 0.55);
  --surface-2: rgba(46, 52, 58, 0.7);
  --border-soft: rgba(255, 255, 255, 0.12);
  --border-medium: rgba(255, 255, 255, 0.18);
  --border-strong: rgba(255, 255, 255, 0.28);

  /* Tipografia */
  --font-sans: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  /* Layout */
  --container: 1180px;
  --container-narrow: 760px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 22px;
  --radius-2xl: 28px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.28);
  --shadow-md: 0 8px 24px -10px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 24px 60px -22px rgba(0, 0, 0, 0.75);
  --shadow-glow: 0 18px 44px -18px rgba(53, 200, 154, 0.55);

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 150ms;
  --dur: 260ms;
  --dur-slow: 600ms;

  --header-h: 72px;
}

/* ---------------------------------------------------------------------------
   3. Reset
   --------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background-color: var(--graphite-450);
  color: var(--mist-200);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

body.nav-open { overflow: hidden; }

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #fff;
  text-wrap: balance;
}

p { margin: 0; }
p + p { margin-top: 1rem; }

ul, ol { margin: 0; padding: 0; list-style: none; }

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease);
}

img, svg, video, canvas {
  display: block;
  max-width: 100%;
  height: auto;
}

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

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

hr {
  border: 0;
  border-top: 1px solid var(--border-soft);
  margin: 0;
}

::selection {
  background: rgba(53, 200, 154, 0.3);
  color: #fff;
}

:focus-visible {
  outline: 3px solid var(--brand-300);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------------------------------------------------------------------------
   4. Layout
   --------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
}
@media (min-width: 640px) { .container { padding-inline: 32px; } }

.container--narrow { max-width: var(--container-narrow); }

.section {
  position: relative;
  padding-block: 72px;
}
@media (min-width: 768px) { .section { padding-block: 96px; } }
@media (min-width: 1024px) { .section { padding-block: 112px; } }

.section--tight { padding-block: 56px; }
@media (min-width: 768px) { .section--tight { padding-block: 72px; } }

.skip-link {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 200;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  background: var(--brand-300);
  color: var(--graphite-400);
  font-weight: 700;
  transition: top var(--dur) var(--ease);
}
.skip-link:focus { top: 12px; }

/* Grade de fundo sutil (identica ao site principal) */
.bg-grid {
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 40%, transparent 100%);
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 40%, transparent 100%);
}

/* Halo decorativo */
.halo {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
}
.halo--brand { background: rgba(34, 128, 106, 0.28); }
.halo--gold { background: rgba(201, 155, 76, 0.14); }

/* ---------------------------------------------------------------------------
   5. Tipografia utilitaria
   --------------------------------------------------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-300);
}
.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 4px rgba(53, 200, 154, 0.16);
}
.eyebrow--gold { color: var(--gold-300); }
.eyebrow--gold::before { box-shadow: 0 0 0 4px rgba(224, 187, 109, 0.16); }

.h1 {
  font-size: clamp(2.15rem, 1.35rem + 3.4vw, 3.6rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
}
.h2 {
  font-size: clamp(1.75rem, 1.25rem + 2.1vw, 2.6rem);
  line-height: 1.12;
}
.h3 {
  font-size: clamp(1.2rem, 1.05rem + 0.6vw, 1.45rem);
  line-height: 1.25;
}
.h4 {
  font-size: 1.05rem;
  line-height: 1.35;
}

.lead {
  font-size: clamp(1.02rem, 0.96rem + 0.35vw, 1.2rem);
  line-height: 1.6;
  color: var(--mist-300);
  text-wrap: pretty;
}
.text-mist { color: var(--mist-400); }
.text-mist-strong { color: var(--mist-300); }
.text-brand { color: var(--brand-300); }
.text-gold { color: var(--gold-300); }
.text-center { text-align: center; }

.grad-brand {
  background: linear-gradient(100deg, var(--brand-300), var(--brand-200) 45%, var(--brand-300));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.grad-gold {
  background: linear-gradient(100deg, var(--gold-400), var(--gold-200) 50%, var(--gold-400));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-head {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-head .lead { margin-top: 18px; }
@media (min-width: 768px) { .section-head { margin-bottom: 68px; } }

/* ---------------------------------------------------------------------------
   6. Botoes
   --------------------------------------------------------------------------- */
.btn {
  --btn-bg: var(--brand-500);
  --btn-fg: #fff;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-align: center;
  box-shadow: var(--shadow-glow);
  transition: transform var(--dur) var(--ease-out), background-color var(--dur) var(--ease),
    border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), color var(--dur) var(--ease);
}
.btn:hover {
  background: var(--brand-400);
  transform: translateY(-2px);
  box-shadow: 0 22px 50px -18px rgba(53, 200, 154, 0.7);
}
.btn:active { transform: translateY(0); }
.btn svg { flex: none; }

.btn--primary {
  background: linear-gradient(120deg, var(--brand-500), var(--brand-400));
  border-color: rgba(255, 255, 255, 0.14);
}

.btn--ghost {
  --btn-bg: rgba(255, 255, 255, 0.05);
  --btn-fg: #fff;
  border-color: var(--border-strong);
  box-shadow: none;
  backdrop-filter: blur(6px);
}
.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(53, 200, 154, 0.55);
  color: var(--brand-200);
  box-shadow: none;
}

.btn--gold {
  background: linear-gradient(120deg, var(--gold-500), var(--gold-400));
  color: var(--graphite-400);
  box-shadow: 0 18px 44px -20px rgba(224, 187, 109, 0.6);
}
.btn--gold:hover { background: linear-gradient(120deg, var(--gold-400), var(--gold-300)); }

.btn--wa {
  --btn-bg: #1faa54;
  --btn-fg: #fff;
  background: linear-gradient(120deg, #1b9a4c, #25b95e);
  box-shadow: 0 18px 44px -20px rgba(37, 185, 94, 0.65);
}
.btn--wa:hover { background: linear-gradient(120deg, #25b95e, #2fcf68); }

.btn--lg { padding: 18px 34px; font-size: 1rem; }
.btn--block { display: flex; width: 100%; }
.btn--sm { padding: 11px 20px; font-size: 0.85rem; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.btn-row--center { justify-content: center; }

/* ---------------------------------------------------------------------------
   7. Header / navegacao
   --------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  background: rgba(17, 20, 23, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.site-header.is-stuck {
  border-bottom-color: var(--border-soft);
  background: rgba(17, 20, 23, 0.92);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: var(--header-h);
}

.header-logo img {
  height: 38px;
  width: auto;
}
@media (min-width: 640px) { .header-logo img { height: 42px; } }

.nav-desktop {
  display: none;
  align-items: center;
  gap: 4px;
}
@media (min-width: 1024px) { .nav-desktop { display: flex; } }

.nav-desktop a {
  padding: 10px 14px;
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--mist-300);
}
.nav-desktop a:hover { color: #fff; background: rgba(255, 255, 255, 0.06); }
.nav-desktop a[aria-current="page"] { color: var(--brand-200); }

.header-actions { display: flex; align-items: center; gap: 10px; }
.header-actions .btn { display: none; }
@media (min-width: 640px) { .header-actions .btn { display: inline-flex; } }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-medium);
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
}
@media (min-width: 1024px) { .nav-toggle { display: none; } }

.nav-toggle svg { transition: transform var(--dur) var(--ease); }
.nav-toggle[aria-expanded="true"] svg { transform: rotate(90deg); }

/* Menu mobile */
.mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 auto 0;
  z-index: 99;
  max-height: calc(100dvh - var(--header-h));
  overflow-y: auto;
  padding: 18px 20px 28px;
  background: rgba(12, 15, 18, 0.98);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-soft);
  transform: translateY(-12px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease-out), visibility var(--dur);
}
.mobile-nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
@media (min-width: 1024px) { .mobile-nav { display: none; } }

.mobile-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  font-family: var(--font-sans);
  font-weight: 600;
  color: var(--mist-200);
}
.mobile-nav a:hover { color: var(--brand-200); }
.mobile-nav .btn { margin-top: 20px; }

/* ---------------------------------------------------------------------------
   8. Cards / superficies
   --------------------------------------------------------------------------- */
.card {
  position: relative;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-xl);
  background: var(--surface-1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow-md);
  transition: transform var(--dur) var(--ease-out), border-color var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(53, 200, 154, 0.4);
  box-shadow: var(--shadow-lg);
}
.card__body { padding: 26px 24px; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 15px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(53, 200, 154, 0.28);
  background: rgba(34, 128, 106, 0.14);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--brand-200);
}
.pill--gold {
  border-color: rgba(224, 187, 109, 0.32);
  background: rgba(201, 155, 76, 0.14);
  color: var(--gold-200);
}
.pill--muted {
  border-color: var(--border-medium);
  background: rgba(255, 255, 255, 0.05);
  color: var(--mist-300);
}

/* ---------------------------------------------------------------------------
   8.5 Card de projeto (componente compartilhado entre a home e o portfolio)
   --------------------------------------------------------------------------- */
.pf-card {
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-soft);
  background: var(--surface-1);
  overflow: hidden;
  transition: transform var(--dur) var(--ease-out), border-color var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease);
}
.pf-card:hover {
  transform: translateY(-5px);
  border-color: rgba(53, 200, 154, 0.42);
  box-shadow: var(--shadow-lg);
}

/* Abas de plano: "www.estatico.com" x "www.comvideo.com"
   Grid de 2 colunas: os dois dominios cabem inteiros, sem corte, no celular. */
.pf-card__tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  padding: 10px 12px 0;
  background: var(--graphite-900);
  border-bottom: 1px solid var(--border-soft);
}
.pf-card__tabs--single { grid-template-columns: minmax(0, 1fr); }

.pf-tab {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  min-width: 0;
  padding: 9px 12px 10px;
  border: 1px solid transparent;
  border-bottom: none;
  border-radius: 12px 12px 0 0;
  background: rgba(255, 255, 255, 0.04);
  color: var(--mist-500);
  font-family: var(--font-sans);
  cursor: pointer;
  text-align: left;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease),
    border-color var(--dur) var(--ease);
}
.pf-tab:hover { color: var(--mist-200); background: rgba(255, 255, 255, 0.08); }
.pf-tab__url {
  max-width: 100%;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pf-tab__tag {
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-soft);
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--mist-600);
  white-space: nowrap;
}
.pf-tab.is-active {
  background: var(--surface-1);
  border-color: var(--border-soft);
  color: #fff;
  box-shadow: inset 0 2px 0 var(--brand-300);
}
.pf-tab.is-active .pf-tab__tag {
  border-color: rgba(224, 187, 109, 0.45);
  background: rgba(201, 155, 76, 0.16);
  color: var(--gold-300);
}
.pf-tab:focus-visible {
  outline: 2px solid var(--brand-300);
  outline-offset: 2px;
}

/* Celular: abas mais compactas para os dominios caberem inteiros */
@media (max-width: 560px) {
  .pf-card__tabs { gap: 4px; padding: 8px 8px 0; }
  .pf-tab { padding: 8px 7px 9px; }
  .pf-tab__url { font-size: 0.6rem; letter-spacing: -0.005em; }
  .pf-tab__tag { font-size: 0.55rem; padding: 2px 6px; }
}
@media (max-width: 359px) {
  .pf-tab__url { font-size: 0.56rem; }
}

.pf-card__chrome {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-soft);
  background: var(--graphite-900);
}
.pf-card__dots { display: flex; gap: 6px; flex: none; }
.pf-card__dots span { width: 9px; height: 9px; border-radius: 50%; }
.pf-card__dots span:nth-child(1) { background: #ff5f57; }
.pf-card__dots span:nth-child(2) { background: #febc2e; }
.pf-card__dots span:nth-child(3) { background: #28c840; }
.pf-card__url {
  flex: 1;
  min-width: 0;
  padding: 4px 11px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.7rem;
  color: var(--mist-500);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pf-card__stage {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--graphite-850);
}
.pf-card__stage img,
.pf-card__stage video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.pf-card__stage video { opacity: 0; transition: opacity var(--dur) var(--ease); }
.pf-card__stage.is-playing video { opacity: 1; }
/* Na versao estatica o video fica escondido e o botao de play some */
.pf-card__stage[data-variant="static"] .pf-card__play { display: none; }

.pf-card__play {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(12, 15, 18, 0.12), rgba(12, 15, 18, 0.45));
  color: #fff;
  transition: background-color var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.pf-card__play span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(12, 15, 18, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(6px);
  box-shadow: var(--shadow-md);
  transition: transform var(--dur) var(--ease-out), background-color var(--dur) var(--ease),
    opacity var(--dur) var(--ease);
}
/* Com o video rodando o botao some (volta no hover) para nao cobrir a demo */
.pf-card__stage.is-playing .pf-card__play {
  background: linear-gradient(180deg, rgba(12, 15, 18, 0), rgba(12, 15, 18, 0.14));
}
.pf-card__stage.is-playing .pf-card__play span { opacity: 0; transform: scale(0.9); }
.pf-card__stage.is-playing:hover .pf-card__play span { opacity: 1; transform: scale(1); }
.pf-card__play:hover span { transform: scale(1.08); background: rgba(34, 128, 106, 0.85); }
.pf-card__play svg { margin-left: 3px; }

.pf-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 3;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: rgba(12, 15, 18, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(6px);
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mist-200);
}

.pf-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 20px 20px 22px;
}
.pf-card__segment {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-300);
}
.pf-card__title { margin-top: 7px; font-size: 1.08rem; }
.pf-card__desc { margin-top: 9px; font-size: 0.88rem; color: var(--mist-400); line-height: 1.55; }
.pf-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 14px;
}
.pf-card__tags span {
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-soft);
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.72rem;
  color: var(--mist-500);
}
.pf-card__actions { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--border-soft); }
.pf-card__actions .btn { width: 100%; }
.pf-card__live {
  margin-top: 14px;
  font-family: var(--font-sans);
  font-size: 0.74rem;
  color: var(--mist-600);
}
.pf-card__live span { color: var(--brand-300); font-weight: 600; }

.pf-card--link { cursor: pointer; }

/* ---------------------------------------------------------------------------
   9. Formulario
   --------------------------------------------------------------------------- */
.field { margin-bottom: 18px; }
.field__label {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-sans);
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--mist-200);
}
.field__hint { display: block; margin-top: 7px; font-size: 0.78rem; color: var(--mist-500); }

.input,
.select,
.textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-medium);
  background: rgba(12, 15, 18, 0.6);
  color: #fff;
  font-size: 0.95rem;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.input::placeholder, .textarea::placeholder { color: var(--mist-600); }
.input:hover, .select:hover, .textarea:hover { border-color: rgba(255, 255, 255, 0.34); }
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--brand-300);
  background: rgba(12, 15, 18, 0.85);
  box-shadow: 0 0 0 4px rgba(53, 200, 154, 0.16);
}
.textarea { min-height: 118px; resize: vertical; }

.select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238f999f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 42px;
}
.select option { background: var(--graphite-700); color: #fff; }

.field--error .input,
.field--error .select,
.field--error .textarea {
  border-color: #ff7a6b;
  box-shadow: 0 0 0 4px rgba(255, 122, 107, 0.14);
}
.field__error {
  display: none;
  margin-top: 7px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #ff9a8d;
}
.field--error .field__error { display: block; }

.input-group { display: flex; }
.input-group .input { border-top-right-radius: 0; border-bottom-right-radius: 0; }
.input-group__addon {
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  border: 1px solid var(--border-medium);
  border-left: 0;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  background: rgba(255, 255, 255, 0.05);
  color: var(--mist-400);
  font-size: 0.88rem;
  font-weight: 600;
  white-space: nowrap;
}

/* Seletor de plano (radio + label) */
.plan-picker { display: grid; gap: 12px; }
@media (min-width: 560px) { .plan-picker { grid-template-columns: 1fr 1fr; } }

.plan-option { position: relative; }
.plan-option input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.plan-option label {
  display: block;
  height: 100%;
  padding: 16px 18px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-medium);
  background: rgba(12, 15, 18, 0.5);
  cursor: pointer;
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease),
    transform var(--dur) var(--ease-out);
}
.plan-option label:hover { border-color: rgba(53, 200, 154, 0.45); transform: translateY(-2px); }
.plan-option input:focus-visible + label {
  outline: 3px solid var(--brand-300);
  outline-offset: 3px;
}
.plan-option input:checked + label {
  border-color: var(--brand-300);
  background: rgba(34, 128, 106, 0.18);
  box-shadow: inset 0 0 0 1px rgba(53, 200, 154, 0.35);
}
.plan-option__name {
  display: block;
  font-family: var(--font-sans);
  font-weight: 700;
  color: #fff;
  font-size: 0.95rem;
}
.plan-option__price {
  display: block;
  margin-top: 3px;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--gold-300);
}
.plan-option__tag {
  display: block;
  margin-top: 6px;
  font-size: 0.76rem;
  color: var(--mist-500);
}
.plan-option input:checked + label .plan-option__tag { color: var(--brand-200); }

/* ---------------------------------------------------------------------------
   10. FAQ (acordeao acessivel)
   --------------------------------------------------------------------------- */
.faq-list { display: grid; gap: 12px; }

.faq-item {
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  background: var(--surface-1);
  overflow: hidden;
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.faq-item:hover { border-color: var(--border-medium); }
.faq-item.is-open { border-color: rgba(53, 200, 154, 0.35); background: var(--surface-2); }

.faq-item__q {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  padding: 20px 22px;
  text-align: left;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}
.faq-item__icon {
  flex: none;
  width: 26px;
  height: 26px;
  margin-top: 2px;
  border-radius: 50%;
  border: 1px solid var(--border-medium);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-300);
  transition: transform var(--dur) var(--ease-out), border-color var(--dur) var(--ease),
    background-color var(--dur) var(--ease);
}
.faq-item.is-open .faq-item__icon {
  transform: rotate(180deg);
  background: rgba(34, 128, 106, 0.25);
  border-color: rgba(53, 200, 154, 0.5);
}
.faq-item__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--dur) var(--ease-out);
}
.faq-item.is-open .faq-item__a { grid-template-rows: 1fr; }
.faq-item__a > div { overflow: hidden; }
.faq-item__a p,
.faq-item__a ul {
  padding: 0 22px;
  color: var(--mist-300);
  font-size: 0.95rem;
}
.faq-item__a p { padding-bottom: 20px; }
.faq-item__a ul { padding-bottom: 20px; display: grid; gap: 8px; }
.faq-item__a li { padding-left: 18px; position: relative; }
.faq-item__a li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-300);
}
.faq-item__a strong { color: #fff; font-weight: 700; }

/* ---------------------------------------------------------------------------
   11. Listas com icone
   --------------------------------------------------------------------------- */
.check-list { display: grid; gap: 12px; }
.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.95rem;
  color: var(--mist-300);
}
.check-list svg { flex: none; margin-top: 3px; color: var(--brand-300); }
.check-list--gold svg { color: var(--gold-300); }
.check-list strong { color: #fff; font-weight: 700; }

/* ---------------------------------------------------------------------------
   12. Footer
   --------------------------------------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--border-soft);
  background: var(--graphite-400);
  padding-block: 56px 32px;
}
.footer-grid {
  display: grid;
  gap: 36px;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; } }

.footer-brand img { height: 40px; width: auto; }
.footer-brand p {
  margin-top: 16px;
  max-width: 40ch;
  font-size: 0.92rem;
  color: var(--mist-500);
}
.footer-title {
  margin-bottom: 16px;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mist-500);
}
.footer-links { display: grid; gap: 11px; }
.footer-links a { font-size: 0.92rem; color: var(--mist-400); }
.footer-links a:hover { color: var(--brand-200); }

.footer-bottom {
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid var(--border-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--mist-600);
}
.footer-bottom a { color: var(--mist-400); }
.footer-bottom a:hover { color: var(--brand-200); }

/* ---------------------------------------------------------------------------
   13. Animate reveal
   --------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------------------------------------------------------------------------
   14. Utilitarios
   --------------------------------------------------------------------------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.sr-only:focus {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 300;
  width: auto;
  height: auto;
  padding: 12px 18px;
  margin: 0;
  clip: auto;
  border-radius: var(--radius-md);
  background: var(--brand-300);
  color: var(--graphite-400);
  font-weight: 700;
}

.mt-0 { margin-top: 0; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-40 { margin-top: 40px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.no-scroll { overflow: hidden; }

/* ---------------------------------------------------------------------------
   15. Conteudo juridico / texto corrido
   --------------------------------------------------------------------------- */
.prose { max-width: 74ch; }
.prose h2 {
  margin-top: 40px;
  margin-bottom: 14px;
  font-size: 1.25rem;
}
.prose h3 {
  margin-top: 26px;
  margin-bottom: 10px;
  font-size: 1.02rem;
}
.prose p,
.prose li {
  font-size: 0.96rem;
  color: var(--mist-300);
  line-height: 1.7;
}
.prose ul {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
}
.prose ul li {
  position: relative;
  padding-left: 20px;
}
.prose ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-300);
}
.prose strong { color: #fff; font-weight: 700; }
.prose a { color: var(--brand-200); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: #fff; }

.legal-hero {
  padding-block: 56px 36px;
  border-bottom: 1px solid var(--border-soft);
  background: linear-gradient(180deg, var(--graphite-400), var(--graphite-450));
}
.legal-hero h1 { font-size: clamp(1.9rem, 1.4rem + 2.2vw, 2.8rem); }
.legal-hero p { margin-top: 16px; font-size: 0.92rem; color: var(--mist-500); }

.updated-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-medium);
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.8rem;
  color: var(--mist-400);
}

/* ---------------------------------------------------------------------------
   16. Preferencias de movimento / contraste
   --------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

@media (prefers-contrast: more) {
  :root {
    --border-soft: rgba(255, 255, 255, 0.3);
    --border-medium: rgba(255, 255, 255, 0.45);
    --mist-400: #d2d8db;
    --mist-500: #b3bbc0;
  }
}

@media print {
  .site-header, .mobile-nav, .btn, .site-footer { display: none !important; }
  body { background: #fff; color: #000; }
}
