/* Rocha Reis — apresentação do tema. O conteúdo permanece em blocos nativos. */
:root {
  --rr-ink: #252422;
  --rr-ink-soft: #34312d;
  --rr-paper: #fbf9f5;
  --rr-sand: #f2eee7;
  --rr-body: #45413b;
  --rr-gold: #c99d51;
  --rr-gold-light: #e3bd79;
  --rr-gold-dark: #806027;
  --rr-line: #dfd8cd;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
.wp-site-blocks > * + * { margin-block-start: 0 !important; }
body, button, input, textarea, select { -webkit-font-smoothing: antialiased; }
a { text-underline-offset: .18em; }
a:focus-visible, button:focus-visible, summary:focus-visible,
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--rr-gold);
  outline-offset: 3px;
}
img { max-width: 100%; }
.site-main { min-height: 40vh; }
.site-main .wp-block-post-content > * { margin-block-start: 0; }
.site-main .wp-block-post-content > .alignfull { margin-inline: 0; }
.rr-container {
  width: min(calc(100% - 3rem), 1180px);
  max-width: none !important;
  margin-inline: auto !important;
}
.rr-container > * { max-width: none !important; }
.rr-container > :first-child { margin-block-start: 0; }
.rr-container .wp-block-columns > * { min-width: 0; }
.rr-container .wp-block-columns { margin-block-end: 0; }
.rr-container .wp-block-group > * { min-width: 0; }
.rr-eyebrow {
  display: flex;
  align-items: center;
  gap: .8rem;
  color: var(--rr-gold-dark);
  font-size: .73rem;
  line-height: 1.5;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .17em;
  margin: 0 0 1.3rem !important;
}
.rr-eyebrow::before {
  content: "";
  display: inline-block;
  flex: 0 0 1.7rem;
  height: 1px;
  background: currentColor;
}
.rr-section-intro { max-width: 650px; font-size: 1.08rem; }
:is(.rr-need, .rr-paths, .rr-services, .rr-process, .rr-intake, .rr-faq, .rr-final) {
  padding-block: clamp(4.5rem, 8vw, 7.5rem);
}
:is(.rr-need, .rr-paths, .rr-services, .rr-process, .rr-intake, .rr-faq, .rr-final) h2 {
  font-size: clamp(2.4rem, 4.2vw, 4.25rem);
  letter-spacing: -.035em;
  max-width: 850px;
  margin: 0 0 1.6rem;
}
:is(.rr-need, .rr-paths, .rr-services, .rr-process, .rr-intake, .rr-faq, .rr-final) h3 {
  font-size: clamp(1.4rem, 2vw, 1.85rem);
  letter-spacing: -.02em;
  margin: 0 0 1rem;
}
:is(.rr-need, .rr-paths, .rr-services, .rr-process, .rr-intake, .rr-faq, .rr-final) p {
  margin-block: 0 1.1rem;
}
.wp-block-button .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.4rem;
  padding: .9rem 1.4rem;
  background: var(--rr-gold);
  border: 1px solid var(--rr-gold);
  border-radius: 0;
  color: var(--rr-ink);
  font-size: .78rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.wp-block-button .wp-block-button__link:hover {
  background: var(--rr-gold-light);
  border-color: var(--rr-gold-light);
  color: var(--rr-ink);
}

/* Cabeçalho e navegação. */
.site-header {
  position: relative;
  z-index: 20;
  background: var(--rr-ink);
  border-bottom: 1px solid rgba(227, 189, 121, .2);
}
.rr-header-inner {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: 102px;
  padding-block: .75rem;
}
.site-header .wp-block-site-logo { flex: 0 0 auto; margin: 0; }
.site-header .wp-block-site-logo img { display: block; width: 150px; height: auto; }
.site-header .wp-block-site-logo a { display: block; }
.rr-nav { margin-inline: auto !important; }
.rr-nav .wp-block-navigation-item__content {
  color: #f0ece6 !important;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  text-decoration: none;
}
.rr-nav .wp-block-navigation-item__content:hover { color: var(--rr-gold-light) !important; }
.rr-nav .wp-block-navigation__container { gap: clamp(1rem, 2.4vw, 2.4rem); }
.rr-header-actions { flex: 0 0 auto; }
.rr-header-actions .wp-block-button__link {
  min-height: 2.9rem;
  background: transparent;
  border-color: var(--rr-gold);
  color: var(--rr-gold-light);
  padding: .7rem 1rem;
  font-size: .69rem;
}
.rr-header-actions .wp-block-button__link:hover { background: var(--rr-gold); color: var(--rr-ink); }
.rr-nav .wp-block-navigation__responsive-container-open,
.rr-nav .wp-block-navigation__responsive-container-close { color: var(--rr-gold-light); }

/* Abertura. A fotografia é uma imagem editorial gerada para este site. */
.rr-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-color: var(--rr-ink);
  background-image: linear-gradient(90deg, rgba(24,23,22,.99) 0%, rgba(24,23,22,.95) 28%, rgba(24,23,22,.68) 54%, rgba(24,23,22,.15) 100%), url('../images/brasilia-architecture.webp');
  background-position: center, center 48%;
  background-repeat: no-repeat;
  background-size: cover;
  color: #f7f2ea;
}
.rr-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: auto 0 0;
  height: 12rem;
  background: linear-gradient(0deg, rgba(24,23,22,.76), transparent);
  pointer-events: none;
}
.rr-hero__layout {
  display: grid !important;
  grid-template-columns: minmax(0, 1.25fr) minmax(250px, .75fr);
  gap: clamp(2rem, 5vw, 6rem);
  align-items: end !important;
  min-height: max(640px, calc(100svh - 102px));
}
.rr-hero__layout > * { flex-basis: auto !important; margin: 0 !important; }
.rr-hero__copy { max-width: 660px; padding-block: 5.5rem 6rem; }
.rr-hero .rr-eyebrow { color: var(--rr-gold-light); }
.rr-hero__title {
  max-width: 720px;
  margin: 0 0 1.5rem !important;
  color: #fff9ef;
  font-size: clamp(3.5rem, 6.2vw, 6.4rem);
  line-height: 1.035;
  letter-spacing: -.053em;
  text-wrap: balance;
}
.rr-hero__copy p:not(.rr-eyebrow):not(.rr-hero__location) {
  max-width: 550px;
  color: #e9e2d7;
  font-size: .98rem;
  line-height: 1.7;
}
.rr-hero__copy .rr-hero__lead {
  color: #fff9f0 !important;
  font-size: 1.23rem !important;
  line-height: 1.55 !important;
}
.rr-hero__actions { margin-top: 2rem !important; }
.rr-hero__actions .wp-block-button__link { min-width: 250px; }
.rr-hero__location {
  display: flex;
  align-items: center;
  gap: .7rem;
  margin: 1.4rem 0 0 !important;
  color: #d8cec0;
  font-size: .78rem;
}
.rr-hero__location::before { content: "◎"; color: var(--rr-gold-light); font-size: 1.1rem; }
.rr-hero__aside { padding-bottom: 3rem; }
.rr-hero__note {
  border-top: 2px solid var(--rr-gold);
  background: rgba(30, 29, 27, .9);
  padding: clamp(1.6rem, 3vw, 2.4rem);
  box-shadow: 0 22px 60px rgba(0,0,0,.2);
}
.rr-hero__note h2 { margin: 0 0 .9rem; color: #fff9ef; font-size: clamp(1.65rem, 2.5vw, 2.4rem); }
.rr-hero__note p { margin: 0 0 .8rem; color: #ded7cc; font-size: .9rem; }
.rr-hero__note-link { margin-top: 1.4rem !important; }
.rr-hero__note-link a { color: var(--rr-gold-light); font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; }

/* Contexto e situações. */
.rr-need { background: var(--rr-paper); }
.rr-need__layout { display: grid !important; grid-template-columns: minmax(0, .72fr) minmax(0, 1fr); gap: clamp(3rem, 7vw, 8rem); align-items: start; }
.rr-need__layout > * { flex-basis: auto !important; margin: 0 !important; }
.rr-need__intro { max-width: 500px; }
.rr-need__intro > p:not(.rr-eyebrow) { font-size: 1.05rem; }
.rr-need__situations {
  background: var(--rr-sand);
  border-top: 3px solid var(--rr-gold);
  padding: clamp(2rem, 3.5vw, 3.2rem);
}
.rr-need__situations h3 { font-size: 1.55rem !important; }
.rr-situation-list { padding: 0 !important; margin: 1.4rem 0 1.6rem !important; list-style: none; }
.rr-situation-list li { position: relative; padding: .65rem 0 .65rem 1.7rem; margin: 0; border-bottom: 1px solid var(--rr-line); font-size: .92rem; line-height: 1.45; }
.rr-situation-list li::before { content: "↗"; position: absolute; left: 0; top: .6rem; color: var(--rr-gold-dark); }
.rr-need__assets { margin: 1.2rem 0 0 !important; color: var(--rr-gold-dark); font-size: .76rem; font-weight: 700; line-height: 1.7; letter-spacing: .06em; text-transform: uppercase; }

/* Modalidades. */
.rr-paths { background: var(--rr-sand); }
.rr-paths > .rr-container > .rr-section-intro { margin-bottom: 2.5rem; }
.rr-paths__grid { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; }
.rr-paths__grid > * { margin: 0 !important; }
.rr-path-card { min-height: 335px; background: #fff; border: 1px solid var(--rr-line); }
.rr-path-card__inner { padding: clamp(2rem, 4vw, 3.3rem); }
.rr-path-card h3 { margin-bottom: 1.5rem; }
.rr-path-card--judicial { background: var(--rr-ink-soft); border-color: var(--rr-ink-soft); color: #ebe5da; }
.rr-path-card--judicial h3 { color: #fff9ef; }
.rr-path-card--judicial .rr-eyebrow { color: var(--rr-gold-light); }
.rr-path-card--judicial p { color: #e4ded3; }
.rr-paths__actions { margin-top: 2.4rem !important; }

/* Áreas de atuação. */
.rr-services { background: #fff; }
.rr-services .rr-section-intro { margin-bottom: 2.8rem; }
.rr-service-grid { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin: 0 !important; }
.rr-service-grid--second { margin-top: 1rem !important; }
.rr-service-grid > * { margin: 0 !important; }
.rr-service-card { border: 1px solid var(--rr-line); background: var(--rr-paper); transition: border-color .2s ease; }
.rr-service-card:hover { border-color: var(--rr-gold); }
.rr-service-card__inner { padding: 2.1rem 2rem 2.4rem; }
.rr-service-card__number { margin-bottom: 2rem !important; color: var(--rr-gold-dark); font-family: Georgia, 'Times New Roman', serif; font-size: 1.55rem; }
.rr-service-card h3 { min-height: 3.5rem; font-size: 1.5rem !important; }
.rr-service-card p:not(.rr-service-card__number) { margin-bottom: 0; font-size: .91rem; }

/* Etapas. */
.rr-process { background: var(--rr-ink); color: #ded8cf; }
.rr-process h2, .rr-process h3 { color: #fff9ef; }
.rr-process .rr-eyebrow { color: var(--rr-gold-light); }
.rr-process__steps { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.4rem; margin-top: 3.8rem !important; }
.rr-process__steps > * { margin: 0 !important; }
.rr-step { border-top: 1px solid rgba(227,189,121,.55); padding-top: 1.6rem; }
.rr-step__number { margin: 0 0 2.2rem !important; color: var(--rr-gold-light); font-family: Georgia, 'Times New Roman', serif; font-size: 2.25rem; line-height: 1; }
.rr-step h3 { font-size: 1.35rem !important; min-height: 3rem; }
.rr-step p:not(.rr-step__number) { color: #cac4bb; font-size: .9rem; }

/* Formulário e contexto. */
.rr-intake { background: #35322e; color: #e8e0d5; }
.rr-intake__layout { display: grid !important; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(2rem, 6vw, 6rem); align-items: start !important; }
.rr-intake__layout > * { margin: 0 !important; }
.rr-intake__context { position: sticky; top: 3rem; padding-top: 1.1rem; }
.rr-intake__context h2 { color: #fff9ef; }
.rr-intake__context .rr-eyebrow { color: var(--rr-gold-light); }
.rr-intake__context p:not(.rr-eyebrow) { max-width: 460px; color: #d6cec2; font-size: 1.04rem; }
.rr-intake__form { padding: clamp(1.7rem, 4vw, 3.5rem); background: var(--rr-paper); color: var(--rr-body); scroll-margin-top: 1rem; }
.rr-intake__form h2 { font-size: clamp(2.05rem, 3vw, 3rem); }
.rr-intake__form > p:not(.rr-eyebrow) { max-width: 550px; }
.rr-form-slot { margin-top: 2rem !important; }
.rr-intake__privacy { margin-top: 1.5rem !important; color: #706a61; font-size: .78rem; line-height: 1.5; }
.appventura-form { max-width: none; margin: 0; padding: 0; background: transparent; }
.appventura-form .form-card__title, .appventura-form .form-card__hint { display: none; }
.appventura-form .field { margin-bottom: 1rem; }
.appventura-form .field label { display: block; margin-bottom: .4rem; color: var(--rr-ink); font-size: .82rem; font-weight: 700; }
.appventura-form .field :is(input, select, textarea) {
  width: 100%; min-height: 3.1rem; border: 1px solid #c8bfb0; border-radius: 0;
  background: #fff; color: var(--rr-ink); padding: .75rem .85rem; font: inherit; font-size: .9rem;
}
.appventura-form .field textarea { min-height: 7.5rem; resize: vertical; }
.appventura-form .field :is(input, select, textarea)::placeholder { color: #756e63; opacity: 1; }
.appventura-form .form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.appventura-form .form-row > * { min-width: 0; }
.appventura-form button[type="submit"] {
  width: 100%; min-height: 3.5rem; border: 1px solid var(--rr-gold); border-radius: 0;
  background: var(--rr-gold); color: var(--rr-ink); cursor: pointer; padding: .9rem 1.25rem;
  font: inherit; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.appventura-form button[type="submit"]:hover { background: var(--rr-gold-light); border-color: var(--rr-gold-light); }
.appventura-form button[type="submit"]:disabled { opacity: .6; cursor: wait; }
.appventura-form .apvf-error { color: #9e2828; }
.appventura-form .form-success { padding: 2rem; border: 1px solid var(--rr-gold); }

/* Perguntas e chamada final. */
.rr-faq { background: var(--rr-paper); }
.rr-faq__columns { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem 2.5rem; margin-top: 2.6rem !important; }
.rr-faq__columns > * { margin: 0 !important; }
.rr-faq__item { margin: 0 !important; border-bottom: 1px solid var(--rr-line); }
.rr-faq__item summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.2rem 0; list-style: none; cursor: pointer; color: var(--rr-ink); font-size: .97rem; font-weight: 700; line-height: 1.45; }
.rr-faq__item summary::-webkit-details-marker { display: none; }
.rr-faq__item summary::after { content: "+"; color: var(--rr-gold-dark); font-family: Georgia, 'Times New Roman', serif; font-size: 1.65rem; font-weight: 400; line-height: 1; }
.rr-faq__item[open] summary::after { content: "−"; }
.rr-faq__item p { max-width: 550px; margin: 0 0 1.4rem !important; font-size: .92rem; }
.rr-final { background: linear-gradient(135deg, #302e2a, #1d1c1a); color: #eae3d7; text-align: center; }
.rr-final__layout { max-width: 820px !important; }
.rr-final .rr-eyebrow { justify-content: center; color: var(--rr-gold-light); }
.rr-final h2 { margin-inline: auto; color: #fff9ef; }
.rr-final__copy { font-size: 1.12rem; }
.rr-final__actions { justify-content: center; margin-block: 2rem !important; }
.rr-final__signature { margin: 3rem auto 0 !important; max-width: 630px; padding-top: 1.5rem; border-top: 1px solid rgba(227,189,121,.35); color: #bfb6aa; font-size: .78rem; }

/* Rodapé. */
.site-footer { background: #1b1a19; color: #c3beb6; border-top: 1px solid rgba(227,189,121,.35); }
.rr-footer-inner { padding-block: 4.2rem 1.6rem; }
.rr-footer-grid { display: grid !important; grid-template-columns: 1.5fr 1fr 1.1fr; gap: clamp(2rem, 5vw, 5rem); }
.rr-footer-grid > * { margin: 0 !important; }
.rr-footer-brand .wp-block-site-logo { margin: 0 0 1.3rem !important; }
.rr-footer-brand img { display: block; width: 166px; height: auto; }
.rr-footer-brand p { max-width: 330px; font-size: .84rem; line-height: 1.6; }
.site-footer h3 { margin: 0 0 1.2rem; color: var(--rr-gold-light); font: 700 .7rem/1.5 Arial, Helvetica, sans-serif; text-transform: uppercase; letter-spacing: .13em; }
.site-footer p { margin: 0; font-size: .84rem; line-height: 1.8; }
.site-footer a { color: #ded8ce; text-decoration: none; }
.site-footer a:hover { color: var(--rr-gold-light); text-decoration: underline; }
.rr-footer-bottom { display: flex !important; gap: 1rem 2rem; padding-top: 1.4rem; margin-top: 3.7rem !important; border-top: 1px solid rgba(255,255,255,.13); }
.rr-footer-bottom p { font-size: .73rem; color: #aaa39a; }
.rr-afrolatina-credit { display: inline-flex; width: 112px; height: 18px; align-items: center; vertical-align: middle; }
.rr-afrolatina-credit::before { content: ""; display: block; width: 100%; height: 100%; background: url("../images/afrolatina-logo.svg") center / contain no-repeat; }
.rr-afrolatina-credit span { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

@media (max-width: 1050px) {
  .rr-header-inner { min-height: 88px; }
  .rr-header-actions { display: none !important; }
  .rr-hero__layout { min-height: 590px; grid-template-columns: minmax(0, 1.3fr) minmax(220px, .7fr); }
  .rr-hero__title { font-size: clamp(3.25rem, 6vw, 5rem); }
  .rr-service-card__inner { padding: 1.7rem; }
}
@media (max-width: 780px) {
  .rr-container { width: min(calc(100% - 2.25rem), 1180px); }
  .rr-nav { margin-left: auto !important; margin-right: 0 !important; }
  .rr-nav .wp-block-navigation__responsive-container.is-menu-open { background: var(--rr-ink); color: #fff; padding: 2rem; }
  .rr-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content { color: #fff9ef !important; font-size: 1rem; }
  .rr-hero { background-position: center, 63% center; }
  .rr-hero__layout { grid-template-columns: minmax(0, 1fr); min-height: auto; gap: 0; }
  .rr-hero__copy { padding-block: 6rem 2.5rem; }
  .rr-hero__title { max-width: 650px; }
  .rr-hero__aside { max-width: 530px; padding-bottom: 3rem; }
  .rr-need__layout, .rr-intake__layout { grid-template-columns: minmax(0, 1fr); gap: 3rem; }
  .rr-need__intro { max-width: 650px; }
  .rr-process__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rr-intake__context { position: static; }
  .rr-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rr-footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .rr-container { width: min(calc(100% - 2rem), 1180px); }
  .rr-header-inner { min-height: 79px; }
  .site-header .wp-block-site-logo img { width: 112px; }
  :is(.rr-need, .rr-paths, .rr-services, .rr-process, .rr-intake, .rr-faq, .rr-final) { padding-block: 4.2rem; }
  :is(.rr-need, .rr-paths, .rr-services, .rr-process, .rr-intake, .rr-faq, .rr-final) h2 { font-size: clamp(2.15rem, 9vw, 3.2rem); }
  .rr-hero { background-image: linear-gradient(90deg, rgba(24,23,22,.96), rgba(24,23,22,.76)), url('../images/brasilia-architecture.webp'); background-position: center, 64% center; }
  .rr-hero__copy { padding-block: 4.6rem 2.2rem; }
  .rr-hero__title { font-size: clamp(3.05rem, 12vw, 4.1rem); }
  .rr-hero__copy .rr-hero__lead { font-size: 1.12rem !important; }
  .rr-hero__note { padding: 1.5rem; }
  .rr-need__situations { padding: 1.7rem; }
  .rr-paths__grid, .rr-service-grid, .rr-process__steps, .rr-faq__columns, .rr-footer-grid { grid-template-columns: minmax(0, 1fr); }
  .rr-service-grid--second { margin-top: 1rem !important; }
  .rr-service-card h3, .rr-step h3 { min-height: 0; }
  .rr-path-card { min-height: 0; }
  .rr-intake__form { padding: 1.5rem; }
  .appventura-form .form-row { grid-template-columns: minmax(0, 1fr); }
  .rr-footer-brand { grid-column: auto; }
  .rr-footer-bottom { display: block !important; }
  .rr-footer-bottom p + p { margin-top: .6rem; }
}
@media (max-width: 360px) {
  .appventura-form label[for$="-custom_documentacao"] { font-size: .75rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .wp-block-button .wp-block-button__link, .rr-service-card { transition: none; }
}
