.page-formacao-rodas {
  --fr-lilac: #7E67B5;
}

/* Hero: fatos da formação (texto claro no roxo) + link.
   Compact cluster centered — avoid wide grid void between copy and image. */
.page-formacao-rodas .fr-hero {
  padding: 2rem 0 1.25rem;
}
.page-formacao-rodas .fr-hero .cnv-land-hero-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2.25rem 2.75rem;
  max-width: 1060px;
  grid-template-columns: unset;
}
.page-formacao-rodas .fr-hero .cnv-land-hero-media {
  flex: 0 1 510px;
  max-width: 510px;
  width: 100%;
}
.fr-hero-copy {
  flex: 0 1 23rem;
  max-width: 23rem;
  color: #fff;
}
.fr-hero-eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}
.fr-hero-title {
  font-family: "Baloo 2", "Baloo Tamma 2", sans-serif;
  font-size: clamp(1.55rem, 2.6vw, 2.35rem);
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.85rem;
  line-height: 1.2;
  white-space: nowrap;
}
.fr-hero-meta {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin: 0 0 1rem;
  padding: 0;
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.05rem;
  line-height: 1.35;
}
.fr-hero-meta span {
  display: block;
}
.fr-hero-link-wrap {
  margin: 0;
}
.fr-text-link {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 500;
  font-size: 1rem;
}
.fr-text-link:hover {
  color: rgba(255, 255, 255, 0.85);
}

.page-formacao-rodas .fr-form-section {
  padding-top: 1.25rem;
  padding-bottom: 2rem;
}
.fr-deadline {
  text-align: center;
  margin: 0 auto 1.25rem;
  max-width: 640px;
  color: #5c5c5c;
  font-size: 0.95rem;
}

.fr-dates-intro {
  margin: 0 0 0.65rem;
  color: #3a3a3a;
}
.fr-dates {
  list-style: none;
  padding: 0;
  margin: 0 0 0.75rem;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.4rem;
}
.fr-dates li {
  background: #faf8fd;
  border: 1px solid #e6e0f2;
  border-radius: 10px;
  padding: 0.55rem 0.35rem;
  text-align: center;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--fr-lilac);
  white-space: nowrap;
}
.fr-note {
  color: #5c5c5c;
  font-size: 0.92rem;
  margin: 0 0 1rem;
}
.fr-dates-inline {
  display: block;
  margin-top: 0.25rem;
  font-weight: 500;
  font-size: 0.88rem;
  color: #5c5c5c;
  line-height: 1.4;
}

.fr-form {
  max-width: 720px;
  margin: 0 auto;
  background: #fff;
  border-radius: 18px;
  padding: 1.5rem 1.75rem;
  box-shadow: 0 8px 24px rgba(126, 103, 181, 0.08);
  border: 1px solid #ece7f5;
}
.fr-block {
  border: 0;
  margin: 0 0 1.35rem;
  padding: 0;
}
.fr-block legend {
  font-family: "Baloo 2", "Baloo Tamma 2", sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--fr-lilac);
  margin-bottom: 0.75rem;
}
.fr-form .form-row { margin-bottom: 0.95rem; }
.fr-form label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 500;
  color: #444;
  line-height: 1.45;
}
.fr-form textarea,
.fr-form input[type="text"],
.fr-form input[type="email"],
.fr-form input[type="tel"] {
  width: 100%;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 0.7rem 0.85rem;
  font: inherit;
  background: #fafafa;
}
.fr-form textarea:focus,
.fr-form input:focus {
  outline: none;
  border-color: var(--fr-lilac);
  background: #fff;
}

.fr-radio-group { display: grid; gap: 0.6rem; }
.fr-radio {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  padding: 0.85rem 1rem;
  border: 1px solid #e6e0f2;
  border-radius: 12px;
  background: #faf8fd;
  cursor: pointer;
}
.fr-radio input { margin-top: 0.2rem; flex-shrink: 0; }
.fr-consent {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.92rem;
  color: #555;
  margin-top: 0.5rem;
}

.fr-matrix-wrap { margin-top: 1rem; }
.fr-matrix-lead { margin: 0 0 0.75rem; color: #555; }
.fr-matrix {
  display: grid;
  grid-template-columns: 72px repeat(3, 1fr);
  gap: 0.35rem;
  font-size: 0.85rem;
}
.fr-matrix .fr-mh,
.fr-matrix .fr-ml {
  font-weight: 600;
  color: var(--fr-lilac);
  text-align: center;
  padding: 0.35rem;
}
.fr-matrix .fr-ml { text-align: left; }
.fr-matrix label.fr-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0.45rem;
  background: #f7f4fb;
  border-radius: 8px;
  cursor: pointer;
}
.fr-matrix label.fr-cell input { margin: 0; }

.fr-honeypot {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.fr-actions {
  text-align: center;
  margin-top: 0.35rem;
}
.fr-actions .cnv-btn {
  min-width: 260px;
}
.fr-status {
  margin: 0.85rem 0 0;
  min-height: 1.25rem;
  color: #555;
}
.fr-status.is-error { color: #b42318; }
.fr-status.is-ok { color: #027a48; }

.fr-success {
  max-width: 640px;
  margin: 1.5rem auto 0;
  text-align: center;
  background: #fff;
  border-radius: 18px;
  padding: 2rem;
  border: 1px solid #ece7f5;
}
.fr-success h3 {
  font-family: "Baloo 2", sans-serif;
  color: var(--fr-lilac);
  margin: 0 0 0.75rem;
}

/* Fechamento 1:1 */
.fr-closing-grid {
  display: grid;
  grid-template-columns: minmax(0, 280px) minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
  max-width: 860px;
  margin: 0 auto;
}
.fr-closing-media {
  display: block;
  width: 100%;
  max-width: 280px;
  margin: 0 auto;
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  overflow: hidden;
}
.fr-closing-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 1 / 1;
}
.fr-closing p {
  line-height: 1.65;
  color: #3a3a3a;
  margin: 0;
}
.page-formacao-rodas #fechamento {
  padding-top: 2rem;
  padding-bottom: 2.5rem;
}

@media (max-width: 900px) {
  /* Kill the large purple void under the art on phones. */
  .page-formacao-rodas .fr-hero {
    padding: 1rem 0 0.75rem;
    min-height: 0;
  }
  .page-formacao-rodas .fr-hero .cnv-land-hero-inner {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: stretch;
    align-content: flex-start;
    gap: 0.75rem;
    max-width: 520px;
    min-height: 0;
    height: auto;
  }
  .page-formacao-rodas .fr-hero .cnv-land-hero-media {
    order: 0;
    flex: 0 0 auto;
    max-width: 300px;
    width: 100%;
    margin: 0 auto;
  }
  .page-formacao-rodas .fr-hero .cnv-land-hero-media img {
    display: block;
    width: 100%;
    height: auto;
  }
  .fr-hero-copy {
    flex: 0 0 auto;
    max-width: none;
    width: 100%;
    margin: 0;
  }
  .page-formacao-rodas .fr-form-section {
    padding-top: 0.75rem;
    padding-bottom: 1.75rem;
  }
  .fr-hero-title {
    font-size: clamp(1.4rem, 5.5vw, 1.85rem);
  }
  .fr-hero-meta {
    font-size: 1rem;
    margin-bottom: 0.5rem;
  }
  .fr-dates {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .fr-form { padding: 1.25rem; }
  .fr-matrix {
    grid-template-columns: 56px repeat(3, 1fr);
    font-size: 0.78rem;
  }
  .fr-closing-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .fr-closing-media {
    max-width: 240px;
  }
}

@media (max-width: 480px) {
  .fr-dates {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .fr-dates li {
    font-size: 0.82rem;
  }
}

@media (max-width: 360px) {
  .fr-hero-title {
    white-space: normal;
  }
}

.fr-capacity-banner {
  max-width: 720px;
  margin: 0 auto 1.25rem;
  background: #f7f4fc;
  border: 1px solid #e0d6f2;
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
  color: #3d3d3d;
}
.fr-capacity-banner h3 {
  font-family: "Baloo 2", "Baloo Tamma 2", sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--fr-lilac);
  margin: 0 0 0.65rem;
}
.fr-capacity-banner p {
  margin: 0 0 0.65rem;
  line-height: 1.5;
}
.fr-enquanto {
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid #e0d6f2;
}
.fr-enquanto-lead {
  margin: 0 0 0.45rem;
}
.fr-enquanto-list {
  margin: 0;
  padding-left: 1.15rem;
  line-height: 1.55;
}
.fr-enquanto-list a {
  color: var(--fr-lilac);
  font-weight: 500;
}
