/* ============================================================
   LARISSA LOPES — Página Human Design
   humandesign.css  (estilos específicos desta subpágina)
   ============================================================ */

/* ── Fonte dos textos corridos: Montserrat ──────────────────── */
:root {
  --font-body: 'Montserrat', sans-serif;
}

/* ── Hero ──────────────────────────────────────────────────── */
.hd-hero {
  position: relative;
  background-color: var(--color-black);
  min-height: 82vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--nav-height) + 4rem);
  padding-bottom: 5rem;
  overflow: hidden;
}

/* Grid 2 colunas no desktop */
.hd-hero__container {
  display: grid;
  grid-template-columns: 1fr 360px;
  align-items: center;
  gap: 5rem;
  position: relative;
  z-index: 1;
}

.hd-hero__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
}

.hd-hero__label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--color-red);
}

.hd-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--color-white);
}

.hd-hero__title em {
  font-style: italic;
  color: var(--color-red);
}

.hd-hero__sub {
  font-family: var(--font-body);
  font-size: clamp(0.88rem, 1.3vw, 1rem);
  color: rgba(255,255,255,0.88);
  max-width: 460px;
  line-height: 1.8;
}

.hd-hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-white);
  border-bottom: 1px solid rgba(255,255,255,0.3);
  padding-bottom: 0.25rem;
  transition: border-color 200ms, color 200ms;
}
.hd-hero__cta:hover {
  color: var(--color-red);
  border-color: var(--color-red);
}

/* Coluna visual — bodygraph */
.hd-hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 340px;
}

.hd-hero__visual-glow {
  position: absolute;
  inset: -20px;
  background: radial-gradient(circle at 50% 50%, rgba(120,1,2,0.22) 0%, transparent 62%);
  pointer-events: none;
}

.hd-hero__bodygraph {
  width: 100%;
  max-width: 380px;
  height: auto;
  display: block;
  position: relative;
  z-index: 1;
  mix-blend-mode: screen;
  -webkit-mask-image: radial-gradient(ellipse 85% 78% at 50% 42%, black 30%, rgba(0,0,0,0.7) 52%, transparent 78%);
  mask-image:         radial-gradient(ellipse 85% 78% at 50% 42%, black 30%, rgba(0,0,0,0.7) 52%, transparent 78%);
}

.hd-hero__rose {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: clamp(100px, 12vw, 180px);
  opacity: 0.18;
  filter: blur(3px);
  transform: rotate(20deg);
  pointer-events: none;
  user-select: none;
}

/* Mobile: colapsa para 1 coluna, imagem abaixo do texto */
@media (max-width: 900px) {
  .hd-hero__container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hd-hero__text {
    align-items: center;
  }
  .hd-hero__sub {
    max-width: none;
  }
  .hd-hero__visual {
    display: flex;
    margin-top: -1rem;
    margin-bottom: -3rem;
  }
  .hd-hero__bodygraph {
    max-width: 260px;
    margin: 0 auto;
  }
}

/* ── Faixa decorativa HD ─────────────────────────────────── */
.hd-strip {
  background-color: var(--color-red);
  padding: 0.7rem 0;
  overflow: hidden;
  white-space: nowrap;
}

.hd-strip__track {
  display: inline-flex;
  align-items: center;
  gap: 2rem;
  animation: hdScroll 30s linear infinite;
  padding-right: 2rem;
  will-change: transform;
}

.hd-strip__track span {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.88);
}

.hd-strip__dot {
  color: rgba(255,255,255,0.35) !important;
  font-size: 0.5rem !important;
}

@keyframes hdScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── Identificação ───────────────────────────────────────────── */
.hd-ident {
  background-color: var(--color-black);
  padding-block: clamp(4rem, 7vw, 6rem);
  border-top: 1px solid rgba(255,255,255,0.06);
}

.hd-ident__inner {
  max-width: 520px;
  margin-inline: auto;
  text-align: center;
}

.hd-ident__opener {
  font-family: var(--font-subtitle);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.32);
  margin-bottom: 2.5rem;
  position: relative;
  padding-bottom: 1.25rem;
}

.hd-ident__opener::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 1px;
  background-color: var(--color-red);
}

.hd-ident__questions {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 2.5rem;
  counter-reset: hd-q;
}

.hd-ident__questions p {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.55;
  color: rgba(255,255,255,0.85);
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  counter-increment: hd-q;
  position: relative;
}

.hd-ident__questions p:last-child {
  border-bottom: none;
}

.hd-ident__questions p::before {
  content: '0' counter(hd-q);
  display: block;
  font-family: var(--font-body);
  font-size: 0.58rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--color-red);
  margin-bottom: 0.5rem;
  opacity: 0.8;
}

.hd-ident__conclusion {
  font-family: var(--font-body);
  font-size: clamp(0.82rem, 1.2vw, 0.9rem);
  line-height: 1.8;
  color: rgba(255,255,255,0.85);
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}

/* ── O Que É HD ──────────────────────────────────────────────── */
.hd-what {
  background-color: #F7F4F1;
  padding-block: var(--spacing-xl);
}

.hd-what__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.hd-what__label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--color-red);
  margin-bottom: 1rem;
}

.hd-what__title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-black);
  margin-bottom: 1.5rem;
}

.hd-what__desc {
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.8;
  color: #555;
  margin-bottom: 1.1rem;
}

.hd-what__desc--highlight {
  font-style: italic;
  color: var(--color-black);
  font-size: 1rem;
  margin-top: 0.5rem;
}

.hd-what__cards {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.hd-what__card {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding-block: 1.5rem;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.hd-what__card:first-child { padding-top: 0; }
.hd-what__card:last-child  { border-bottom: none; padding-bottom: 0; }

.hd-what__card-num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 900;
  color: rgba(120,1,2,0.32);
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}

.hd-what__card-text {
  font-family: var(--font-body);
  font-size: 0.9rem;
  line-height: 1.65;
  color: #444;
}

.hd-what__card-text strong {
  color: var(--color-black);
}

/* ── Como Funciona ───────────────────────────────────────────── */
.hd-how {
  background-color: var(--color-black);
  padding-block: var(--spacing-xl);
}

.hd-how__header {
  text-align: center;
  margin-bottom: 4rem;
}

.hd-how__label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--color-red);
  margin-bottom: 0.75rem;
}

.hd-how__title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.2;
}

.hd-how__steps {
  display: flex;
  align-items: center;
  gap: 0;
  max-width: 860px;
  margin-inline: auto;
}

.hd-how__step {
  flex: 1;
  text-align: center;
  padding-inline: 1.5rem;
}

.hd-how__step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border: 1px solid rgba(120,1,2,0.45);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgba(120,1,2,0.7);
  margin: 0 auto 1.5rem;
  line-height: 1;
  flex-shrink: 0;
  position: relative;
}

.hd-how__step-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 0.6rem;
}

.hd-how__step-desc {
  font-family: var(--font-body);
  font-size: 0.88rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.88);
}

.hd-how__divider {
  width: 1px;
  height: 80px;
  background: rgba(255,255,255,0.1);
  flex-shrink: 0;
}

/* ── Widget Neutrino ─────────────────────────────────────────── */
.hd-widget {
  background-color: var(--color-black);
  padding-block: var(--spacing-xl);
  border-top: 1px solid rgba(255,255,255,0.06);
}

.hd-widget__header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.hd-widget__label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--color-red);
  margin-bottom: 0.75rem;
}

.hd-widget__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 0.6rem;
}

.hd-widget__sub {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: rgba(255,255,255,0.88);
  max-width: 500px;
  margin-inline: auto;
  line-height: 1.65;
}

.hd-widget__sub strong { color: rgba(255,255,255,0.85); }

.hd-widget__frame {
  max-width: 760px;
  margin-inline: auto;
}

.hd-widget__inner {
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.08),
    0 24px 60px rgba(0,0,0,0.55);
}

.hd-widget__next-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.72);
}

.hd-widget__mobile { display: none; }

@media (max-width: 768px) {
  .hd-widget__desktop { display: none; }
  .hd-widget__mobile  { display: block; }
}

/* ── Seletor de Tipo ─────────────────────────────────────────── */
.hd-types {
  background-color: var(--color-white, #fff);
  padding-block: var(--spacing-xl);
}

.hd-types__header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.hd-types__label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--color-red);
  margin-bottom: 0.75rem;
}

.hd-types__title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: var(--color-black);
  margin-bottom: 0.75rem;
}

.hd-types__sub {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: #777;
  max-width: 520px;
  margin-inline: auto;
  line-height: 1.65;
}

/* Botões de tipo */
.hd-types__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 2rem;
}

/* Símbolo geométrico por tipo */
.hd-type-btn:nth-child(1)::before { content: '○'; }  /* Gerador: círculo aberto */
.hd-type-btn:nth-child(2)::before { content: '◎'; }  /* GM: círculo duplo */
.hd-type-btn:nth-child(3)::before { content: '△'; }  /* Manifestador: triângulo */
.hd-type-btn:nth-child(4)::before { content: '◈'; }  /* Projetor: foco */
.hd-type-btn:nth-child(5)::before { content: '◌'; }  /* Refletor: vazio/lunar */

.hd-type-btn::before {
  font-size: 0.6rem;
  margin-right: 0.4rem;
  opacity: 0.6;
  vertical-align: middle;
  line-height: 1;
}

.hd-type-btn {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #444;
  background: transparent;
  border: 1px solid rgba(0,0,0,0.22);
  padding: 0.6rem 1.35rem;
  border-radius: 2px;
  cursor: pointer;
  transition: all 180ms ease;
}

.hd-type-btn:hover {
  border-color: var(--color-red);
  color: var(--color-red);
}

.hd-type-btn.active {
  background-color: var(--color-black);
  border-color: var(--color-black);
  color: var(--color-white);
}

/* Conteúdo de cada tipo — novo layout profundo */
.hd-type-content {
  background-color: #F7F4F1;
  border-radius: 4px;
  overflow: hidden;
  animation: fadeSlideIn 280ms ease both;
  margin-top: 0.5rem;
}

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

/* Hero do tipo: grid lateral */
.hd-type-content__hero {
  display: grid;
  grid-template-columns: 260px 1fr;
  background-color: var(--color-black);
  gap: 0;
}

.hd-type-content__hero-left {
  padding: 2.5rem;
  border-right: 1px solid rgba(255,255,255,0.08);
}

.hd-type-tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-red);
  margin-bottom: 0.75rem;
}

.hd-type-content__name {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hd-type-pillars {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.hd-type-pillar {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.hd-type-pillar span {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.52);
}

.hd-type-pillar strong {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
}

.hd-type-content__hero-right {
  padding: 2.5rem;
  display: flex;
  align-items: center;
}

.hd-type-lead {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.6;
  color: rgba(255,255,255,0.82);
}

/* Seções de conteúdo */
.hd-type-sections {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.hd-type-section {
  padding: 2rem 2.5rem;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.hd-type-section:last-child { border-bottom: none; }

.hd-type-section__title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-black);
  margin-bottom: 0.9rem;
  letter-spacing: 0.01em;
}

.hd-type-section p {
  font-family: var(--font-body);
  font-size: 0.93rem;
  line-height: 1.82;
  color: #444;
  margin-bottom: 0.9rem;
}

.hd-type-section p:last-child { margin-bottom: 0; }

.hd-type-section em { font-style: italic; color: #333; }

.hd-type-section--shadow {
  background: rgba(0,0,0,0.03);
}

.hd-type-section--shadow .hd-type-section__title { color: var(--color-red); }

.hd-type-section--bridge {
  background: rgba(120,1,2,0.04);
  border-top: 1px solid rgba(120,1,2,0.12);
}

.hd-type-section--bridge .hd-type-section__title {
  color: var(--color-red);
}

.hd-type-section--bridge strong { color: var(--color-black); }

.hd-type-content__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-white);
  background-color: var(--color-red);
  padding: 0.8rem 1.75rem;
  border-radius: 2px;
  transition: background-color 200ms;
}

.hd-type-content__cta:hover {
  background-color: var(--color-black);
}

/* ── Bridge / CTA Final ──────────────────────────────────────── */
.hd-bridge {
  background-color: var(--color-black);
  padding-block: var(--spacing-xl);
}

.hd-bridge__inner {
  max-width: 680px;
  margin-inline: auto;
  text-align: center;
}

.hd-bridge__label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--color-red);
  margin-bottom: 1rem;
}

.hd-bridge__title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.2;
  margin-bottom: 1.75rem;
}

.hd-bridge__desc {
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.88);
  margin-bottom: 2.5rem;
}

.hd-bridge__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-black);
  background-color: var(--color-white);
  padding: 0.9rem 2rem;
  border-radius: 2px;
  transition: background-color 200ms, color 200ms;
}

.hd-bridge__cta:hover {
  background-color: var(--color-red);
  color: var(--color-white);
}

/* ── FAQ ─────────────────────────────────────────────────────── */
.hd-faq {
  background-color: #F7F4F1;
  padding-block: var(--spacing-xl);
}

.hd-faq__header {
  text-align: center;
  margin-bottom: 3rem;
}

.hd-faq__label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--color-red);
  margin-bottom: 0.75rem;
}

.hd-faq__title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--color-black);
}

.hd-faq__list {
  max-width: 680px;
  margin-inline: auto;
}

.hd-faq__item {
  border-bottom: 1px solid rgba(0,0,0,0.1);
}

.hd-faq__item:first-child {
  border-top: 1px solid rgba(0,0,0,0.1);
}

.hd-faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding-block: 1.25rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-black);
  cursor: pointer;
  transition: color 180ms;
}

.hd-faq__question:hover {
  color: var(--color-red);
}

.hd-faq__icon {
  flex-shrink: 0;
  transition: transform 280ms ease;
  opacity: 0.5;
}

.hd-faq__item.open .hd-faq__icon {
  transform: rotate(180deg);
  opacity: 1;
}

.hd-faq__answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 320ms ease;
}

.hd-faq__item.open .hd-faq__answer {
  max-height: 400px;
}

.hd-faq__answer p {
  font-family: var(--font-body);
  font-size: 0.9rem;
  line-height: 1.75;
  color: #555;
  padding-bottom: 1.5rem;
}

/* ── Formulário de cálculo ──────────────────────────────────── */
.hd-form-wrap {
  max-width: 680px;
  margin-inline: auto;
}

.hd-form {
  background: #fff;
  border-radius: 4px;
  padding: 2.5rem;
  box-shadow: 0 2px 24px rgba(0,0,0,0.07);
  margin-bottom: 0;
}

.hd-form__fields {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  margin-bottom: 2rem;
}

.hd-form__label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #333;
  margin-bottom: 0.5rem;
}

.hd-form__hint {
  font-weight: 400;
  color: #999;
  margin-left: 0.4rem;
}

.hd-form__input {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-black);
  background: #F7F4F1;
  border: 1px solid transparent;
  border-radius: 3px;
  padding: 0.75rem 1rem;
  outline: none;
  transition: border-color 180ms;
  appearance: none;
  -webkit-appearance: none;
}

.hd-form__input:focus {
  border-color: var(--color-red);
}

.hd-form__select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23780102' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.hd-form__tz-note {
  font-family: var(--font-body);
  font-size: 0.77rem;
  color: #999;
  line-height: 1.6;
  margin-top: 0.5rem;
}

.hd-form__submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-white);
  background-color: var(--color-black);
  border: none;
  border-radius: 3px;
  padding: 1rem 2rem;
  cursor: pointer;
  transition: background-color 200ms;
}

.hd-form__submit:hover {
  background-color: var(--color-red);
}

/* Loading dots */
.hd-loading {
  text-align: center;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.hd-loading__dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--color-red);
  border-radius: 50%;
  margin: 0 3px;
  animation: hdDotBounce 1.2s infinite ease-in-out;
}

.hd-loading__dot:nth-child(2) { animation-delay: 0.2s; }
.hd-loading__dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes hdDotBounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30%            { transform: translateY(-10px); opacity: 1; }
}

.hd-loading__text {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: rgba(0,0,0,0.45);
  font-style: italic;
}

/* ── Resultado ───────────────────────────────────────────────── */
.hd-result {
  background: #fff;
  border-radius: 4px;
  border-top: 3px solid var(--color-red);
  margin-top: 1.5rem;
  overflow: hidden;
  animation: fadeSlideIn 300ms ease both;
}

.hd-result__reveal {
  background-color: var(--color-black);
  text-align: center;
  padding: 3rem 2rem 2.5rem;
}

.hd-result__eyebrow {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 0.75rem;
}

.hd-result__type {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 6vw, 3.5rem);
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.1;
  margin-bottom: 0.5rem;
}

.hd-result__pct {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.35);
  text-transform: uppercase;
}

.hd-result__meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid rgba(0,0,0,0.07);
}

.hd-result__meta-item {
  padding: 1.25rem 1.5rem;
  border-right: 1px solid rgba(0,0,0,0.07);
  border-bottom: 1px solid rgba(0,0,0,0.07);
}

.hd-result__meta-item:nth-child(2n) { border-right: none; }

.hd-result__meta-label {
  display: block;
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #aaa;
  margin-bottom: 0.3rem;
}

.hd-result__meta-value {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-black);
}

.hd-result__body {
  padding: 2rem 2.5rem;
  border-bottom: 1px solid rgba(0,0,0,0.07);
}

.hd-result__body p {
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.8;
  color: #444;
  margin-bottom: 1rem;
}

.hd-result__body p:last-child { margin-bottom: 0; }

.hd-result__theme {
  background: rgba(120,1,2,0.06);
  border-radius: 3px;
  padding: 1rem 1.25rem;
  font-size: 0.9rem !important;
  color: #333 !important;
}

.hd-result__gates {
  padding: 1.5rem 2.5rem;
  border-bottom: 1px solid rgba(0,0,0,0.07);
}

.hd-result__gates-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #aaa;
  margin-bottom: 0.75rem;
}

.hd-result__gates-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.hd-gate {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  color: #555;
  background: #F7F4F1;
  padding: 0.25rem 0.6rem;
  border-radius: 2px;
  border: 1px solid rgba(0,0,0,0.1);
}

.hd-result__cta-wrap {
  padding: 2rem 2.5rem;
  text-align: center;
  background: #F7F4F1;
}

.hd-result__cta-text {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 1.25rem;
  font-style: italic;
}

.hd-result__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-white);
  background-color: var(--color-red);
  padding: 0.85rem 1.75rem;
  border-radius: 3px;
  transition: background-color 200ms;
}

.hd-result__cta:hover { background-color: var(--color-black); }

/* ── Toggle gráfico visual ───────────────────────────────────── */
.hd-chart-toggle {
  max-width: 680px;
  margin: 1.5rem auto 0;
  background: rgba(255,255,255,0.06);
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.1);
  overflow: hidden;
}

.hd-chart-toggle__label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 1.5rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.5);
  cursor: pointer;
  list-style: none;
  transition: color 180ms;
}

.hd-chart-toggle__label::-webkit-details-marker { display: none; }
.hd-chart-toggle[open] .hd-chart-toggle__label { color: rgba(255,255,255,0.85); }
.hd-chart-toggle__label:hover { color: rgba(255,255,255,0.85); }

.hd-chart-toggle__body {
  background: #fff;
}

/* ── Responsivo ──────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hd-what__grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hd-how__steps {
    flex-direction: column;
    gap: 2.5rem;
  }

  .hd-how__divider {
    width: 60px;
    height: 1px;
  }

  /* Hero do tipo: empilha vertical */
  .hd-type-content__hero {
    grid-template-columns: 1fr;
  }

  .hd-type-content__hero-left {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding: 2rem;
  }

  .hd-type-pillars {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem 1.5rem;
  }

  .hd-type-content__hero-right {
    padding: 1.5rem 2rem 2rem;
  }
}

@media (max-width: 768px) {
  /* Reduz padding geral das seções — 8rem é excessivo no mobile */
  .hd-ident,
  .hd-what,
  .hd-how,
  .hd-widget,
  .hd-types,
  .hd-bridge,
  .hd-faq {
    padding-block: 5rem;
  }

  .hd-hero {
    min-height: unset;
    padding-top: calc(var(--nav-height) + 3.5rem);
    padding-bottom: 4rem;
  }

  .hd-hero__rose {
    width: 120px;
    bottom: -10px;
    right: -15px;
  }

  /* Botões de tipo: scroll horizontal em vez de wrap */
  .hd-types__buttons {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 0.5rem;
    gap: 0.5rem;
  }

  .hd-types__buttons::-webkit-scrollbar { display: none; }

  .hd-type-btn {
    flex-shrink: 0;
    font-size: 0.76rem;
    padding: 0.55rem 1rem;
    white-space: nowrap;
  }

  /* Seções internas */
  .hd-type-section {
    padding: 1.5rem;
  }

  .hd-type-content__hero-left,
  .hd-type-content__hero-right {
    padding: 1.5rem;
  }

  .hd-type-content__cta {
    width: 100%;
    justify-content: center;
    margin: 0;
    border-radius: 0;
    padding: 1.1rem;
  }

  .hd-bridge__title br { display: none; }
}

@media (max-width: 480px) {
  .hd-ident,
  .hd-what,
  .hd-how,
  .hd-widget,
  .hd-types,
  .hd-bridge,
  .hd-faq {
    padding-block: 4rem;
  }

  .hd-ident__questions p {
    font-size: 1.1rem;
  }

  .hd-type-pillars {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem 1rem;
  }

  .hd-type-lead {
    font-size: 0.95rem;
  }
}


/* ============================================================
   MODAL — ANÁLISE BÁSICA
   ============================================================ */

/* ── Indicador de polling automático ── */
.hd-poll-status {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.25rem;
  padding: 0.9rem 1.1rem;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 4px;
  background-color: rgba(255,255,255,0.02);
}
.hd-poll-status__dot {
  flex-shrink: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: rgba(120,1,2,0.7);
  animation: hdPollPulse 2s ease-in-out infinite;
}
.hd-poll-status__text {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}
@keyframes hdPollPulse {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50%       { opacity: 1;   transform: scale(1.3); }
}

/* ── Seletor de tipo (fallback manual) ── */
.hd-type-pick {
  margin-top: 1.5rem;
  padding: 1.5rem;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 4px;
  background-color: rgba(255,255,255,0.02);
}
.hd-type-pick__label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.38);
  margin-bottom: 1.25rem;
  text-align: center;
}
.hd-type-pick__grid {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  justify-content: center;
}
.hd-type-pick__btn {
  flex: 1 1 0;
  min-width: 80px;
  max-width: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  padding: 1rem 0.5rem;
  background-color: transparent;
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 4px;
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s;
  text-align: center;
}
.hd-type-pick__btn:hover {
  border-color: rgba(120,1,2,0.6);
  background-color: rgba(120,1,2,0.07);
}
.hd-type-pick__symbol {
  display: block;
  font-size: 1.4rem;
  color: rgba(120,1,2,0.7);
  line-height: 1;
}
.hd-type-pick__name {
  display: block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
  line-height: 1.3;
}
.hd-type-pick__pct {
  display: block;
  font-size: 0.58rem;
  color: rgba(255,255,255,0.28);
  letter-spacing: 0.08em;
}
@media (max-width: 600px) {
  .hd-type-pick__btn { min-width: 60px; padding: 0.85rem 0.35rem; }
  .hd-type-pick__symbol { font-size: 1.2rem; }
  .hd-type-pick__name { font-size: 0.65rem; }
}

/* ── Perfil opcional no resultado ── */
.hdm__profile-pick {
  margin-bottom: 1.5rem;
  padding: 1rem 1.25rem;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 4px;
  background-color: rgba(255,255,255,0.02);
}
.hdm__profile-pick__label {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.36);
  margin-bottom: 0.75rem;
}
.hdm__profile-pick__optional {
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  font-size: 0.66rem;
}
.hdm__profile-pick__row {
  display: flex;
  gap: 0.6rem;
  align-items: center;
}
.hdm__select--sm {
  flex: 1;
  padding: 0.7rem 0.85rem;
  font-size: 0.82rem;
}
.hdm__profile-pick__apply {
  flex-shrink: 0;
  padding: 0.7rem 1.1rem;
  background-color: rgba(120,1,2,0.75);
  border: none;
  border-radius: 3px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s;
  white-space: nowrap;
}
.hdm__profile-pick__apply:hover { background-color: var(--color-red); }
@media (max-width: 480px) {
  .hdm__profile-pick__row { flex-direction: column; }
  .hdm__profile-pick__apply { width: 100%; }
}

/* Trigger button (inside widget section) */
.hd-result-trigger {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  margin-top: 1.5rem;
  padding: 1.1rem 1.5rem;
  background-color: transparent;
  border: 1px solid rgba(120,1,2,0.35);
  border-radius: 4px;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.22s, background-color 0.22s;
}
.hd-result-trigger:hover {
  border-color: rgba(120,1,2,0.75);
  background-color: rgba(120,1,2,0.06);
}
.hd-result-trigger__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(120,1,2,0.12);
  color: var(--color-red);
}
.hd-result-trigger__text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font-family: var(--font-body);
}
.hd-result-trigger__eyebrow {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-red);
}
.hd-result-trigger__main {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
}

/* Overlay */
.hdm-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background-color: rgba(0,0,0,0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: hdmFadeIn 0.22s ease;
}
.hdm-overlay[hidden] { display: none; }

@keyframes hdmFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Modal panel */
.hdm {
  position: relative;
  width: 100%;
  max-width: 620px;
  max-height: 92vh;
  overflow-y: auto;
  background-color: #0c0c0c;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 6px;
  animation: hdmSlideUp 0.28s ease;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.1) transparent;
}
@keyframes hdmSlideUp {
  from { transform: translateY(20px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

/* Close button */
.hdm__close {
  position: sticky;
  top: 1.25rem;
  float: right;
  margin: 1.25rem 1.25rem 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50%;
  color: rgba(255,255,255,0.42);
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
  z-index: 2;
  flex-shrink: 0;
}
.hdm__close:hover {
  color: rgba(255,255,255,0.82);
  border-color: rgba(255,255,255,0.28);
}

/* Steps */
.hdm__step { padding: 2.5rem; clear: both; }
@media (max-width: 580px) { .hdm__step { padding: 2rem 1.5rem; } }

/* Step labels */
.hdm__label {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-red);
  margin-bottom: 0.7rem;
}
.hdm__title {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  line-height: 1.2;
  margin-bottom: 0.75rem;
}
.hdm__sub {
  font-size: 0.86rem;
  color: rgba(255,255,255,0.46);
  line-height: 1.65;
  margin-bottom: 2rem;
}
.hdm__sub strong { color: rgba(255,255,255,0.72); font-weight: 600; }

/* Form */
.hdm__form { display: flex; flex-direction: column; gap: 1.25rem; }
.hdm__field { display: flex; flex-direction: column; gap: 0.45rem; }
.hdm__field-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.38);
}
.hdm__select {
  width: 100%;
  padding: 0.85rem 1rem;
  background-color: rgba(255,255,255,0.04);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.3)' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 3px;
  color: rgba(255,255,255,0.82);
  font-family: var(--font-body);
  font-size: 0.88rem;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  transition: border-color 0.2s;
}
.hdm__select:focus { outline: none; border-color: rgba(120,1,2,0.55); }
.hdm__select option { background-color: #111; }

.hdm__submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 0.5rem;
  padding: 1rem 1.5rem;
  background-color: var(--color-red);
  border: none;
  border-radius: 3px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: background-color 0.2s;
}
.hdm__submit:hover { background-color: #8c0102; }

/* ── Loading step ─────────────── */
.hdm__step--loading {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 360px;
}
.hdm__loading { text-align: center; width: 100%; }

.hdm__loading-chart {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}
.hdm__mini-bodygraph {
  width: 88px;
  height: auto;
  color: rgba(255,255,255,0.15);
  overflow: visible;
}
.hdm-center {
  fill: transparent;
  animation: hdmCenterPulse 2.2s ease-in-out infinite;
}
.hdm-center:nth-child(1)  { animation-delay: 0s; }
.hdm-center:nth-child(2)  { animation-delay: 0.24s; }
.hdm-center:nth-child(3)  { animation-delay: 0.48s; }
.hdm-center:nth-child(4)  { animation-delay: 0.72s; }
.hdm-center:nth-child(5)  { animation-delay: 0.96s; }
.hdm-center:nth-child(6)  { animation-delay: 1.2s; }
.hdm-center:nth-child(7)  { animation-delay: 1.44s; }
.hdm-center:nth-child(8)  { animation-delay: 1.68s; }
.hdm-center:nth-child(9)  { animation-delay: 1.92s; }

@keyframes hdmCenterPulse {
  0%, 100% { stroke: rgba(255,255,255,0.15); }
  50%       { stroke: rgba(120,1,2,0.9); }
}

.hdm__loading-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: rgba(255,255,255,0.88);
  margin-bottom: 0.55rem;
}
.hdm__loading-msg {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.36);
  letter-spacing: 0.04em;
  min-height: 1.2em;
  margin-bottom: 2rem;
  transition: opacity 0.3s ease;
}
.hdm__progress {
  width: 200px;
  height: 2px;
  background-color: rgba(255,255,255,0.06);
  border-radius: 1px;
  margin: 0 auto;
  overflow: hidden;
}
.hdm__progress-bar {
  height: 100%;
  width: 0%;
  background-color: var(--color-red);
  border-radius: 1px;
  transition: width 0.35s ease;
}

/* ── Result step ──────────────── */
.hdm__result-top {
  padding-bottom: 2rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.hdm__result-type {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 5vw, 2.4rem);
  font-weight: 700;
  color: rgba(255,255,255,0.94);
  line-height: 1.15;
  margin: 0.45rem 0 1rem;
}
.hdm__result-lead {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
  font-style: italic;
  font-weight: 400;
  color: rgba(255,255,255,0.58);
  line-height: 1.7;
}

/* Cards */
.hdm__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin-bottom: 2rem;
}
@media (max-width: 520px) { .hdm__cards { grid-template-columns: 1fr; } }

.hdm__card {
  padding: 1.35rem 1.25rem;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 4px;
  background-color: rgba(255,255,255,0.015);
}
.hdm__card--practical {
  grid-column: 1 / -1;
  border-color: rgba(120,1,2,0.2);
  background-color: rgba(120,1,2,0.04);
}
.hdm__card-chip {
  display: inline-block;
  font-size: 0.54rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-red);
  margin-bottom: 0.65rem;
}
.hdm__card-value {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: rgba(255,255,255,0.86);
  line-height: 1.3;
  margin-bottom: 0.55rem;
}
.hdm__card-desc {
  font-size: 0.81rem;
  color: rgba(255,255,255,0.48);
  line-height: 1.65;
}
.hdm__card--practical .hdm__card-desc { color: rgba(255,255,255,0.6); }

/* CTA + botões de resultado */
.hdm__result-actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
}

.hdm__result-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  padding: 1.1rem 1.5rem;
  background-color: var(--color-red);
  border-radius: 3px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: background-color 0.2s;
}
.hdm__result-cta:hover { background-color: #8c0102; }

.hdm__pdf-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.85rem 1.5rem;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 3px;
  color: rgba(255,255,255,0.55);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  letter-spacing: 0.04em;
  transition: border-color 0.2s, color 0.2s;
}
.hdm__pdf-btn:hover {
  border-color: rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.85);
}

.hdm__restart {
  display: block;
  width: 100%;
  padding: 0.6rem;
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.24);
  font-family: var(--font-body);
  font-size: 0.76rem;
  cursor: pointer;
  text-align: center;
  transition: color 0.2s;
}
.hdm__restart:hover { color: rgba(255,255,255,0.5); }

/* Botão reabrir análise (aparece abaixo do indicador após detecção) */
.hd-reopen-btn[hidden] { display: none; }
.hd-reopen-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.6rem;
  padding: 0.7rem 1.1rem;
  background: transparent;
  border: 1px solid rgba(120,1,2,0.45);
  border-radius: 4px;
  color: rgba(255,255,255,0.7);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background-color 0.2s;
  width: 100%;
  justify-content: center;
}
.hd-reopen-btn:hover {
  border-color: rgba(120,1,2,0.8);
  background-color: rgba(120,1,2,0.08);
  color: #fff;
}
