
/* =========================================================
   VVIEIRA | FAQ
   Componente compartilhado — Áreas de Atuação
   CSS — PADRÃO BEM
   ========================================================= */

/* BASE DO COMPONENTE */

.vv-faq,
.vv-faq * {
  box-sizing: border-box;
}

.vv-faq {
  --navy: #0f2a44;
  --navy-deep: #071d31;
  --gold: #c5a46d;
  --text: #344454;
  --muted: #687582;
  --line: #dedbd5;
  --surface: #F8F9FA;

  width: 100%;
  max-width: none;
  margin: 0;
  background: var(--surface);

  font-family:
    "Montserrat",
    "Manrope",
    Arial,
    sans-serif;

  color: var(--text);
  padding: clamp(72px, 7vw, 104px) 0;
}

/* CONTÊINER INTERNO */

.vv-faq__shell {
  width: min(1180px, calc(100% - 64px));
  margin: 0 auto;
}

.vv-faq__layout {
  display: grid;
  grid-template-columns:
    minmax(280px, 0.78fr)
    minmax(0, 1.45fr);
  gap: clamp(48px, 7vw, 96px);
  align-items: start;
}

/* INTRODUÇÃO */

.vv-faq__kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  color: var(--gold);
  font-size: 11px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.vv-faq__kicker::before {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
}

.vv-faq h2,
.vv-faq p {
  margin: 0;
}

.vv-faq h2 {
  max-width: 440px;
  color: var(--navy);
  font-size: clamp(31px, 3.1vw, 45px);
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: -0.035em;
}

.vv-faq__intro p {
  max-width: 430px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

/* LISTA DE PERGUNTAS */

.vv-faq__list {
  border-top: 1px solid var(--line);
}

.vv-faq__item {
  margin: 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
}

.vv-faq__question {
  list-style: none;
  display: grid;
  grid-template-columns:
    minmax(0, 1fr)
    38px;
  gap: 24px;
  align-items: center;
  width: 100%;
  padding: 23px 0;
  cursor: pointer;
  color: var(--navy);
  font-size: 16px;
  line-height: 1.45;
  font-weight: 600;
}

.vv-faq__question::-webkit-details-marker {
  display: none;
}

.vv-faq__question::marker {
  display: none;
}

/* ÍCONES */

.vv-faq__icon {
  position: relative;
  display: flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(197, 164, 109, 0.55);
  border-radius: 50%;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.vv-faq__icon::before,
.vv-faq__icon::after {
  content: "";
  position: absolute;
  width: 11px;
  height: 1px;
  background: var(--gold);
  transition: transform 0.22s ease;
}

.vv-faq__icon::after {
  transform: rotate(90deg);
}

.vv-faq__item[open] .vv-faq__icon {
  background: var(--gold);
  border-color: var(--gold);
}

.vv-faq__item[open] .vv-faq__icon::before,
.vv-faq__item[open] .vv-faq__icon::after {
  background: var(--navy-deep);
}

.vv-faq__item[open] .vv-faq__icon::after {
  transform: rotate(0deg);
}

/* RESPOSTAS */

.vv-faq__answer {
  padding: 0 62px 25px 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.vv-faq__answer p {
  margin: 0;
}

/* INTERAÇÃO */

.vv-faq__question:hover {
  color: #8f6a32;
}

.vv-faq__question:hover .vv-faq__icon {
  border-color: var(--gold);
}

.vv-faq :focus-visible {
  outline: 3px solid rgba(197, 164, 109, 0.4);
  outline-offset: 4px;
}

/* TABLET */

@media (max-width: 900px) {
  .vv-faq__layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .vv-faq h2 {
    max-width: 620px;
  }

  .vv-faq__intro p {
    max-width: 620px;
  }
}

/* MOBILE */

@media (max-width: 640px) {
  .vv-faq {
    padding: 60px 0;
  }

  .vv-faq__shell {
    width: min(100% - 32px, 1180px);
  }

  .vv-faq__layout {
    gap: 38px;
  }

  .vv-faq__question {
    grid-template-columns:
      minmax(0, 1fr)
      34px;
    gap: 16px;
    padding: 20px 0;
    font-size: 15px;
  }

  .vv-faq__answer {
    padding: 0 50px 22px 0;
    font-size: 14px;
  }
}
