:root {
  color-scheme: light;
  font-family: Arial, Helvetica, sans-serif;
  color: #203a36;
  background: #f5f8f6;
  line-height: 1.55;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  min-width: 0;
  margin: 0;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

[hidden] {
  display: none !important;
}

.site-header {
  min-height: 138px;
  padding: 1rem 1.25rem 1.4rem;
  background: #fff url('../fundo1.png') repeat-x left top;
  border-bottom: 1px solid #dbe9e3;
}

.site-header__inner {
  max-width: 900px;
  margin: 0 auto;
  padding-top: 5.2rem;
}

.site-header img {
  display: block;
  width: min(250px, 75vw);
  height: auto;
}

.page-shell {
  width: min(100% - 2rem, 900px);
  margin: 0 auto;
  padding: 2.1rem 0 3.5rem;
}

.page-heading {
  margin-bottom: 1.45rem;
}

.eyebrow,
.step-label {
  margin: 0 0 .45rem;
  color: #00695c;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  color: #00695c;
  line-height: 1.22;
}

h1 {
  margin: 0;
  font-size: clamp(1.85rem, 5vw, 2.65rem);
}

h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.45rem, 4vw, 1.9rem);
}

h3 {
  margin: 0 0 .55rem;
  font-size: 1.04rem;
}

p {
  margin: .7rem 0;
}

.page-heading__text {
  max-width: 64ch;
  color: #4a625d;
}

.panel {
  padding: clamp(1.2rem, 4vw, 2.3rem);
  background: #fff;
  border: 1px solid #dbe9e3;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(17, 63, 54, .06);
}

.information-grid {
  display: grid;
  gap: .8rem;
  margin: 1.45rem 0;
}

.information-block {
  padding: 1rem 1.1rem;
  background: #eaf6ef;
  border-left: 4px solid #52b98d;
  border-radius: 0 10px 10px 0;
}

.information-block--soft {
  background: #f4f7f3;
  border-left-color: #00695c;
}

.information-block p {
  margin-bottom: 0;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: 1.65rem;
}

.actions--split {
  justify-content: space-between;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .7rem 1.3rem;
  border: 2px solid transparent;
  border-radius: 9px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition: background-color .15s ease, border-color .15s ease;
}

.button--primary {
  color: #fff;
  background: #00695c;
}

.button--primary:hover:not(:disabled) {
  background: #005147;
}

.button--secondary {
  color: #00695c;
  background: #fff;
  border-color: #00695c;
}

.button--secondary:hover:not(:disabled) {
  background: #eaf6ef;
}

.button--danger {
  color: #fff;
  background: #9a3131;
}

.button--danger:hover:not(:disabled) {
  background: #7e2525;
}

.button--text {
  min-height: 44px;
  padding: .4rem .65rem;
  color: #00695c;
  background: transparent;
}

.button--text:hover {
  text-decoration: underline;
}

.button:disabled {
  cursor: not-allowed;
  opacity: .55;
}

:focus-visible {
  outline: 3px solid #b36b00;
  outline-offset: 3px;
}

.field {
  margin: 1.2rem 0;
}

.field label {
  display: block;
  margin-bottom: .35rem;
  font-weight: 700;
}

.field input {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: .65rem .8rem;
  color: #203a36;
  background: #fff;
  border: 1px solid #829a94;
  border-radius: 8px;
}

.field input[aria-invalid="true"] {
  border-color: #aa3333;
  box-shadow: 0 0 0 1px #aa3333;
}

.field-error {
  display: block;
  margin-top: .35rem;
  color: #8b2525;
  font-size: .9rem;
}

.password-control {
  display: flex;
  align-items: center;
  gap: .35rem;
}

.password-control input {
  flex: 1 1 auto;
}

.password-control button {
  flex: 0 0 auto;
}

.status-message {
  margin-bottom: 1rem;
  padding: .85rem 1rem;
  color: #184f43;
  background: #e6f4ed;
  border: 1px solid #9acdb7;
  border-radius: 9px;
}

.status-message[data-tone="error"] {
  color: #842626;
  background: #fff0ee;
  border-color: #dbb5b1;
}

.identity-summary {
  display: grid;
  gap: .7rem;
  margin: 1.3rem 0;
}

.identity-summary > div {
  padding: .8rem 1rem;
  background: #f4f8f6;
  border-radius: 8px;
}

.identity-summary dt {
  color: #4a625d;
  font-size: .88rem;
}

.identity-summary dd {
  margin: .2rem 0 0;
  font-weight: 700;
}

.confirmation-notice {
  padding: 1.05rem 1.2rem;
  border: 1px solid #cddfd7;
  border-radius: 10px;
}

.acceptance-control {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  margin-top: 1.4rem;
}

.acceptance-control input {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin: .13rem 0 0;
  accent-color: #00695c;
}

.acceptance-control label {
  font-weight: 600;
}

.site-footer {
  padding: 0 1rem 1rem;
  color: #3b5a53;
  background: #fff;
  border-top: 1px solid #dbe9e3;
  text-align: center;
}

.site-footer::before {
  display: block;
  height: 94px;
  margin: 0 -1rem 1rem;
  background: url('../fundo1.png') repeat-x left top;
  content: '';
}

.site-footer p {
  margin: 0;
  font-size: .85rem;
}

dialog {
  width: min(100% - 2rem, 520px);
  max-height: calc(100dvh - 2rem);
  padding: 0;
  overflow-y: auto;
  color: #203a36;
  background: #fff;
  border: 1px solid #dbe9e3;
  border-radius: 14px;
  box-shadow: 0 18px 60px rgba(18, 43, 39, .23);
}

dialog::backdrop {
  background: rgba(16, 39, 35, .7);
}

.dialog-content {
  padding: clamp(1.2rem, 5vw, 2rem);
}

.actions--dialog {
  justify-content: flex-end;
}

@media (min-width: 680px) {
  .information-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 420px) {
  .actions > .button {
    width: 100%;
  }

  .password-control {
    gap: .1rem;
  }

  .password-control .button--text {
    padding-inline: .4rem;
    font-size: .89rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .button {
    transition: none;
  }
}
