/* FP&A Estratégico 2027 — ajuste visual somente do formulário. */
#interest-form .field textarea {
  display: block;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 125px;
  padding: 12px 14px;
  border: 1px solid var(--line, #dbe4e9);
  border-radius: 3px;
  background: #fff;
  color: var(--ink, #102a43);
  font: inherit;
  font-size: 1.0625rem;
  line-height: 1.6;
  resize: vertical;
}

#interest-form .field textarea::placeholder {
  color: var(--muted, #52676d);
  opacity: 1;
}

#interest-form .field label .optional-label {
  display: inline;
  margin: 0 0 0 5px;
  font-size: 0.8125rem;
  font-weight: 400;
  line-height: inherit;
}

#interest-form .security-field > p {
  margin: 0 0 10px;
  color: var(--muted, #52676d);
  font-size: 0.9375rem;
  line-height: 1.7;
}

#interest-form .security-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

#interest-form .security-controls input {
  box-sizing: border-box;
  flex: 0 0 105px;
  width: 105px;
  min-width: 0;
  max-width: 100%;
  min-height: 52px;
  margin: 0;
}

#interest-form .security-refresh {
  box-sizing: border-box;
  min-height: 44px;
  max-width: 100%;
  padding: 8px 12px;
  border: 1px solid var(--line, #dbe4e9);
  border-radius: 3px;
  background: var(--light, #f3f6f9);
  color: var(--blue, #12618a);
  font: inherit;
  font-size: 0.875rem;
  line-height: 1.5;
  text-align: center;
  white-space: normal;
  cursor: pointer;
}

#interest-form .security-refresh:hover {
  background: #e4edf2;
}

#interest-form .security-refresh:disabled {
  opacity: 0.65;
  cursor: wait;
}

#interest-form .field textarea:focus-visible,
#interest-form .security-controls input:focus-visible,
#interest-form .security-refresh:focus-visible,
#interest-form .programme-access a:focus-visible {
  outline: 2px solid var(--blue, #12618a);
  outline-offset: 3px;
}

#interest-form .consent a {
  color: var(--blue, #12618a);
  text-decoration: underline;
  text-underline-offset: 3px;
}

#interest-form .form-status {
  overflow-wrap: anywhere;
}

#interest-form .form-status[data-state="error"] {
  border-left: 3px solid #a5511e;
  background: #fff4ed;
  color: #663317;
}

#interest-form .form-status[data-state="success"] {
  border-left: 3px solid var(--blue, #12618a);
  background: var(--light, #f3f6f9);
}

#interest-form .form-submit:disabled {
  cursor: not-allowed;
}

#interest-form .programme-access {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line, #dbe4e9);
}

#interest-form .programme-access[hidden] {
  display: none !important;
}

#interest-form .programme-access > .button {
  box-sizing: border-box;
  justify-content: center;
  width: 100%;
  white-space: normal;
  text-align: center;
}

#interest-form .programme-access > p {
  margin-top: 12px;
  color: var(--muted, #52676d);
  font-size: 0.8125rem;
  line-height: 1.75;
}

/* Scoped additions for the original FP&A form and auxiliary pages. */
#interest-form .form-honeypot { position:absolute!important; left:-10000px!important; width:1px!important; height:1px!important; overflow:hidden!important; }
#interest-form .form-kicker { display:block; color:var(--blue); font-size:.8125rem; letter-spacing:.09em; margin-bottom:14px; }
#interest-form #form-title { font-size:1.7rem; line-height:1.3; margin-bottom:14px; }
#interest-form #form-description { font-size:1rem; color:var(--muted); margin-bottom:28px; }
#interest-form .field small:not(.optional-label) { display:block; color:var(--muted); font-size:.875rem; line-height:1.65; margin-top:8px; }
#interest-form .field .optional-label { display:inline; color:var(--muted); }
#interest-form .consent-field { align-items:flex-start; }
#interest-form .consent-field a { color:var(--blue); text-decoration:underline; }
#interest-form .consent-field input { flex:0 0 20px; width:20px; min-width:20px; height:20px; margin-top:4px; }
#interest-form .form-notice { color:var(--muted); font-size:.875rem; line-height:1.7; margin:14px 0; }
#interest-form .form-status { padding:14px; font-size:.9375rem; line-height:1.7; }
#interest-form .form-submit:disabled { opacity:.6; }
#interest-form .security-controls input { min-height:52px; }
.privacy-header,.thanks-header { display:flex; align-items:center; justify-content:space-between; gap:24px; padding-block:28px; border-bottom:1px solid var(--line); }
.privacy-header img,.thanks-header img { max-width:245px; height:auto; }
.privacy-main,.thanks-main { max-width:900px; padding-block:60px 90px; }
.privacy-main h1,.thanks-main h1 { font-size:clamp(2.2rem,5vw,3.5rem); line-height:1.2; margin-bottom:24px; }
.privacy-main h2 { font-size:1.5rem; margin-top:34px; margin-bottom:14px; }
.privacy-main p,.privacy-main ul,.thanks-main p { margin-bottom:20px; }
.privacy-main ul { padding-left:24px; }
.privacy-main a,.thanks-main p a { color:var(--blue); text-decoration:underline; }
.privacy-date { color:var(--muted); font-size:.875rem; }
.thanks-main .button { margin-block:18px; }
@media(max-width:760px) { .privacy-header,.thanks-header { align-items:flex-start; flex-direction:column; } #interest-form #form-title { font-size:1.5rem; } }
