/* Página inicial: banner e seção de diagnóstico. */
.home-hero-stage {
  height: 100svh;
  height: 100dvh;
}
.home-page-content {
  position: relative;
  z-index: 1;
  display: flow-root;
  background: var(--bg, #0b0f1a);
}
.home-hero {
  position: fixed;
  inset: 0;
  z-index: 0;
  isolation: isolate;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  min-height: 100svh;
  min-height: 100dvh;
  padding: 96px 0;
  overflow: hidden;
  background: #0b0f1a;
}
.home-hero-video,
.home-hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
}
.home-hero-video { object-fit: cover; object-position: center; }
.home-hero-shade { background: rgba(0, 0, 0, .65); }
.home-hero-content {
  width: min(100% - 64px, 1100px);
  margin-inline: auto;
  text-align: center;
}
.home-hero-eyebrow {
  margin-bottom: 16px;
  color: #cbd5e1;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .25em;
}
#hero .home-hero-title {
  margin: 0;
  color: #fff;
  font-size: clamp(32px, 3.5vw, 56px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -.01em;
}
.home-hero-title > span { display: block; }
.home-hero-intro {
  max-width: 600px;
  margin: 20px auto 0;
  color: #d1d5db;
  font-size: 16px;
  line-height: 1.75;
}
.home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 24px auto 0;
}
.home-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  min-height: 52px;
  padding: 14px 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s, border-color .2s, box-shadow .2s;
}
.home-button svg { width: 18px; height: 18px; flex-shrink: 0; }
.home-button-primary { background: #2563eb; color: #fff; box-shadow: 0 8px 28px rgba(37, 99, 235, .2); }
.home-button-primary:hover { background: #1d4ed8; box-shadow: 0 10px 32px rgba(37, 99, 235, .3); }
.home-button-secondary { border-color: rgba(203, 213, 225, .25); background: rgba(15, 23, 42, .4); color: #e2e8f0; }
.home-button-secondary:hover { border-color: #93c5fd; background: rgba(30, 58, 95, .5); }
.home-button:focus-visible { outline: 2px solid #93c5fd; outline-offset: 5px; }
.home-hero .home-button {
  min-height: 44px;
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  box-shadow: none;
}
.home-hero .home-button-secondary { background: transparent; border-color: rgba(255, 255, 255, .3); }
.home-hero .home-button-secondary:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .5); }
.diagnostic-section {
  position: relative;
  scroll-margin-top: 80px;
  padding: 104px 0;
  background: #fff;
  color: #0f172a;
  border-top: 1px solid #e2e8f0;
}
.diagnostic-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 7vw, 100px);
  align-items: center;
  width: min(100% - 64px, 1216px);
  margin-inline: auto;
}
.diagnostic-eyebrow { margin-bottom: 20px; color: #2563eb; font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.diagnostic-copy h2 { max-width: 540px; font-size: clamp(30px, 3.2vw, 46px); font-weight: 600; line-height: 1.14; letter-spacing: -.035em; color: #0f172a; }
.diagnostic-description { max-width: 490px; margin-top: 24px; font-size: 15px; line-height: 1.8; color: #64748b; }
.diagnostic-benefits { display: grid; gap: 20px; margin: 32px 0; padding: 0; list-style: none; }
.diagnostic-benefits li { display: flex; align-items: center; gap: 14px; font-size: 14px; color: #334155; }
.diagnostic-benefits svg { width: 21px; height: 21px; color: #2563eb; flex-shrink: 0; }
.diagnostic-whatsapp { max-width: 490px; padding-top: 26px; border-top: 1px solid #e2e8f0; font-size: 13px; line-height: 1.8; color: #64748b; }
.diagnostic-whatsapp a { display: inline-flex; align-items: center; gap: 4px; color: #1d4ed8; text-decoration: underline; text-underline-offset: 4px; }
.diagnostic-whatsapp svg { width: 14px; height: 14px; }
.diagnostic-card { scroll-margin-top: 88px; min-width: 0; padding: 32px; border: 1px solid #dbe3ef; border-radius: 20px; background: #fff; box-shadow: 0 24px 64px rgba(15, 23, 42, .06); }
.diagnostic-card-heading { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 24px; }
.diagnostic-card-icon { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 42px; height: 42px; border-radius: 12px; background: #eff6ff; color: #2563eb; }
.diagnostic-card-icon svg { width: 22px; height: 22px; }
.diagnostic-card-heading h3 { margin-bottom: 6px; font-size: 21px; font-weight: 600; line-height: 1.3; color: #0f172a; }
.diagnostic-card-heading p { font-size: 12px; line-height: 1.7; color: #64748b; }
.diagnostic-card-heading strong { color: #334155; font-weight: 600; }
.diagnostic-form { display: grid; gap: 17px; }
.diagnostic-field { display: grid; gap: 7px; min-width: 0; }
.diagnostic-field label { color: #334155; font-size: 12px; font-weight: 500; line-height: 1.5; }
.diagnostic-field label span { color: #64748b; font-weight: 400; }
.diagnostic-field input,
.diagnostic-field select,
.diagnostic-field textarea {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 46px;
  padding: 11px 12px;
  border: 1px solid #d6deea;
  border-radius: 7px;
  background: #f8fafc;
  color: #0f172a;
  font: inherit;
  font-size: 13px;
  line-height: 1.5;
}
.diagnostic-field textarea { min-height: 88px; resize: vertical; }
.diagnostic-field input::placeholder,
.diagnostic-field textarea::placeholder { color: #8a96a8; opacity: 1; }
.diagnostic-field input:focus,
.diagnostic-field select:focus,
.diagnostic-field textarea:focus { border-color: #2563eb; outline: 2px solid #bfdbfe; outline-offset: 1px; background: #fff; }
.diagnostic-submit { width: 100%; margin-top: 3px; }
.diagnostic-submit:disabled { opacity: .65; cursor: wait; }
.diagnostic-privacy { color: #64748b; font-size: 10px; text-align: center; line-height: 1.7; }
@media (max-width: 1023px) {
  .diagnostic-layout { grid-template-columns: 1fr; max-width: 680px; gap: 40px; }
  .diagnostic-copy h2 { max-width: 600px; }
  .diagnostic-description { max-width: 600px; }
  .diagnostic-section { padding-block: 72px; }
}
@media (max-width: 639px) {
  .home-hero { padding-block: 88px; }
  .home-hero-content, .diagnostic-layout { width: calc(100% - 40px); }
  #hero .home-hero-title { font-size: clamp(28px, 7.5vw, 32px); }
  .home-hero-intro { font-size: 15px; line-height: 1.7; }
  .home-hero-actions { max-width: 320px; flex-direction: column; align-items: stretch; gap: 10px; }
  .diagnostic-section { padding-block: 56px; }
  .diagnostic-card { padding: 24px; border-radius: 16px; }
  .diagnostic-card-heading { gap: 10px; }
  .diagnostic-card-heading h3 { font-size: 18px; }
  .diagnostic-card-icon { width: 34px; height: 34px; border-radius: 10px; }
  .diagnostic-card-icon svg { width: 18px; height: 18px; }
  .diagnostic-field input, .diagnostic-field select, .diagnostic-field textarea { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .home-button { transition: none; }
}
