/* =========================================================
   Relevo — páginas com peças próprias:
   notícia individual, comunidade (Nexus) e seja parceiro (franquia)
   ========================================================= */

/* ---------- notícia individual ---------- */
.rv-post { padding-bottom: var(--ritmo); }
.rv-post__wrap { max-width: 880px; }
.news-article[hidden] { display: none; }
.news-article time { display: inline-flex; }
.news-article h1 { max-width: 24ch; }
.news-article__media { margin: 40px 0 0; overflow: hidden; border-radius: var(--raio); background: var(--abismo); }
.news-article__media[hidden] { display: none; }
.news-article__media img { width: 100%; max-height: 560px; object-fit: cover; }
.news-article__body { max-width: 68ch; margin-top: 44px; color: var(--texto); font-size: 1.12rem; line-height: 1.7; }
.news-article__body > * + * { margin-top: 1.1em; }
.news-article__body h2, .news-article__body h3 { margin-top: 1.8em; font-weight: 500; letter-spacing: -.02em; line-height: 1.2; }
.news-article__body h2 { font-size: 1.75rem; }
.news-article__body h3 { font-size: 1.35rem; }
.news-article__body p, .news-article__body li { color: var(--texto-apoio); }
.news-article__body ul, .news-article__body ol { padding-left: 1.3em; list-style: revert; }
.news-article__body a { color: var(--ciano-texto); text-decoration: underline; text-underline-offset: 3px; }
.news-article__body blockquote { padding-left: 20px; border-left: 2px solid var(--ciano); font-size: 1.25rem; font-weight: 500; }
.news-article__body img { border-radius: var(--raio); }
.news-article--empty p { margin: 16px 0 24px; color: var(--texto-apoio); }

/* ---------- comunidade (Nexus) ---------- */
.nx-hero__grade { align-items: center; }
.nx-hero__logo { width: 200px; height: auto; margin-bottom: 28px; filter: brightness(0) invert(1); }
.nx-hero__nota { margin-top: 18px; color: var(--claro-apoio); font-size: .9rem; }
.rv-btn svg { width: 16px; height: 16px; flex: none; }

.nx-app { position: relative; margin: 0; }
.nx-app .rv-cruz { z-index: 2; }
.nx-app__window { overflow: hidden; border: 1px solid var(--claro-linha); border-radius: var(--raio-m); background: #0d0f14; color: #e8e9ee; font-size: 12px; box-shadow: 0 40px 80px rgba(0, 0, 0, .35); }
.nx-app__window::before { content: ""; display: block; height: 3px; background: linear-gradient(90deg, #5b21f5, #9d2bd9, var(--ciano)); }
.nx-app__bar { display: flex; height: 48px; padding: 0 14px; align-items: center; gap: 16px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.nx-app__bar img { width: 96px; height: auto; }
.nx-app__bar nav { display: flex; margin: 0 auto; gap: 4px; }
.nx-app__bar nav span { padding: 5px 10px; border-radius: 999px; color: #9ea1ab; font-weight: 500; }
.nx-app__bar nav .is-on { background: rgba(255, 255, 255, .08); color: #fff; }
.nx-app__search { padding: 5px 12px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 999px; color: #9ea1ab; }
.nx-app__body { display: grid; grid-template-columns: 172px 1fr; }
.nx-app__side { display: grid; padding: 12px 10px 16px; align-content: start; gap: 12px; border-right: 1px solid rgba(255, 255, 255, .08); }
.nx-app__feed { padding: 7px 10px; border-radius: 8px; background: #5b21f5; color: #fff; font-weight: 600; }
.nx-app__group { display: grid; gap: 5px; }
.nx-app__group b { padding: 0 4px; font-size: 11px; font-weight: 600; }
.nx-app__group span { display: flex; padding: 0 4px; align-items: center; gap: 7px; overflow: hidden; color: #9ea1ab; white-space: nowrap; text-overflow: ellipsis; }
.nx-app i { display: inline-block; width: 9px; height: 9px; flex: none; border-radius: 50%; background: var(--dot); }
.nx-app__main { padding: 18px; }
.nx-app__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.nx-app__head b { display: block; font-size: 16px; font-weight: 500; }
.nx-app__head small { display: block; margin-top: 3px; color: #9ea1ab; font-size: 11px; }
.nx-app__head > span { padding: 6px 12px; border-radius: 6px; background: #5b2576; color: #e9d5f5; font-weight: 600; white-space: nowrap; }
.nx-app__grid { display: grid; margin-top: 14px; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.nx-app__card { display: grid; padding: 14px 10px; justify-items: center; gap: 4px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 8px; background: rgba(255, 255, 255, .03); text-align: center; }
.nx-app__card i { width: 18px; height: 18px; margin-bottom: 6px; }
.nx-app__card b { max-width: 100%; overflow: hidden; font-size: 12px; font-weight: 500; white-space: nowrap; text-overflow: ellipsis; }
.nx-app__card small { color: #9ea1ab; font-size: 11px; }
.nx-app__card span { margin-top: 8px; padding: 4px 10px; border-radius: 4px; background: #fff; color: #111; font-size: 11px; font-weight: 600; }
.nx-app figcaption { margin-top: 14px; color: var(--claro-apoio); font-size: .85rem; }

.nx-grupos .rv-coluna { min-height: 0; }
.nx-grupos .rv-coluna h3 { margin-top: 24px; }
.nx-lista { margin-top: auto; border-top: 1px solid var(--linha); }
.nx-lista li { display: flex; padding: 12px 0; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--linha); font-size: .95rem; font-weight: 500; }
.nx-lista span { color: var(--texto-apoio); font-size: .82rem; font-weight: 400; white-space: nowrap; }

/* ---------- seja parceiro (franquia) ---------- */
.fr-hero { overflow: hidden; isolation: isolate; }
.fr-hero__foto { position: absolute; z-index: -3; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fr-hero__veu { position: absolute; z-index: -2; inset: 0; background: linear-gradient(90deg, rgba(6, 35, 58, .94) 0%, rgba(6, 35, 58, .78) 50%, rgba(6, 35, 58, .55) 100%); }
.fr-hero .rv-reticula { z-index: -1; }
.fr-hero__grade { align-items: start; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }

.fr-video { max-width: 520px; margin-top: 36px; overflow: hidden; aspect-ratio: 16 / 9; border: 1px solid var(--claro-linha); border-radius: var(--raio); background: var(--abismo); }
.fr-video iframe { display: block; width: 100%; height: 100%; border: 0; }
.fr-video__play { position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; color: var(--claro); }
.fr-video__play img { width: 100%; height: 100%; object-fit: cover; opacity: .7; transition: opacity .45s var(--ease), transform 1.2s var(--ease); }
.fr-video__play:hover img { opacity: .9; transform: scale(1.03); }
.fr-video__icon { position: absolute; top: 50%; left: 50%; display: grid; width: 64px; height: 64px; place-items: center; border-radius: var(--raio); background: var(--ciano); color: var(--abismo); transform: translate(-50%, -50%); }
.fr-video__icon svg { width: 24px; height: 24px; margin-left: 3px; }
.fr-video__label { position: absolute; left: 14px; bottom: 12px; padding: 6px 10px; border-radius: var(--raio); background: var(--abismo); font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; }

.fr-form-card { position: relative; padding: clamp(24px, 3vw, 36px); border-radius: var(--raio); background: var(--papel); color: var(--texto); }
.fr-form-card .rv-cruz { color: var(--ciano); }
.fr-form-card .rv-rotulo { color: var(--texto-apoio); margin-bottom: 14px; }
.fr-form-card h2 { font-size: clamp(1.6rem, 2.4vw, 2.2rem); font-weight: 500; letter-spacing: -.03em; line-height: 1.1; }
.fr-form-card > p { margin-top: 8px; color: var(--texto-apoio); }
.fr-form { display: grid; margin-top: 24px; grid-template-columns: 1fr 1fr; gap: 14px; }
.fr-form .is-wide { grid-column: 1 / -1; }
.fr-form label { display: grid; gap: 6px; color: var(--texto-apoio); font-size: .75rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.fr-form input:not([type="radio"]):not([type="checkbox"]), .fr-form select { width: 100%; min-height: 48px; padding: 0 14px; border: 1px solid var(--linha-forte); border-radius: var(--raio); background: var(--fundo); color: var(--texto); font: inherit; font-size: 1rem; letter-spacing: 0; text-transform: none; appearance: none; }
.fr-form select { padding-right: 40px; background: var(--fundo) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234a5a68' stroke-width='1.6'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 12px center / 16px no-repeat; }
.fr-form input:focus, .fr-form select:focus { border-color: var(--ciano); outline: 0; }
.fr-form input[aria-invalid="true"] { border-color: #c2410c; }
.fr-form__radios { display: flex; margin: 0; padding: 0; align-items: center; gap: 8px 20px; flex-wrap: wrap; border: 0; }
.fr-form__radios legend { width: 100%; margin-bottom: 8px; color: var(--texto-apoio); font-size: .75rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.fr-form__radios label { display: inline-flex; min-height: 44px; align-items: center; gap: 8px; color: var(--texto); font-size: 1rem; letter-spacing: 0; text-transform: none; }
.fr-form__radios input { width: 18px; height: 18px; accent-color: var(--ciano-texto); }
.fr-form__error { color: #c2410c; font-size: .9rem; }
.fr-form .rv-btn { width: 100%; margin-top: 6px; }
.fr-form__success { margin-top: 24px; padding: 20px; border-left: 2px solid var(--ciano); background: var(--brisa); }
.fr-form__success strong { display: block; font-size: 1.15rem; font-weight: 500; }
.fr-form__success p { margin-top: 6px; color: var(--texto-apoio); }

.fr-dif__award img { width: 100%; max-width: 260px; height: auto; margin-top: 18px; }

.fr-produtos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.fr-produtos figure { aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--raio); background: var(--abismo); }
.fr-produtos img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.fr-produtos article:hover img { transform: scale(1.05); }
.fr-produtos h3 { margin-top: 18px; font-size: 1.25rem; font-weight: 500; letter-spacing: -.02em; }
.fr-produtos p { margin-top: 8px; color: var(--texto-apoio); }

.rv-mapa-secao { border-top: 1px solid var(--claro-linha); }
.fr-map { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.fr-map__svg svg { width: 100%; height: auto; overflow: visible; }
.fr-map__svg .units-map__pin { cursor: default; }
.fr-map__svg .units-map__pin.is-slim .units-map__pin-dot { fill: var(--abismo); stroke: var(--ciano); stroke-width: 2.5; }
.fr-map--no-svg { grid-template-columns: 1fr; }
.fr-map--no-svg .fr-map__svg { display: none; }
.fr-map__legend { display: flex; margin-bottom: 20px; gap: 20px; color: var(--claro-apoio); font-size: .9rem; }
.fr-map__legend li { display: inline-flex; align-items: center; gap: 8px; }
i.is-franquia, i.is-slim { display: inline-block; width: 10px; height: 10px; flex: none; border-radius: 50%; }
i.is-franquia { background: var(--ciano); }
i.is-slim { border: 2px solid var(--ciano); }
.fr-map__list { display: grid; max-height: 460px; margin-bottom: 24px; overflow-y: auto; grid-template-columns: 1fr 1fr; gap: 0 24px; border-top: 1px solid var(--claro-linha); scrollbar-width: thin; scrollbar-color: var(--claro-linha) transparent; }
.fr-map__state { padding: 14px 0; border-bottom: 1px solid var(--claro-linha); break-inside: avoid; }
.fr-map__state h3 { margin-bottom: 6px; color: var(--claro-apoio); font-size: .72rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }
.fr-map__state li { display: flex; padding: 3px 0; align-items: center; gap: 8px; font-size: .95rem; }

.fr-depoimentos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.fr-depoimentos figure { display: flex; margin: 0; padding: 28px; flex-direction: column; border: 1px solid var(--linha); border-radius: var(--raio); background: var(--fundo); }
.fr-depoimentos blockquote { margin: 0; font-size: 1.05rem; font-weight: 500; letter-spacing: -.01em; line-height: 1.5; }
.fr-depoimentos blockquote::before { content: "“"; display: block; height: .55em; margin-bottom: 4px; color: var(--ciano); font-size: 3rem; line-height: 1; }
.fr-depoimentos figcaption { display: flex; margin-top: auto; padding-top: 24px; align-items: center; gap: 14px; }
.fr-depoimentos figcaption img { width: 56px; height: 56px; flex: none; border-radius: var(--raio); object-fit: cover; }
.fr-depoimentos figcaption strong { display: block; font-weight: 500; }
.fr-depoimentos figcaption span { display: block; color: var(--texto-apoio); font-size: .85rem; }
.fr-depoimentos details { margin-top: 18px; border-top: 1px solid var(--linha); }
.fr-depoimentos summary { display: flex; min-height: 48px; align-items: center; justify-content: space-between; color: var(--ciano-texto); font-size: .92rem; font-weight: 500; list-style: none; cursor: pointer; }
.fr-depoimentos summary::-webkit-details-marker { display: none; }
.fr-depoimentos summary::after { content: "+"; font-size: 1.3rem; transition: transform .45s var(--ease); }
.fr-depoimentos details[open] summary::after { transform: rotate(45deg); }
.fr-depoimentos details ul { display: grid; padding-bottom: 6px; gap: 8px; }
.fr-depoimentos details li { position: relative; padding-left: 16px; color: var(--texto-apoio); font-size: .9rem; }
.fr-depoimentos details li::before { content: ""; position: absolute; top: .6em; left: 0; width: 6px; height: 6px; background: var(--ciano); }

.fr-close { margin-top: 48px; }

.fr-bar { position: fixed; z-index: 45; right: 0; bottom: 0; left: 0; padding: 12px 0 calc(12px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--linha); background: var(--papel); }
.fr-bar[hidden] { display: none; }
.fr-bar .rv-wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.fr-bar p { color: var(--texto-apoio); font-size: .92rem; }
.fr-bar strong { color: var(--texto); font-weight: 500; }
body.fr-bar-on { padding-bottom: 72px; }

@media (max-width: 1180px) {
  .fr-produtos { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .fr-depoimentos { grid-template-columns: 1fr; }
}

@media (max-width: 980px) {
  .fr-hero__grade, .fr-map { grid-template-columns: 1fr; }
  .nx-app__body { grid-template-columns: 1fr; }
  .nx-app__side, .nx-app__bar nav, .nx-app__search { display: none; }
}

@media (max-width: 640px) {
  .fr-form { grid-template-columns: 1fr; }
  .fr-produtos { grid-template-columns: 1fr; }
  .fr-map__list { grid-template-columns: 1fr; max-height: 360px; }
  .fr-bar p { display: none; }
  .fr-bar .rv-btn { width: 100%; }
  .nx-app__grid { grid-template-columns: repeat(2, 1fr); }
  .nx-app__head > span { display: none; }
  .news-article__body { font-size: 1.05rem; }
}
