/* Kamahui institutional surfaces — Projetos + contato (dark shell via interior.css) */
body.kamahui-projects:not(.kamahui-interior),
body.kamahui-contact:not(.kamahui-interior) { background: var(--kh-cream, #f9e2c0); color: #322111; }
body.kamahui-projects .site-main, body.kamahui-contact .site-main { overflow: hidden; }
.kh-page { max-width: 1180px; margin: 0 auto; padding: 72px 28px 112px; }
.kh-page__hero { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(260px, .88fr); gap: 56px; align-items: end; padding: 40px 0 74px; }
.kh-kicker { color: #d94a1e; font-size: .78rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.kh-page h1 { margin: 12px 0 22px; color: #4d1d19; font-size: clamp(2.8rem, 7vw, 6.2rem); line-height: .94; letter-spacing: -.045em; }
.kh-page h2 { margin: 0 0 16px; color: #4d1d19; font-size: clamp(1.65rem, 3vw, 2.45rem); line-height: 1.05; letter-spacing: -.025em; }
.kh-page p { font-size: 1.08rem; line-height: 1.7; }
.kh-page__intro { max-width: 660px; margin: 0; }
.kh-page__seal { border: 1px solid rgba(77,29,25,.22); border-radius: 28px 28px 28px 4px; padding: 28px; background: rgba(255,255,255,.24); }
.kh-page__seal strong { display: block; color: #d94a1e; font-size: 1.2rem; margin-bottom: 8px; }
.kh-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.kh-card { min-height: 220px; padding: 26px; border-radius: 22px; background: #fff2dd; border: 1px solid rgba(77,29,25,.12); box-shadow: 0 12px 30px rgba(76,37,18,.08); }
.kh-card__eyebrow { color: #d94a1e; font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.kh-card h3 { margin: 15px 0 10px; color: #4d1d19; font-size: 1.35rem; }
.kh-card p { margin: 0; font-size: .98rem; }
.kh-status { display: inline-flex; margin-top: 20px; padding: 7px 11px; border-radius: 999px; background: #f3cb8a; color: #4d1d19; font-size: .75rem; font-weight: 700; }
.kh-band { margin: 74px 0; padding: 42px 44px; border-radius: 28px 28px 28px 4px; background: #4d1d19; color: #fff4e5; }
.kh-band h2 { color: #fff4e5; }
.kh-band p { max-width: 760px; margin-bottom: 0; }
.kh-contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 42px; align-items: start; }
.kh-contact-panel { padding: 30px; border-radius: 22px; background: #fff2dd; border: 1px solid rgba(77,29,25,.12); }
.kh-contact-panel ul { list-style: none; margin: 0; padding: 0; }
.kh-contact-panel li { padding: 14px 0; border-bottom: 1px solid rgba(77,29,25,.12); }
.kh-contact-panel li:last-child { border-bottom: 0; }
.kh-contact-panel small { display: block; color: #7b5f52; margin-top: 4px; }
.kh-consent { margin: 18px 0 0; color: #7b5f52; font-size: .84rem; line-height: 1.55; }
.kh-link { color: #d94a1e; font-weight: 700; text-decoration-thickness: 2px; text-underline-offset: 3px; }
body.kamahui-contact .ff-default .ff-el-form-control { border-radius: 12px; border-color: rgba(77,29,25,.2); background: #fffaf3; }
body.kamahui-contact .ff-btn-submit { border-radius: 999px !important; background: #322111 !important; color: #fff4e5 !important; padding: 13px 24px !important; }
@media (max-width: 780px) { .kh-page { padding: 42px 20px 72px; } .kh-page__hero, .kh-contact-grid { grid-template-columns: 1fr; gap: 28px; } .kh-grid { grid-template-columns: 1fr; } .kh-band { margin: 48px 0; padding: 30px 24px; } }

/* Shared dark-system finish for Projetos + Contato. */
html body.kamahui-interior:is(.kamahui-projects, .kamahui-contact) {
  background: var(--brand-deep);
  color: var(--brand-cream);
}

body.kamahui-interior:is(.kamahui-projects, .kamahui-contact) .kh-page {
  color: var(--brand-cream);
}

body.kamahui-interior:is(.kamahui-projects, .kamahui-contact) .kh-page :is(h1, h2) {
  color: var(--brand-cream);
}

body.kamahui-interior:is(.kamahui-projects, .kamahui-contact) .kh-page p {
  color: var(--brand-paper-muted);
}

body.kamahui-interior:is(.kamahui-projects, .kamahui-contact) .kh-page__seal {
  border-color: var(--brand-line);
  background: rgba(249, 226, 192, 0.08);
}

body.kamahui-interior:is(.kamahui-projects, .kamahui-contact) .kh-page__seal p,
body.kamahui-interior:is(.kamahui-projects, .kamahui-contact) .kh-band p {
  color: rgba(249, 226, 192, 0.82);
}

body.kamahui-interior:is(.kamahui-projects, .kamahui-contact) :is(.kh-card, .kh-contact-panel) {
  border-color: rgba(50, 33, 17, 0.16);
  background: var(--brand-cream);
  color: var(--brand-deep);
}

body.kamahui-interior:is(.kamahui-projects, .kamahui-contact) :is(.kh-card, .kh-contact-panel) :is(h2, h3, strong) {
  color: var(--brand-panel);
}

body.kamahui-interior:is(.kamahui-projects, .kamahui-contact) :is(.kh-card, .kh-contact-panel) :is(p, li, small) {
  color: #6f5148;
}

body.kamahui-interior:is(.kamahui-projects, .kamahui-contact) .kh-band {
  background: var(--brand-panel);
  color: var(--brand-cream);
}

body.kamahui-interior.kamahui-contact .kh-contact-panel .fluentform {
  border-color: rgba(50, 33, 17, 0.18);
  background: rgba(255, 255, 255, 0.16);
}

body.kamahui-interior.kamahui-contact .kh-contact-panel .fluentform :is(label, .ff-el-input--label label) {
  color: var(--brand-deep);
}

body.kamahui-interior.kamahui-contact .kh-contact-panel .fluentform :is(input:not([type="checkbox"]):not([type="radio"]), textarea, select) {
  border-color: rgba(50, 33, 17, 0.28);
  background: #fffaf3;
  color: var(--brand-deep);
}

body.kamahui-interior.kamahui-contact .kh-contact-panel .fluentform :is(input, textarea)::placeholder {
  color: #806953;
}
