body.associate-page {
  --associate-ink: #10255a;
  --associate-blue: #203c8c;
  --associate-orange: #e97a19;
  --associate-muted: #526073;
  background: #f6f8fb;
}

body.associate-page main {
  overflow: hidden;
}

body.associate-page .associate-hero {
  position: relative;
  min-height: min(650px, calc(100vh - 78px));
  display: grid;
  align-items: end;
  padding: clamp(72px, 10vw, 150px) 0 clamp(52px, 7vw, 92px);
  background-image:
    linear-gradient(90deg, rgba(8, 20, 50, 0.94) 0%, rgba(11, 29, 72, 0.82) 43%, rgba(11, 29, 72, 0.26) 73%, rgba(8, 20, 50, 0.12) 100%),
    url("https://apigraf.pt/Encontro26Fotos/encontro2.png");
  background-position: center;
  background-size: cover;
}

body.associate-page .associate-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 5px;
  background: linear-gradient(90deg, var(--associate-orange) 0 22%, #f4b13d 22% 38%, #203c8c 38% 72%, #60a7be 72% 100%);
}

body.associate-page .associate-hero-inner {
  position: relative;
  z-index: 1;
}

body.associate-page .associate-hero-copy {
  min-height: 0;
  max-width: 720px;
  display: block;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.associate-page .associate-hero-copy .section-kicker {
  margin-bottom: 18px;
  color: #f5a653;
}

body.associate-page .associate-hero-copy h1 {
  max-width: 12ch;
  color: #fff;
  font-size: clamp(3rem, 6.5vw, 6.4rem);
  line-height: 0.96;
}

body.associate-page .associate-hero-copy p:not(.section-kicker) {
  max-width: 58ch;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.05rem, 1.5vw, 1.28rem);
  line-height: 1.62;
}

body.associate-page .associate-actions {
  margin-top: 30px;
}

body.associate-page .associate-actions a {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
}

body.associate-page .associate-summary {
  background: #fff;
  border-bottom: 1px solid rgba(16, 37, 90, 0.12);
}

body.associate-page .associate-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.associate-page .associate-summary-grid > div {
  min-height: 156px;
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 16px;
  align-content: center;
  padding: 28px clamp(20px, 3vw, 42px);
  border-right: 1px solid rgba(16, 37, 90, 0.12);
}

body.associate-page .associate-summary-grid > div:first-child {
  padding-left: 0;
}

body.associate-page .associate-summary-grid > div:last-child {
  padding-right: 0;
  border-right: 0;
}

body.associate-page .associate-summary-grid span,
body.associate-page .benefit-number {
  color: var(--associate-orange);
  font-size: 0.82rem;
  font-weight: 900;
}

body.associate-page .associate-summary-grid p {
  margin: 0;
  color: var(--associate-muted);
  line-height: 1.55;
}

body.associate-page .associate-summary-grid strong {
  display: block;
  margin-bottom: 4px;
  color: var(--associate-ink);
  font-size: 1.05rem;
}

body.associate-page .associate-content {
  padding-top: 30px;
  padding-bottom: 46px;
}

body.associate-page .associate-content > .section {
  margin-top: 22px;
  padding: clamp(34px, 5vw, 68px) 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.associate-page .associate-benefits .section-header,
body.associate-page .associate-process .section-header,
body.associate-page .associate-faq .section-header {
  max-width: 900px;
  margin-bottom: 34px;
}

body.associate-page .associate-benefits .section-header h2,
body.associate-page .associate-process .section-header h2,
body.associate-page .associate-faq .section-header h2 {
  max-width: 20ch;
  color: var(--associate-ink);
  font-size: clamp(2rem, 4.2vw, 4.35rem);
  line-height: 1.02;
}

body.associate-page .associate-benefits .section-header p:last-child {
  max-width: 72ch;
  color: var(--associate-muted);
  line-height: 1.7;
}

body.associate-page .benefit-grid {
  gap: 0;
  border-top: 1px solid rgba(16, 37, 90, 0.15);
}

body.associate-page .benefit-grid article {
  min-height: 230px;
  padding: 30px 30px 30px 0;
  border: 0;
  border-right: 1px solid rgba(16, 37, 90, 0.15);
  border-bottom: 1px solid rgba(16, 37, 90, 0.15);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.associate-page .benefit-grid article:nth-child(3n + 2),
body.associate-page .benefit-grid article:nth-child(3n + 3) {
  padding-left: 30px;
}

body.associate-page .benefit-grid article:nth-child(3n) {
  padding-right: 0;
  border-right: 0;
}

body.associate-page .benefit-number {
  display: block;
  margin-bottom: 38px;
}

body.associate-page .benefit-grid h3 {
  font-size: 1.3rem;
}

body.associate-page .associate-process {
  position: relative;
}

body.associate-page .process-grid {
  gap: 0;
  background: var(--associate-ink);
}

body.associate-page .process-grid div {
  min-height: 238px;
  padding: 30px;
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.associate-page .process-grid div:last-child {
  border-right: 0;
}

body.associate-page .process-grid span {
  margin-bottom: 34px;
  background: var(--associate-orange);
  color: #fff;
}

body.associate-page .process-grid h3 {
  color: #fff;
}

body.associate-page .process-grid p {
  color: rgba(255, 255, 255, 0.72);
}

body.associate-page .associate-form-section {
  margin: 44px calc(50% - 50vw) 0;
  padding: clamp(46px, 7vw, 90px) max(24px, calc((100vw - 1320px) / 2));
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.15fr);
  gap: clamp(30px, 6vw, 86px);
  background: #e9eef5;
}

body.associate-page .associate-form-intro {
  position: sticky;
  top: 104px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.associate-page .associate-form-intro h2 {
  max-width: 11ch;
  font-size: clamp(2.25rem, 4.6vw, 4.8rem);
}

body.associate-page .payment-note {
  margin-top: 28px;
  padding: 20px 0 20px 20px;
  border: 0;
  border-left: 4px solid var(--associate-orange);
  border-radius: 0;
  background: transparent;
}

body.associate-page .associate-direct-contact {
  margin-top: 26px;
  color: var(--associate-muted);
  line-height: 1.7;
}

body.associate-page .associate-direct-contact a {
  color: var(--associate-ink);
  font-weight: 900;
  text-decoration: none;
}

body.associate-page .associate-form {
  padding: clamp(24px, 4vw, 44px);
  border-radius: 8px;
  box-shadow: 0 20px 50px rgba(16, 37, 90, 0.1);
}

body.associate-page .associate-form input:focus,
body.associate-page .associate-form textarea:focus,
body.associate-page .associate-form select:focus {
  outline: 3px solid rgba(32, 60, 140, 0.14);
  border-color: var(--associate-blue);
}

body.associate-page .required-mark,
body.associate-page .required-note span {
  color: #a23c20;
}

body.associate-page .field-label {
  display: inline;
}

body.associate-page .required-note {
  margin: 2px 0 14px;
  color: var(--associate-muted);
  font-size: 0.82rem;
}

body.associate-page .associate-form button {
  min-height: 52px;
  border-radius: 6px;
  background: var(--associate-blue);
  color: #fff;
}

body.associate-page .associate-faq {
  max-width: 980px;
  margin-right: auto;
  margin-left: auto;
}

body.associate-page .faq-list {
  gap: 0;
  border-top: 1px solid rgba(16, 37, 90, 0.18);
}

body.associate-page .faq-list details {
  padding: 0;
  border: 0;
  border-bottom: 1px solid rgba(16, 37, 90, 0.18);
  border-radius: 0;
  background: transparent;
}

body.associate-page .faq-list summary {
  min-height: 72px;
  padding-right: 44px;
  position: relative;
  list-style: none;
  font-size: 1.08rem;
}

body.associate-page .faq-list summary::-webkit-details-marker {
  display: none;
}

body.associate-page .faq-list summary::after {
  content: "+";
  position: absolute;
  right: 6px;
  color: var(--associate-orange);
  font-size: 1.6rem;
  font-weight: 500;
}

body.associate-page .faq-list details[open] summary::after {
  content: "−";
}

body.associate-page .faq-list p {
  max-width: 78ch;
  padding-right: 44px;
}

body.associate-page .associate-contact-band {
  min-height: 210px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin: 30px 0 26px;
  padding: clamp(30px, 5vw, 58px);
  background: var(--associate-ink);
  color: #fff;
}

body.associate-page .associate-contact-band h2 {
  max-width: 21ch;
  margin: 0;
  color: #fff;
  font-size: clamp(1.7rem, 3.4vw, 3.35rem);
  line-height: 1.08;
}

body.associate-page .associate-contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

body.associate-page .associate-contact-actions a {
  min-width: 150px;
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 900px) {
  body.associate-page .associate-hero {
    min-height: 590px;
    background-position: 62% center;
  }

  body.associate-page .associate-summary-grid {
    grid-template-columns: 1fr;
  }

  body.associate-page .associate-summary-grid > div,
  body.associate-page .associate-summary-grid > div:first-child,
  body.associate-page .associate-summary-grid > div:last-child {
    min-height: 0;
    padding: 24px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(16, 37, 90, 0.12);
  }

  body.associate-page .benefit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.associate-page .benefit-grid article,
  body.associate-page .benefit-grid article:nth-child(3n + 2),
  body.associate-page .benefit-grid article:nth-child(3n + 3) {
    padding: 26px;
    border-right: 1px solid rgba(16, 37, 90, 0.15);
  }

  body.associate-page .benefit-grid article:nth-child(2n) {
    border-right: 0;
  }

  body.associate-page .associate-form-section {
    grid-template-columns: 1fr;
  }

  body.associate-page .associate-form-intro {
    position: static;
  }

  body.associate-page .associate-contact-band {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  body.associate-page .associate-hero {
    min-height: 520px;
    padding: 70px 0 54px;
    background-position: 68% center;
  }

  body.associate-page .associate-hero-copy h1 {
    max-width: 10ch;
    font-size: clamp(2.7rem, 15vw, 4.2rem);
  }

  body.associate-page .associate-hero-copy p:not(.section-kicker) {
    font-size: 1rem;
  }

  body.associate-page .associate-content {
    padding-top: 14px;
  }

  body.associate-page .associate-content > .section {
    padding: 34px 0;
  }

  body.associate-page .benefit-grid {
    grid-template-columns: 1fr;
  }

  body.associate-page .benefit-grid article,
  body.associate-page .benefit-grid article:nth-child(3n + 2),
  body.associate-page .benefit-grid article:nth-child(3n + 3) {
    min-height: 0;
    padding: 26px 0;
    border-right: 0;
  }

  body.associate-page .benefit-number {
    margin-bottom: 20px;
  }

  body.associate-page .process-grid {
    grid-template-columns: 1fr;
  }

  body.associate-page .process-grid div {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  body.associate-page .associate-form-section {
    margin-top: 24px;
    padding-right: 12px;
    padding-left: 12px;
  }

  body.associate-page .associate-form-intro {
    padding: 0 8px;
  }

  body.associate-page .associate-form {
    padding: 20px 16px;
  }

  body.associate-page .associate-contact-band {
    padding: 28px 22px;
  }

  body.associate-page .associate-contact-actions,
  body.associate-page .associate-contact-actions a {
    width: 100%;
  }
}
