/* 09-perguntas-frequentes · H09
   A V1 não tem FAQ. Vocabulário emprestado da V1:
   - fundo claro e título de .results-section (Aspekta 350 + Sentient 300), tamanhos e cortes;
   - painel de vidro de .result-card, com o filete interno de .result-card__copy entre as perguntas;
   - linhas de luz de .logo-cloud-component__divider nos links; seta de .hero-cta;
   - entrada de [data-reveal] (800 ms, 1.5rem, 80 ms por passo).
   details/summary nativos (teclado e leitor de tela sem JS); name= abre uma por vez. */

#h09 {
  position: relative;
  z-index: 3;
  isolation: isolate;
  margin-bottom: -1px; /* cobre o filete de topo do rodapé: o preto segue sem costura */
  padding: var(--section-space) 1.5rem clamp(7rem, 10vw, 9.5rem);
  overflow: hidden;
  /* última seção antes do rodapé: o claro fecha como uma folha de cantos
     arredondados sobre o mesmo preto do rodapé (#0b0b0b), que continua sem costura */
  background: #0b0b0b;
  color: #161616;
  interpolate-size: allow-keywords;
}
#h09::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  border-radius: 0 0 var(--h09-canto) var(--h09-canto);
  background:
    radial-gradient(60rem 22rem at 12% 100%, rgb(255 108 17 / 6%), transparent 70%),
    var(--light);
  content: "";
  pointer-events: none;
}
#h09 { --h09-canto: clamp(2rem, 4vw, 3.5rem); }

#h09 .reveal {
  transform: translate3d(0, 1.5rem, 0);
  transition-duration: 800ms;
}
#h09 .reveal.is-in { transform: translate3d(0, 0, 0); }

#h09 .h09__grade {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  align-items: start;
  gap: clamp(3rem, 5.5vw, 6rem);
  width: min(100%, 72rem);
  margin: 0 auto;
}

/* ── Lado: título, apoio, links ────────────────────────────── */
#h09 .h09__titulo {
  margin: 0;
  color: #161616;
  font-family: var(--font-sans);
  font-size: clamp(3.25rem, 4.72vw, 4.75rem);
  font-weight: 350;
  letter-spacing: -0.058em;
  line-height: 0.98;
}
#h09 .h09__titulo > span { display: block; }
#h09 .h09__enfase {
  font-family: var(--font-serif);
  font-size: 1.045em;
  font-variation-settings: "wght" 300;
  font-weight: 300;
  letter-spacing: -0.048em;
}

#h09 .h09__apoio {
  max-width: 26rem;
  margin-top: clamp(1.5rem, 2.2vw, 2rem);
  color: rgb(22 22 22 / 64%);
  font-size: clamp(1rem, 1.18vw, 1.125rem);
  font-weight: 350;
  line-height: 1.5;
}

#h09 .h09__links {
  position: relative;
  display: grid;
  max-width: 24rem;
  margin-top: clamp(2rem, 3vw, 2.75rem);
}

/* linhas de luz (logo-cloud-component__divider) */
#h09 .h09__links::before,
#h09 .h09__links li::after {
  display: block;
  height: 1px;
  background: linear-gradient(90deg, rgb(255 255 255 / 92%), rgb(255 255 255 / 100%) 50%, rgb(255 255 255 / 40%) 92%, transparent);
  box-shadow: 0 1px 0 rgb(22 22 22 / 7%), 0 0 22px rgb(255 255 255 / 90%);
  content: "";
}

#h09 .h09__links a {
  display: flex;
  min-height: 3.5rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.75rem;
  color: #161616;
  font-size: clamp(1rem, 1.18vw, 1.125rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  text-decoration: none;
  transition: color 180ms var(--ease-out);
}
#h09 .h09__links svg {
  flex: none;
  width: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
  opacity: 0.55;
  transition: transform 180ms var(--ease-out), opacity 180ms var(--ease-out);
}
#h09 .h09__links a:hover,
#h09 .h09__links a:focus-visible { color: var(--orange-on-light); }
#h09 .h09__links a:hover svg,
#h09 .h09__links a:focus-visible svg { opacity: 1; transform: translateX(4px); }

/* ── Painel de vidro (result-card) ─────────────────────────── */
#h09 .h09__painel {
  position: relative;
  overflow: hidden;
  padding: clamp(0.5rem, 1vw, 0.85rem) clamp(1.5rem, 2.4vw, 2.4rem);
  border: 1px solid rgb(255 255 255 / 88%);
  border-radius: clamp(1.6rem, 2vw, 2.25rem);
  background:
    linear-gradient(145deg, rgb(255 255 255 / 88%), rgb(255 255 255 / 46%)),
    rgb(248 248 246 / 70%);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 100%),
    inset 0 -1px 0 rgb(255 255 255 / 54%),
    0 1.6rem 4rem rgb(28 22 14 / 8%);
  backdrop-filter: blur(18px);
}

/* brilho no topo e no pé (result-card::before / ::after) */
#h09 .h09__painel::before {
  position: absolute;
  top: 0;
  right: 1.5rem;
  left: 1.5rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgb(255 255 255 / 100%), transparent);
  box-shadow: 0 0 18px rgb(255 255 255 / 92%);
  content: "";
}
#h09 .h09__painel::after {
  position: absolute;
  inset: auto -18% -42% 18%;
  height: 60%;
  background: radial-gradient(circle, rgb(255 108 17 / 11%) 0, transparent 62%);
  content: "";
  pointer-events: none;
}

#h09 .h09__item { position: relative; z-index: 1; }
/* filete entre perguntas (result-card__copy) */
#h09 .h09__item + .h09__item {
  border-top: 1px solid rgb(255 255 255 / 78%);
  box-shadow: inset 0 1px 0 rgb(22 22 22 / 6%);
}

#h09 summary {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding-block: clamp(1.35rem, 2.1vw, 1.8rem);
  list-style: none;
  cursor: pointer;
}
#h09 summary::-webkit-details-marker { display: none; }
#h09 summary:focus-visible { outline-offset: 2px; border-radius: 0.75rem; }

#h09 .h09__pergunta {
  color: #101014;
  font-size: clamp(1.15rem, 1.5vw, 1.45rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.2;
  text-wrap: pretty;
  transition: color 180ms var(--ease-out);
}
#h09 summary:hover .h09__pergunta { color: var(--orange-on-light); }

/* + / − no vidro; aberto = laranja de .result-card__plus */
#h09 .h09__icone {
  position: relative;
  flex: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid rgb(22 22 22 / 12%);
  border-radius: 50%;
  background: linear-gradient(180deg, rgb(255 255 255 / 90%), rgb(255 255 255 / 40%));
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 100%), 0 0.5rem 1.25rem rgb(28 22 14 / 8%);
  transition: border-color 240ms ease, background-color 240ms ease;
}
#h09 .h09__icone::before,
#h09 .h09__icone::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.85rem;
  height: 1.5px;
  border-radius: 2px;
  background: #161616;
  content: "";
  transform: translate(-50%, -50%);
  transition: transform 420ms var(--ease-out), background-color 240ms ease;
}
#h09 .h09__icone::after { transform: translate(-50%, -50%) rotate(90deg); }
#h09 details[open] .h09__icone { border-color: rgb(255 108 17 / 36%); }
#h09 details[open] .h09__icone::before,
#h09 details[open] .h09__icone::after { background: #df641f; }
#h09 details[open] .h09__icone::after { transform: translate(-50%, -50%) rotate(0deg); }

#h09 .h09__resposta {
  max-width: 44rem;
  padding: 0 3.75rem clamp(1.5rem, 2.4vw, 2rem) 0;
}
#h09 .h09__resposta p {
  color: rgb(23 23 25 / 66%);
  font-size: clamp(0.95rem, 1.05vw, 1.0625rem);
  font-weight: 350;
  line-height: 1.55;
  text-wrap: pretty;
}
#h09 .h09__resposta p + p { margin-top: 0.9em; }

/* altura animada (progressivo; sem suporte, abre direto) */
#h09 details::details-content {
  block-size: 0;
  overflow: hidden;
  transition: block-size 420ms var(--ease-out), content-visibility 420ms allow-discrete;
}
#h09 details[open]::details-content { block-size: auto; }

/* ── Responsivo (cortes da V1) ─────────────────────────────── */
@media (max-width: 900px) {
  #h09 .h09__grade { grid-template-columns: minmax(0, 1fr); width: min(100%, 40rem); gap: 2.5rem; }
  #h09 .h09__titulo > span { display: inline; }
}

@media (max-width: 640px) {
  #h09 { --h09-canto: 1.75rem; padding: 4.5rem 1.25rem 5.5rem; }
  #h09 .h09__titulo { font-size: clamp(2.3rem, 9.7vw, 2.75rem); line-height: 0.99; }
  #h09 .h09__painel { padding-inline: 1.25rem; border-radius: 1.6rem; }
  #h09 .h09__resposta { padding-right: 0; }
  #h09 .h09__icone { width: 2.25rem; height: 2.25rem; }
}
