/* Intake styles mirror brazilusa-revamp/styles.css, using Juramenta tokens. */
@import url('/css/base.css?v=3');

/* Link icon for inline editorial links. The mask follows the link color,
   so the icon participates in the same hover transition as the text. */
:root {
  --inline-link-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M8.36909 6.8934C8.06649 7.0539 7.78239 7.2617 7.52799 7.517L7.51799 7.527C6.13699 8.908 6.13699 11.146 7.51799 12.527L9.69299 14.702C11.074 16.083 13.312 16.083 14.693 14.702L14.703 14.692C16.084 13.311 16.084 11.073 14.703 9.692L13.9406 8.9296' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3Cpath d='M9.63289 11.1066C9.93549 10.9461 10.2196 10.7383 10.474 10.483L10.484 10.473C11.865 9.09199 11.865 6.85399 10.484 5.47299L8.30899 3.29799C6.92799 1.91699 4.68999 1.91699 3.30899 3.29799L3.29899 3.30799C1.91799 4.68899 1.91799 6.92699 3.29899 8.30799L4.06139 9.07039' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
}

main p a:not(.btn):not(.row):not(.article-row)::after,
main li a:not(.btn):not(.row):not(.article-row)::after,
main :is(h2, h3, h4) a:not(.btn):not(.article-row)::after {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-left: 4px;
  background-color: currentColor;
  -webkit-mask: var(--inline-link-icon) center / contain no-repeat;
  mask: var(--inline-link-icon) center / contain no-repeat;
  vertical-align: -1px;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

main,
section,
.wrap,
.grid-3,
.section-columns {
  min-width: 0;
}

p,
li,
a,
button {
  overflow-wrap: break-word;
}

.wrap {
  width: min(100%, var(--maxw));
  margin-inline: auto;
  padding-inline: var(--page-gutter);
}

@media (min-width: 47.5rem) {
  .wrap {
    padding-inline: clamp(1rem, 2.5vw, 2.25rem);
  }
}

.skip {
  position: absolute;
  left: -9999px;
  top: 8px;
  background: var(--green);
  color: #fff;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  z-index: 1000;
}

.skip:focus {
  left: 8px;
}

/* muted style for pending, to-be-filled values */
.pending {
  color: var(--ink-3);
  font-style: italic;
  font-weight: 400;
}

/* ---------- icons ---------- */
.ic {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: -4px;
}

/* ---------- topbar ---------- */
.topbar {
  background: var(--paper-2);
  color: var(--ink-2);
  font-size: 0.8125rem;
  border-bottom: 1px solid var(--rule-2);
}

.topbar .wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.75rem;
}

.topbar .lbl {
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--green);
  margin-right: 0.375rem;
}

.topbar .it {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  min-height: 2rem;
  padding: 0.25rem 0.625rem;
  border-radius: var(--pill);
  color: var(--ink-2);
  text-decoration: none;
  white-space: nowrap;
  transition: color .18s var(--ease), background .18s var(--ease);
}

.topbar a.it:hover {
  color: var(--green);
  background: var(--green-tint);
  text-decoration: none;
}

.topbar .it .k {
  color: var(--ink-3);
}

.topbar .it .pending {
  color: var(--ink-3);
}

.topbar .spacer {
  flex: 1;
}

.topbar .rev {
  color: var(--ink-3);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.topbar {
  overflow: hidden;
}

@media (max-width: 74.9375rem) {
  .topbar .rev {
    display: none;
  }
}

@media (max-width: 56.1875rem) {
  .topbar {
    display: none;
  }
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(255, 255, 255);
  border-bottom: 0;
}

.site-header .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.625rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  padding: 0.375rem 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--sans);
  font-optical-sizing: auto;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.01em;
  line-height: 1;
}

.logo:hover {
  background: transparent;
  color: var(--ink);
}

.logo-image {
  display: block;
  width: clamp(14rem, 22vw, 17rem);
  height: auto;
  max-height: 8.5rem;
}

.logo-drawn {
  overflow: visible;
}

.logo:is(:hover, :focus-visible) .logo-script-letter {
  animation: logo-type-in 0.08s step-end both !important;
  animation-delay: var(--type-delay) !important;
}

.logo:is(:hover, :focus-visible) .logo-subtitle-letter {
  animation: logo-type-in 0.08s step-end both !important;
  animation-delay: var(--letter-delay) !important;
}

@keyframes logo-type-in {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

.site-nav {
  display: flex;
  align-items: center;
  padding: 0.3rem 0.7rem;
  border: 1px solid var(--rule-2);
  border-radius: 2rem;
  background: var(--card);
  box-shadow: 0 0.25rem 1rem rgba(23, 32, 27, .05);
}

.site-nav a {
  color: var(--ink-2);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.875rem;
  padding: 0.625rem 0.875rem;
  transition: background .18s var(--ease), color .18s var(--ease);
}

.site-nav a:hover {
  background: var(--paper-2);
  color: var(--ink);
  border-radius: 2rem;
}

.site-nav a[aria-current="page"] {
  color: var(--color-action);
  font-weight: 700;
}

.site-nav a.cta {
  margin-left: 0.5rem;
}

.site-nav a.cta {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 700;
  background: var(--color-action);
  color: #fff;
  border-color: var(--color-action);
  border-radius: 1.75rem;
}

.site-nav a.cta:hover {
  background: var(--color-action-hover);
  border-color: var(--color-action-hover);
  color: #fff;
  box-shadow: var(--shadow-1);
}

/* mobile menu (CSS only) */
.menu {
  display: none;
  margin-left: auto;
}

.menu>summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  min-width: 44px;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  color: var(--ink);
  font-weight: 600;
  font-size: 0.9375rem;
}

.menu>summary::-webkit-details-marker {
  display: none;
}

.menu[open]>summary {
  background: var(--paper-2);
}

.menu .panel {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
  box-shadow: var(--shadow-2);
  padding: 8px 22px 16px;
  display: flex;
  flex-direction: column;
}

.menu .panel a {
  padding: 13px 8px;
  border-bottom: 1px solid var(--rule-2);
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  font-size: 1.0625rem;
}

.menu .panel a[aria-current="page"] {
  color: var(--green);
  font-weight: 700;
}

.menu .panel a.cta {
  border: 0;
  margin-top: 10px;
}

@media (max-width: 56.1875rem) {
  .site-nav {
    display: none;
  }

  .menu {
    display: block;
  }

  .site-header .bar {
    min-height: 4rem;
    gap: 0.625rem;
    padding-block: 0.5rem;
  }

  .logo {
    padding: 0.25rem 0;
  }

  .logo-image {
    width: 13.5rem;
    max-height: 7.5rem;
  }

  .hdr-cta {
    margin-left: auto;
  }

  .menu {
    margin-left: 0;
  }

  .menu>summary {
    border: 1px solid var(--rule-2);
    border-radius: 0.875rem;
    background: var(--card);
  }
}

@media (min-width: 56.25rem) {
  .btn.hdr-cta {
    display: none;
  }
}

.hdr-cta {
  min-height: 40px;
  padding: 8px 14px;
  font-size: 0.875rem;
}

@media (max-width: 27.4375rem) {
  .menu>summary span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .menu>summary {
    padding: 8px;
    display: flex;
    justify-content: center;
  }

  .btn.hdr-cta {
    display: none;
  }

  .logo {
    padding-right: 0;
  }
}

/* ---------- sections ---------- */

/* Classes genéricas reutilizáveis */
.kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  font-family: var(--sans);
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--color-accent-strong);
  background: var(--color-accent-soft);
  border-radius: var(--pill);
  padding: 0.25rem 0.75rem;
  margin-bottom: 1rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.375rem;
}

section {
  padding-block: var(--space-section);
}

section.alt {
  background: var(--paper-2);
}

section h2+.section-lede,
.section-lede {
  color: var(--ink-2);
  font-size: 0.875rem;
}

.lane-label {
  font-family: var(--sans);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

@media (min-width: 40rem) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 60rem) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  background: var(--card);
  border: 1px solid var(--rule-2);
  border-radius: var(--radius);
  padding: 22px 22px 20px;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), border-color .18s var(--ease);
}

.card:hover {
  box-shadow: var(--shadow-1);
  border-color: var(--rule);
}

.card h3 {
  margin: 4px 0 8px;
}

.card h3 a {
  color: var(--ink);
  text-decoration: none;
}

.card h3 a:hover {
  color: var(--green);
}

.card p {
  font-size: 0.9375rem;
  color: var(--ink-2);
}

.card p a {
  font-weight: 600;
}

/* ---------- how it works ---------- */
.how-it-works {
  padding-block: var(--space-section);
  background: var(--paper);
}

.how-it-works h2 {
  margin-bottom: var(--space-header-content);
}

.how-it-works__steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 4vw, 3.5rem);
}

.how-it-works__step {
  position: relative;
  min-width: 0;
  text-align: center;
}

.how-it-works__step h3 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  margin-bottom: 0.625rem;
  font-family: var(--sans);
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
}

.how-it-works__number {
  display: inline-grid;
  place-items: center;
  width: 1.375rem;
  height: 1.375rem;
  flex: 0 0 1.375rem;
  border-radius: 50%;
  background: var(--color-action-soft);
  color: var(--color-action);
  font-size: 0.625rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
}

.how-it-works__step:not(:last-child)::after {
  content: "\2192";
  position: absolute;
  top: 0.25rem;
  right: calc(clamp(1.5rem, 4vw, 3.5rem) / -2);
  transform: translateX(50%);
  color: var(--ink-3);
  font-size: 2rem;
  line-height: 1.3;
}

.how-it-works__step p {
  margin-inline: auto;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--ink-2);
}

@media (max-width: 47.5rem) {
  .how-it-works {
    padding-block: var(--space-section);
  }

  .how-it-works h2 {
    margin-bottom: var(--space-header-content);
  }

  .how-it-works__steps {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .how-it-works__step {
    text-align: left;
  }

  .how-it-works__step h3 {
    justify-content: flex-start;
    white-space: normal;
  }

  .how-it-works__step p {
    margin: 0;
    padding-left: 1.75rem;
  }

  .how-it-works__step:not(:last-child)::after {
    content: "\2193";
    top: auto;
    right: auto;
    bottom: -1.2rem;
    left: 0.125rem;
    transform: none;
    font-size: 1.25rem;
    line-height: 1;
  }
}

.tag {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  width: fit-content;
  max-width: 100%;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--color-action);
  background: var(--color-action-soft);
  border-radius: var(--pill);
  padding: 4px 9px;
  margin-bottom: 8px;
  white-space: nowrap;
  cursor: default;
  transition: color .18s var(--ease), background .18s var(--ease);
}

.tag svg {
  width: 0.75rem;
  height: 0.75rem;
  flex: 0 0 0.75rem;
  overflow: visible;
}

.services-section .tag svg {
  width: 1rem;
  height: 1rem;
  flex-basis: 1rem;
}

.tag .tag-label {
  max-width: 0;
  margin-left: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-width .24s var(--ease), margin-left .24s var(--ease), opacity .16s var(--ease);
}

.services-section .card:hover .tag .tag-label,
.services-section .card:focus-within .tag .tag-label {
  max-width: 12rem;
  margin-left: 0.375rem;
  opacity: 1;
}

.service-chip-symbols {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.tag.terra {
  color: var(--color-accent-strong);
  background: var(--color-accent-soft);
}

/* ---------- seção de serviços da home ---------- */
.services-section {
  padding-block: var(--space-section);
}

.services-header {
  margin-bottom: var(--space-header-content);
}

.services-header .kicker {
  margin-bottom: 1rem;
}

.services-header h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.125rem);
  margin-bottom: 0;
}

.services-header .section-lede {
  font-size: 0.875rem;
  line-height: 1.65;
}

.service-group {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.service-group+.service-group {
  margin-top: var(--space-group);
}

.service-group .lane-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--ink-3);
  font-size: 0.8125rem;
  margin-bottom: 0.2rem;
}

.service-group .lane-label svg {
  width: 1.75rem;
  height: 1.75rem;
  flex: 0 0 1.75rem;
  padding: 0.4375rem;
  border-radius: 50%;
  background: var(--paper-2);
  color: inherit;
  overflow: visible;
}

.services-section .grid-3 {
  gap: 1rem;
}

.services-section .card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
  padding: 1.25rem;
  border-color: var(--border-color);
  border-radius: 0.875rem;
  box-shadow: none;
}

.services-section .card:hover {
  border-color: var(--green-line);
}

.services-section .card h3 {
  margin: 0.25rem 0 0.625rem;
  font-size: 1.125rem;
}

.services-section .card p {
  font-size: 0.9375rem;
  line-height: 1.6;
}

@media (max-width: 40rem) {
  .services-section {
    padding-block: var(--space-section);
  }

  .services-header {
    margin-bottom: var(--space-header-content);
  }

  .service-group {
    padding: 0;
  }

  .services-section .card {
    padding: 1rem;
  }
}

/* ---------- prose (doc pages, guides) ---------- */

.prose>h1 {
  margin: 0.375rem 0 var(--space-title-subtitle);
}

.prose .meta {
  font-size: 0.875rem;
  color: var(--ink-3);
  margin: 0 0 var(--space-header-content);
}

.prose p,
.prose li {
  font-size: 0.9375rem;
  line-height: 1.6;
}

.prose p+p {
  margin-top: 0.875rem;
}

.prose h2 {
  margin: var(--space-group) 0 0.75rem;
}

.prose h3 {
  margin: 1.5rem 0 0.5rem;
}

.prose li+li {
  margin-top: 0.5rem;
}

.prose ul:not([class]),
.prose ol:not([class]) {
  padding-inline-start: 1.5rem;
}

.prose ul li::marker {
  color: var(--green);
}

.prose ol li::marker {
  color: var(--green);
  font-weight: 700;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 14px 0 20px;
  font-size: 0.9375rem;
  background: var(--card);
  border: 1px solid var(--rule-2);
  border-radius: 10px;
  overflow: hidden;
}

.prose thead th {
  text-align: left;
  background: var(--paper-2);
  color: var(--ink);
  font-weight: 700;
  padding: 11px 12px;
  border-bottom: 1px solid var(--rule);
  font-size: 0.8125rem;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.prose td {
  padding: 11px 12px;
  border-bottom: 1px solid var(--rule-2);
  vertical-align: top;
  color: var(--ink-2);
}

.prose tbody tr:last-child td {
  border-bottom: 0;
}

.prose td:first-child {
  color: var(--ink);
  font-weight: 600;
}

.tablewrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.prose .note {
  font-size: 0.9375rem;
  color: var(--ink-3);
  background: var(--paper-2);
  border-left: 3px solid var(--rule);
  padding: 10px 14px;
  border-radius: 0 8px 8px 0;
  margin: 14px 0;
}

.prose figure {
  margin: 22px 0;
}

.prose figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
  border: 1px solid var(--rule-2);
  background: var(--card);
}

.prose figcaption {
  font-size: 0.8125rem;
  color: var(--ink-3);
  margin-top: 8px;
}

.crumbs {
  font-size: 0.8125rem;
  color: var(--ink-3);
  margin: 0 0 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.crumbs a {
  color: var(--ink-3);
  text-decoration: none;
}

.crumbs a:hover {
  color: var(--green);
  text-decoration: underline;
}

.crumbs .sep {
  opacity: .55;
}

.crumbs [aria-current="page"] {
  color: var(--ink-2);
  font-weight: 600;
}

.answer-box {
  background: var(--color-action-soft);
  border: 1px solid var(--color-action-border);
  border-radius: var(--radius);
  padding: 1rem;
  margin: 0.25rem 0 var(--space-header-content);
}

.answer-box p {
  color: var(--ink);
  font-size: 1.0625rem;
}

@media (max-width: 34.9375rem) {
  .answer-box p {
    font-size: 1rem;
  }

  .answer-box {
    padding: 0.875rem;
  }
}

.answer-box p strong {
  color: var(--green-2);
}

.cta-quote {
  background: var(--card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 1rem;
  margin: var(--space-header-content) 0 var(--space-group);
}

.cta-quote>p {
  font-size: 1rem;
  color: var(--ink-2);
  margin-bottom: 0.875rem;
}

.cta-quote .btn {
  width: 100%;
}

@media (min-width: 35rem) {
  .cta-quote .btn {
    width: auto;
  }
}

.fone {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-top: 0.875rem;
  border-top: 1px solid var(--rule-2);
  padding-top: 0.5rem;
}

.fone .row,
.expediente .row {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  padding: 0.5rem 0;
  font-size: 0.875rem;
  text-decoration: none;
  color: var(--ink-2);
}

.fone .row .k,
.expediente .row .k {
  min-width: 6rem;
  color: var(--ink-3);
  font-size: 0.8125rem;
}

.fone a.row:hover .v,
.expediente a.row:hover .v {
  color: var(--color-action-hover);
  text-decoration: underline;
}

.fone .row .v,
.expediente .row .v {
  color: var(--green);
  font-weight: 600;
}

@media (min-width: 40rem) {
  .fone {
    grid-template-columns: 1fr 1fr;
    column-gap: 20px;
  }

  .fone .row:nth-child(1) {
    grid-column: 1 / -1;
  }
}

/* facts box on language pages */
.facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin: 0.375rem 0 var(--space-header-content);
}

.facts div {
  background: var(--paper-2);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 0.875rem;
}

.facts .k {
  display: block;
}

.facts .v {
  display: block;
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--ink);
  margin-top: 4px;
  line-height: 1.2;
}

.facts .h {
  display: block;
  font-size: 0.8125rem;
  color: var(--ink-3);
  margin-top: 3px;
}

@media (min-width: 40rem) {
  .facts {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* post list (guides index) */
.post-list {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

@media (min-width: 45rem) {
  .post-list {
    grid-template-columns: 1fr 1fr;
  }
}

.post-list li {
  min-width: 0;
  margin: 0 !important;
}

/* editorial article rows (home) */

.guides-section h2 {
  margin-bottom: var(--space-title-subtitle);
}

.guides-section .section-lede {
  margin-bottom: var(--space-header-content);
}

.article-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.article-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  min-height: 100%;
  padding: 0.875rem;
  border: 1px solid var(--rule-2);
  border-radius: var(--radius-sm);
  background: var(--card);
  color: var(--ink);
  text-decoration: none;
  transition: background .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease);
}

.article-row__content {
  display: grid;
  gap: 0.25rem;
  min-width: 0;
}

.article-row__content strong {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.3;
  transition: color .18s var(--ease);
}

.article-row__content>span {
  color: var(--ink-3);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.article-row__icon {
  flex: 0 0 auto;
  width: 1rem;
  height: 1rem;
  margin-top: 0.15rem;
  background-color: currentColor;
  -webkit-mask: var(--inline-link-icon) center / contain no-repeat;
  mask: var(--inline-link-icon) center / contain no-repeat;
}

.article-row:hover {
  border-color: var(--color-action-border);
  background: var(--color-action-soft);
  color: var(--color-action);
}

.article-row:hover .article-row__content strong {
  color: var(--color-action);
}

/* documents + languages strip (home) */
.strip {
  padding-block: var(--space-section);
}

.strip h2 {
  margin-bottom: var(--space-header-content);
}

.strip .directory-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(13rem, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
}

.strip .directory-group--languages {
  padding-left: clamp(1.5rem, 4vw, 3rem);
  border-left: 1px solid var(--rule);
}

.strip .lane-label {
  margin: 0 0 0.625rem;
}

.strip .pills {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
}

.strip .directory-group--languages .pills {
  grid-template-columns: 1fr;
}

.strip .pills a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 2.75rem;
  padding: 0.625rem 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--rule-2);
  background: var(--card);
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1.6;
  transition: background .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease);
}

.strip .pills a::after {
  content: "";
  width: 0.75rem;
  height: 0.75rem;
  flex: 0 0 0.75rem;
  background-color: currentColor;
  -webkit-mask: var(--inline-link-icon) center / contain no-repeat;
  mask: var(--inline-link-icon) center / contain no-repeat;
}

.strip .pills a:hover {
  border-color: var(--color-action-border);
  color: var(--color-action);
  background: var(--color-action-soft);
}

@media (max-width: 47.5rem) {
  .strip .directory-grid {
    grid-template-columns: 1fr;
  }

  .strip .directory-group--languages {
    padding-top: 1.5rem;
    padding-left: 0;
    border-top: 1px solid var(--rule);
    border-left: 0;
  }
}

@media (max-width: 32rem) {
  .strip .pills {
    grid-template-columns: 1fr;
  }
}

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--green);
  color: var(--paper);
  text-align: center;
  padding-block: var(--space-section);
}

.cta-band h2 {
  color: #fff;
}

.cta-band p {
  color: var(--paper);
  opacity: .92;
  max-width: 60ch;
  margin: 0.75rem auto 1.5rem;
  font-size: 1.0625rem;
}

.cta-band .btn-primary {
  background: var(--paper);
  color: var(--green);
  border-color: var(--paper);
}

.cta-band .btn-primary:hover {
  background: #fff;
  color: var(--green-2);
  border-color: #fff;
}

/* ---------- footer ---------- */
.site-footer {
  background: var(--paper-2);
  border-top: 1px solid var(--rule);
  padding: 44px 0 30px;
  font-size: 0.9375rem;
}

.site-footer .cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px 20px;
}

@media (min-width: 43.75rem) {
  .site-footer .cols {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 62.5rem) {
  .site-footer .cols {
    grid-template-columns: 1.1fr 1.2fr .8fr 1.2fr .9fr;
  }
}

.site-footer .lbl {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 10px;
}

.site-footer .cols a {
  display: block;
  color: var(--ink-2);
  text-decoration: none;
  padding: 5px 0;
}

.site-footer .cols a:hover {
  color: var(--green);
  text-decoration: underline;
}

.expediente {
  margin-top: 30px;
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 16px 20px 12px;
}

.expediente .lbl {
  margin-bottom: 4px;
}

.expediente .row {
  border-bottom: 1px solid var(--rule-2);
}

.expediente .row:last-child {
  border-bottom: 0;
}

.expediente .row .k {
  min-width: 8.75rem;
}

@media (max-width: 35rem) {
  .expediente .row .k {
    min-width: 5.75rem;
  }

  .expediente .row .v,
  .expediente .row .pending {
    min-width: 0;
    overflow-wrap: anywhere;
  }
}

/* ---------- Google "Fontes Preferidas" ----------
   Google's publisher.js renders its own button into a shadow root inside .prefsrc,
   so the footer's own link rules never reach it and there is nothing to override.
   The .prefsrc-link next to it is Google's documented plain-link fallback: it ships
   on every page and the inline script removes it the moment the real button draws,
   so a reader with JavaScript off still gets a working link instead of a dead label.
   The pill is the DARK variant because this footer sits on paper, not on navy. */
.site-footer .prefsrc {
  margin-top: 24px;
}

.site-footer .prefsrc .lbl {
  margin-bottom: 8px;
}

.site-footer .sig {
  margin-top: 22px;
  color: var(--ink-2);
}

.site-footer .sig a {
  color: var(--green);
}

.site-footer .legal {
  margin-top: 10px;
  font-size: 0.8125rem;
  color: var(--ink-3);
  line-height: 1.55;
}

.site-footer .idiomas {
  margin-top: 18px;
  font-size: 0.875rem;
  color: var(--ink-3);
}

.site-footer .idiomas a {
  color: var(--ink-2);
  text-decoration: none;
  margin-right: 12px;
}

.site-footer .idiomas a:hover {
  color: var(--green);
  text-decoration: underline;
}

/* ---------- floating contact actions ---------- */
.contact-fabs {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 40;
  display: flex;
  align-items: flex-end;
  gap: 0.625rem;
}

.fab-wa,
.contact-fab-toggle,
.contact-fab-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  padding: 0;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  text-decoration: none;
  box-shadow: var(--shadow-2);
  transition: background .18s var(--ease), color .18s var(--ease), transform .18s var(--ease), opacity .18s var(--ease);
}

.fab-wa:hover,
.contact-fab-action:hover {
  background: var(--green-2);
  color: #fff;
  transform: translateY(-1px);
}

.fab-wa .ic,
.contact-fab-toggle .ic,
.contact-fab-action .ic {
  width: 22px;
  height: 22px;
  flex-basis: 22px;
}

.contact-fab-toggle,
.contact-fab-menu {
  display: none;
}

@media (max-width: 56.1875rem) {
  .contact-fabs {
    flex-direction: column;
  }

  .contact-fab-toggle {
    display: inline-flex;
    border: 1px solid var(--green-line);
    background: var(--card);
    color: var(--green);
    cursor: pointer;
  }

  .contact-fab-toggle:hover,
  .contact-fab-toggle[aria-expanded="true"] {
    background: var(--green-tint);
    color: var(--green-2);
  }

  .contact-fab-toggle .ic {
    transition: transform .2s var(--ease);
  }

  .contact-fab-toggle[aria-expanded="true"] .ic {
    transform: rotate(45deg);
  }

  .contact-fab-menu {
    position: absolute;
    left: 0;
    bottom: calc(100% + 0.625rem);
    display: flex;
    flex-direction: column-reverse;
    gap: 0.625rem;
    visibility: hidden;
    pointer-events: none;
  }

  .contact-fab-action {
    opacity: 0;
    transform: translateY(0.5rem) scale(.92);
  }

  .contact-fabs.is-open .contact-fab-menu {
    visibility: visible;
    pointer-events: auto;
  }

  .contact-fabs.is-open .contact-fab-action {
    opacity: 1;
    transform: none;
  }

  .contact-fabs.is-open .contact-fab-action:nth-child(2) {
    transition-delay: .04s;
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact-fab-toggle .ic,
  .contact-fab-action {
    transition: none;
  }
}

/* ---------- print ---------- */
@media print {

  .topbar,
  .site-nav,
  .menu,
  .hdr-cta,
  .contact-fabs,
  .cta-band,
  .cta-quote .btn {
    display: none !important;
  }

  .site-header {
    position: static;
  }

  body {
    background: #fff;
  }
}


/* ============================================================
   NOVOS ESTILOS - Hero e Roteiro (baseado nos mocks 2026)
   ============================================================ */

/* ---------- Botões atualizados ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0 1rem;
  border-radius: 624.9375rem;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  min-height: 2.5rem;
}

.btn-primary {
  background: var(--color-action);
  color: #fff;
  border-color: var(--color-action);
}

.btn-primary:hover {
  background: var(--color-action-hover);
  border-color: var(--color-action-hover);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--ink-2);
  border-color: var(--border-color);
}

.btn-ghost:hover {
  background: var(--color-action-soft);
  color: var(--color-action);
  border-color: var(--color-action);
}
/* Real WhatsApp button: WhatsApp brand green + the WhatsApp glyph */
.btn-wa {
  background: #12833f;
  color: #fff;
  border-color: #12833f;
}
.btn-wa:hover {
  background: #0e6f34;
  border-color: #0e6f34;
  color: #fff;
}
.btn-wa::before {
  content: "";
  width: 1.15em;
  height: 1.15em;
  flex: 0 0 auto;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.71.306 1.263.489 1.694.625.712.227 1.36.195 1.872.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.885-9.885 9.885M20.52 3.449C18.24 1.245 15.24 0 12.045 0 5.463 0 .104 5.359.101 11.892c0 2.096.549 4.142 1.595 5.945L0 24l6.335-1.652a11.986 11.986 0 005.71 1.454h.006c6.585 0 11.946-5.359 11.949-11.945a11.9 11.9 0 00-3.487-8.42'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* Orçamento button in a WhatsApp pair: the site's terracotta red, so the two
   CTAs read as distinct next to the green WhatsApp button */
.btn-orc {
  background: var(--terra);
  color: #fff;
  border-color: var(--terra);
}
.btn-orc:hover {
  background: var(--terra-2);
  border-color: var(--terra-2);
  color: #fff;
}

/* ---------- Hero Section atualizado ---------- */
#hero {
  padding-block: 3.5rem;
  background: #ffffff;
}

#hero .kicker {
  margin-bottom: 1rem;
}

#hero h1 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 1rem;
}

#hero .lede {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink-2);
  margin-bottom: 1.25rem;
}

#hero .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

#hero .undercta {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--ink-3);
}

#hero .proof {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  margin-top: 0.5rem;
}

#hero .proof>span {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  color: var(--ink-3);
  font-size: 0.8125rem;
  line-height: 1.4;
}

#hero .proof .ic {
  width: 1rem;
  height: 1rem;
  flex-basis: 1rem;
  color: var(--color-action);
}

/* ---------- Roteiro Section atualizado ---------- */
#roteiro .est-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: var(--space-header-content);
  flex-wrap: wrap;
}

#roteiro .est-top>div {
  flex: 1;
  min-width: 0;
}

#roteiro .est-top h2 {
  font-family: var(--serif);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 0.5rem 0;
}

.roteiro-title {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-title-subtitle);
}

.roteiro-subtitle {
  font-size: 0.875rem;
  color: var(--ink-3);
  margin-bottom: 0;
}

.est-top {
  margin-bottom: var(--space-header-content);
}

.st {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--green);
  background: var(--green-tint);
  border-radius: 624.9375rem;
  padding: 0.375rem 0.75rem;
  white-space: nowrap;
}

.section-columns {
  display: grid;
  grid-template-columns: minmax(18rem, 0.4fr) minmax(0, 1fr);
  gap: clamp(1.25rem, 4vw, 1rem);
  align-items: start;
}

@media (max-width: 59.9375rem) {
  .section-columns {
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
  }

  .section-columns > * {
    width: 100%;
  }
}

@media (min-width: 60rem) {
  .section-columns {
    gap: 1rem;
  }
}

.section-columns>*,
.est {
  min-width: 0;
}

/* Formulário */
.est {
  background: var(--card);
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  padding: 1rem;
}

.est-body {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.est-body .q:last-child {
  margin-bottom: 0;
}

.q-lbl {
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.17rem;
}

/* Select customizado */
.field-select {
  position: relative;
}

.est-select {
  width: 100%;
  padding: 0.875rem 2.5rem 0.875rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: 0.625rem;
  font-size: 0.9375rem;
  color: var(--ink);
  background: var(--card);
  cursor: pointer;
  appearance: none;
  transition: border-color 0.2s ease;
}

.est-select:hover,
.est-select:focus {
  border-color: var(--green);
  outline: none;
}

.field-select::after {
  content: '';
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid var(--ink-3);
  pointer-events: none;
}

/* Campo de quantidade */
.quantity-field {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: 0.625rem;
  background: var(--card);
}

.quantity-button {
  width: 2rem;
  height: 2rem;
  border: 1px solid var(--border-color);
  border-radius: 0.375rem;
  background: var(--paper);
  color: var(--ink);
  font-size: 1.25rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quantity-button:hover {
  border-color: var(--green);
  color: var(--green);
  background: var(--green-tint);
}

.quantity-value {
  flex: 1;
  text-align: center;
  font-size: 1.125rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}

/* Cards de resultado */
.outgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

@media (max-width: 35rem) {
  .outgrid {
    grid-template-columns: 1fr 1fr;
  }

  .outgrid .ob:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 27.5rem) {
  .outgrid {
    grid-template-columns: minmax(0, 1fr);
  }

  .outgrid .ob:first-child {
    grid-column: auto;
  }

  .est {
    padding: 1rem;
  }

  #roteiro .est-top {
    align-items: flex-start;
  }
}

.ob {
  border: 1px solid var(--border-color);
  border-radius: 0.75rem;
  padding: 0.5rem 1.3rem;
}

.ob .k,
.chainwrap .k,
.mkt .k {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.ob .v {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 0.25rem;
  font-variant-numeric: tabular-nums;
}

.ob .v.sm {
  font-size: 1.25rem;
}

.ob .v.mono {
  font-variant-numeric: tabular-nums;
}

.ob .h {
  font-size: 0.75rem;
  color: var(--ink-3);
  line-height: 1.3;
}

/* Ordem da apostila */
.chainwrap {
  margin-bottom: 0.5rem;
  padding: 0.5rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  background: var(--card);
}

.chain {
  display: grid;
  align-items: center;
  gap: 0.375rem;
  width: 100%;
  overflow-x: visible;
  scrollbar-width: thin;
}

@media (max-width: 35rem) {

  .chainwrap {
    padding: 0.75rem 1rem;
  }

  .chain,
  .chain[data-steps="3"],
  .chain[data-steps="4"] {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.125rem;
    overflow-x: visible;
  }

  .chain .stp {
    width: 100%;
    min-width: 0;
    min-height: 2.25rem;
    justify-content: flex-start;
    font-size: 0.875rem;
  }

  .chain .ar {
    align-self: flex-start;
    margin-left: 0.6875rem;
    transform: rotate(90deg);
  }
}

.chain[data-steps="3"] {
  grid-template-columns: minmax(6rem, 1fr) auto minmax(6rem, 1fr) auto minmax(6rem, 1fr);
}

.chain[data-steps="4"] {
  grid-template-columns: minmax(6rem, 1fr) auto minmax(6rem, 1fr) auto minmax(6rem, 1fr) auto minmax(6rem, 1fr);
}

.stp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  background: transparent;
  border: 0;
  border-radius: 0;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}

.stp i {
  font-style: normal;
  display: inline-grid;
  place-items: center;
  width: 1.375rem;
  height: 1.375rem;
  flex: 0 0 1.375rem;
  border: 0;
  border-radius: 50%;
  background: var(--color-action-soft);
  color: var(--color-action);
  font-size: 0.625rem;
  font-weight: 700;
  line-height: 1;
}

.chain .ar {
  color: var(--ink-3);
  font-size: 1rem;
  line-height: 1;
}

/* Preço de mercado */
.mkt {
  margin-bottom: 0.5rem;
  border: 1px solid var(--border-color);
  border-radius: 0.75rem;
  padding: 0.5rem 1.3rem 0;
}

.mkt .hdr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.tagno {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-accent-strong);
  background: var(--color-accent-soft);
  border-radius: 624.9375rem;
  padding: 0.3125rem 0.625rem;
  white-space: nowrap;
  display: flex;
  gap: 0.2rem;
}

.mkt .big {
  font-family: var(--serif);
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1.1;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.mkt .sub {
  font-size: 0.8125rem;
  color: var(--ink-2);
  line-height: 1.4;
}

.mkt .faixa {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.tooltip {
  position: relative;
  display: inline-flex;
  margin-top: 0.125rem;
}

.tooltip-trigger {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--ink-2);
  box-shadow: none;
  cursor: help;
}

.tooltip-trigger:hover {
  color: var(--green);
  background: var(--green-tint);
}

.tooltip-trigger svg {
  width: 1.125rem;
  height: 1.125rem;
}

.tooltip-content {
  position: absolute;
  top: auto;
  bottom: calc(100% + 0.625rem);
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  width: max-content;
  max-width: min(22rem, calc(100vw - 2rem));
  padding: 0.75rem 0.875rem;
  border-radius: 0.625rem;
  background: #171918;
  color: #fff;
  box-shadow: var(--shadow-2);
  font-size: 0.8125rem;
  line-height: 1.5;
}

.tooltip-content::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  bottom: auto;
  width: 0;
  height: 0;
  border-right: 0.4375rem solid transparent;
  border-top: 0.4375rem solid #171918;
  border-bottom: 0;
  border-left: 0.4375rem solid transparent;
  transform: translateX(-50%);
}

.tooltip--end .tooltip-content {
  right: 0;
  left: auto;
  transform: none;
}

.tooltip--end .tooltip-content::before {
  right: 1rem;
  left: auto;
  transform: none;
}

.tooltip-content[hidden] {
  display: none;
}

/* Info box */
.est-note {
  background: var(--green-tint);
  border-radius: 2rem;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  color: var(--ink-2);
  line-height: 1.5;
  margin-bottom: 0.5rem;
}

.est-note b {
  color: var(--ink);
  font-weight: 700;
}

/* Ações */
.pair {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pair .btn {
  flex: 1 1 12rem;
}

/* ---------- Componente de select customizado (ícone opcional) ---------- */
.custom-select {
  position: relative;
  width: 100%;
  margin-bottom: 0.5rem;
}

.custom-select-control[hidden] {
  display: none;
}

.custom-select-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.875rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: 0.625rem;
  background: var(--card);
  color: var(--ink);
  font-size: 0.9375rem;
  font-family: inherit;
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.custom-select-trigger:hover,
.custom-select-trigger[aria-expanded="true"] {
  border-color: var(--green);
}

.custom-select-value {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.custom-select-arrow {
  width: 0.625rem;
  height: 0.375rem;
  color: var(--ink-3);
  transition: transform 0.2s ease;
}

.custom-select-trigger[aria-expanded="true"] .custom-select-arrow {
  transform: rotate(180deg);
}

.custom-select-value>svg,
.custom-select-option>svg {
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
}

.custom-select-options {
  position: absolute;
  top: calc(100% + 0.25rem);
  left: 0;
  right: 0;
  background: var(--card);
  border: 1px solid var(--border-color);
  border-radius: 0.625rem;
  box-shadow: var(--shadow-2);
  list-style: none;
  margin: 0;
  padding: 0.25rem;
  z-index: 10;
  max-height: min(15.625rem, 45vh);
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  /* transform: translateY(-0.5rem); */
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

.custom-select.open .custom-select-options {
  opacity: 1;
  visibility: visible;
  /* transform: translateY(0); */
}

.custom-select-option {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.625rem 0.75rem;
  border-radius: 0.375rem;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.custom-select-option:hover {
  background: var(--green-tint);
  color: var(--green);
}

.custom-select-option.selected {
  background: var(--green-tint);
  color: var(--green);
  font-weight: 600;
}

.custom-select-option span {
  font-size: 0.9375rem;
}

/* Acessibilidade */
.custom-select-option:focus {
  outline: 2px solid var(--green);
  outline-offset: -2px;
  background: var(--green-tint);
}

@media (max-width: 35rem) {

  .roteiro-title {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.625rem;
  }

  .roteiro-title .st {
    order: -1;
  }

  #hero,
  section {
    scroll-margin-top: 4rem;
  }

  #hero .actions,
  .pair {
    flex-direction: column;
  }

  #hero .actions .btn,
  .pair .btn {
    width: 100%;
    flex-basis: auto;
    white-space: normal;
    text-align: center;
  }

  .mkt .hdr {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.375rem;
  }

  .mkt {
    padding: 0.75rem 1rem;
  }

  .mkt .big {
    margin-top: 0.5rem;
    font-size: clamp(1.5rem, 8vw, 1.75rem);
  }

  .mkt .faixa {
    align-items: flex-start;
    gap: 0.5rem;
  }

  .est-note {
    padding: 0.75rem 1rem;
    border-radius: var(--radius);
  }

  .tagno,
  .st {
    white-space: normal;
  }

  .custom-select-trigger,
  .custom-select-option {
    min-height: 2.75rem;
  }
}

/* ===== His-page components (logo, homepage estimator, verify pages) ported from original site.css so they render unchanged under Rebeca's style ===== */
.logo .seal { width: 34px; height: 34px; flex: 0 0 34px; }

.logo .word { display: inline-flex; flex-direction: column; line-height: 1; }

.logo .word small { font-family: var(--sans); font-weight: 600; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-top: 4px; }

.btn-sm { min-height: 42px; padding: 9px 16px; font-size: 15px; }

@media (max-width: 899px) {
  .logo .seal { width: 30px; height: 30px; flex-basis: 30px; }
}

@media (max-width: 439px) {
  .logo .seal { width: 28px; height: 28px; flex-basis: 28px; }
}

.hero { padding: 40px 0 34px; }

.hero .kicker, .kicker { font-family: var(--sans); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--terra-2); margin-bottom: 14px; }

.hero h1 { max-width: 14ch; }

.hero .lede, .lede { font-size: 18.5px; line-height: 1.6; color: var(--ink-2); margin: 18px 0 0; max-width: 58ch; }

.hero .actions, .actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

.hero .undercta, .undercta { font-size: 14.5px; color: var(--ink-3); margin-top: 12px; max-width: 56ch; }

.hero.with-est .wrap { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: start; }

@media (min-width: 960px) {
  .hero { padding: 56px 0 48px; }
  .hero.with-est .wrap { grid-template-columns: 1.05fr 1fr; gap: 44px; }
}

.hero.plain { padding: 40px 0 8px; }

.hero.plain h1 { max-width: 20ch; }

.q-lbl .n { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; background: var(--green); color: #fff; font-size: 11.5px; font-weight: 700; letter-spacing: 0; }

.opts { display: flex; flex-wrap: wrap; gap: 8px; }

.opt { min-height: 44px; padding: 9px 14px; border-radius: var(--pill); border: 1.5px solid var(--rule); background: var(--card); color: var(--ink-2); font-size: 15px; font-weight: 500; cursor: pointer; transition: background .16s var(--ease), color .16s var(--ease), border-color .16s var(--ease); }

.opt:hover { border-color: var(--green); color: var(--green); }

.opt[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: #fff; }

.out { background: var(--paper-2); padding: 18px 20px 20px; border-top: 1px solid var(--rule-2); }

.mkt .src { font-size: 12.5px; color: var(--ink-3); margin-top: 8px; line-height: 1.5; }

.est-fine { font-size: 12.5px; color: var(--ink-3); margin-top: 10px; line-height: 1.5; }

/* Mirror of brazilusa-revamp/styles.css: native secure document intake. */
.intake{background:var(--card);border:1px solid var(--border-color);border-radius:var(--radius);padding:clamp(1rem,4vw,2.5rem);box-shadow:0 10px 30px rgba(15,35,60,.05)}
.intake[hidden],.intake [hidden]{display:none!important}
.intake__details{border:0;padding:0;margin:0;min-width:0}
.intake__field,.intake__choices{margin:0 0 1.6rem}
.intake__field>label,.intake__choices legend{display:block;font-weight:700;margin-bottom:.65rem;color:var(--ink)}
.intake__choices{border:0;padding:0;min-width:0}
.intake__choices legend{padding:0}
.intake__choice,.intake__consent{display:flex;align-items:flex-start;gap:.7rem;padding:.65rem 0;line-height:1.5;cursor:pointer}
.intake input[type=radio],.intake input[type=checkbox]{accent-color:var(--color-action);flex:0 0 auto;width:1.2rem;height:1.2rem;margin-top:.15rem}
.intake input:focus-visible,.intake button:focus-visible{outline:3px solid var(--color-action);outline-offset:3px}
.intake .intake__input{box-sizing:border-box;width:100%;min-width:0;padding:.875rem 1rem;border:1px solid var(--border-color);border-radius:.625rem;font:inherit;font-size:16px;color:var(--ink);background:var(--card)}
.intake .field__help{font-size:.9rem;color:var(--ink-2)}
.intake__drop{border:2px dashed var(--border-color);border-radius:var(--radius-sm);padding:1.25rem;background:var(--paper);transition:border-color .15s}
.intake__drop.is-over{border-color:var(--color-action);background:var(--color-action-soft)}
.intake__drop p{margin:0 0 .8rem}
.intake__drop input{max-width:100%;font:inherit;font-size:16px}
.intake__queue{list-style:none;padding:0;margin:1rem 0}
.intake__file{display:grid;gap:.35rem;border-bottom:1px solid var(--border-color);padding:1rem 0;overflow-wrap:anywhere}
.intake__file .btn{justify-self:start;min-height:44px;margin-top:.35rem}
.intake__file-status{font-size:.9rem}
.intake progress{display:block;width:100%;height:.8rem;accent-color:var(--color-action);margin:.5rem 0}
.intake__consent{margin:1rem 0}
.intake__trap{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.intake button:disabled{opacity:.65;cursor:wait}
#intake-submit{min-height:44px;margin-top:.5rem}
#intake-status:empty{display:none}
#intake-fallback{padding:1rem;border:1px solid var(--color-action);border-radius:var(--radius-sm);background:var(--color-action-soft)}
#intake-status{font-weight:600;overflow-wrap:anywhere;margin:.4rem 0 1.1rem}
#intake-turnstile:not([hidden]){margin:0 0 1.4rem}
#intake-progress:not([hidden]){margin:0 0 1.2rem}
@media(max-width:520px){#intake-submit{width:100%}.intake__choice{padding:.8rem 0}}


/* =========================================================
   Homepage photo hero (.hero.with-est) - bold cinematic
   Full-bleed approved hero image + dark scrim (darker on the
   left for the white headline). Real <img class="hero-photo">
   (not a CSS background) so the keyword filename + alt earn
   image-search credit. Added 2026-09-30, hero refresh.
   ========================================================= */
.hero.with-est{position:relative;overflow:hidden;isolation:isolate;background:#0a0e0a}
.hero.with-est .hero-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:78% 50%;z-index:0}
.hero.with-est .hero-scrim{position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,rgba(10,14,10,.92) 0%,rgba(10,14,10,.78) 38%,rgba(10,14,10,.50) 60%,rgba(10,14,10,.28) 100%),linear-gradient(180deg,rgba(10,14,10,.25),rgba(10,14,10,.50))}
.hero.with-est .wrap{position:relative;z-index:2}
.hero.with-est h1{color:#fff;text-shadow:0 2px 18px rgba(0,0,0,.35)}
.hero.with-est .lede{color:rgba(255,255,255,.92)}
.hero.with-est .lede b{color:#fff}
.hero.with-est .undercta{color:rgba(255,255,255,.80)}
.hero.with-est .proof>span{color:rgba(255,255,255,.85)}
.hero.with-est .est{box-shadow:0 26px 60px rgba(0,0,0,.35)}

/* Phones stack the hero to one column (its 2-col split is >=960px), so the
   headline + lede run full width. Even, deeper overlay below 960px keeps them
   above WCAG AA wherever the photo is light. (Opus 5.5 contrast check, 2026-09-30.) */
@media(max-width:959px){
  .hero.with-est .hero-scrim{background:linear-gradient(180deg,rgba(10,14,10,.72),rgba(10,14,10,.86))}
}

/* Keyboard focus stays visible on the dark hero: the site's dark-green ring
   failed the 3:1 minimum over the photo. Text column only - the roteiro card
   is white and keeps its green ring. (Opus 5.5 a11y check, 2026-09-30.) */
.hero.with-est .main :focus-visible{outline-color:#fff}

/* --- audience-section (para-empresas 'Para quem e') hover-expand, scoped --- */
.audience-section .tag svg { width:1rem; height:1rem; flex-basis:1rem; }
.audience-section .card:hover .tag .tag-label,
.audience-section .card:focus-within .tag .tag-label { max-width:12rem; margin-left:0.375rem; opacity:1; }
.hero.with-photo > .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: var(--space-group);
}

.hero.with-photo > .wrap > * {
  min-width: 0;
}

.hero.with-photo h1 {
  max-width: 20ch;
  overflow-wrap: anywhere;
}

.hero.with-photo .hero-photo {
  display: block;
  width: 100%;
  max-width: calc(var(--maxw) / 2);
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: right center;
  justify-self: center;
  background: var(--card);
  border: 1px solid var(--rule-2);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
}

@media (min-width: 960px) {
  .hero.with-photo > .wrap {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: var(--space-section);
  }

  .hero.with-photo .hero-photo {
    aspect-ratio: 1 / 1;
    justify-self: end;
  }
}

@media (max-width: 35rem) {
  .hero.with-photo .actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero.with-photo .actions .btn {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    white-space: normal;
    text-align: center;
  }
}
