/* ==========================================================================
   Site institucional — Gouveia Consultoria
   ========================================================================== */

/* ---------- Faixa superior ---------- */
.topbar {
  background: var(--navy-900);
  color: #cfdadf;
  font-size: 0.66rem;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  padding-block: 0.55rem;
}
.topbar .wrap {
  display: flex;
  justify-content: space-between;
  gap: var(--space-4);
}
.topbar span:last-child { color: #9fb2bd; }

/* ---------- Cabeçalho ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  flex: none;
}
.brand img { width: 46px; height: 46px; object-fit: contain; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__text b {
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--navy);
}
.brand__text small {
  font-size: 0.53rem;
  letter-spacing: 0.24em;
  color: var(--muted);
  margin-top: 5px;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.2vw, 1.9rem);
}
.nav__link {
  position: relative;
  font-size: 0.83rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  padding-block: 0.4rem;
  white-space: nowrap;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
}
.nav__link:hover::after,
.nav__link[aria-current="true"]::after { transform: scaleX(1); }
.nav__link--client { color: var(--navy); font-weight: 600; }
.nav__cta { flex: none; }

/* botão hambúrguer */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-right: -6px;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.nav-toggle__bars { position: relative; width: 20px; height: 12px; }
.nav-toggle__bars span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: var(--navy);
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-toggle__bars span:nth-child(1) { top: 0; }
.nav-toggle__bars span:nth-child(2) { top: 5px; }
.nav-toggle__bars span:nth-child(3) { top: 10px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* Menu móvel em tela cheia */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: var(--navy);
  color: #fff;
  display: flex;
  flex-direction: column;
  padding: var(--space-5) var(--gutter) var(--space-7);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-6);
}
.mobile-menu__head .brand__text b { color: #fff; }
.mobile-menu__head .brand__text small { color: #a9bcc7; }
.mobile-menu__close {
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--radius);
  color: #fff;
}
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: #fff;
  text-decoration: none;
}
.mobile-menu nav a small {
  font-family: var(--font-sans);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  color: var(--gold);
}
.mobile-menu__footer {
  margin-top: auto;
  padding-top: var(--space-6);
  display: grid;
  gap: var(--space-3);
  font-size: 0.82rem;
  color: #bcccd5;
}
.mobile-menu__footer .btn { justify-content: center; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(180deg, var(--cream) 0%, #faf8f3 100%);
  overflow: hidden;
  padding-block: clamp(2.2rem, 5vw, 4.2rem) clamp(2.6rem, 5vw, 4.4rem);
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.hero h1 {
  font-size: var(--step-5);
  line-height: 0.98;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-5);
}
.hero h1 em {
  font-style: italic;
  font-weight: 300;
  color: var(--gold-ink);
}
.hero__lead {
  font-size: var(--step-1);
  color: var(--muted);
  max-width: 33rem;
  line-height: 1.65;
  margin-bottom: var(--space-6);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}
.hero__micro {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: var(--space-5);
  font-size: 0.78rem;
  color: var(--muted);
}
.hero__micro svg { color: var(--gold-ink); }

.hero__figure {
  position: relative;
  margin: 0;
  justify-self: end;
  width: 100%;
  max-width: 520px;
}
.hero__figure::before {
  content: "";
  position: absolute;
  inset: -14px 14px 30px -14px;
  border: 1px solid rgba(177, 138, 80, 0.55);
  pointer-events: none;
}
.hero__figure-frame {
  position: relative;
  background: var(--navy);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.hero__figure img {
  width: 100%;
  height: auto;
  display: block;
}
.hero__figure figcaption {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1rem;
  font-size: 0.72rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero__figure figcaption::before {
  content: "";
  width: 22px; height: 1px;
  background: var(--gold);
  flex: none;
}

/* ---------- Faixa de confiança ---------- */
.trust {
  background: var(--navy);
  color: #dfe7eb;
}
.trust__row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
}
.trust__item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 1.15rem clamp(0.6rem, 2vw, 1.6rem);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}
.trust__item:first-child { border-left: 0; padding-left: 0; }
.trust__item svg { color: var(--gold); flex: none; }

/* ---------- Serviços ---------- */
.services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.service {
  position: relative;
  background: var(--white);
  padding: clamp(1.5rem, 2.4vw, 2.1rem) clamp(1.3rem, 2.2vw, 1.9rem) clamp(1.4rem, 2.2vw, 1.8rem);
  display: flex;
  flex-direction: column;
  min-height: 100%;
  transition: background-color 0.2s ease;
}
.service::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.service:hover { background: #fdfcf8; }
.service:hover::before { transform: scaleX(1); }
.service__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-5);
  color: var(--navy);
}
.service__num {
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  color: var(--gold-ink);
  font-weight: 600;
}
.service__icon { color: var(--navy); opacity: 0.85; }
.service h3 { font-size: var(--step-2); margin-bottom: var(--space-2); }
.service p { font-size: 0.9rem; color: var(--muted); margin-bottom: var(--space-5); }
.service .link-arrow { margin-top: auto; align-self: flex-start; }

/* ---------- Como funciona ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1.2rem, 3vw, 2.4rem);
  counter-reset: step;
}
.step { padding-top: var(--space-5); border-top: 1px solid rgba(255, 255, 255, 0.2); }
.step__num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.1rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: var(--space-3);
}
.step h3 { font-size: 1.15rem; margin-bottom: var(--space-2); }
.step p { font-size: 0.88rem; color: #b9c7d0; margin: 0; }
.process-note {
  margin-top: clamp(2rem, 4vw, 3rem);
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.78rem;
  color: #a9bcc7;
  max-width: 60rem;
}

/* ---------- Área do Cliente (chamada) ---------- */
.client-area__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.client-area h2 { font-size: var(--step-3); }
.feature-list {
  list-style: none;
  margin: 0 0 var(--space-6);
  padding: 0;
  display: grid;
  gap: 0.85rem;
}
.feature-list li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 0.75rem;
  font-size: 0.92rem;
  color: var(--ink);
}
.feature-list svg { color: var(--gold-ink); margin-top: 3px; }
.feature-list b { font-weight: 600; }
.feature-list span { color: var(--muted); }

.access-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  padding: clamp(1.6rem, 3vw, 2.4rem);
  box-shadow: var(--shadow-sm);
  max-width: 430px;
  justify-self: end;
  width: 100%;
}
.access-card h3 { font-size: 1.4rem; margin-bottom: var(--space-2); }
.access-card p { font-size: 0.88rem; color: var(--muted); }
.access-card .btn { width: 100%; justify-content: center; margin-bottom: 0.6rem; }
.access-card__meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  color: var(--muted);
  margin-top: var(--space-3);
}

/* ---------- Sobre ---------- */
.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.about__media { position: relative; }
.about__media img {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--white);
}
.about__secondary {
  width: 46%;
  max-width: 230px;
  position: absolute;
  right: -10px;
  bottom: -34px;
  border: 6px solid var(--white);
  box-shadow: var(--shadow-sm);
}
.about__text p { color: var(--muted); }
.since {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  margin-top: var(--space-6);
  padding-top: var(--space-5);
  border-top: 1px solid var(--line);
}
.since b {
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--navy);
  line-height: 1;
}
.since span { font-size: 0.82rem; color: var(--muted); max-width: 22rem; }

/* ---------- Instagram e Google ---------- */
.social-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.2rem, 2.5vw, 2rem);
}
.social-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: clamp(1.5rem, 2.8vw, 2.2rem);
  display: flex;
  flex-direction: column;
}
.social-card__head {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: var(--space-4);
}
.social-card__avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--cream);
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  overflow: hidden;
  flex: none;
}
.social-card__avatar img { width: 38px; height: 38px; object-fit: contain; }
.social-card__id { display: flex; flex-direction: column; line-height: 1.3; }
.social-card__id b { font-size: 0.92rem; font-weight: 600; }
.social-card__id span { font-size: 0.75rem; color: var(--muted); }
.social-card h3 { font-size: var(--step-2); margin-bottom: var(--space-2); }
.social-card p { font-size: 0.9rem; color: var(--muted); }
.social-card__body { display: flex; flex-direction: column; flex: 1; }
.social-card .btn { margin-top: auto; align-self: flex-start; }

.ig-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  margin: var(--space-4) 0;
}
.ig-grid a { display: block; position: relative; aspect-ratio: 1; overflow: hidden; background: var(--sand); }
.ig-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.ig-grid a:hover img { transform: scale(1.05); }

.google-stat {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  margin: var(--space-3) 0 var(--space-4);
}
.google-stat strong {
  font-family: var(--font-display);
  font-size: 2.4rem;
  line-height: 1;
  color: var(--navy);
}
.stars { display: inline-flex; gap: 2px; color: var(--gold); }
.review {
  border-top: 1px solid var(--line);
  padding-top: var(--space-4);
  margin-top: var(--space-4);
  font-size: 0.86rem;
}
.review__meta { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.4rem; font-size: 0.76rem; color: var(--muted); }
.review__text { color: var(--ink); margin: 0 0 0.3rem; }
.review__text--clamp {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.social-note {
  font-size: 0.72rem;
  color: var(--muted);
  margin-top: var(--space-4);
  padding-top: var(--space-3);
  border-top: 1px dashed var(--line);
}

/* ---------- Perguntas frequentes ---------- */
.faq__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.faq h2 { font-size: var(--step-3); }
.faq__list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  padding: 1.15rem 0;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 13px; height: 13px;
  border-right: 1.5px solid var(--gold-ink);
  border-bottom: 1.5px solid var(--gold-ink);
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.faq details p {
  margin: 0 0 1.25rem;
  padding-right: 2.5rem;
  color: var(--muted);
  font-size: 0.92rem;
}

/* ---------- Contato ---------- */
.contact__box {
  background: var(--navy);
  color: #fff;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  padding: clamp(1.7rem, 4vw, 3.2rem);
  position: relative;
  overflow: hidden;
}
.contact__box::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 340px;
  height: 340px;
  border: 1px solid rgba(177, 138, 80, 0.35);
  border-radius: 50%;
  pointer-events: none;
}
.contact h2 { font-size: var(--step-3); color: #fff; }
.contact__box p { color: #c3d0d8; font-size: 0.92rem; }
.contact__list {
  list-style: none;
  padding: 0;
  margin: var(--space-5) 0 0;
  display: grid;
  gap: 0.55rem;
  font-size: 0.86rem;
  color: #c3d0d8;
}
.contact__list li { display: flex; gap: 0.6rem; align-items: center; }
.contact__list svg { color: var(--gold); flex: none; }
.contact__list a { color: #fff; text-decoration-color: rgba(255, 255, 255, 0.35); }

.form { display: grid; gap: 0.9rem; position: relative; z-index: 1; }
.field { display: grid; gap: 0.35rem; }
.field label { font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; color: #aebfc9; }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 46px;
  padding: 0.65rem 0.8rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  color: #fff;
  font-size: 0.9rem;
}
.field textarea { min-height: 92px; resize: vertical; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #b7c6cf 50%), linear-gradient(135deg, #b7c6cf 50%, transparent 50%); background-position: calc(100% - 18px) 21px, calc(100% - 13px) 21px; background-size: 5px 5px; background-repeat: no-repeat; }
.field input::placeholder, .field textarea::placeholder { color: #8fa3af; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--gold); outline-offset: 1px; }
.field select option { color: var(--ink); background: #fff; }
.check {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 0.6rem;
  align-items: start;
  font-size: 0.76rem;
  color: #b7c6cf;
  line-height: 1.5;
}
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--gold); }
.form__status {
  font-size: 0.8rem;
  padding: 0.6rem 0.8rem;
  border-radius: var(--radius);
  margin: 0;
}
.form__status[data-state="ok"] { background: rgba(35, 96, 61, 0.28); color: #d7f0e0; border: 1px solid rgba(120, 200, 150, 0.4); }
.form__status[data-state="error"] { background: rgba(155, 58, 49, 0.28); color: #ffe0dc; border: 1px solid rgba(220, 130, 120, 0.4); }
.form__status[data-state="loading"] { background: rgba(255, 255, 255, 0.08); color: #dbe5ea; border: 1px solid rgba(255, 255, 255, 0.2); }

/* ---------- Rodapé ---------- */
.site-footer {
  background: var(--navy-900);
  color: #b6c6d0;
  padding-block: clamp(2.5rem, 5vw, 4rem) var(--space-5);
  font-size: 0.86rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: clamp(1.6rem, 4vw, 3rem);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.site-footer .brand__text b { color: #fff; }
.site-footer .brand__text small { color: #93a7b3; }
.footer__col h3 {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8ba0ac;
  margin-bottom: var(--space-3);
  font-weight: 600;
}
.footer__col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.45rem; }
.footer__col a { color: #dbe5ea; text-decoration: none; }
.footer__col a:hover { color: var(--gold); text-decoration: underline; }
.footer__about { max-width: 26rem; margin-top: var(--space-4); color: #93a7b3; font-size: 0.8rem; }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
  padding-top: var(--space-5);
  font-size: 0.75rem;
  color: #8ba0ac;
}
.footer__bottom a { color: #b6c6d0; }

/* ---------- Atendimento virtual ---------- */
.chat-fab {
  position: fixed;
  right: clamp(0.9rem, 2vw, 1.5rem);
  bottom: clamp(0.9rem, 2vw, 1.5rem);
  z-index: 80;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 52px;
  padding: 0 1.15rem;
  background: var(--navy);
  color: #fff;
  border: 1px solid var(--navy);
  border-radius: 999px;
  box-shadow: 0 12px 34px rgba(10, 31, 46, 0.28);
  font-size: 0.82rem;
  font-weight: 500;
  text-decoration: none;
  transition: transform 0.2s ease, background-color 0.2s ease;
}
.chat-fab:hover { background: var(--navy-600); transform: translateY(-2px); }
.chat-fab svg { color: var(--gold); }
.chat-fab__dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #7fd1a2;
  box-shadow: 0 0 0 3px rgba(127, 209, 162, 0.25);
}

.chat {
  position: fixed;
  right: clamp(0.9rem, 2vw, 1.5rem);
  bottom: calc(clamp(0.9rem, 2vw, 1.5rem) + 62px);
  z-index: 90;
  width: 384px;
  max-width: calc(100vw - 1.8rem);
  height: min(600px, calc(100dvh - 120px));
  background: #fff;
  border: 1px solid #d8dee2;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.chat[hidden] { display: none; }
.chat__head {
  background: var(--navy);
  color: #fff;
  padding: 0.95rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.chat__head strong { font-family: var(--font-display); font-size: 1.1rem; font-weight: 500; display: block; line-height: 1.2; }
.chat__head small { font-size: 0.66rem; color: #b8c9d3; display: flex; align-items: center; gap: 0.35rem; margin-top: 3px; }
.chat__close {
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border: 0;
  border-radius: 50%;
  color: #fff;
}
.chat__log {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 1rem;
  background: #f8f7f3;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.msg {
  max-width: 88%;
  padding: 0.65rem 0.85rem;
  border-radius: 10px 10px 10px 2px;
  font-size: 0.84rem;
  line-height: 1.55;
  background: #fff;
  border: 1px solid #e5e7e6;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.msg--user {
  align-self: flex-end;
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
  border-radius: 10px 10px 2px 10px;
}
.msg--system {
  background: transparent;
  border: 1px dashed #d3d8da;
  color: var(--muted);
  font-size: 0.74rem;
  max-width: 100%;
}
.msg--typing { display: inline-flex; gap: 4px; align-items: center; }
.msg--typing i {
  width: 5px; height: 5px; border-radius: 50%; background: var(--navy-300);
  animation: pulse 1.2s infinite ease-in-out;
}
.msg--typing i:nth-child(2) { animation-delay: 0.15s; }
.msg--typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes pulse { 0%, 80%, 100% { opacity: 0.25; } 40% { opacity: 1; } }

.chat__options {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0.6rem 0.8rem;
  border-top: 1px solid #e9eae8;
  background: #fff;
  max-height: 34%;
  overflow-y: auto;
}
.chat__options button,
.chat__options a {
  background: #fff;
  border: 1px solid #ccd5da;
  color: var(--navy);
  border-radius: 999px;
  padding: 0.42rem 0.75rem;
  font-size: 0.76rem;
  line-height: 1.2;
  text-decoration: none;
  text-align: left;
}
.chat__options button:hover { background: var(--cream); border-color: var(--gold); }
.chat__options a.primary { background: var(--navy); border-color: var(--navy); color: #fff; }
.chat__form {
  display: flex;
  align-items: flex-end;
  gap: 0.4rem;
  padding: 0.6rem 0.8rem;
  border-top: 1px solid #e9eae8;
  background: #fff;
}
.chat__form[hidden] { display: none; }
.chat__form textarea {
  flex: 1;
  min-height: 40px;
  max-height: 96px;
  resize: none;
  padding: 0.55rem 0.7rem;
  border: 1px solid #ccd5da;
  border-radius: 8px;
  font-size: 0.84rem;
  background: #fff;
}
.chat__send {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  background: var(--navy);
  color: #fff;
  border: 0;
  border-radius: 8px;
  flex: none;
}
.chat__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.45rem 0.8rem 0.6rem;
  font-size: 0.64rem;
  color: var(--muted);
  background: #fff;
}
.chat__foot button {
  background: none;
  border: 0;
  padding: 0;
  color: var(--muted);
  text-decoration: underline;
  font-size: inherit;
}
.chat__foot button:hover { color: var(--navy); }

/* ---------- Animações de entrada ---------- */
.reveal { transform: translateY(14px); transition: transform 0.55s ease; }
.reveal.is-visible { transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { transform: none; transition: none; }
}

/* ---------- Responsivo ---------- */
@media (max-width: 1080px) {
  .nav { gap: 1.1rem; }
  .nav__link { font-size: 0.78rem; }
  .hero__grid { gap: 2.2rem; }
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2rem; }
}

@media (max-width: 900px) {
  :root { --header-h: 68px; }
  .topbar { display: none; }
  .nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .site-header .wrap { gap: 0.75rem; }
  .hero { padding-block: 2rem 3rem; }
  .hero__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero__figure { justify-self: stretch; max-width: 100%; }
  .hero__figure::before { inset: -10px 10px 18px -10px; }
  .hero__lead { margin-bottom: var(--space-5); }
  .trust__row { grid-template-columns: repeat(2, 1fr); }
  .trust__item:nth-child(odd) { padding-left: 0; }
  .trust__item:nth-child(3) { border-left: 0; }
  .client-area__grid,
  .about__grid,
  .faq__grid,
  .contact__box { grid-template-columns: 1fr; }
  .access-card { justify-self: stretch; max-width: 100%; }
  .about__secondary { position: static; width: 46%; margin-top: 1rem; border: 0; box-shadow: none; display: none; }
  .social-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid > :first-child { grid-column: 1 / -1; }
  .chat {
    right: 0; left: 0; bottom: 0;
    width: 100%;
    max-width: 100%;
    height: 100dvh;
    max-height: 100dvh;
    border-radius: 0;
    border: 0;
  }
  .chat-fab { right: 1rem; bottom: 1rem; }
  .chat-fab__label { display: none; }
  .chat-fab { width: 56px; height: 56px; padding: 0; justify-content: center; border-radius: 50%; }
}

@media (max-width: 620px) {
  .hero h1 { font-size: clamp(2.4rem, 11vw, 3rem); }
  .services { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .hero__actions .btn { width: 100%; }
  .hero__actions { gap: 0.6rem; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__grid > :first-child { grid-column: auto; }
  .contact__box { padding: 1.4rem; }
  .faq details p { padding-right: 0; }
  .section-head h2 br { display: none; }
  .hero__figure figcaption { font-size: 0.66rem; }
  .trust__item { font-size: 0.68rem; padding-block: 0.9rem; }
}

@media (max-width: 380px) {
  .brand img { width: 40px; height: 40px; }
  .brand__text b { font-size: 1.1rem; }
}
