.associar {
  --forest: #00452f;
  --paper: #f1f5f3;
  --display: "Red Hat Display", Arial, sans-serif;
  --body: Rubik, Arial, sans-serif;
  background: #fff;
}
.associar :is(h1,h2,h3,legend) {
  font-family: var(--display);
  line-height: 1.1;
  letter-spacing: -.03em;
  font-weight: 600;
  text-wrap: balance;
}
.associar h2 { font-size: clamp(1.65rem, 2.7vw, 2.55rem); }
.associar p { font: 400 clamp(1.0625rem, 1.23vw, 1.13rem)/1.58 var(--body); }
.join-hero, .join-venue { position: relative; isolation: isolate; overflow: clip; background: #063b2b; color: white; }
.join-hero picture, .join-hero picture img, .join-venue > img {
  position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2;
  object-fit: cover; object-position: center 57%;
}
.join-hero::before, .join-venue::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgba(2,23,17,.9) 0%, rgba(2,23,17,.78) 28%, rgba(2,23,17,.45) 49%, transparent 72%);
}
.join-hero-inner, .join-venue-inner, .join-spread {
  width: min(1160px, 78%); margin-inline: auto;
}
.join-hero-inner {
  min-height: 100vh; min-height: 100svh; padding: max(160px, 24svh) 0 clamp(74px,13vh,152px);
  display: flex; flex-direction: column; justify-content: flex-end;
}
.join-hero-copy { max-width: min(50%, 580px); }
.associar .join-hero h1 {
  color: white; font-size: clamp(2.45rem,4.35vw,4.05rem); line-height: 1.025;
  max-width: 15ch;
}
.associar .join-hero p { margin: 21px 0 26px; max-width: 43ch; }
.associar .join-cta {
  display: inline-flex; align-items: center; gap: 10px; min-height: 47px;
  color: #00432d; background: #fff; border-radius: 5px; padding: 11px 21px;
  font: 600 1rem/1.3 var(--display);
}
.associar .join-cta:hover { background: #b7edc6; }
.join-practice { padding-block: clamp(64px,8vw,125px); }
.join-spread { display: flex; align-items: center; gap: clamp(32px,6vw,96px); }
.join-copy { flex: 0 1 41%; }
.join-spread > img {
  width: 53%; height: auto; margin-left: auto;
}
.associar .join-copy p, .associar .join-reading p, .associar .join-venue p { margin: 14px 0 0; }
.join-benefits { background: #004732; color: white; }
.join-convenios {background:white;padding-block:clamp(34px,4.5vw,68px)}
.associar .join-convenios h2 {
  margin: 0 0 clamp(20px, 2vw, 30px);
  color: var(--forest);
  text-align: center;
  font-size: 1rem;
  letter-spacing: normal;
}
.convenios-marcas {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(135px, 100%), 1fr));
  align-items: center;
  gap: clamp(22px, 2.7vw, 42px) clamp(18px, 2.1vw, 32px);
}
.convenios-marcas ul, #convenios-restantes, .convenios-recorte { display: contents; }
.convenios-marcas ul { list-style: none; margin: 0; padding: 0; }
.convenios-toggle { display: none; }
.join-convenios li {display:grid;place-items:center;min-width:0}
.join-convenios li img {display:block;width:100%;max-width:150px;height:58px;object-fit:contain}
@media(max-width:640px){
  .convenios-marcas { display: block; }
  .convenios-marcas ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 18px; }
  .join-convenios li img {height:45px}
  .convenios-toggle:not([hidden]) {
    display: block;
    margin: 22px auto 0;
    min-height: 44px;
    padding: 8px 21px;
    border: 1px solid var(--forest);
    border-radius: 5px;
    color: var(--forest);
    background: white;
    font: 600 .94rem/1.3 var(--display);
    cursor: pointer;
    transition: color .2s ease, background-color .2s ease;
  }
  .convenios-toggle:hover { color: white; background: var(--forest); }
  .convenios-toggle:focus-visible { outline: 2px solid var(--forest); outline-offset: 3px; }
  #convenios-restantes { display: grid; grid-template-rows: 1fr; }
  .convenios-recorte { display: block; min-height: 0; overflow: hidden; }
  .convenios-recorte ul { padding-top: 24px; }
  .convenios-toggle:not([hidden])[aria-expanded="false"] + #convenios-restantes { grid-template-rows: 0fr; }
}
@media (max-width:640px) and (prefers-reduced-motion: no-preference) {
  .convenios-toggle[data-acionado] + #convenios-restantes { transition: grid-template-rows .24s ease-in-out; }
}
@media(max-width:359px){
  .join-convenios ul {grid-template-columns:repeat(2,minmax(0,1fr))}
}
.join-reading {
  width: min(706px, 78%); margin: auto; padding-block: clamp(55px,6.5vw,104px);
}
.join-reading article + article { margin-top: clamp(34px,4vw,58px); }
.associar .join-benefits h2, .associar .join-venue h2 { color: white; }
.join-venue > img { object-position: center 55%; }
.join-venue::before {
  background: linear-gradient(90deg, rgba(11,18,14,.94) 0%, rgba(11,18,14,.86) 31%, rgba(11,18,14,.5) 56%, transparent 86%);
}
.join-venue-inner {
  min-height: clamp(370px,36vw,560px); padding-block: 68px; display: flex; flex-direction: column; justify-content: center;
}
.join-venue-inner > :is(h2,p) { max-width: min(49%,480px); }
.join-venue-inner .join-cta { align-self: flex-start; margin-top: 22px; }
.associar .service-layout {
  display: block; width: min(706px, 78%); padding-block: clamp(42px,5vw,80px);
}
.join-enroll { background: #eff4f1; }
.associar .simulation { background: white; }
.associar .service-button { justify-self: start; }
.associar .join-requirements { display: grid; gap: 12px; }
.associar .join-requirements p { margin: 0; font-size: 1rem; }
.associar .join-requirements strong { color: var(--forest); }
.join-signature { margin: 0; background: #00452f; color: white; text-align: center; padding: 24px; font: 500 .94rem/1.5 "Red Hat Display",Arial,sans-serif; }

/* A geometria de todo o cabeçalho vem de navegacao.css, inclusive no celular. */
.sobre-foto {
  position: absolute; inset: 0 0 auto;
  color: white; background: linear-gradient(to bottom, rgba(2, 21, 16, .94), rgba(2, 21, 16, .74));
}
.sobre-foto .brand img { filter: brightness(0) invert(1); }
.sobre-foto .institution, .sobre-foto .utility-links .icon { color: currentColor; }
.sobre-foto .action { border-color: white; }
.sobre-foto .join { background: white; color: var(--dark); }
.sobre-foto .exam { color: white; }
.sobre-foto .action:hover { background: var(--leaf); border-color: var(--leaf); color: var(--dark); }
.sobre-foto .nav-band { background: rgba(0, 68, 43, .92); }
.sobre-foto .submenu { color: white; background: #093e2f; }
.sobre-foto .section-destination { color: white; }
.sobre-foto .section-destination:hover { color: var(--leaf); }
.sobre-foto :focus-visible { outline-color: white; }
@media (max-width: 850px) {
  .join-hero-inner, .join-venue-inner, .join-spread { width: 86%; }
  .join-hero-copy { max-width: 58%; }
}
@media (max-width: 640px) {
  .join-hero picture { height: 68%; }
  .join-hero picture img { object-position: 68% 47%; }
  .join-hero { background: #043528; }
  .join-hero::before {
    background: linear-gradient(0deg, #043528 26%, rgba(4,53,40,.97) 40%, rgba(4,53,40,.7) 52%, transparent 66%);
  }
  .join-hero-inner, .join-venue-inner, .join-spread, .join-reading, .associar .service-layout { width: 86%; }
  .join-hero-inner { padding-block: max(200px, 38svh) clamp(46px,7vh,68px); }
  .join-hero-copy { max-width: 100%; }
  .associar .join-hero h1 { font-size: clamp(2.3rem,8.8vw,3.2rem); max-width: 15ch; }
  .associar .join-hero p { margin-block: 15px 20px; }
  .join-spread { display: flex; flex-direction: column-reverse; gap: 24px; align-items: stretch; }
  .join-spread > img { width: 100%; }
  .join-practice { padding-block: 48px; }
  .join-venue::before { background: linear-gradient(0deg, rgba(8,23,15,.97) 0%, rgba(8,23,15,.86) 38%, transparent 87%); }
  .join-venue-inner { min-height: 455px; padding-block: 48px; justify-content: end; }
  .join-venue-inner > :is(h2,p) { max-width: 100%; }
}

/* Cada benefício tem uma marca visual junto ao argumento. */
.join-reading { width: min(900px, 82%); }
.join-argument { display: grid; grid-template-columns: auto minmax(0,1fr); align-items: start; gap: clamp(20px,3.6vw,54px); }
.join-symbol, .join-symbol-photo { width: clamp(54px,6vw,80px); aspect-ratio: 1; display: grid; place-items: center; }
.join-symbol { color: #9aeab8; }
.join-symbol .icon { height: 80%; width: 80%; }
.join-support .join-symbol { color: #117246; }
.join-symbol-photo { object-fit: cover; border-radius: 12px; }
.associar .join-argument h2 { font-size: clamp(1.45rem,2.35vw,2.1rem); }
.associar .join-argument p { max-width: 61ch; margin-top: 8px; }
.associar [hidden] { display: none !important; }
.associar .service-layout { width: min(760px, 86%); }
.ficha-topo { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; }
.ficha-topo a, .service-consent a { color: #005339; font-weight: 650; }
.ficha-progresso { display: flex; gap: 5px; margin-block: 6px 14px; scroll-margin-block-start: 22px; }
.ficha-progresso button { flex: 1; display: flex; gap: 6px; align-items: center; color: #294d40; background: transparent; border: 0; border-top: 3px solid #85ac98; padding: 10px 0 5px; font: 600 .84rem/1.3 var(--display); text-align: left; }
.ficha-progresso [aria-current] { border-color: #00723d; color: #00472d; }
.ficha-progresso button:disabled { color: #55665e; border-color: #bdcfc4; cursor: default; }
.ficha-progresso button span { font-variant-numeric: tabular-nums; }
.associar .service-form h3 { font-size: clamp(1.4rem,2.1vw,1.85rem); }
.ficha-perfis { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0; }
.ficha-perfis a, .ficha-voltar { display: inline-flex; align-items: center; border: 1px solid #738e80; border-radius: 5px; min-height: 44px; padding: 8px 15px; background: white; color: #123828; font: 600 .97rem/1.3 var(--display); transition: color .2s, background .2s, border-color .2s; }
.ficha-perfis a:hover, .ficha-voltar:hover { background: #d1ebda; }
.ficha-perfis a[aria-current] { background: #005238; border-color: #005238; color: white; }
.associar .ficha-grupo { margin-top: 24px; }
.associar .ficha-grupo legend { font-size: 1.15rem; letter-spacing: -.012em; }
.ficha-grade { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px 18px; }
.ficha-campo.largo { grid-column: 1/-1; }
.ficha-campo small { font-size: .8rem; font-weight: 400; }
.ficha-escolha { min-width: 0; }
.ficha-escolha > button, .ficha-campo > select { font: inherit; color: #162d24; min-height: 44px; border: 1px solid #86988b; border-radius: 4px; padding: 9px 11px; width: 100%; background: white; }
.ficha-escolha.open { z-index: 4; }
.ficha-escolha .option-panel ul { border-radius: 4px; }
.ficha-escolha .option-panel li { min-height: 40px; }
.ficha-chevron { flex: none; height: 8px; width: 8px; margin-inline: 8px 3px; border-right: 2px solid; border-bottom: 2px solid; transform: rotate(45deg); transition: transform .2s; }
.ficha-escolha.open .ficha-chevron { transform: rotate(225deg); }
.ficha-campo .service-error:empty, .service-form .service-error:empty { display:none; }
.ficha-anuidade { display: flex; gap: 8px 20px; flex-wrap: wrap; justify-content: space-between; margin-top: 18px; padding: 15px 18px; color: #053f2a; background: #d2eadc; }
.ficha-anuidade output { font-weight: 650; }
.ficha-acoes { display: flex; align-items: center; gap: 12px; margin-top: 8px; }
.ficha-acoes .service-button { min-height: 46px; }
.ficha-aviso { color: #752520; background: #fff2ed; padding: 13px; }
#ficha-resumo > div { display:grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 9px; margin: 20px 0; }
#ficha-resumo h4 { margin:0; color:#00452f; font-size:1.05rem; }
#ficha-resumo button { color:#005238; padding:6px 12px; border:1px solid #80998c; border-radius:4px; background:white; }
#ficha-resumo dl { grid-column: 1/-1; margin:0; display:grid; grid-template-columns:minmax(90px,.85fr) minmax(0,1.15fr); gap:5px 16px; }
#ficha-resumo dt { color:#43584c; }
#ficha-resumo dd { margin:0; overflow-wrap:anywhere; }
.ficha-acoes button:focus-visible,.ficha-escolha > button:focus-visible { outline-offset: 2px; }
[data-passo="4"] .service-consent { margin-top:18px; }
@media (max-width:640px) {
  .join-reading, .associar .service-layout { width: 89%; }
  .join-argument { grid-template-columns: 38px minmax(0,1fr); gap: 14px; }
  .join-symbol, .join-symbol-photo { width: 38px; }
  .join-symbol .icon { width: 100%; height: 100%; }
  .ficha-grade { grid-template-columns: minmax(0,1fr); }
  .ficha-progresso button { display: block; font-size: .78rem; }
  .ficha-progresso button span { display: block; }
  .ficha-perfis a { padding-inline: 10px; }
}

.ficha-preparo { max-width: 54ch; }
.ficha-duvidas { margin-top:16px; }
.ficha-duvidas summary { width:fit-content; cursor:pointer; color:#005238; font-weight:600; padding:8px 0; }
.ficha-duvidas .join-requirements { padding:10px 0; }
.ficha-envio { display:grid; gap:7px; color:#005238; }
.ficha-envio progress { width:100%; accent-color:#007347; }
.ficha-envio [role=status] { font-size:.92rem; }
@media (max-width:640px) {
  .ficha-progresso button { display:flex; flex-direction:column; align-items:flex-start; justify-content:flex-start; gap:3px; }
}
@media (prefers-reduced-motion: no-preference) {
  .ficha-duvidas::details-content { overflow:clip; opacity:0; block-size:0; interpolate-size:allow-keywords;
    transition:block-size .22s ease,opacity .2s,content-visibility .22s allow-discrete; }
  .ficha-duvidas[open]::details-content { opacity:1; block-size:auto; }
}
