@font-face {
  font-family: 'IBM Plex Mono';
  src: url("../fonts/ibm-plex-mono-regular.765bec38100d.ttf") format('truetype');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Jost';
  src: url("../fonts/jost-regular.a30ea6851b11.ttf") format('truetype');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Instrument Serif';
  src: url("../fonts/instrument-serif-regular.5eb8d8adf794.ttf") format('truetype');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/manrope-latin.101877a7a906.woff2") format('woff2');
}
:root {
  color-scheme: light;
  --canvas: #f4f6fa;
  --text: #162b50;
  --primary: #2457d6;
  --warm: #e8edf7;
  --success: #28603b;
  --success-soft: #e4f5e8;
  --text-muted: #53627b;
  --border: #b4c3db;
  --surface: #ffffff;
  --error: #9e342d;
  --radius: 1rem;
  --control-border: #77869e;
  --focus: #173f9f;
  --error-surface: #faece8;
  --warning: #765019;
  --warning-surface: #f6eedc;
  --disabled-surface: #e4e9f1;
  --menu-shadow: 0 14px 36px #162b5029;
  --overlay: #162b5070;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.65;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  color: var(--text);
  background: var(--canvas);
}
[hidden] {
  display: none !important;
}
a {
  color: var(--primary);
  text-underline-offset: 0.22em;
}
a:hover {
  text-decoration-thickness: 2px;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
.button,
summary,
nav a {
  min-height: 44px;
}
button,
.button {
  cursor: pointer;
}
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}
input:focus-visible,
select:focus-visible {
  outline-offset: 2px;
}
h1,
h2,
h3 {
  line-height: 1.18;
  font-weight: 600;
  overflow-wrap: anywhere;
}
h1,
h2 {
  font-family: var(--font-display);
  letter-spacing: -0.035em;
}
h1 {
  font-size: clamp(2.1rem, 5vw, 3.8rem);
  margin: 0 0 1.3rem;
}
h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.7rem);
  margin: 0 0 1rem;
}
h3 {
  font-size: 1.25rem;
  margin: 0 0 0.7rem;
}
p {
  margin: 0 0 1.25rem;
}
img,
svg {
  max-width: 100%;
}
.wrap {
  width: min(1160px, calc(100% - 48px));
  margin-inline: auto;
}
.readable {
  max-width: 680px;
}
.narrow {
  max-width: 580px;
  margin-inline: auto;
}
.section {
  padding-block: clamp(2.5rem, 6vw, 5rem);
}
.stack > * + * {
  margin-top: 1.25rem;
}
.eyebrow {
  color: var(--success);
  font-weight: 650;
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.lead {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 56ch;
}
.muted,
.help {
  color: var(--text-muted);
}
.help {
  font-size: 1rem;
  margin-block: 0.4rem 0;
}
.skip {
  position: fixed;
  top: -100px;
  left: 1rem;
  z-index: 100;
  padding: 0.8rem 1rem;
  background: var(--text);
  color: white;
  border-radius: 0.6rem;
}
.skip:focus {
  top: 1rem;
}
.site-header {
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  min-height: 96px;
}
.brand {
  display: inline-flex;
  gap: 0.7rem;
  align-items: center;
  color: var(--primary);
  text-decoration: none;
  line-height: 1.1;
  flex-shrink: 0;
}
.brand-mark {
  width: 38px;
  height: 44px;
}
.brand small {
  display: block;
  color: var(--text);
  font-size: 0.8rem;
  letter-spacing: 0.09em;
  margin-bottom: 0.2rem;
}
.brand strong {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 500;
}
.header-links,
.actions {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}
.header-links a {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem;
}
.button,
button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 0.6rem;
  padding: 0.8rem 1.3rem;
  border: 1px solid var(--primary);
  border-radius: 999px;
  background: var(--primary);
  color: var(--surface);
  font-weight: 600;
  text-decoration: none;
  line-height: 1.4;
}
.button:hover,
button:hover {
  background: var(--primary-hover);
  color: var(--surface);
}
.button.secondary,
button.secondary {
  background: transparent;
  color: var(--primary);
}
.button.secondary:hover,
button.secondary:hover {
  background: var(--warm);
}
.button.danger,
button.danger {
  background: var(--error);
  border-color: var(--error);
}
button:disabled,
button:disabled:hover,
select:disabled {
  cursor: default;
  opacity: 1;
  background: var(--disabled-surface);
  color: var(--text-muted);
  border-color: var(--control-border);
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 3vw, 2rem);
  min-width: 0;
}
.card.soft {
  background: var(--warm);
  border-color: transparent;
}
.card.green {
  background: var(--success-soft);
  border-color: transparent;
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}
.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.badge {
  display: inline-block;
  border: 1px solid currentColor;
  color: var(--success);
  border-radius: 999px;
  padding: 0.2rem 0.7rem;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}
.field {
  margin-bottom: 1.35rem;
}
label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.4rem;
}
input:not([type='checkbox']),
select,
textarea {
  width: 100%;
  min-height: 50px;
  border: 1px solid var(--control-border);
  border-radius: 0.7rem;
  background: var(--surface);
  color: var(--text);
  padding: 0.65rem 0.85rem;
}

input[aria-invalid='true'],
select[aria-invalid='true'] {
  border: 2px solid var(--error);
}
.field-error {
  color: var(--error);
  margin: 0.5rem 0 0;
}
.error-summary {
  border: 2px solid var(--error);
  border-radius: 1rem;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}
.error-summary h2 {
  font:
    600 1.25rem/1.4 -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
  letter-spacing: normal;
}
.notice {
  padding: 1rem 1.25rem;
  border: 1px solid var(--success);
  border-radius: 1rem;
  background: var(--success-soft);
  margin-bottom: 1.5rem;
}
.notice.error {
  color: var(--error);
  background: var(--error-surface);
  border-color: var(--error);
}
.notice p:last-child,
.card p:last-child {
  margin-bottom: 0;
}
.phone-fields {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 1rem;
}
fieldset {
  border: 0;
  margin: 1.5rem 0;
  padding: 0;
}
legend {
  padding: 0;
  font-weight: 650;
}
.password-control {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}
.password-control input {
  min-width: 0;
  flex: 1 1 140px;
}
.password-control button {
  flex: 0 0 120px;
  overflow-wrap: normal;
  padding: 0.7rem;
  border-radius: 0.7rem;
}
details.disclosure {
  border-bottom: 1px solid var(--border);
  padding-block: 0.5rem;
}
summary {
  cursor: pointer;
  padding: 0.8rem 0;
  font-weight: 600;
}
details.disclosure > div {
  padding: 0.5rem 0 1.3rem;
  max-width: 65ch;
}
.account-menu {
  position: relative;
}
.account-menu summary {
  list-style: none;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.6rem 1rem;
}
.account-menu summary::-webkit-details-marker {
  display: none;
}
.account-menu nav {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 230px;
  z-index: 20;
  box-shadow: var(--menu-shadow);
  padding: 0.7rem;
}
.account-menu nav a {
  display: flex;
  padding: 0.7rem;
  border-radius: 0.5rem;
}
.account-menu nav a:hover {
  background: var(--warm);
}
dialog {
  width: min(520px, calc(100% - 32px));
  padding: 2rem;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
dialog::backdrop {
  background: var(--overlay);
}
dialog h2 {
  font-size: 2rem;
}
.site-footer {
  border-top: 1px solid var(--border);
  padding-block: 2rem;
  margin-top: 3rem;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
}
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.site-footer nav a {
  display: inline-flex;
  align-items: center;
}
@media (max-width: 700px) {
  .wrap {
    width: calc(100% - 32px);
  }
  .header-inner {
    min-height: 84px;
  }
  .brand strong {
    font-size: 1.5rem;
  }
  .brand-mark {
    width: 30px;
  }
  .header-links {
    gap: 0.2rem;
  }
  .grid,
  .grid.two {
    grid-template-columns: 1fr;
  }
  .desktop-only {
    display: none !important;
  }
  .header-links .button {
    padding: 0.6rem 0.8rem;
  }
  .section {
    padding-block: 2.5rem;
  }
}
@media (max-width: 350px) {
  .brand {
    gap: 0.4rem;
  }
  .brand strong {
    font-size: 1.35rem;
  }
  .brand small {
    font-size: 0.7rem;
  }
  .brand-mark {
    width: 24px;
  }
  .account-menu summary {
    padding-inline: 0.65rem;
  }
}
/* O espaçamento entre cards não desloca diálogos na camada superior. */
.stack > dialog {
  margin: auto;
}
.hero {
  display: grid;
  grid-template-columns: 1.12fr 1fr;
  gap: 4rem;
  align-items: center;
  padding-block: 5rem;
}
.hero h1 {
  font-size: clamp(2.65rem, 5.3vw, 4.8rem);
  max-width: 13ch;
  line-height: 1.07;
}
.hero .actions {
  margin-block: 2rem 1rem;
}
.hero-art {
  position: relative;
}
.hero-art img {
  display: block;
  width: 100%;
  height: auto;
}
.hero-note {
  color: var(--success);
  font-family: var(--font-display);
  font-size: 1.1rem;
  text-align: center;
  margin-top: 1rem;
}
.section-heading {
  display: flex;
  gap: 3rem;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 2rem;
}
.section-heading p {
  max-width: 36ch;
}
.area-icon {
  display: block;
  width: 48px;
  height: 48px;
  margin-bottom: 2rem;
  color: var(--primary);
}
.area-card {
  display: flex;
  flex-direction: column;
  align-items: start;
}
.area-card h3 {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 500;
}
.area-card p {
  color: var(--text-muted);
}
.area-card a {
  margin-top: auto;
}
.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
}
.steps li {
  counter-increment: step;
}
.steps li::before {
  content: '0' counter(step);
  display: block;
  color: var(--primary);
  font-family: var(--font-display);
  font-size: 2rem;
  margin-bottom: 1rem;
}
.belonging {
  border-radius: 48% 48% 2rem 2rem / 18% 18% 2rem 2rem;
  background: var(--success-soft);
  padding: 4rem 2rem;
  text-align: center;
}
.belonging h2 {
  max-width: 18ch;
  margin-inline: auto;
}
.belonging p {
  max-width: 55ch;
  margin-inline: auto;
}
.faq-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 4rem;
}
.legal h2 {
  font-size: 1.8rem;
  margin-top: 2rem;
}
.legal li {
  margin-bottom: 0.6rem;
}
.public-footer {
  font-size: 1rem;
}
.public-footer .footer-note {
  width: 100%;
  color: var(--text-muted);
  font-size: 0.875rem;
}
@media (max-width: 850px) {
  .hero {
    gap: 2rem;
  }
  .hero h1 {
    font-size: 3rem;
  }
  .hero-art {
    min-width: 0;
  }
  .faq-layout {
    gap: 2rem;
  }
}
@media (max-width: 700px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-block: 2.5rem;
  }
  .hero h1 {
    font-size: clamp(2.5rem, 10vw, 3.5rem);
    max-width: 14ch;
  }
  .hero-art {
    max-width: 400px;
    margin-inline: auto;
  }
  .hero .actions {
    gap: 0.8rem;
  }
  .hero .actions .button {
    width: 100%;
  }
  .section-heading {
    display: block;
  }
  .faq-layout {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .belonging {
    padding: 3rem 1.3rem;
  }
  .area-icon {
    margin-bottom: 1rem;
  }
}
.phone-fields {
  margin-top: 1rem;
}
.phone-fields label {
  min-height: 3.3em;
}

.city-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.city-heading h1 {
  margin-top: 0.2em;
  overflow-wrap: anywhere;
}
.area-nav {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--border);
  padding-block: 1rem;
}
.area-nav a {
  overflow-wrap: normal;
  padding: 0.8rem 1.1rem;
  min-height: 48px;
  border-radius: 14px;
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
}
.area-nav a[aria-current] {
  background: var(--primary);
  color: white;
}
.group-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 1.5rem;
}
.group-grid h3 {
  font-size: 1.65rem;
  overflow-wrap: anywhere;
}
.future-space {
  max-width: 48rem;
}
.community-shell {
  padding-bottom: 3rem;
}
@media (max-width: 600px) {
  .area-nav {
    position: fixed;
    z-index: 20;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--canvas);
    border-top: 1px solid var(--surface-border);
    border-bottom: 0;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 0.2rem;
    padding: 0.5rem 0.5rem calc(0.5rem + env(safe-area-inset-bottom));
  }
  .area-nav a {
    font-size: 0.875rem;
    padding: 0.8rem 0.35rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .community-shell {
    padding-bottom: 6rem;
  }
  body:has(.area-nav) .site-footer {
    padding-bottom: 7rem;
  }
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
@media (max-width: 600px) {
  .area-nav a {
    font-size: 1rem;
  }
}
@media (max-width: 600px) {
  html:has(.area-nav) {
    scroll-padding-bottom: 7rem;
  }
  .community-shell a,
  .community-shell button {
    scroll-margin-bottom: 7rem;
  }
}

.filter-form {
  display: grid;
  gap: 0.7rem;
  max-width: 40rem;
  padding-block: 1rem;
}
.management-nav a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
}
.break-word {
  overflow-wrap: anywhere;
}
.t-modal {
  max-height: 85dvh;
  overflow-y: auto;
}
.t-modal h2,
.card h2 {
  overflow-wrap: anywhere;
}
/* Alvos de toque do projeto, inclusive links de texto e retornos de formulário. */
a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  max-width: 100%;
  vertical-align: baseline;
}
a {
  min-width: 44px;
}
/* Reflow com ampliação: cabeçalho pode ocupar duas linhas, sem reduzir o texto. */
.header-inner {
  flex-wrap: wrap;
  padding-block: 0.5rem;
}
body {
  overflow-wrap: anywhere;
}
button {
  max-width: 100%;
}

@media (max-width: 480px) {
  .phone-fields {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Sistema compartilhado: leitura editorial no público, tarefas no produto. */
:root {
  --radius: 1rem;
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: 4rem;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Manrope', sans-serif;
  --accent-light: #c4d4ff;
  --navy: #15294c;
  --coral: #ef7653;
  --blue-soft: #eaf0ff;
  --primary-hover: #183fa5;
  --surface-border: #d5deed;
}
::selection {
  background: var(--warm);
  color: var(--text);
}
input,
textarea {
  caret-color: var(--primary);
}
input::placeholder,
textarea::placeholder {
  color: var(--text-muted);
  opacity: 1;
}
button {
  appearance: none;
}
button,
a,
summary {
  touch-action: manipulation;
}
h1,
h2,
h3 {
  text-wrap: balance;
}
h1,
h2 {
  letter-spacing: -0.03em;
}
:target {
  scroll-margin-top: 1.5rem;
}
body {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}
main {
  flex: 1;
}
.site-header {
  background: var(--surface);
  border-color: var(--surface-border);
}
.header-inner {
  min-height: 88px;
}
.button,
button {
  border-radius: 0.75rem;
  padding: 0.85rem 1.25rem;
}
.button:active,
button:active {
  background: var(--primary-hover);
}
button[aria-disabled='true'] {
  cursor: progress;
}
.full-width {
  width: 100%;
}
.card {
  border-color: var(--surface-border);
}
.field {
  margin-bottom: 1.25rem;
}
input:not([type='checkbox']),
select,
textarea {
  min-height: 52px;
}
.password-control {
  gap: 0.5rem;
  align-items: stretch;
}
.password-control button {
  flex-basis: 152px;
  min-height: 52px;
  padding: 0.6rem;
  font-size: 0.875rem;
  white-space: nowrap;
}
.phone-fields {
  grid-template-columns: minmax(90px, 0.65fr) minmax(0, 1.35fr);
  gap: 1rem;
}
.phone-fields label {
  min-height: 0;
}
.phone-fields {
  align-items: end;
}
.optional-phone {
  margin-block: 1rem;
  border-top: 1px solid var(--surface-border);
}
.optional-phone fieldset {
  border: 0;
  padding: 0;
  margin: 0;
}
.optional-phone legend {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.optional-phone > div {
  padding-bottom: 1rem;
}
.phone-fields .field {
  margin: 0;
}
.optional-fields {
  border-top: 1px solid var(--surface-border);
  padding-top: 1rem;
  margin-block: 1.5rem;
}
.optional-fields legend {
  padding-right: 0.75rem;
}
.optional-fields > .help:last-child {
  margin-top: 1rem;
}
.terms-note {
  margin-block: 1rem 1.25rem;
}
.back-link {
  margin-bottom: 1rem;
}
.notice {
  border-color: var(--success);
}
.t-modal {
  overscroll-behavior: contain;
}
.site-footer {
  border-color: var(--surface-border);
}

/* Landing: destaque para grupos, seguido dos espaços em preparação. */
.landing .hero {
  grid-template-columns: 1.05fr 1fr;
  gap: 4rem;
  padding-block: 4rem 4.5rem;
}
.landing .hero h1 {
  font-size: clamp(2.8rem, 4.6vw, 4.15rem);
  max-width: 18ch;
  font-weight: 500;
  line-height: 1.08;
}
.landing .hero .lead {
  color: var(--primary);
  font-size: 1.35rem;
  max-width: 29ch;
}
.landing .hero .readable {
  max-width: none;
}
.landing .hero-art {
  align-self: center;
  margin: 0;
}
.landing .hero-art img {
  aspect-ratio: 1;
  border-radius: 0.25rem;
  background: var(--warm);
}
.landing .hero-note {
  font-size: 1rem;
  max-width: 38ch;
  margin: 1rem auto 0;
  line-height: 1.5;
}
.landing .hero .help {
  max-width: 47ch;
}
.landing .section {
  padding-block: 3.5rem;
}
.landing .section h2 {
  font-weight: 500;
}
/* Relatos em destaque; Escolas e Terapias completam as referências. */
.areas-layout {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 0 3rem;
}
.area-feature {
  grid-column: 1;
  grid-row: 1 / span 2;
  background: var(--success);
  color: var(--surface);
  border-radius: var(--radius);
  padding: 2.5rem;
}
.area-feature .area-icon,
.area-feature a,
.area-feature p {
  color: var(--surface);
}
.area-feature h3 {
  font-size: 2rem;
}
.area-feature a {
  gap: 0.4rem;
  margin-top: 1.5rem;
  font-weight: 650;
}
.area-future {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--surface-border);
}
.area-future .badge {
  margin-bottom: 0.75rem;
  background: var(--success-soft);
  border: none;
}
.area-future p:last-child {
  margin-bottom: 0;
}
.landing .steps {
  margin-top: 2rem;
  gap: 2.5rem;
}
.landing .steps li {
  border-top: 1px solid var(--border);
  padding-top: 1.25rem;
}
.landing .steps li::before {
  margin-bottom: 0.75rem;
  font-size: 1.5rem;
}
.landing .belonging {
  padding: 3.5rem 2rem;
  border-radius: var(--radius);
  background: var(--warm);
}
.landing .belonging h2 {
  max-width: 24ch;
  font-weight: 500;
}
.landing .faq-layout h2 {
  font-weight: 500;
}
.disclosure summary {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  list-style: none;
}
.disclosure summary::-webkit-details-marker {
  display: none;
}
.disclosure summary .chevron {
  flex-shrink: 0;
  color: var(--primary);
  margin-top: 0.2rem;
}
.disclosure[open] summary {
  color: var(--primary);
}

/* Cadastro: contexto ao lado do formulário no desktop. */
.auth-layout {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  align-items: start;
  gap: 5rem;
  max-width: 1060px;
}
.auth-intro {
  padding-top: 1rem;
}
.auth-intro h1 {
  font-size: 3.25rem;
  font-weight: 500;
  max-width: 12ch;
}
.auth-intro .lead {
  max-width: 32ch;
}
.auth-form {
  padding: 2rem;
}
.journey-preview {
  list-style: none;
  counter-reset: journey;
  padding: 0;
  margin-block: 2.5rem;
}
.journey-preview li {
  counter-increment: journey;
  position: relative;
  padding-left: 3rem;
  margin-block: 1.5rem;
}
.journey-preview li::before {
  content: counter(journey);
  position: absolute;
  left: 0;
  top: 0.1rem;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--success);
  font-weight: 650;
}
.journey-preview strong,
.journey-preview span {
  display: block;
}
.journey-preview span {
  color: var(--text-muted);
}
.auth-return {
  border-top: 1px solid var(--surface-border);
  padding-top: 1rem;
}
.login-layout {
  max-width: 500px;
}
.login-layout h1 {
  font-size: 2.75rem;
  font-weight: 500;
}

/* Produto: títulos de tarefa, navegação consistente e rodapé discreto. */
.private-page .wrap.narrow {
  max-width: 620px;
}
.private-page h1,
.private-page h2 {
  font-family: var(--font-body);
  letter-spacing: -0.025em;
}
.private-page h1 {
  font-size: 2.25rem;
  line-height: 1.2;
  max-width: 27ch;
}
.private-page h2 {
  font-size: 1.5rem;
  line-height: 1.3;
}
.private-page h3 {
  font-size: 1.25rem;
}
.private-page .section {
  padding-block: 2.5rem;
}
.member-header {
  margin-inline-start: auto;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.member-header > a {
  color: var(--text-muted);
}
.account-menu summary {
  border-color: var(--border);
  border-radius: 0.75rem;
  background: var(--surface);
}
.account-menu[open] summary {
  background: var(--success-soft);
}
.account-menu nav {
  border: 0;
  border-radius: 0.75rem;
  width: 260px;
  max-width: calc(100vw - 32px);
}
.account-menu nav a {
  color: var(--text);
  text-decoration: none;
}
.account-menu nav form {
  border-top: 1px solid var(--surface-border);
  padding-top: 0.5rem;
  margin-top: 0.5rem;
}
.account-menu nav button {
  width: 100%;
}
.member-footer {
  margin-top: 2rem;
  padding-block: 1.25rem;
}
.member-footer .footer-inner {
  align-items: center;
  gap: 0.5rem 2rem;
}
.member-footer p {
  margin-bottom: 0;
}
.member-footer nav {
  gap: 1rem;
}
.page-intro {
  margin-bottom: 2rem;
}
.city-choice .page-intro {
  max-width: 700px;
}
.city-list {
  border-top: 1px solid var(--border);
}
.city-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 0;
}
.city-option h2 {
  margin-bottom: 0;
}
.city-option form {
  flex-shrink: 0;
  max-width: 100%;
}
.request-invitation {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 3rem;
  background: var(--success-soft);
  border-radius: 1rem;
  padding: 2rem;
  margin-top: 2.5rem;
}
.request-invitation h2 {
  max-width: 26ch;
}
.request-invitation p {
  max-width: 48ch;
  margin-bottom: 0;
}
.request-invitation .stack {
  display: flex;
  flex-direction: column;
  align-items: start;
}
.request-state {
  color: var(--success);
  font-weight: 600;
}
.city-heading {
  border-bottom: 1px solid var(--surface-border);
  padding-bottom: 1rem;
}
.city-heading h1 {
  margin: 0;
}
.area-nav {
  border-bottom: 1px solid var(--surface-border);
  margin-top: 0;
  padding-block: 0.75rem;
}
.area-nav a {
  color: var(--text-muted);
  font-weight: 600;
  border-radius: 0.65rem;
}
.area-nav a:hover {
  background: var(--warm);
  color: var(--primary);
}
.area-nav a[aria-current] {
  background: var(--primary);
  color: var(--surface);
}
.community-content {
  padding-top: 0.5rem;
}
.community-content > .readable {
  max-width: 70ch;
}
.community-content > .notice {
  max-width: none;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  color: var(--text-muted);
  font-size: 1rem;
}
.community-content > .notice p {
  max-width: 85ch;
}
.group-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.group-card {
  display: flex;
  flex-direction: column;
  align-items: start;
  padding: 1.5rem;
}
.group-card .group-location {
  color: var(--text-muted);
  margin: 0 0 0.5rem;
  font-size: 1rem;
}
.group-card h3 {
  margin-top: 0;
  margin-bottom: 1.5rem;
  font-size: 1.35rem;
}
.group-card .button {
  margin-top: auto;
}
.group-card .help {
  margin-top: 0.5rem;
}
.future-space,
.empty {
  background: var(--success-soft);
  border: none;
  border-radius: 1rem;
  padding: 2rem;
  margin-block: 1.5rem;
}
.future-space .badge {
  margin: 0;
}

/* Gestão: navegação compartilhada e hierarquia para listas. */
.management-layout {
  display: grid;
  grid-template-columns: 176px minmax(0, 1fr);
  gap: 3rem;
}
.management-sidebar {
  border-right: 1px solid var(--surface-border);
  padding-right: 1.5rem;
}
.management-label {
  font-weight: 650;
  color: var(--text-muted);
  margin: 0 0 1rem;
}
.management-nav {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.management-nav a {
  padding: 0.65rem 0.85rem;
  color: var(--text-muted);
  text-decoration: none;
  border-radius: 0.6rem;
}
.management-nav a:hover {
  background: var(--warm);
  color: var(--primary);
}
.management-nav a[aria-current] {
  background: var(--success-soft);
  color: var(--text);
  font-weight: 700;
}
.management-return {
  font-size: 1rem;
  margin-top: 1.5rem;
}
.management-content {
  min-width: 0;
}
.management-content > h1 {
  margin-top: 0;
}
/* Prévia da foto da cidade nos recortes que o Início usa (member.css). */
.photo-previews {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}
.photo-previews figure {
  margin: 0;
}
.photo-preview {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  object-position: 50% 45%;
}
.photo-preview-wide {
  aspect-ratio: 16 / 10;
}
.photo-preview-narrow {
  aspect-ratio: 2 / 1;
}
.photo-previews figcaption {
  margin-top: 0.25rem;
  color: var(--text-muted);
  font-size: 0.875rem;
}
@media (max-width: 600px) {
  .photo-previews {
    grid-template-columns: 1fr;
  }
}
.management-content > .card {
  padding: 1.5rem;
}
.management-content .card h2 {
  font-size: 1.3rem;
}
.management-content > .card .eyebrow {
  font-size: 1rem;
  letter-spacing: 0;
  text-transform: none;
  margin-bottom: 0.5rem;
}
.management-tasks {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border);
}
.management-task {
  display: grid;
  grid-template-columns: 1fr auto;
  column-gap: 2rem;
  border-bottom: 1px solid var(--border);
  padding-block: 1.5rem;
}
.management-task h2 {
  margin-bottom: 0.5rem;
}
.management-task p {
  grid-column: 1;
  margin: 0;
  color: var(--text-muted);
  max-width: 40ch;
}
.management-task a {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
}
.filter-form {
  max-width: none;
  padding: 1.25rem;
  background: var(--success-soft);
  border-radius: 0.75rem;
  margin-block: 1.5rem;
}
.filter-form label {
  margin-bottom: 0;
}
.filter-form button {
  justify-self: start;
  margin-top: 0.35rem;
}
.management-content time,
.management-content .help {
  font-variant-numeric: tabular-nums;
}

@media (max-width: 950px) {
  .auth-layout {
    gap: 2.5rem;
    grid-template-columns: 0.8fr 1fr;
  }
  .auth-intro h1 {
    font-size: 2.75rem;
  }
  .auth-form {
    padding: 1.5rem;
  }
  .management-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .management-sidebar {
    border: 0;
    padding: 0 0 1rem;
    border-bottom: 1px solid var(--surface-border);
  }
  .management-nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.25rem;
  }
  .management-label,
  .management-return {
    display: none;
  }
  .request-invitation {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}
@media (max-width: 700px) {
  .header-inner {
    min-height: 80px;
  }
  .landing .hero {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding-block: 2.5rem 2rem;
  }
  .landing .hero h1 {
    font-size: 2.85rem;
    max-width: 17ch;
  }
  .landing .hero .lead {
    font-size: 1.2rem;
  }
  .landing .hero-art {
    width: 100%;
  }
  .landing .hero .actions {
    margin-block: 1.5rem 0.5rem;
  }
  .landing .hero .actions .button {
    width: auto;
  }
  .landing .section {
    padding-block: 2rem;
  }
  .areas-layout {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .area-feature {
    grid-column: auto;
    grid-row: auto;
    padding: 1.75rem;
  }
  .area-feature .area-icon {
    margin-bottom: 1rem;
  }
  .area-future {
    padding: 1.25rem 0;
  }
  .landing .steps {
    gap: 1rem;
  }
  .landing .steps li {
    padding-left: 3rem;
    position: relative;
  }
  .landing .steps li::before {
    position: absolute;
    left: 0;
    top: 1rem;
  }
  .landing .belonging {
    padding: 2.5rem 1.5rem;
  }
  .auth-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .auth-intro {
    padding-top: 0;
  }
  .auth-intro h1 {
    max-width: none;
    font-size: 2.5rem;
  }
  .auth-intro .lead {
    margin-bottom: 0.5rem;
  }
  .journey-preview {
    display: flex;
    gap: 0.75rem;
    margin-block: 1.5rem 0.5rem;
  }
  .journey-preview li {
    flex: 1;
    padding: 2.5rem 0 0;
    margin: 0;
    font-size: 1rem;
  }
  .journey-preview li::before {
    top: 0;
  }
  .journey-preview li span {
    display: none;
  }
  .auth-return {
    margin: 0;
    padding-top: 0.5rem;
    border: none;
  }
  .auth-form {
    padding: 1.25rem;
  }
  .auth-page .section {
    padding-block: 2rem;
  }
  .private-page h1 {
    font-size: 1.85rem;
  }
  .private-page h2 {
    font-size: 1.35rem;
  }
  .private-page .section {
    padding-block: 1.75rem;
  }
  .member-header {
    gap: 0;
  }
  .city-option {
    flex-wrap: wrap;
    gap: 1rem;
  }
  .city-option form,
  .city-option button {
    width: 100%;
  }
  .request-invitation {
    padding: 1.5rem;
    margin-top: 2rem;
  }
  .request-invitation .button {
    text-align: center;
  }
  .city-heading {
    gap: 0.75rem;
  }
  .city-heading .button {
    padding: 0.6rem 0.85rem;
  }
  .group-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .group-card .button {
    width: 100%;
  }
  .future-space,
  .empty {
    padding: 1.5rem;
  }
  .management-task {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  .management-task a {
    grid-column: 1;
    grid-row: auto;
    justify-self: start;
    margin-top: 0.5rem;
  }
  .management-nav a {
    padding-inline: 0.7rem;
  }
  .member-footer .footer-inner {
    display: block;
  }
  .member-footer p span {
    display: block;
  }
}
@media (max-width: 600px) {
  .area-nav {
    margin-top: 0;
    padding: 0.5rem 0.5rem calc(0.5rem + env(safe-area-inset-bottom));
    border-top: 1px solid var(--border);
    background: var(--surface);
  }
  .private-page .community-shell {
    padding-bottom: 6rem;
  }
  .area-nav a {
    min-height: 52px;
  }
}
@media (max-width: 380px) {
  .phone-fields {
    grid-template-columns: 1fr;
  }
  .password-control input {
    flex-basis: 100%;
  }
  .password-control button {
    margin-left: auto;
  }
  .landing .hero h1 {
    font-size: 2.5rem;
  }
}

/* Lucide: uma família funcional, separada da marca. */
.icon {
  width: 20px;
  height: 20px;
  display: inline-block;
  flex: 0 0 auto;
  vertical-align: -0.2em;
}
.area-icon {
  width: 32px;
  height: 32px;
  margin-bottom: 1.5rem;
}
.area-icon .icon {
  width: 32px;
  height: 32px;
}
.area-feature a {
  display: inline-flex;
  align-items: center;
}
.area-feature :focus-visible {
  outline-color: var(--surface);
}
.account-menu .chevron {
  display: inline-flex;
}
.account-menu[open] > summary .chevron {
  transform: rotate(180deg);
}

/* Identidade contemporânea: encontro, azul profundo e coral pontual. */
.brand {
  gap: 0.75rem;
  color: var(--primary);
}
.brand-mark {
  width: 52px;
  height: 52px;
}
.brand small {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 650;
  letter-spacing: 0.02em;
  color: var(--text);
  margin-bottom: 0;
}
.brand strong {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.15rem;
  letter-spacing: -0.04em;
}
.header-inner {
  min-height: 96px;
}
.header-links a,
.member-header > a {
  color: var(--primary);
  font-weight: 650;
  text-decoration: none;
  border-radius: 0.5rem;
  padding: 0.65rem 1rem;
}
.header-links a:hover,
.member-header > a:hover {
  background: var(--blue-soft);
}
.header-links a[href='/entrar/'] {
  background: var(--primary);
  color: var(--surface);
}
.header-links a[href='/entrar/']:hover {
  background: var(--primary-hover);
}
a {
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.25em;
}
a:hover {
  text-decoration-thickness: 2.5px;
}
.button,
button {
  border-radius: 0.5rem;
  border-width: 2px;
  padding: 0.8rem 1.3rem;
  font-weight: 700;
}
.button.secondary,
button.secondary {
  background: var(--surface);
}
.button.secondary:hover,
button.secondary:hover {
  background: var(--blue-soft);
}
.button.secondary:active,
button.secondary:active {
  background: var(--blue-soft);
  color: var(--primary-hover);
}
button:disabled,
button:disabled:hover {
  transition: none;
  background: var(--disabled-surface);
  color: var(--text-muted);
  border-color: var(--control-border);
}
.account-menu summary {
  background: var(--blue-soft);
  border: 1px solid var(--primary);
  color: var(--primary);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
}
.account-menu[open] summary {
  background: var(--primary);
  color: var(--surface);
}
.account-menu nav {
  padding: 0.6rem;
  border-radius: 0.75rem;
}
.account-menu nav a {
  padding: 0.8rem;
  border-radius: 0.4rem;
  font-weight: 600;
}
.account-menu nav a:hover {
  background: var(--blue-soft);
  color: var(--primary);
}
.account-menu nav a:focus-visible {
  background: var(--blue-soft);
}
.landing .hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 4rem;
  margin: 0;
  padding: 4rem 0 3rem;
  background: transparent;
  color: var(--text);
  border-radius: 0;
  text-align: left;
}
.landing .hero h1 {
  text-wrap: balance;
  font-family: var(--font-display);
  color: var(--text);
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  font-weight: 750;
  line-height: 1.12;
  letter-spacing: -0.04em;
  max-width: 18ch;
  margin: 0 0 1.5rem;
}
.landing .hero .lead {
  color: var(--primary-hover);
  font-size: 1.25rem;
  max-width: none;
}
.landing .hero .help {
  max-width: none;
  color: var(--text-muted);
}
.landing .hero .actions {
  margin-block: 1.5rem 1rem;
}
.landing .hero .actions > a:not(.button) {
  color: var(--primary);
  font-weight: 650;
}
.landing .hero :focus-visible {
  outline-color: var(--text-muted);
}
.landing .hero-art {
  margin: 0;
  width: 100%;
}
.landing .hero-art img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 0.5rem;
}
.landing .hero-note {
  max-width: none;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 0.9375rem;
}
.landing .section h2,
.auth-intro h1 {
  font-weight: 750;
}
.landing .section-heading h2 {
  color: var(--primary-hover);
}
.area-feature {
  background: var(--primary);
}
.area-feature h3,
.area-card h3 {
  font-family: var(--font-display);
  font-weight: 750;
}
.area-feature .area-icon {
  color: var(--accent-light);
}
.area-feature a {
  color: var(--surface);
}
.area-future {
  padding: 1.5rem;
  border: 1px solid var(--surface-border);
  border-radius: 1rem;
  background: var(--warm);
}
.area-future + .area-future {
  background: var(--surface);
}
.areas-layout {
  gap: 1rem 1.5rem;
}
.area-future .badge {
  background: var(--surface);
  color: var(--text);
  border-radius: 0.3rem;
  font-weight: 650;
}
.landing .steps li {
  border-top: 2px solid var(--border);
}
.landing .steps li::before {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--primary);
}
.landing .belonging {
  background: var(--navy);
  color: var(--surface);
  text-align: left;
  padding: 3rem;
}
.landing .belonging h2 {
  margin-left: 0;
  max-width: 24ch;
}
.landing .belonging p {
  margin-left: 0;
  max-width: 62ch;
}
.disclosure {
  border-color: var(--border);
}
.disclosure summary {
  padding-inline: 0.5rem;
  border-radius: 0.4rem;
}
.disclosure summary:hover {
  background: var(--blue-soft);
}
.disclosure[open] summary {
  background: var(--blue-soft);
  color: var(--primary-hover);
}
.disclosure > div {
  padding-inline: 0.5rem;
}
.auth-intro {
  border-top: 3px solid var(--primary);
  padding-top: 1.5rem;
}
.auth-intro h1 {
  color: var(--primary-hover);
}
.contact-layout .auth-intro {
  border-top: 0;
  padding-top: 0;
}
.contact-layout .auth-intro h1 {
  color: var(--text);
}
.area-nav {
  gap: 0.5rem;
}
.area-nav a {
  background: var(--blue-soft);
  color: var(--primary-hover);
  border-radius: 0.4rem;
}
.area-nav a:hover {
  background: var(--warm);
  color: var(--text);
}
.area-nav a[aria-current] {
  background: var(--primary);
  color: var(--surface);
}
.management-nav a {
  border-radius: 0.4rem;
}
.management-nav a:hover {
  background: var(--blue-soft);
}
.management-nav a[aria-current] {
  background: var(--primary);
  color: var(--surface);
}
.request-invitation {
  background: var(--warm);
}
.future-space {
  background: var(--success-soft);
}
input:not([type='checkbox']),
select,
textarea {
  border-radius: 0.4rem;
}
.public-footer {
  background: var(--navy);
  color: var(--surface);
  border: 0;
  container: public-footer / inline-size;
}
.public-footer .brand,
.public-footer .brand small,
.public-footer .help,
.public-footer a,
.public-footer .footer-note {
  color: var(--surface);
}
.public-footer .brand-mark path:first-child {
  fill: var(--surface);
}
.public-footer a:focus-visible {
  outline-color: var(--accent-light);
}
.public-footer nav a {
  font-weight: 400;
  text-decoration: none;
  gap: 0.625rem;
  min-height: 44px;
}
.public-footer nav a:hover {
  color: var(--accent-light);
}
.public-footer .footer-inner {
  /* A quebra intrínseca mantém os links contidos mesmo no zoom do Firefox. */
  display: flex;
  column-gap: 3rem;
}
.public-footer .footer-brand {
  flex: 1 1 16rem;
}
.public-footer nav {
  flex-direction: column;
  align-items: flex-start;
  justify-self: end;
  gap: 0;
}
.public-footer .footer-note {
  flex: 1 1 100%;
  grid-column: 1 / -1;
  text-align: center;
}
@media (max-width: 700px) {
  .public-footer .footer-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    gap: 1.5rem;
  }
  .public-footer .footer-brand {
    grid-column: 1 / -1;
  }
  .public-footer nav[aria-label='Informações'] {
    justify-self: start;
  }
}
/* O zoom também reduz o espaço disponível sem alterar as media queries. */
@container public-footer (max-width: 700px) {
  .public-footer .footer-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    gap: 1.5rem;
  }
  .public-footer .footer-brand {
    grid-column: 1 / -1;
  }
  .public-footer nav[aria-label='Informações'] {
    justify-self: start;
  }
}
.member-footer {
  background: var(--blue-soft);
}
@media (max-width: 700px) {
  .landing .hero {
    grid-template-columns: 1fr;
    margin-top: 1rem;
    padding: 2rem 0;
    gap: 2rem;
  }
  .landing .hero h1 {
    font-size: clamp(1.9rem, 7.7vw, 2.7rem);
  }
  .landing .hero .lead {
    font-size: 1.125rem;
  }
  .landing .hero .help {
    font-size: 0.9375rem;
  }

  .landing .belonging {
    padding: 2rem 1.5rem;
  }
  .brand {
    gap: 0.5rem;
  }
  .brand-mark {
    width: 36px;
    height: 40px;
  }
  .brand strong {
    font-size: 1.65rem;
  }
  .brand small {
    font-size: 0.6875rem;
  }
  .header-inner {
    min-height: 80px;
  }
  .header-links a {
    padding: 0.6rem 1rem;
  }
  .account-menu summary {
    padding: 0.65rem;
    font-size: 0.875rem;
    gap: 0.4rem;
  }
  .area-future {
    padding: 1.5rem;
  }
}
@media (max-width: 380px) {
  .header-inner {
    gap: 0.5rem;
  }
  .brand strong {
    font-size: 1.45rem;
  }
  .brand-mark {
    width: 32px;
    height: 36px;
  }
}

.landing .belonging :focus-visible {
  outline-color: var(--accent-light);
}
.landing .belonging p {
  color: var(--accent-light);
}
@media (min-width: 701px) and (max-width: 950px) {
  .landing .hero {
    padding: 3rem 0;
    gap: 2rem;
  }
  .landing .hero h1 {
    font-size: 2.3rem;
  }
}

/* Valores tipográficos da referência fornecida pelo proprietário. */
.brand {
  --brand-scale: 1;
  align-items: flex-start;
  gap: calc(16px * var(--brand-scale));
  color: #182a3e;
}
.brand .brand-mark {
  display: block;
  width: calc(56.664px * var(--brand-scale));
  height: calc(56.664px * var(--brand-scale));
  margin-top: calc(1.2043px * var(--brand-scale));
  flex: none;
}
.brand .brand-lettering {
  display: block;
  padding-bottom: calc(6px * var(--brand-scale));
}
.brand .brand-label {
  display: block;
  font-family: 'Jost', system-ui, sans-serif;
  font-size: calc(14px * var(--brand-scale));
  font-weight: 400;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  opacity: 0.75;
  margin: 0 -0.26em 0 0;
  line-height: 1.2;
  color: inherit;
}
.brand .brand-name {
  display: block;
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: calc(48px * var(--brand-scale));
  font-weight: 400;
  letter-spacing: -0.005em;
  line-height: 0.92;
}
.public-footer .brand-ring {
  stroke: #faf7f3;
}
.public-footer .brand-clay {
  fill: #ea8961;
}
.public-footer .brand-gold {
  fill: #eaab57;
}
.public-footer .brand-blue {
  fill: #67a6f1;
}
@media (max-width: 700px) {
  .brand {
    --brand-scale: 0.8;
  }
}
@media (max-width: 380px) {
  .brand {
    --brand-scale: 0.7;
  }
}

/* Assinatura acima do título solicitada explicitamente pelo proprietário. */
.landing .hero-eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  line-height: 1.5;
  color: var(--text-muted);
  margin: 0 0 1rem;
}

.area-heading {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  margin-bottom: 1rem;
}
.area-heading .area-icon {
  flex: 0 0 32px;
  margin-bottom: 0;
}
.area-heading h3 {
  min-width: 0;
  margin: 0;
}

.group-topics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.875rem 1.25rem;
  width: 100%;
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
}
.group-topics li {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}
.group-topics .icon {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
}
.area-feature .group-moderation {
  width: 100%;
  margin: 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgb(255 255 255 / 30%);
}
@media (max-width: 420px) {
  .group-topics {
    grid-template-columns: 1fr;
  }
}

/* No desktop, estes textos curtos acompanham a largura disponível da seção. */
@media (min-width: 951px) {
  .landing .belonging h2,
  .landing .belonging p,
  .city-choice .page-intro,
  .city-choice .page-intro h1,
  .city-choice .page-intro .lead,
  .request-invitation h2,
  .request-invitation p,
  .community-content > .readable,
  .community-content > .notice p {
    max-width: none;
  }
}

/* Proveniência administrativa: códigos longos refluem sem ocultar evidências. */
.school-provenance {
  overflow-wrap: anywhere;
}

.school-confirm {
  display: flex;
  align-items: center;
  gap: var(--space-3, 12px);
  min-height: 44px;
  cursor: pointer;
}
.school-confirm input {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
}

/* Escolhas em cartões (padrão choice card do shadcn/ui, em HTML nativo):
   rádio visível, rótulo inteiro como alvo de toque e estado também por texto. */
.choice-field {
  min-width: 0;
  margin: 0 0 1.5rem;
  padding: 0;
  border: 0;
}
.choice-field > legend {
  padding: 0;
  margin-bottom: 0.4rem;
  font-weight: 600;
}
.choice-field > .help {
  margin: 0 0 0.25rem;
}
.choice-options {
  display: grid;
  gap: 0.5rem;
  margin-top: 0.5rem;
}
.choice-row .choice-options {
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
}
.choice-grid .choice-options {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.choice {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 52px;
  margin: 0;
  padding: 0.65rem 0.9rem;
  border: 1px solid var(--control-border);
  border-radius: 0.7rem;
  background: var(--surface);
  font-weight: 500;
  line-height: 1.35;
  cursor: pointer;
}
.choice:hover {
  border-color: var(--primary);
}
/* Respostas curtas (Sim, Não, Neutra) não quebram no meio da palavra. */
.choice-text {
  overflow-wrap: normal;
  word-break: normal;
}
.choice input[type='radio'] {
  flex: 0 0 auto;
  width: 1.3rem;
  height: 1.3rem;
  min-height: 0;
  margin: 0;
  padding: 0;
  accent-color: var(--primary);
}
.choice:has(input:checked) {
  border-color: var(--primary);
  background: var(--blue-soft);
  box-shadow: inset 0 0 0 1px var(--primary);
  font-weight: 700;
}
.choice:has(input:focus-visible) {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}
.choice:has(input:focus-visible) input {
  outline: none;
}
.choice-field.has-error .choice {
  border-color: var(--error);
}
.choice-field:focus-visible {
  outline-offset: 6px;
}
/* Três ou mais opções só ficam lado a lado quando o grupo tem largura para isso
   (celular estreito ou coluna da revisão administrativa empilham). */
.choice-row {
  container-type: inline-size;
}
@container (max-width: 26rem) {
  .choice-row .choice-options:has(> :nth-child(3)) {
    grid-auto-flow: row;
  }
}
/* Sim/Não lado a lado só enquanto cabem inteiros (ex.: ampliação de 200% no celular). */
@container (max-width: 14rem) {
  .choice-row .choice-options {
    grid-auto-flow: row;
  }
}
@media (max-width: 360px) {
  .choice-grid .choice-options {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Divulgação dentro de formulários: alternativa opcional, nativa sem JS. */
.inline-disclosure {
  margin: -0.5rem 0 1.25rem;
}
.inline-disclosure > summary {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 44px;
  padding: 0.4rem 0;
  color: var(--primary);
  font-weight: 650;
  list-style: none;
}
.inline-disclosure > summary::-webkit-details-marker {
  display: none;
}
.inline-disclosure > summary .chevron {
  display: inline-flex;
}
.inline-disclosure > div {
  padding-top: 0.5rem;
}
.inline-disclosure .field {
  margin-bottom: 0;
}
.back-link {
  gap: 0.4rem;
  font-weight: 600;
}
.back-link .icon {
  width: 18px;
  height: 18px;
}

/* Listas de escolha da área logada: mesma altura dos campos em todos os navegadores
   (o Safari desktop desenhava um controle nativo baixo) e seta visível de "escolher". */
.member-page select:not([multiple]),
[data-city-request] select {
  appearance: none;
  padding-right: 2.75rem;
  background-color: var(--surface);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23162b50' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  background-size: 1.25rem;
  text-overflow: ellipsis;
}
.member-page select:disabled,
[data-city-request] select:disabled {
  background-color: var(--disabled-surface);
}
@media (forced-colors: active) {
  .member-page select:not([multiple]),
  [data-city-request] select {
    appearance: auto;
  }
}

/* Logado: logomarca centrada na altura dos botões do cabeçalho. O espaço reservado
   sob as letras ficava dentro da caixa de toque e empurrava o desenho para cima. */
.site-header:has(.member-header, .area-header) .brand {
  min-height: 44px;
  padding-block: max(0px, calc((44px - 61px * var(--brand-scale)) / 2));
}
.site-header:has(.member-header, .area-header) .brand .brand-lettering {
  padding-bottom: 0;
}
/* Logado em páginas públicas: logomarca e links na mesma linha também no celular. */
.member-label-short {
  display: none;
}
@media (max-width: 479px) {
  .site-header:has(.member-header) .brand {
    --brand-scale: 0.62;
  }
  .site-header .member-header {
    gap: 4px;
  }
  .site-header .member-header > a {
    padding: 0.5rem;
    font-size: 0.9375rem;
  }
}
@media (max-width: 379px) {
  .site-header:has(.member-header) .brand {
    --brand-scale: 0.52;
  }
  .member-label-long {
    display: none;
  }
  .member-label-short {
    display: inline;
  }
}
