:root {
  --of-ivory: #fbf7f1;
  --of-paper: #fffdfa;
  --of-champagne: #f3e8de;
  --of-blush: #f6ddd4;
  --of-rose: #cb705b;
  --of-rose-dark: #a75240;
  --of-rose-soft: #e8aa99;
  --of-gold: #c59654;
  --of-ink: #27211e;
  --of-muted: #746a64;
  --of-border: rgba(106, 74, 59, 0.17);
  --of-success: #4e8a64;
  --of-danger: #a64d45;
  --of-shadow-sm: 0 8px 24px rgba(82, 55, 43, 0.06);
  --of-shadow-lg: 0 24px 70px rgba(82, 55, 43, 0.12);
  --of-radius-sm: 0.75rem;
  --of-radius: 1.15rem;
  --of-radius-lg: 1.75rem;
  --of-serif: Georgia, "Times New Roman", serif;
  --of-sans: Aptos, "Segoe UI", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.of-public-body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 18% 5%, rgba(246, 221, 212, 0.42), transparent 30rem),
    var(--of-ivory);
  color: var(--of-ink);
  font-family: var(--of-sans);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body.of-modal-lock {
  overflow: hidden;
}

.of-public-body a {
  color: inherit;
}

.of-public-body button,
.of-public-body input,
.of-public-body select,
.of-public-body textarea {
  font: inherit;
}

.of-skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 200;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: var(--of-ink);
  color: #fff !important;
  transform: translateY(-180%);
  transition: transform 160ms ease;
}

.of-skip-link:focus {
  transform: translateY(0);
}

.of-shell {
  width: min(100% - 2.5rem, 92rem);
  margin-inline: auto;
}

.of-site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  border-bottom: 1px solid var(--of-border);
  background: rgba(251, 247, 241, 0.92);
  backdrop-filter: blur(18px);
}

.of-header-inner {
  min-height: 5.25rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2rem;
}

.of-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  white-space: nowrap;
}

.of-brand__monogram {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  width: 3.3rem;
  height: 3.3rem;
  color: var(--of-ink);
  font-family: var(--of-serif);
  font-size: 2.35rem;
  line-height: 1;
}

.of-brand__monogram span {
  margin-top: 0.38rem;
}

.of-brand__monogram span:first-child {
  color: var(--of-rose);
  font-style: italic;
  transform: scaleX(0.92);
  transform-origin: right center;
}

.of-brand__monogram span:last-child {
  margin-left: -0.22em;
  color: var(--of-ink);
}

.of-brand__monogram::after {
  content: "+";
  position: absolute;
  top: 0.08rem;
  right: -0.05rem;
  color: var(--of-gold);
  font-family: var(--of-sans);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: normal;
}

.of-brand__name {
  display: flex;
  gap: 0.34em;
  color: var(--of-ink);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.43em;
  text-transform: uppercase;
}

.of-brand__name em {
  color: var(--of-rose);
  font-style: normal;
}

.of-primary-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(1rem, 2vw, 2.25rem);
}

.of-primary-nav a {
  position: relative;
  padding: 1rem 0;
  color: var(--of-ink);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
}

.of-primary-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0.55rem;
  left: 0;
  height: 1px;
  background: var(--of-rose);
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.of-primary-nav a:hover,
.of-primary-nav a:focus-visible,
.of-primary-nav a[aria-current="page"] {
  color: var(--of-rose-dark);
}

.of-primary-nav a:hover::after,
.of-primary-nav a:focus-visible::after,
.of-primary-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.of-header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.7rem;
}

.of-button,
.of-button-outline,
.of-button-quiet {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.75rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 0.55rem;
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.055em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease, transform 160ms ease;
}

.of-button {
  border-color: var(--of-rose);
  background: linear-gradient(135deg, #dc8a73, var(--of-rose));
  color: #fff !important;
  box-shadow: 0 10px 22px rgba(169, 82, 63, 0.16);
}

.of-button:hover,
.of-button:focus-visible {
  background: linear-gradient(135deg, var(--of-rose), var(--of-rose-dark));
  transform: translateY(-1px);
}

.of-button-outline {
  border-color: var(--of-border);
  background: rgba(255, 253, 250, 0.72);
  color: var(--of-ink) !important;
}

.of-button-outline:hover,
.of-button-outline:focus-visible {
  border-color: var(--of-rose);
  color: var(--of-rose-dark) !important;
}

.of-button-quiet {
  padding-inline: 0.4rem;
  background: transparent;
  color: var(--of-rose-dark) !important;
}

.of-button:focus-visible,
.of-button-outline:focus-visible,
.of-button-quiet:focus-visible,
.of-primary-nav a:focus-visible,
.of-brand:focus-visible,
.of-modal__close:focus-visible,
.of-public-body input:focus-visible,
.of-public-body select:focus-visible,
.of-public-body textarea:focus-visible {
  outline: 3px solid rgba(203, 112, 91, 0.28);
  outline-offset: 3px;
}

.of-header-actions form {
  margin: 0;
}

.of-mobile-nav {
  display: none;
  position: relative;
}

.of-mobile-nav summary {
  width: 2.8rem;
  height: 2.8rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--of-border);
  border-radius: 0.6rem;
  cursor: pointer;
  list-style: none;
  background: var(--of-paper);
  font-size: 1.2rem;
}

.of-mobile-nav summary::-webkit-details-marker {
  display: none;
}

.of-mobile-nav__panel {
  position: absolute;
  top: calc(100% + 0.75rem);
  right: 0;
  width: min(20rem, calc(100vw - 2rem));
  padding: 0.8rem;
  border: 1px solid var(--of-border);
  border-radius: var(--of-radius);
  background: var(--of-paper);
  box-shadow: var(--of-shadow-lg);
}

.of-mobile-nav__panel a,
.of-mobile-nav__panel form,
.of-mobile-nav__panel button {
  width: 100%;
}

.of-mobile-nav__panel > a {
  display: block;
  padding: 0.75rem;
  border-radius: 0.55rem;
  font-size: 0.86rem;
  font-weight: 650;
  text-decoration: none;
}

.of-mobile-nav__panel > a:hover {
  background: var(--of-champagne);
}

.of-mobile-nav__actions {
  display: grid;
  gap: 0.65rem;
  margin-top: 0.6rem;
  padding-top: 0.8rem;
  border-top: 1px solid var(--of-border);
}

.of-public-main {
  min-height: calc(100vh - 10rem);
}

.of-flash-stack {
  position: relative;
  z-index: 20;
  width: min(100% - 2.5rem, 92rem);
  margin: 1rem auto 0;
}

.of-flash {
  padding: 0.9rem 1rem;
  border: 1px solid var(--of-border);
  border-radius: var(--of-radius-sm);
  background: var(--of-paper);
  box-shadow: var(--of-shadow-sm);
  color: var(--of-ink);
  font-size: 0.9rem;
}

.of-flash--notice {
  border-color: rgba(78, 138, 100, 0.28);
}

.of-flash--alert {
  border-color: rgba(166, 77, 69, 0.32);
}

.of-home {
  overflow: hidden;
}

.of-hero {
  width: min(100% - 2.5rem, 92rem);
  min-height: min(44rem, calc(100vh - 5.25rem));
  margin: 1.2rem auto 0;
  display: grid;
  grid-template-columns: minmax(20rem, 0.82fr) minmax(28rem, 1.18fr);
  border: 1px solid var(--of-border);
  border-radius: var(--of-radius-lg);
  background: var(--of-paper);
  box-shadow: var(--of-shadow-sm);
  overflow: hidden;
}

.of-hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2.5rem, 4vw, 5rem);
  background:
    linear-gradient(135deg, rgba(255, 253, 250, 0.98), rgba(251, 247, 241, 0.9)),
    radial-gradient(circle at 20% 20%, var(--of-blush), transparent 55%);
}

.of-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1.2rem;
  color: var(--of-rose-dark);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.of-eyebrow::before {
  content: "";
  width: 2.8rem;
  height: 1px;
  background: var(--of-rose);
}

.of-hero h1,
.of-section-heading h2,
.of-brand-panel h2,
.of-modal h2 {
  margin: 0;
  color: var(--of-ink);
  font-family: var(--of-serif);
  font-weight: 500;
  line-height: 0.98;
}

.of-hero h1 {
  max-width: 10ch;
  font-size: clamp(3.15rem, 5vw, 5rem);
  letter-spacing: -0.035em;
}

.of-hero h1 em {
  color: var(--of-rose);
  font-style: normal;
}

.of-hero__rule {
  width: 11rem;
  height: 1px;
  margin: 1.7rem 0;
  background: linear-gradient(90deg, var(--of-rose), var(--of-gold), transparent);
}

.of-hero__lede {
  max-width: 34rem;
  margin: 0;
  color: var(--of-muted);
  font-size: clamp(1rem, 1.4vw, 1.2rem);
}

.of-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.of-hero__note {
  margin: 1.15rem 0 0;
  color: var(--of-muted);
  font-size: 0.75rem;
}

.of-hero__media {
  position: relative;
  min-height: 33rem;
  background: var(--of-champagne);
  overflow: hidden;
}

.of-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 253, 250, 0.26), transparent 34%, rgba(39, 33, 30, 0.05));
  pointer-events: none;
}

.of-hero__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.of-hero__seal {
  position: absolute;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 2;
  max-width: 16rem;
  padding: 1rem 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: var(--of-radius);
  background: rgba(255, 253, 250, 0.82);
  box-shadow: var(--of-shadow-sm);
  color: var(--of-ink);
  font-family: var(--of-serif);
  font-size: 1.05rem;
  backdrop-filter: blur(12px);
}

.of-proof {
  border-bottom: 1px solid var(--of-border);
  background: rgba(255, 253, 250, 0.7);
}

.of-proof__grid {
  width: min(100% - 2.5rem, 82rem);
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 1.6rem 0;
}

.of-proof__item {
  min-height: 4rem;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.85rem;
  padding: 0.2rem 1.6rem;
  border-right: 1px solid var(--of-border);
}

.of-proof__item:last-child {
  border-right: 0;
}

.of-proof__icon,
.of-feature__icon,
.of-card__icon {
  display: inline-grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid rgba(197, 150, 84, 0.38);
  border-radius: 50%;
  color: var(--of-gold);
  font-family: var(--of-serif);
  font-size: 1rem;
}

.of-proof__value {
  display: block;
  font-family: var(--of-serif);
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  line-height: 1;
}

.of-proof__label {
  display: block;
  margin-top: 0.3rem;
  color: var(--of-muted);
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.of-section {
  width: min(100% - 2.5rem, 82rem);
  margin: 0 auto;
  padding: clamp(2.5rem, 4vw, 4.5rem) 0;
}

#ecossistema,
#marcas {
  scroll-margin-top: 7.5rem;
}

.of-section-heading {
  max-width: 72rem;
  margin: 0 auto 1.25rem;
  text-align: center;
}

.of-section-heading h2,
.of-brand-panel h2 {
  font-size: clamp(2.25rem, 4.2vw, 4.3rem);
  letter-spacing: -0.035em;
}

.of-section-heading h2 {
  font-size: clamp(2.25rem, 3.8vw, 3.8rem);
}

.of-section-heading h2 em,
.of-brand-panel h2 em {
  color: var(--of-rose);
  font-style: normal;
}

.of-section-heading p {
  max-width: 42rem;
  margin: 1rem auto 0;
  color: var(--of-muted);
}

.of-safety {
  width: min(100% - 2.5rem, 82rem);
  margin: 3rem auto 0;
  display: grid;
  grid-template-columns: minmax(14rem, 0.72fr) 1.28fr;
  border: 1px solid var(--of-border);
  border-radius: var(--of-radius);
  background: var(--of-paper);
  box-shadow: var(--of-shadow-sm);
  overflow: hidden;
}

.of-safety__intro {
  padding: clamp(1.8rem, 4vw, 3rem);
  background: linear-gradient(135deg, var(--of-champagne), rgba(246, 221, 212, 0.62));
}

.of-safety__intro strong {
  display: block;
  margin-bottom: 0.45rem;
  font-family: var(--of-serif);
  font-size: 2rem;
  font-weight: 500;
}

.of-safety__intro p {
  margin: 0 0 1rem;
  color: var(--of-muted);
  font-size: 0.9rem;
}

.of-safety__features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--of-border);
}

.of-feature {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  padding: 1.7rem;
  background: var(--of-paper);
}

.of-feature h3 {
  margin: 0 0 0.25rem;
  color: var(--of-ink);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.of-feature p {
  margin: 0;
  color: var(--of-muted);
  font-size: 0.82rem;
}

.of-ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.of-ecosystem-card {
  position: relative;
  min-width: 0;
  border: 1px solid var(--of-border);
  border-radius: var(--of-radius);
  background: var(--of-paper);
  box-shadow: var(--of-shadow-sm);
  overflow: hidden;
}

.of-ecosystem-card__media {
  position: relative;
  aspect-ratio: 2 / 1;
  background: var(--of-champagne);
  overflow: hidden;
}

.of-ecosystem-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(39, 33, 30, 0.22));
}

.of-ecosystem-card__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 500ms ease;
}

.of-ecosystem-card:hover .of-ecosystem-card__media img {
  transform: scale(1.025);
}

.of-card__icon {
  position: absolute;
  z-index: 2;
  left: 1.25rem;
  bottom: -1.3rem;
  background: var(--of-paper);
}

.of-ecosystem-card__body {
  padding: 1.9rem 1.4rem 1.3rem;
}

.of-ecosystem-card h3 {
  margin: 0 0 0.65rem;
  font-family: var(--of-serif);
  font-size: 1.55rem;
  font-weight: 500;
}

.of-ecosystem-card p {
  min-height: 3.4em;
  margin: 0 0 1rem;
  color: var(--of-muted);
  font-size: 0.9rem;
}

.of-ecosystem-card a {
  color: var(--of-rose-dark);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.of-brand-panel {
  width: min(100% - 2.5rem, 92rem);
  margin: 0 auto clamp(4rem, 7vw, 7rem);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
  padding: clamp(2.25rem, 5vw, 4.5rem);
  border: 1px solid rgba(203, 112, 91, 0.2);
  border-radius: var(--of-radius-lg);
  background:
    linear-gradient(110deg, rgba(246, 221, 212, 0.84), rgba(243, 232, 222, 0.52)),
    var(--of-paper);
}

.of-brand-panel p {
  max-width: 42rem;
  margin: 1.1rem 0 0;
  color: var(--of-muted);
}

.of-brand-panel__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.8rem;
}

.of-site-footer {
  border-top: 1px solid var(--of-border);
  background: var(--of-paper);
}

.of-footer-main {
  display: grid;
  grid-template-columns: 1.35fr repeat(3, 1fr);
  gap: 3rem;
  padding: 4rem 0 3rem;
}

.of-footer-about p {
  max-width: 23rem;
  margin: 1rem 0 0;
  color: var(--of-muted);
  font-size: 0.88rem;
}

.of-footer-column h2 {
  margin: 0 0 1rem;
  color: var(--of-ink);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.of-footer-column a {
  display: block;
  width: fit-content;
  margin: 0.55rem 0;
  color: var(--of-muted);
  font-size: 0.84rem;
  text-decoration: none;
}

.of-footer-column a:hover,
.of-footer-column a:focus-visible {
  color: var(--of-rose-dark);
}

.of-footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 0;
  border-top: 1px solid var(--of-border);
  color: var(--of-muted);
  font-size: 0.72rem;
}

.of-modal[hidden] {
  display: none;
}

.of-modal {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  background: rgba(39, 33, 30, 0.48);
  backdrop-filter: blur(10px);
}

.of-modal__dialog {
  position: relative;
  width: min(100%, 31rem);
  max-height: calc(100vh - 2.5rem);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 1px solid var(--of-border);
  border-radius: var(--of-radius-lg);
  background: var(--of-paper);
  box-shadow: var(--of-shadow-lg);
  overflow-y: auto;
}

.of-modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.4rem;
  height: 2.4rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--of-border);
  border-radius: 50%;
  background: transparent;
  color: var(--of-ink);
  cursor: pointer;
  font-size: 1.2rem;
}

.of-modal h2 {
  padding-right: 2rem;
  font-size: 2.35rem;
}

.of-modal__subtitle {
  margin: 0.65rem 0 1.5rem;
  color: var(--of-muted);
  font-size: 0.9rem;
}

.of-form {
  display: grid;
  gap: 1rem;
}

.of-field {
  display: grid;
  gap: 0.4rem;
}

.of-field label {
  color: var(--of-ink);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.of-field input,
.of-field select,
.of-field textarea,
.of-public-content input,
.of-public-content select,
.of-public-content textarea {
  width: 100%;
  min-height: 3rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--of-border);
  border-radius: 0.55rem;
  background: #fff;
  color: var(--of-ink);
}

.of-form .of-button {
  width: 100%;
  margin-top: 0.35rem;
}

.of-modal__legal,
.of-modal__alternate {
  margin: 1rem 0 0;
  color: var(--of-muted);
  font-size: 0.76rem;
  text-align: center;
}

.of-modal__legal a,
.of-modal__alternate a {
  color: var(--of-rose-dark);
}

/* Compatibility layer for the existing institutional pages while each one awaits its own reskin. */
.of-public-content > section {
  width: min(100% - 2.5rem, 64rem) !important;
  margin: 2rem auto 5rem !important;
  padding: clamp(1.5rem, 4vw, 3.5rem) !important;
  border: 1px solid var(--of-border);
  border-radius: var(--of-radius);
  background: var(--of-paper);
  box-shadow: var(--of-shadow-sm);
  color: var(--of-ink) !important;
}

.of-public-content > section h1,
.of-public-content > section h2,
.of-public-content > section h3 {
  color: var(--of-ink) !important;
  font-family: var(--of-serif);
}

.of-public-content > section h1 {
  font-size: clamp(2.2rem, 5vw, 4rem) !important;
  font-weight: 500 !important;
}

.of-public-content > section h2,
.of-public-content > section h3 {
  color: var(--of-rose-dark) !important;
}

.of-public-content > section .text-white,
.of-public-content > section .text-gray-300,
.of-public-content > section .text-gray-400 {
  color: var(--of-ink) !important;
}

.of-public-content > section .text-yellow-200,
.of-public-content > section .text-yellow-300,
.of-public-content > section .text-yellow-400,
.of-public-content > section .text-blue-400 {
  color: var(--of-rose-dark) !important;
}

.of-public-content > .min-h-screen {
  min-height: auto !important;
  padding: 2rem 1.25rem 5rem !important;
  background: transparent !important;
  color: var(--of-ink) !important;
}

.of-public-content > .min-h-screen > div {
  border: 1px solid var(--of-border) !important;
  background: var(--of-paper) !important;
  color: var(--of-ink) !important;
  box-shadow: var(--of-shadow-sm) !important;
}

/* Home desktop: medidas reais equivalentes à composição aprovada em 80%.
   O navegador permanece em 100%; não há zoom nem transform de escala. */
@media (min-width: 1153px) {
  html.of-home-document {
    --of-radius-sm: 0.6rem;
    --of-radius: 0.92rem;
    --of-radius-lg: 1.4rem;
  }

  html.of-home-document .of-shell,
  html.of-home-document .of-flash-stack,
  html.of-home-document .of-hero,
  html.of-home-document .of-brand-panel {
    width: min(100% - 2rem, 73.6rem);
  }

  html.of-home-document .of-header-inner {
    min-height: 4.2rem;
    gap: 1.6rem;
  }

  html.of-home-document .of-brand {
    gap: 0.68rem;
  }

  html.of-home-document .of-brand__monogram {
    width: 2.64rem;
    height: 2.64rem;
    font-size: 1.88rem;
  }

  html.of-home-document .of-brand__monogram span {
    margin-top: 0.304rem;
  }

  html.of-home-document .of-brand__monogram::after {
    top: 0.064rem;
    right: -0.04rem;
    font-size: 0.52rem;
  }

  html.of-home-document .of-brand__name {
    font-size: 0.624rem;
  }

  html.of-home-document .of-primary-nav {
    gap: clamp(0.8rem, 2vw, 1.8rem);
  }

  html.of-home-document .of-primary-nav a {
    padding: 0.8rem 0;
    font-size: 0.592rem;
  }

  html.of-home-document .of-primary-nav a::after {
    bottom: 0.44rem;
  }

  html.of-home-document .of-header-actions {
    gap: 0.56rem;
  }

  html.of-home-document .of-button,
  html.of-home-document .of-button-outline,
  html.of-home-document .of-button-quiet {
    min-height: 2.2rem;
    gap: 0.44rem;
    padding: 0.6rem 1rem;
    border-radius: 0.44rem;
    font-size: 0.6rem;
  }

  html.of-home-document .of-button-quiet {
    padding-inline: 0.32rem;
  }

  html.of-home-document .of-public-main {
    min-height: calc(100vh - 8rem);
  }

  html.of-home-document .of-flash-stack {
    margin-top: 0.8rem;
  }

  html.of-home-document .of-flash {
    padding: 0.72rem 0.8rem;
    font-size: 0.72rem;
  }

  html.of-home-document .of-hero {
    min-height: min(35.2rem, calc(100vh - 4.2rem));
    margin-top: 0.96rem;
    grid-template-columns: minmax(16rem, 0.82fr) minmax(22.4rem, 1.18fr);
  }

  html.of-home-document .of-hero__content {
    padding: clamp(2rem, 4vw, 4rem);
  }

  html.of-home-document .of-eyebrow {
    gap: 0.6rem;
    margin-bottom: 0.96rem;
    font-size: 0.576rem;
  }

  html.of-home-document .of-eyebrow::before {
    width: 2.24rem;
  }

  html.of-home-document .of-hero h1 {
    font-size: clamp(2.52rem, 5vw, 4rem);
  }

  html.of-home-document .of-hero__rule {
    width: 8.8rem;
    margin: 1.36rem 0;
  }

  html.of-home-document .of-hero__lede {
    max-width: 27.2rem;
    font-size: clamp(0.8rem, 1.4vw, 0.96rem);
  }

  html.of-home-document .of-hero__actions {
    gap: 0.64rem;
    margin-top: 1.6rem;
  }

  html.of-home-document .of-hero__note {
    margin-top: 0.92rem;
    font-size: 0.6rem;
  }

  html.of-home-document .of-hero__media {
    min-height: 26.4rem;
  }

  html.of-home-document .of-hero__seal {
    right: 1.2rem;
    bottom: 1.2rem;
    max-width: 12.8rem;
    padding: 0.8rem 0.96rem;
    font-size: 0.84rem;
  }

  html.of-home-document .of-proof__grid,
  html.of-home-document .of-section,
  html.of-home-document .of-safety {
    width: min(100% - 2rem, 65.6rem);
  }

  html.of-home-document .of-proof__grid {
    padding: 1.28rem 0;
  }

  html.of-home-document .of-proof__item {
    min-height: 3.2rem;
    gap: 0.68rem;
    padding: 0.16rem 1.28rem;
  }

  html.of-home-document .of-proof__icon,
  html.of-home-document .of-feature__icon,
  html.of-home-document .of-card__icon {
    width: 2.08rem;
    height: 2.08rem;
    font-size: 0.8rem;
  }

  html.of-home-document .of-proof__value {
    font-size: clamp(1.08rem, 2vw, 1.52rem);
  }

  html.of-home-document .of-proof__label {
    margin-top: 0.24rem;
    font-size: 0.544rem;
  }

  html.of-home-document .of-safety {
    margin-top: 2.4rem;
    grid-template-columns: minmax(11.2rem, 0.72fr) 1.28fr;
  }

  html.of-home-document .of-safety__intro {
    padding: clamp(1.44rem, 4vw, 2.4rem);
  }

  html.of-home-document .of-safety__intro strong {
    margin-bottom: 0.36rem;
    font-size: 1.6rem;
  }

  html.of-home-document .of-safety__intro p {
    margin-bottom: 0.8rem;
    font-size: 0.72rem;
  }

  html.of-home-document .of-feature {
    gap: 0.72rem;
    padding: 1.36rem;
  }

  html.of-home-document .of-feature h3 {
    margin-bottom: 0.2rem;
    font-size: 0.64rem;
  }

  html.of-home-document .of-feature p {
    font-size: 0.656rem;
  }

  html.of-home-document .of-section {
    padding: clamp(2rem, 4vw, 3.6rem) 0;
  }

  html.of-home-document #ecossistema,
  html.of-home-document #marcas {
    scroll-margin-top: 6rem;
  }

  html.of-home-document .of-section-heading {
    max-width: 57.6rem;
    margin-bottom: 1rem;
  }

  html.of-home-document .of-section-heading h2,
  html.of-home-document .of-brand-panel h2 {
    font-size: clamp(1.8rem, 4.2vw, 3.44rem);
  }

  html.of-home-document .of-section-heading h2 {
    font-size: clamp(1.8rem, 3.8vw, 3.04rem);
  }

  html.of-home-document .of-section-heading p {
    max-width: 33.6rem;
    margin-top: 0.8rem;
  }

  html.of-home-document .of-ecosystem-grid {
    gap: 0.92rem;
  }

  html.of-home-document .of-card__icon {
    left: 1rem;
    bottom: -1.04rem;
  }

  html.of-home-document .of-ecosystem-card__body {
    padding: 1.52rem 1.12rem 1.04rem;
  }

  html.of-home-document .of-ecosystem-card h3 {
    margin-bottom: 0.52rem;
    font-size: 1.24rem;
  }

  html.of-home-document .of-ecosystem-card p {
    margin-bottom: 0.8rem;
    font-size: 0.72rem;
  }

  html.of-home-document .of-ecosystem-card a {
    font-size: 0.592rem;
  }

  html.of-home-document .of-brand-panel {
    margin-bottom: clamp(3.2rem, 7vw, 5.6rem);
    gap: 2.4rem;
    padding: clamp(1.8rem, 5vw, 3.6rem);
  }

  html.of-home-document .of-brand-panel p {
    max-width: 33.6rem;
    margin-top: 0.88rem;
  }

  html.of-home-document .of-brand-panel__actions {
    gap: 0.64rem;
  }

  html.of-home-document .of-footer-main {
    gap: 2.4rem;
    padding: 3.2rem 0 2.4rem;
  }

  html.of-home-document .of-footer-about p {
    max-width: 18.4rem;
    margin-top: 0.8rem;
    font-size: 0.704rem;
  }

  html.of-home-document .of-footer-column h2 {
    margin-bottom: 0.8rem;
    font-size: 0.576rem;
  }

  html.of-home-document .of-footer-column a {
    margin: 0.44rem 0;
    font-size: 0.672rem;
  }

  html.of-home-document .of-footer-bottom {
    gap: 0.8rem;
    padding: 0.92rem 0;
    font-size: 0.576rem;
  }

  html.of-home-document .of-modal {
    padding: 1rem;
  }

  html.of-home-document .of-modal__dialog {
    width: min(100%, 24.8rem);
    max-height: calc(100vh - 2rem);
    padding: clamp(1.2rem, 4vw, 2rem);
  }

  html.of-home-document .of-modal__close {
    top: 0.8rem;
    right: 0.8rem;
    width: 1.92rem;
    height: 1.92rem;
    font-size: 0.96rem;
  }

  html.of-home-document .of-modal h2 {
    padding-right: 1.6rem;
    font-size: 1.88rem;
  }

  html.of-home-document .of-modal__subtitle {
    margin: 0.52rem 0 1.2rem;
    font-size: 0.72rem;
  }

  html.of-home-document .of-form {
    gap: 0.8rem;
  }

  html.of-home-document .of-field {
    gap: 0.32rem;
  }

  html.of-home-document .of-field label {
    font-size: 0.576rem;
  }

  html.of-home-document .of-field input,
  html.of-home-document .of-field select,
  html.of-home-document .of-field textarea {
    min-height: 2.4rem;
    padding: 0.6rem 0.72rem;
  }
}

@media (max-width: 72rem) {
  .of-header-inner {
    grid-template-columns: auto 1fr auto;
  }

  .of-primary-nav {
    gap: 1.1rem;
  }

  .of-primary-nav a {
    font-size: 0.68rem;
  }

  .of-header-actions > .of-button,
  .of-header-actions > .of-button-outline,
  .of-header-actions > form {
    display: none;
  }

  .of-mobile-nav {
    display: block;
  }

  .of-hero {
    grid-template-columns: 0.9fr 1.1fr;
  }

  .of-hero__content {
    padding: clamp(2.25rem, 5vw, 4rem);
  }
}

@media (max-width: 58rem) {
  .of-shell,
  .of-hero,
  .of-section,
  .of-safety,
  .of-brand-panel,
  .of-flash-stack {
    width: min(100% - 1.5rem, 92rem);
  }

  .of-primary-nav {
    display: none;
  }

  .of-header-inner {
    grid-template-columns: 1fr auto;
    gap: 1rem;
  }

  .of-header-actions {
    grid-column: 2;
  }

  .of-hero {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .of-hero__content {
    min-height: 31rem;
  }

  .of-hero__media {
    min-height: 32rem;
  }

  .of-proof__grid {
    width: min(100% - 1.5rem, 82rem);
    grid-template-columns: repeat(2, 1fr);
  }

  .of-proof__item:nth-child(2) {
    border-right: 0;
  }

  .of-proof__item:nth-child(-n + 2) {
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--of-border);
  }

  .of-proof__item:nth-child(n + 3) {
    padding-top: 1.25rem;
  }

  .of-safety,
  .of-brand-panel {
    grid-template-columns: 1fr;
  }

  .of-ecosystem-grid {
    grid-template-columns: 1fr;
  }

  .of-ecosystem-card p {
    min-height: auto;
  }

  .of-brand-panel__actions {
    justify-content: flex-start;
  }

  .of-footer-main {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 38rem) {
  .of-brand__name {
    display: none;
  }

  .of-hero__content {
    min-height: 28rem;
    padding: 2rem 1.35rem;
  }

  .of-hero h1 {
    font-size: clamp(2.75rem, 13.5vw, 3.75rem);
  }

  .of-hero__actions,
  .of-brand-panel__actions {
    display: grid;
  }

  .of-hero__actions .of-button,
  .of-hero__actions .of-button-outline,
  .of-brand-panel__actions .of-button,
  .of-brand-panel__actions .of-button-outline {
    width: 100%;
  }

  .of-hero__media {
    min-height: 24rem;
  }

  .of-hero__seal {
    right: 0.8rem;
    bottom: 0.8rem;
    left: 0.8rem;
    max-width: none;
  }

  .of-proof__grid {
    grid-template-columns: 1fr;
  }

  .of-proof__item,
  .of-proof__item:nth-child(2) {
    padding: 1rem 0.35rem;
    border-right: 0;
    border-bottom: 1px solid var(--of-border);
  }

  .of-proof__item:last-child {
    border-bottom: 0;
  }

  .of-safety__features {
    grid-template-columns: 1fr;
  }

  .of-feature {
    padding: 1.35rem;
  }

  .of-footer-main {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .of-footer-bottom {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* ===========================================================================
   ONLYFEET — AUTENTICAÇÃO PÚBLICA / ONDA 8.1
   ========================================================================== */

.of-public-content > section.ofa-auth {
  position: relative;
  isolation: isolate;
  width: min(100% - 2.5rem, 76rem) !important;
  min-height: 40rem;
  margin: 2rem auto 5rem !important;
  padding: 0 !important;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(28rem, 1.08fr);
  border: 1px solid var(--of-border);
  border-radius: var(--of-radius-lg);
  background: var(--of-paper) !important;
  box-shadow: var(--of-shadow-lg) !important;
  color: var(--of-ink) !important;
  overflow: hidden;
}

.ofa-auth::before,
.ofa-auth::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
}

.ofa-auth::before {
  top: -13rem;
  left: -12rem;
  width: 28rem;
  height: 28rem;
  border: 1px solid rgba(203, 112, 91, 0.2);
}

.ofa-auth::after {
  top: -9rem;
  left: -7rem;
  width: 20rem;
  height: 20rem;
  border: 1px solid rgba(197, 150, 84, 0.22);
}

.ofa-auth__story {
  position: relative;
  min-width: 0;
  padding: clamp(2.5rem, 5vw, 5rem) clamp(2rem, 4.2vw, 4.25rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    linear-gradient(145deg, rgba(246, 221, 212, 0.66), rgba(255, 253, 250, 0.94) 56%),
    var(--of-paper);
}

.ofa-auth__story::after {
  content: "OF";
  position: absolute;
  right: 1.4rem;
  bottom: -1.5rem;
  color: rgba(203, 112, 91, 0.07);
  font-family: var(--of-serif);
  font-size: clamp(7rem, 14vw, 12rem);
  font-style: italic;
  line-height: 1;
  pointer-events: none;
}

.ofa-kicker {
  margin: 0 0 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--of-rose-dark);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.ofa-kicker::before {
  content: "";
  width: 2rem;
  height: 1px;
  background: var(--of-rose);
}

.of-public-content > section.ofa-auth h1 {
  max-width: 9.5em;
  margin: 0 !important;
  color: var(--of-ink) !important;
  font-family: var(--of-serif);
  font-size: clamp(2.8rem, 5vw, 5.1rem) !important;
  font-weight: 400 !important;
  letter-spacing: -0.055em;
  line-height: 0.94;
}

.ofa-auth__lead {
  max-width: 32rem;
  margin: 1.75rem 0 0;
  color: var(--of-muted);
  font-size: clamp(0.98rem, 1.35vw, 1.08rem);
  line-height: 1.7;
}

.ofa-auth__assurance {
  position: relative;
  z-index: 1;
  margin-top: clamp(2.5rem, 6vw, 5rem);
  padding-top: 1.5rem;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 1rem;
  border-top: 1px solid var(--of-border);
}

.ofa-auth__seal {
  width: 3.1rem;
  height: 3.1rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(203, 112, 91, 0.36);
  border-radius: 50%;
  background: rgba(255, 253, 250, 0.74);
  color: var(--of-rose-dark);
  font-family: var(--of-serif);
  font-size: 1rem;
  font-style: italic;
}

.ofa-auth__assurance strong {
  display: block;
  color: var(--of-ink);
  font-family: var(--of-serif);
  font-size: 1rem;
  font-weight: 500;
}

.ofa-auth__assurance p {
  margin: 0.22rem 0 0;
  color: var(--of-muted);
  font-size: 0.75rem;
}

.ofa-auth__panel {
  min-width: 0;
  padding: clamp(2.4rem, 5vw, 4.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 1px solid var(--of-border);
  background: rgba(255, 253, 250, 0.96);
}

.ofa-auth__panel-header {
  margin-bottom: 2rem;
}

.ofa-auth__step {
  display: block;
  margin-bottom: 0.75rem;
  color: var(--of-rose-dark);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.of-public-content > section.ofa-auth .ofa-auth__panel h2 {
  margin: 0 !important;
  color: var(--of-ink) !important;
  font-family: var(--of-serif);
  font-size: clamp(2rem, 3vw, 2.8rem) !important;
  font-weight: 400 !important;
  letter-spacing: -0.035em;
  line-height: 1;
}

.ofa-auth__panel-header p {
  margin: 0.75rem 0 0;
  color: var(--of-muted);
  font-size: 0.84rem;
}

.ofa-form {
  display: grid;
  gap: 1.15rem;
}

.ofa-field {
  display: grid;
  gap: 0.48rem;
}

.ofa-field label,
.ofa-role-choice legend {
  color: var(--of-ink);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ofa-field__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.ofa-field__heading a {
  color: var(--of-rose-dark);
  font-size: 0.74rem;
  font-weight: 700;
  text-decoration: none;
}

.ofa-field__heading a:hover,
.ofa-field__heading a:focus-visible {
  text-decoration: underline;
}

.ofa-auth .ofa-field input,
.ofa-auth .ofa-field select {
  width: 100%;
  min-height: 3.35rem;
  padding: 0.82rem 0.95rem;
  border: 1px solid rgba(106, 74, 59, 0.21);
  border-radius: 0.62rem;
  background: #fff;
  color: var(--of-ink);
  box-shadow: 0 1px 0 rgba(82, 55, 43, 0.02);
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.ofa-auth .ofa-field input::placeholder {
  color: #a49a94;
}

.ofa-auth .ofa-field input:hover,
.ofa-auth .ofa-field select:hover {
  border-color: rgba(203, 112, 91, 0.48);
}

.ofa-auth .ofa-field input:focus,
.ofa-auth .ofa-field select:focus {
  border-color: var(--of-rose);
  outline: 0;
  box-shadow: 0 0 0 4px rgba(203, 112, 91, 0.12);
}

.ofa-field__hint {
  margin: 0;
  color: var(--of-muted);
  font-size: 0.7rem;
}

.ofa-form__columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.ofa-check {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--of-muted);
  cursor: pointer;
  font-size: 0.78rem;
}

.ofa-check input {
  width: 1rem;
  height: 1rem;
  margin: 0;
  accent-color: var(--of-rose);
}

.ofa-submit {
  width: 100%;
  min-height: 3.25rem;
  margin-top: 0.25rem;
  padding: 0.85rem 1.25rem;
  border: 1px solid var(--of-rose);
  border-radius: 0.62rem;
  background: linear-gradient(135deg, #dc8a73, var(--of-rose));
  color: #fff;
  box-shadow: 0 12px 28px rgba(169, 82, 63, 0.18);
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  transition: background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.ofa-submit:hover,
.ofa-submit:focus-visible {
  background: linear-gradient(135deg, var(--of-rose), var(--of-rose-dark));
  box-shadow: 0 14px 30px rgba(169, 82, 63, 0.24);
  transform: translateY(-1px);
}

.ofa-submit:focus-visible {
  outline: 3px solid rgba(203, 112, 91, 0.25);
  outline-offset: 3px;
}

.ofa-auth__alternate {
  margin-top: 1.5rem;
  padding-top: 1.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-top: 1px solid var(--of-border);
  color: var(--of-muted);
  font-size: 0.78rem;
  text-align: center;
}

.ofa-auth__alternate a,
.ofa-auth__legal a,
.ofa-auth-links a,
.of-modal__recovery a {
  color: var(--of-rose-dark);
  font-weight: 750;
}

.ofa-auth__alternate a,
.ofa-auth-links a,
.of-modal__recovery a {
  text-decoration: none;
}

.ofa-auth__alternate a:hover,
.ofa-auth__alternate a:focus-visible,
.ofa-auth__legal a:hover,
.ofa-auth__legal a:focus-visible,
.ofa-auth-links a:hover,
.ofa-auth-links a:focus-visible,
.of-modal__recovery a:hover,
.of-modal__recovery a:focus-visible {
  text-decoration: underline;
}

.ofa-auth__legal {
  margin: 0.25rem 0 0;
  color: var(--of-muted);
  font-size: 0.7rem;
  line-height: 1.55;
  text-align: center;
}

.ofa-role-choice {
  min-width: 0;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
  border: 0;
}

.ofa-role-choice legend {
  width: 100%;
  margin-bottom: 0.5rem;
  grid-column: 1 / -1;
}

.ofa-role-card {
  position: relative;
  min-height: 7.3rem;
  padding: 1rem;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 0.8rem;
  border: 1px solid var(--of-border);
  border-radius: 0.7rem;
  background: #fff;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.ofa-role-card:hover {
  border-color: rgba(203, 112, 91, 0.5);
}

.ofa-role-card:has(input:checked) {
  border-color: var(--of-rose);
  background: rgba(246, 221, 212, 0.25);
  box-shadow: 0 0 0 3px rgba(203, 112, 91, 0.08);
}

.ofa-role-card input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.ofa-role-card:focus-within {
  outline: 3px solid rgba(203, 112, 91, 0.2);
  outline-offset: 2px;
}

.ofa-role-card__mark {
  color: var(--of-gold);
  font-family: var(--of-serif);
  font-size: 1.05rem;
}

.ofa-role-card__copy {
  display: block;
}

.ofa-role-card__copy strong {
  display: block;
  color: var(--of-ink);
  font-family: var(--of-serif);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: normal;
  text-transform: none;
}

.ofa-role-card__copy small {
  display: block;
  margin-top: 0.4rem;
  color: var(--of-muted);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: normal;
  line-height: 1.45;
  text-transform: none;
}

.ofa-auth__journey {
  position: relative;
  z-index: 1;
  margin: clamp(2.5rem, 5vw, 4rem) 0 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  list-style: none;
}

.ofa-auth__journey li {
  display: grid;
  grid-template-columns: 2.2rem 1fr;
  gap: 0.9rem;
}

.ofa-auth__journey li > span {
  color: var(--of-gold);
  font-family: var(--of-serif);
  font-size: 1rem;
}

.ofa-auth__journey strong {
  display: block;
  color: var(--of-ink);
  font-family: var(--of-serif);
  font-size: 0.98rem;
  font-weight: 500;
}

.ofa-auth__journey p {
  margin: 0.18rem 0 0;
  color: var(--of-muted);
  font-size: 0.72rem;
}

.ofa-password-rules {
  position: relative;
  z-index: 1;
  margin: 2.5rem 0 0;
  padding: 1.4rem 0 0;
  display: grid;
  gap: 0.75rem;
  border-top: 1px solid var(--of-border);
  color: var(--of-muted);
  font-size: 0.76rem;
  list-style: none;
}

.ofa-password-rules li {
  position: relative;
  padding-left: 1.35rem;
}

.ofa-password-rules li::before {
  content: "◇";
  position: absolute;
  left: 0;
  color: var(--of-rose);
}

.ofa-errors {
  margin: 0 0 1.25rem;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(166, 77, 69, 0.3);
  border-radius: 0.65rem;
  background: rgba(166, 77, 69, 0.06);
  color: var(--of-danger);
  font-size: 0.76rem;
}

.ofa-errors__heading {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
}

.ofa-errors__heading strong {
  font-weight: 750;
}

.ofa-errors ul {
  margin: 0.55rem 0 0 1.55rem;
  padding: 0;
}

.ofa-auth-links {
  margin-top: 1.4rem;
  padding-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem 1rem;
  border-top: 1px solid var(--of-border);
  font-size: 0.76rem;
  text-align: center;
}

.ofa-auth-links__provider {
  padding: 0.65rem 0.9rem;
  border: 1px solid var(--of-border);
  border-radius: 0.55rem;
  background: var(--of-paper);
  color: var(--of-ink);
  cursor: pointer;
  font-weight: 700;
}

.of-modal__recovery {
  margin: 0.85rem 0 0;
  font-size: 0.76rem;
  text-align: center;
}

.ofa-auth--signup {
  grid-template-columns: minmax(21rem, 0.8fr) minmax(32rem, 1.2fr) !important;
}

.ofa-auth--signup .ofa-auth__panel {
  padding-block: 3rem;
}

.ofa-auth--compact {
  min-height: 34rem !important;
}

@media (max-width: 62rem) {
  .of-public-content > section.ofa-auth,
  .ofa-auth--signup {
    width: min(100% - 2rem, 46rem) !important;
    grid-template-columns: 1fr !important;
  }

  .ofa-auth__story {
    min-height: 23rem;
  }

  .ofa-auth__panel {
    border-top: 1px solid var(--of-border);
    border-left: 0;
  }

  .ofa-auth__assurance,
  .ofa-auth__journey,
  .ofa-password-rules {
    margin-top: 2rem;
  }
}

@media (max-width: 42rem) {
  .of-public-content > section.ofa-auth,
  .ofa-auth--signup {
    width: calc(100% - 1rem) !important;
    margin: 0.5rem auto 3rem !important;
    border-radius: 1rem;
  }

  .ofa-auth__story,
  .ofa-auth__panel,
  .ofa-auth--signup .ofa-auth__panel {
    padding: 2rem 1.25rem;
  }

  .ofa-auth__story {
    min-height: auto;
  }

  .of-public-content > section.ofa-auth h1 {
    font-size: clamp(2.45rem, 13vw, 3.6rem) !important;
  }

  .ofa-form__columns,
  .ofa-role-choice {
    grid-template-columns: 1fr;
  }

  .ofa-role-card {
    min-height: auto;
  }

  .ofa-auth__alternate {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ofa-auth *,
  .ofa-submit {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

/* Onda 8.1.1 — alinhamento dos campos de senha no cadastro */
.ofa-auth--signup .ofa-form__columns {
  align-items: start;
}

.ofa-auth--signup .ofa-form__columns > .ofa-field {
  width: 100%;
  align-content: start;
}

.ofa-auth--signup .ofa-form__columns .field_with_errors {
  width: 100%;
}

.ofa-auth--signup .ofa-form__columns input {
  height: 3.35rem;
  min-height: 3.35rem;
  box-sizing: border-box;
}

/* Contato publico e parcerias — onda 8.4.1. */
.of-contact {
  --ofct-ink: #2b201c;
  --ofct-muted: #705d55;
  --ofct-coral: #a94e3c;
  --ofct-line: #e9d8cf;
  min-height: 42rem;
  padding: 1.6rem 1.25rem clamp(4rem, 7vw, 7rem);
  background: radial-gradient(circle at 8% 14%, rgba(210, 125, 95, .085), transparent 35rem), #fdf9f5;
  color: var(--ofct-ink);
}
.of-contact *, .of-contact *::before, .of-contact *::after { box-sizing: border-box; }
.of-contact__shell { width: min(100%, 75rem); margin: auto; }
.of-contact__breadcrumb { display: flex; align-items: center; gap: .65rem; margin-bottom: clamp(2rem, 4vw, 4rem); color: var(--ofct-muted); font-size: .8rem; }
.of-contact__breadcrumb a { color: var(--ofct-coral); text-decoration: none; }
.of-contact__breadcrumb a:hover { text-decoration: underline; }
.of-contact__grid { display: grid; grid-template-columns: minmax(0, .87fr) minmax(0, 1.13fr); align-items: start; gap: clamp(2rem, 6vw, 6.5rem); }
.of-contact__intro { padding-top: clamp(1rem, 3vw, 3rem); }
.of-contact__eyebrow, .of-contact__card-eyebrow { margin: 0; color: var(--ofct-coral); font-size: .72rem; font-weight: 800; letter-spacing: .17em; }
.of-contact__intro h1, .of-contact__card h2 { margin: 1.25rem 0 0; font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: -.052em; }
.of-contact__intro h1 { max-width: 12ch; font-size: clamp(3.1rem, 5.2vw, 5.2rem); line-height: 1.04; }
.of-contact__intro h1 em { color: var(--ofct-coral); font-weight: 400; }
.of-contact__lead { max-width: 37rem; margin: 1.55rem 0 0; color: var(--ofct-muted); font-size: 1rem; line-height: 1.8; }
.of-contact__topics { margin-top: clamp(2rem, 4vw, 3.75rem); border-top: 1px solid var(--ofct-line); }
.of-contact__topics > div { display: flex; align-items: baseline; gap: 1.2rem; padding: 1rem 0; border-bottom: 1px solid var(--ofct-line); }
.of-contact__topics span { color: var(--ofct-coral); font: 1rem Georgia, serif; }
.of-contact__topics p { margin: 0; font-size: .91rem; font-weight: 650; }
.of-contact__account-note { max-width: 36rem; margin: 1.8rem 0 0; color: var(--ofct-muted); font-size: .82rem; line-height: 1.7; }
.of-contact__account-note strong { color: var(--ofct-ink); font-weight: 650; }
.of-contact__card { padding: clamp(1.7rem, 3.4vw, 3rem); border: 1px solid var(--ofct-line); border-radius: 1rem; background: #fff; box-shadow: 0 1.3rem 3.5rem rgba(84, 50, 37, .07); }
.of-contact__card-head { padding-bottom: 1.4rem; border-bottom: 1px solid var(--ofct-line); }
.of-contact__card-index { display: grid; width: 3.2rem; height: 3.2rem; margin-bottom: 1.5rem; place-items: center; border: 1px solid #e6c7bb; border-radius: 50%; color: var(--ofct-coral); font: italic 1.35rem Georgia, serif; }
.of-contact__card h2 { margin-top: .4rem; font-size: clamp(2.1rem, 3vw, 2.9rem); line-height: 1.1; }
.of-contact__card-head > p:last-child { margin: .65rem 0 0; color: var(--ofct-muted); font-size: .87rem; line-height: 1.6; }
.of-contact__required { margin: 1.4rem 0 1.2rem; color: var(--ofct-muted); font-size: .75rem; }
.of-contact__required span, .of-contact__field label > span:not(.of-contact__optional) { color: var(--ofct-coral); }
.of-contact__fields { display: grid; gap: 1.25rem; }
.of-contact__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.of-contact__field { display: flex; min-width: 0; flex-direction: column; gap: .5rem; }
.of-contact__field label { color: var(--ofct-ink); font-size: .8rem; font-weight: 700; }
.of-contact__optional { color: var(--ofct-muted); font-weight: 400; }
.of-contact__field input, .of-contact__field select, .of-contact__field textarea { width: 100%; min-width: 0; border: 1px solid #ddc7bc; border-radius: .45rem; background: #fff; color: var(--ofct-ink); font: inherit; font-size: .86rem; line-height: 1.45; }
.of-contact__field input, .of-contact__field select { min-height: 2.9rem; padding: .65rem .85rem; }
.of-contact__field textarea { min-height: 9.5rem; padding: .75rem .85rem; resize: vertical; }
.of-contact__field input::placeholder, .of-contact__field textarea::placeholder { color: #8c7a72; opacity: 1; }
.of-contact__field :is(input, select, textarea):focus-visible, .of-contact__breadcrumb a:focus-visible, .of-contact__privacy a:focus-visible { outline: 2px solid var(--ofct-coral); outline-offset: 2px; }
.of-contact__privacy { margin: .15rem 0 0; color: var(--ofct-muted); font-size: .76rem; line-height: 1.65; }
.of-contact__privacy a { color: var(--ofct-coral); text-underline-offset: .18em; }
.of-contact__actions { display: flex; align-items: center; flex-wrap: wrap; gap: .8rem 1.2rem; padding-top: .15rem; }
.of-contact__submit { min-height: 3rem; padding: .75rem 1.4rem; border: 1px solid var(--ofct-coral); border-radius: .5rem; background: var(--ofct-coral); color: white; font: inherit; font-size: .8rem; font-weight: 800; }
.of-contact__submit:disabled { opacity: .65; cursor: not-allowed; }
.of-contact__actions p { flex: 1 1 13rem; margin: 0; color: var(--ofct-muted); font-size: .76rem; line-height: 1.55; }
@media (max-width: 56rem) { .of-contact__grid { grid-template-columns: 1fr; gap: 2.5rem; } .of-contact__intro { padding-top: 0; } .of-contact__intro h1 { max-width: 20ch; } }
@media (max-width: 35rem) { .of-contact { padding: 1.25rem 1rem 4rem; } .of-contact__breadcrumb { margin-bottom: 1.5rem; } .of-contact__intro h1 { font-size: clamp(2.7rem, 11vw, 3.6rem); } .of-contact__row { grid-template-columns: 1fr; } .of-contact__card { padding: 1.4rem; } }

/* Paginas institucionais publicas — onda 8.4.2. */
.of-institutional {
  --ofi-ink: #2b211d;
  --ofi-muted: #705e55;
  --ofi-accent: #a94e3c;
  --ofi-line: #ead9d0;
  min-height: 40rem;
  padding: 1.6rem 1.25rem clamp(4rem, 7vw, 7rem);
  background: radial-gradient(circle at 8% 10%, rgba(211, 127, 100, .07), transparent 34rem), #fdf9f5;
  color: var(--ofi-ink);
}
.of-institutional *, .of-institutional *::before, .of-institutional *::after { box-sizing: border-box; }
.of-institutional__shell { width: min(100%, 75rem); margin: 0 auto; }
.of-institutional__breadcrumb { display: flex; align-items: center; gap: .65rem; margin-bottom: 1.8rem; color: var(--ofi-muted); font-size: .8rem; }
.of-institutional__breadcrumb a { color: var(--ofi-accent); text-decoration: none; }
.of-institutional__breadcrumb a:hover { text-decoration: underline; }
.of-institutional__hero { position: relative; overflow: hidden; padding: clamp(2rem, 5.1vw, 4.7rem); border: 1px solid var(--ofi-line); border-radius: 1.15rem; background: radial-gradient(circle at 88% 0%, #fae8e0, transparent 29rem), #fffdfb; box-shadow: 0 1.2rem 3rem rgba(84, 50, 37, .055); }
.of-institutional__hero::after { position: absolute; top: -7rem; right: -5rem; width: 24rem; height: 24rem; border: 1px solid rgba(169, 78, 60, .15); border-radius: 50%; content: ''; pointer-events: none; }
.of-institutional__eyebrow, .of-institutional__label { margin: 0; color: var(--ofi-accent); font-size: .69rem; font-weight: 800; letter-spacing: .16em; }
.of-institutional__hero h1, .of-institutional__section h2 { margin: 0; color: var(--ofi-ink); font-family: var(--of-serif, Georgia, serif); font-weight: 400; letter-spacing: -.052em; }
.of-institutional__hero h1 { position: relative; z-index: 1; max-width: 17ch; margin-top: 1rem; font-size: clamp(2.7rem, 5vw, 4.9rem); line-height: 1.07; }
.of-institutional__hero h1 em { color: var(--ofi-accent); font-weight: 400; }
.of-institutional__hero > p:last-child { position: relative; z-index: 1; max-width: 47rem; margin: 1.5rem 0 0; color: var(--ofi-muted); font-size: .96rem; line-height: 1.75; }
.of-institutional__layout { display: grid; grid-template-columns: minmax(11rem, 15rem) minmax(0, 1fr); align-items: start; gap: clamp(1.3rem, 3.4vw, 3.3rem); margin-top: 1.25rem; }
.of-institutional__index { position: sticky; top: 6.5rem; display: grid; gap: .2rem; padding: 1.4rem 1rem; border: 1px solid var(--ofi-line); border-radius: .8rem; background: #fffdfb; }
.of-institutional__index > p { margin: 0 0 .8rem; padding-left: .6rem; color: var(--ofi-accent); font-size: .64rem; font-weight: 800; letter-spacing: .15em; }
.of-institutional__index a { padding: .55rem .6rem; border-radius: .35rem; color: var(--ofi-muted); font-size: .8rem; line-height: 1.45; text-decoration: none; }
.of-institutional__index a:hover { background: #faf0ea; color: var(--ofi-accent); }
.of-institutional__sections { display: grid; gap: 1rem; }
.of-institutional__section { display: grid; grid-template-columns: 2.6rem minmax(0, 1fr); gap: 1rem; padding: clamp(1.5rem, 3vw, 2.6rem); scroll-margin-top: 6.5rem; border: 1px solid var(--ofi-line); border-radius: .8rem; background: #fff; box-shadow: 0 .65rem 1.9rem rgba(84, 50, 37, .04); }
.of-institutional__number { display: grid; width: 2.45rem; height: 2.45rem; place-items: center; border: 1px solid #e6c7bb; border-radius: 50%; color: var(--ofi-accent); font: 1rem var(--of-serif, Georgia, serif); }
.of-institutional__section h2 { margin: .35rem 0 1.1rem; font-size: clamp(1.75rem, 2.7vw, 2.55rem); line-height: 1.12; }
.of-institutional__section p, .of-institutional__section li { color: var(--ofi-muted); font-size: .88rem; line-height: 1.76; }
.of-institutional__section p { margin: 0 0 .85rem; }
.of-institutional__section p:last-child { margin-bottom: 0; }
.of-institutional__section ul { margin: .3rem 0 0; padding-left: 1.3rem; }
.of-institutional__section li { padding-left: .15rem; margin-bottom: .65rem; }
.of-institutional__section li:last-child { margin-bottom: 0; }
.of-institutional__section li::marker { color: var(--ofi-accent); }
.of-institutional__section strong { color: var(--ofi-ink); font-weight: 700; }
.of-institutional__section a { color: var(--ofi-accent); font-weight: 700; text-underline-offset: .16em; }
.of-institutional a:focus-visible { outline: 2px solid var(--ofi-accent); outline-offset: 3px; }
@media (max-width: 55rem) {
  .of-institutional__layout { grid-template-columns: 1fr; }
  .of-institutional__index { position: static; display: flex; flex-wrap: wrap; gap: .2rem .5rem; padding: .8rem; }
  .of-institutional__index > p { flex: 1 0 100%; margin-bottom: .2rem; }
  .of-institutional__index a { padding: .45rem .6rem; }
}
@media (max-width: 35rem) {
  .of-institutional { padding: 1.25rem 1rem 4rem; }
  .of-institutional__hero { padding: 1.7rem; }
  .of-institutional__hero::after { width: 16rem; height: 16rem; }
  .of-institutional__hero h1 { font-size: clamp(2.4rem, 10vw, 3.25rem); }
  .of-institutional__section { grid-template-columns: 1fr; gap: .55rem; padding: 1.45rem; }
}
